
/*!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 */;
DROP TABLE IF EXISTS `account_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_transactions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `account_id` int(11) NOT NULL,
  `type` enum('debit','credit') NOT NULL,
  `sub_type` enum('opening_balance','fund_transfer','deposit') DEFAULT NULL,
  `amount` decimal(22,4) NOT NULL,
  `reff_no` varchar(191) DEFAULT NULL,
  `operation_date` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `transaction_id` int(11) DEFAULT NULL,
  `transaction_payment_id` int(11) DEFAULT NULL,
  `transfer_transaction_id` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `account_transactions_account_id_index` (`account_id`),
  KEY `account_transactions_transaction_id_index` (`transaction_id`),
  KEY `account_transactions_transaction_payment_id_index` (`transaction_payment_id`),
  KEY `account_transactions_transfer_transaction_id_index` (`transfer_transaction_id`),
  KEY `account_transactions_created_by_index` (`created_by`),
  KEY `account_transactions_type_index` (`type`),
  KEY `account_transactions_sub_type_index` (`sub_type`),
  KEY `account_transactions_operation_date_index` (`operation_date`)
) ENGINE=InnoDB AUTO_INCREMENT=205587 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `account_transactions` WRITE;
/*!40000 ALTER TABLE `account_transactions` DISABLE KEYS */;
INSERT INTO `account_transactions` VALUES (205557,33,'',NULL,80000.0000,NULL,'2025-06-15 20:18:43',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(205558,34,'',NULL,1500000.0000,NULL,'2025-06-15 20:18:43',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(205559,35,'',NULL,300000.0000,NULL,'2025-06-15 20:18:43',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(205560,33,'',NULL,80000.0000,NULL,'2025-06-15 20:19:08',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 17:19:09','2026-06-15 17:19:09'),(205561,34,'',NULL,1500000.0000,NULL,'2025-06-15 20:19:09',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 17:19:09','2026-06-15 17:19:09'),(205562,35,'',NULL,300000.0000,NULL,'2025-06-15 20:19:09',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 17:19:09','2026-06-15 17:19:09'),(205563,33,'',NULL,80000.0000,NULL,'2025-06-15 21:11:45',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 18:11:45','2026-06-15 18:11:45'),(205564,34,'',NULL,1500000.0000,NULL,'2025-06-15 21:11:45',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 18:11:45','2026-06-15 18:11:45'),(205565,35,'',NULL,300000.0000,NULL,'2025-06-15 21:11:46',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 18:11:46','2026-06-15 18:11:46'),(205566,33,'',NULL,80000.0000,NULL,'2025-06-15 21:15:56',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 18:15:56','2026-06-15 18:15:56'),(205567,34,'',NULL,1500000.0000,NULL,'2025-06-15 21:15:56',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 18:15:56','2026-06-15 18:15:56'),(205568,35,'',NULL,300000.0000,NULL,'2025-06-15 21:15:56',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 18:15:56','2026-06-15 18:15:56'),(205569,33,'',NULL,80000.0000,NULL,'2025-06-15 22:07:58',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 19:07:58','2026-06-15 19:07:58'),(205570,34,'',NULL,1500000.0000,NULL,'2025-06-15 22:07:59',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 19:07:59','2026-06-15 19:07:59'),(205571,35,'',NULL,300000.0000,NULL,'2025-06-15 22:07:59',164,NULL,NULL,NULL,NULL,NULL,'2026-06-15 19:07:59','2026-06-15 19:07:59'),(205572,36,'',NULL,80000.0000,NULL,'2025-06-17 23:54:55',171,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(205573,37,'',NULL,1500000.0000,NULL,'2025-06-17 23:54:55',171,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(205574,38,'',NULL,300000.0000,NULL,'2025-06-17 23:54:55',171,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(205575,39,'',NULL,80000.0000,NULL,'2025-06-17 23:55:44',177,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(205576,40,'',NULL,1500000.0000,NULL,'2025-06-17 23:55:44',177,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(205577,41,'',NULL,300000.0000,NULL,'2025-06-17 23:55:44',177,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(205578,42,'',NULL,80000.0000,NULL,'2025-06-17 23:58:11',183,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(205579,43,'',NULL,1500000.0000,NULL,'2025-06-17 23:58:11',183,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(205580,44,'',NULL,300000.0000,NULL,'2025-06-17 23:58:11',183,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(205581,45,'',NULL,80000.0000,NULL,'2025-06-18 00:00:02',189,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(205582,46,'',NULL,1500000.0000,NULL,'2025-06-18 00:00:02',189,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(205583,47,'',NULL,300000.0000,NULL,'2025-06-18 00:00:02',189,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(205584,48,'',NULL,80000.0000,NULL,'2025-06-18 00:11:54',195,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(205585,49,'',NULL,1500000.0000,NULL,'2025-06-18 00:11:54',195,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(205586,50,'',NULL,300000.0000,NULL,'2025-06-18 00:11:54',195,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54');
/*!40000 ALTER TABLE `account_transactions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `account_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `account_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `parent_account_type_id` int(11) DEFAULT NULL,
  `business_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `account_types_parent_account_type_id_index` (`parent_account_type_id`),
  KEY `account_types_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `account_types` WRITE;
/*!40000 ALTER TABLE `account_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `account_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `accounting_acc_trans_mappings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accounting_acc_trans_mappings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `ref_no` varchar(100) NOT NULL,
  `type` varchar(100) NOT NULL,
  `created_by` int(11) NOT NULL,
  `operation_date` datetime NOT NULL,
  `note` 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 */;

LOCK TABLES `accounting_acc_trans_mappings` WRITE;
/*!40000 ALTER TABLE `accounting_acc_trans_mappings` DISABLE KEYS */;
/*!40000 ALTER TABLE `accounting_acc_trans_mappings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `accounting_account_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accounting_account_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `business_id` int(11) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `account_primary_type` varchar(191) DEFAULT NULL,
  `account_type` varchar(191) DEFAULT NULL,
  `parent_id` bigint(20) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `show_balance` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `accounting_account_types` WRITE;
/*!40000 ALTER TABLE `accounting_account_types` DISABLE KEYS */;
INSERT INTO `accounting_account_types` VALUES (1,'accounts_receivable',NULL,NULL,'asset','sub_type',NULL,NULL,0,NULL,NULL),(2,'current_assets',NULL,NULL,'asset','sub_type',NULL,NULL,1,NULL,NULL),(3,'cash_and_cash_equivalents',NULL,NULL,'asset','sub_type',NULL,NULL,1,NULL,NULL),(4,'fixed_assets',NULL,NULL,'asset','sub_type',NULL,NULL,1,NULL,NULL),(5,'non_current_assets',NULL,NULL,'asset','sub_type',NULL,NULL,1,NULL,NULL),(6,'accounts_payable',NULL,NULL,'liability','sub_type',NULL,NULL,0,NULL,NULL),(7,'credit_card',NULL,NULL,'liability','sub_type',NULL,NULL,1,NULL,NULL),(8,'current_liabilities',NULL,NULL,'liability','sub_type',NULL,NULL,1,NULL,NULL),(9,'non_current_liabilities',NULL,NULL,'liability','sub_type',NULL,NULL,1,NULL,NULL),(10,'owners_equity',NULL,NULL,'equity','sub_type',NULL,NULL,1,NULL,NULL),(11,'income',NULL,NULL,'income','sub_type',NULL,NULL,0,NULL,NULL),(12,'other_income',NULL,NULL,'income','sub_type',NULL,NULL,0,NULL,NULL),(13,'cost_of_sale',NULL,NULL,'expenses','sub_type',NULL,NULL,0,NULL,NULL),(14,'expenses',NULL,NULL,'expenses','sub_type',NULL,NULL,0,NULL,NULL),(15,'other_expense',NULL,NULL,'expenses','sub_type',NULL,NULL,0,NULL,NULL),(16,'accounts_receivable',NULL,NULL,NULL,'detail_type',1,'',1,NULL,NULL),(17,'allowance_for_bad_debts',NULL,NULL,NULL,'detail_type',2,'allowance_for_bad_debts_desc',1,NULL,NULL),(18,'assets_available_for_sale',NULL,NULL,NULL,'detail_type',2,'assets_available_for_sale_desc',1,NULL,NULL),(19,'development_costs',NULL,NULL,NULL,'detail_type',2,'development_costs_desc',1,NULL,NULL),(20,'employee_cash_advances',NULL,NULL,NULL,'detail_type',2,'employee_cash_advances_desc',1,NULL,NULL),(21,'inventory',NULL,NULL,NULL,'detail_type',2,'inventory_desc',1,NULL,NULL),(22,'investments_-_other',NULL,NULL,NULL,'detail_type',2,'investments_-_other_desc',1,NULL,NULL),(23,'loans_to_officers',NULL,NULL,NULL,'detail_type',2,'loans_to_officers_desc',1,NULL,NULL),(24,'loans_to_others',NULL,NULL,NULL,'detail_type',2,'loans_to_others_desc',1,NULL,NULL),(25,'loans_to_shareholders',NULL,NULL,NULL,'detail_type',2,'loans_to_shareholders_desc',1,NULL,NULL),(26,'other_current_assets',NULL,NULL,NULL,'detail_type',2,'other_current_assets_desc',1,NULL,NULL),(27,'prepaid_expenses',NULL,NULL,NULL,'detail_type',2,'prepaid_expenses_desc',1,NULL,NULL),(28,'retainage',NULL,NULL,NULL,'detail_type',2,'retainage_desc',1,NULL,NULL),(29,'undeposited_funds',NULL,NULL,NULL,'detail_type',2,'undeposited_funds_desc',1,NULL,NULL),(30,'bank',NULL,NULL,NULL,'detail_type',3,'bank_desc',1,NULL,NULL),(31,'cash_and_cash_equivalents',NULL,NULL,NULL,'detail_type',3,'cash_and_cash_equivalents_desc',1,NULL,NULL),(32,'cash_on_hand',NULL,NULL,NULL,'detail_type',3,'cash_on_hand_desc',1,NULL,NULL),(33,'client_trust_account',NULL,NULL,NULL,'detail_type',3,'client_trust_account_desc',1,NULL,NULL),(34,'money_market',NULL,NULL,NULL,'detail_type',3,'money_market_desc',1,NULL,NULL),(35,'rents_held_in_trust',NULL,NULL,NULL,'detail_type',3,'rents_held_in_trust_desc',1,NULL,NULL),(36,'savings',NULL,NULL,NULL,'detail_type',3,'savings_desc',1,NULL,NULL),(37,'accumulated_depletion',NULL,NULL,NULL,'detail_type',4,'accumulated_depletion_desc',1,NULL,NULL),(38,'accumulated_depreciation_on_property,_plant_and_equipment',NULL,NULL,NULL,'detail_type',4,'accumulated_depreciation_on_property,_plant_and_equipment_desc',1,NULL,NULL),(39,'buildings',NULL,NULL,NULL,'detail_type',4,'buildings_desc',1,NULL,NULL),(40,'depletable_assets',NULL,NULL,NULL,'detail_type',4,'depletable_assets_desc',1,NULL,NULL),(41,'furniture_and_fixtures',NULL,NULL,NULL,'detail_type',4,'furniture_and_fixtures_desc',1,NULL,NULL),(42,'land',NULL,NULL,NULL,'detail_type',4,'land_desc',1,NULL,NULL),(43,'leasehold_improvements',NULL,NULL,NULL,'detail_type',4,'leasehold_improvements_desc',1,NULL,NULL),(44,'machinery_and_equipment',NULL,NULL,NULL,'detail_type',4,'machinery_and_equipment_desc',1,NULL,NULL),(45,'other_fixed_assets',NULL,NULL,NULL,'detail_type',4,'other_fixed_assets_desc',1,NULL,NULL),(46,'vehicles',NULL,NULL,NULL,'detail_type',4,'vehicles_desc',1,NULL,NULL),(47,'accumulated_amortisation_of_non-current_assets',NULL,NULL,NULL,'detail_type',5,'accumulated_amortisation_of_non-current_assets_desc',1,NULL,NULL),(48,'assets_held_for_sale',NULL,NULL,NULL,'detail_type',5,'assets_held_for_sale_desc',1,NULL,NULL),(49,'deferred_tax',NULL,NULL,NULL,'detail_type',5,'deferred_tax_desc',1,NULL,NULL),(50,'goodwill',NULL,NULL,NULL,'detail_type',5,'goodwill_desc',1,NULL,NULL),(51,'intangible_assets',NULL,NULL,NULL,'detail_type',5,'intangible_assets_desc',1,NULL,NULL),(52,'lease_buyout',NULL,NULL,NULL,'detail_type',5,'lease_buyout_desc',1,NULL,NULL),(53,'licences',NULL,NULL,NULL,'detail_type',5,'licences_desc',1,NULL,NULL),(54,'long-term_investments',NULL,NULL,NULL,'detail_type',5,'long-term_investments_desc',1,NULL,NULL),(55,'organisational_costs',NULL,NULL,NULL,'detail_type',5,'organisational_costs_desc',1,NULL,NULL),(56,'other_non-current_assets',NULL,NULL,NULL,'detail_type',5,'other_non-current_assets_desc',1,NULL,NULL),(57,'security_deposits',NULL,NULL,NULL,'detail_type',5,'security_deposits_desc',1,NULL,NULL),(58,'accounts_payable_(a/p)',NULL,NULL,NULL,'detail_type',6,'accounts_payable_(a/p)_desc',1,NULL,NULL),(59,'credit_card',NULL,NULL,NULL,'detail_type',7,'credit_card_desc',1,NULL,NULL),(60,'accrued_liabilities',NULL,NULL,NULL,'detail_type',8,'accrued_liabilities_desc',1,NULL,NULL),(61,'client_trust_accounts_-_liabilities',NULL,NULL,NULL,'detail_type',8,'client_trust_accounts_-_liabilities_desc',1,NULL,NULL),(62,'current_tax_liability',NULL,NULL,NULL,'detail_type',8,'current_tax_liability_desc',1,NULL,NULL),(63,'current_portion_of_obligations_under_finance_leases',NULL,NULL,NULL,'detail_type',8,'current_portion_of_obligations_under_finance_leases_desc',1,NULL,NULL),(64,'dividends_payable',NULL,NULL,NULL,'detail_type',8,'dividends_payable_desc',1,NULL,NULL),(65,'income_tax_payable',NULL,NULL,NULL,'detail_type',8,'income_tax_payable_desc',1,NULL,NULL),(66,'insurance_payable',NULL,NULL,NULL,'detail_type',8,'insurance_payable_desc',1,NULL,NULL),(67,'line_of_credit',NULL,NULL,NULL,'detail_type',8,'line_of_credit_desc',1,NULL,NULL),(68,'loan_payable',NULL,NULL,NULL,'detail_type',8,'loan_payable_desc',1,NULL,NULL),(69,'other_current_liabilities',NULL,NULL,NULL,'detail_type',8,'other_current_liabilities_desc',1,NULL,NULL),(70,'payroll_clearing',NULL,NULL,NULL,'detail_type',8,'payroll_clearing_desc',1,NULL,NULL),(71,'payroll_liabilities',NULL,NULL,NULL,'detail_type',8,'payroll_liabilities_desc',1,NULL,NULL),(72,'prepaid_expenses_payable',NULL,NULL,NULL,'detail_type',8,'prepaid_expenses_payable_desc',1,NULL,NULL),(73,'rents_in_trust_-_liability',NULL,NULL,NULL,'detail_type',8,'rents_in_trust_-_liability_desc',1,NULL,NULL),(74,'sales_and_service_tax_payable',NULL,NULL,NULL,'detail_type',8,'sales_and_service_tax_payable_desc',1,NULL,NULL),(75,'accrued_holiday_payable',NULL,NULL,NULL,'detail_type',9,'accrued_holiday_payable_desc',1,NULL,NULL),(76,'accrued_non-current_liabilities',NULL,NULL,NULL,'detail_type',9,'accrued_non-current_liabilities_desc',1,NULL,NULL),(77,'liabilities_related_to_assets_held_for_sale',NULL,NULL,NULL,'detail_type',9,'liabilities_related_to_assets_held_for_sale_desc',1,NULL,NULL),(78,'long-term_debt',NULL,NULL,NULL,'detail_type',9,'long-term_debt_desc',1,NULL,NULL),(79,'notes_payable',NULL,NULL,NULL,'detail_type',9,'notes_payable_desc',1,NULL,NULL),(80,'other_non-current_liabilities',NULL,NULL,NULL,'detail_type',9,'other_non-current_liabilities_desc',1,NULL,NULL),(81,'shareholder_notes_payable',NULL,NULL,NULL,'detail_type',9,'shareholder_notes_payable_desc',1,NULL,NULL),(82,'accumulated_adjustment',NULL,NULL,NULL,'detail_type',10,'accumulated_adjustment_desc',1,NULL,NULL),(83,'dividend_disbursed',NULL,NULL,NULL,'detail_type',10,'dividend_disbursed_desc',1,NULL,NULL),(84,'equity_in_earnings_of_subsidiaries',NULL,NULL,NULL,'detail_type',10,'equity_in_earnings_of_subsidiaries_desc',1,NULL,NULL),(85,'opening_balance_equity',NULL,NULL,NULL,'detail_type',10,'opening_balance_equity_desc',1,NULL,NULL),(86,'ordinary_shares',NULL,NULL,NULL,'detail_type',10,'ordinary_shares_desc',1,NULL,NULL),(87,'other_comprehensive_income',NULL,NULL,NULL,'detail_type',10,'other_comprehensive_income_desc',1,NULL,NULL),(88,'owner\'s_equity',NULL,NULL,NULL,'detail_type',10,'owner\'s_equity_desc',1,NULL,NULL),(89,'paid-in_capital_or_surplus',NULL,NULL,NULL,'detail_type',10,'paid-in_capital_or_surplus_desc',1,NULL,NULL),(90,'partner_contributions',NULL,NULL,NULL,'detail_type',10,'partner_contributions_desc',1,NULL,NULL),(91,'partner_distributions',NULL,NULL,NULL,'detail_type',10,'partner_distributions_desc',1,NULL,NULL),(92,'partner\'s_equity',NULL,NULL,NULL,'detail_type',10,'partner\'s_equity_desc',1,NULL,NULL),(93,'preferred_shares',NULL,NULL,NULL,'detail_type',10,'preferred_shares_desc',1,NULL,NULL),(94,'retained_earnings',NULL,NULL,NULL,'detail_type',10,'retained_earnings_desc',1,NULL,NULL),(95,'share_capital',NULL,NULL,NULL,'detail_type',10,'share_capital_desc',1,NULL,NULL),(96,'treasury_shares',NULL,NULL,NULL,'detail_type',10,'treasury_shares_desc',1,NULL,NULL),(97,'discounts/refunds_given',NULL,NULL,NULL,'detail_type',11,'discounts/refunds_given_desc',1,NULL,NULL),(98,'non-profit_income',NULL,NULL,NULL,'detail_type',11,'non-profit_income_desc',1,NULL,NULL),(99,'other_primary_income',NULL,NULL,NULL,'detail_type',11,'other_primary_income_desc',1,NULL,NULL),(100,'revenue_-_general',NULL,NULL,NULL,'detail_type',11,'revenue_-_general_desc',1,NULL,NULL),(101,'sales_-_retail',NULL,NULL,NULL,'detail_type',11,'sales_-_retail_desc',1,NULL,NULL),(102,'sales_-_wholesale',NULL,NULL,NULL,'detail_type',11,'sales_-_wholesale_desc',1,NULL,NULL),(103,'sales_of_product_income',NULL,NULL,NULL,'detail_type',11,'sales_of_product_income_desc',1,NULL,NULL),(104,'service/fee_income',NULL,NULL,NULL,'detail_type',11,'service/fee_income_desc',1,NULL,NULL),(105,'unapplied_cash_payment_income',NULL,NULL,NULL,'detail_type',11,'unapplied_cash_payment_income_desc',1,NULL,NULL),(106,'dividend_income',NULL,NULL,NULL,'detail_type',12,'dividend_income_desc',1,NULL,NULL),(107,'interest_earned',NULL,NULL,NULL,'detail_type',12,'interest_earned_desc',1,NULL,NULL),(108,'loss_on_disposal_of_assets',NULL,NULL,NULL,'detail_type',12,'loss_on_disposal_of_assets_desc',1,NULL,NULL),(109,'other_investment_income',NULL,NULL,NULL,'detail_type',12,'other_investment_income_desc',1,NULL,NULL),(110,'other_miscellaneous_income',NULL,NULL,NULL,'detail_type',12,'other_miscellaneous_income_desc',1,NULL,NULL),(111,'other_operating_income',NULL,NULL,NULL,'detail_type',12,'other_operating_income_desc',1,NULL,NULL),(112,'tax-exempt_interest',NULL,NULL,NULL,'detail_type',12,'tax-exempt_interest_desc',1,NULL,NULL),(113,'unrealised_loss_on_securities,_net_of_tax',NULL,NULL,NULL,'detail_type',12,'unrealised_loss_on_securities,_net_of_tax_desc',1,NULL,NULL),(114,'cost_of_labour_-_cos',NULL,NULL,NULL,'detail_type',13,'cost_of_labour_-_cos_desc',1,NULL,NULL),(115,'equipment_rental_-_cos',NULL,NULL,NULL,'detail_type',13,'equipment_rental_-_cos_desc',1,NULL,NULL),(116,'freight_and_delivery_-_cos',NULL,NULL,NULL,'detail_type',13,'freight_and_delivery_-_cos_desc',1,NULL,NULL),(117,'other_costs_of_sales_-_cos',NULL,NULL,NULL,'detail_type',13,'other_costs_of_sales_-_cos_desc',1,NULL,NULL),(118,'supplies_and_materials_-_cos',NULL,NULL,NULL,'detail_type',13,'supplies_and_materials_-_cos_desc',1,NULL,NULL),(119,'advertising/promotional',NULL,NULL,NULL,'detail_type',14,'advertising/promotional_desc',1,NULL,NULL),(120,'amortisation_expense',NULL,NULL,NULL,'detail_type',14,'amortisation_expense_desc',1,NULL,NULL),(121,'auto',NULL,NULL,NULL,'detail_type',14,'auto_desc',1,NULL,NULL),(122,'bad_debts',NULL,NULL,NULL,'detail_type',14,'bad_debts_desc',1,NULL,NULL),(123,'bank_charges',NULL,NULL,NULL,'detail_type',14,'bank_charges_desc',1,NULL,NULL),(124,'charitable_contributions',NULL,NULL,NULL,'detail_type',14,'charitable_contributions_desc',1,NULL,NULL),(125,'commissions_and_fees',NULL,NULL,NULL,'detail_type',14,'commissions_and_fees_desc',1,NULL,NULL),(126,'cost_of_labour',NULL,NULL,NULL,'detail_type',14,'cost_of_labour_desc',1,NULL,NULL),(127,'dues_and_subscriptions',NULL,NULL,NULL,'detail_type',14,'dues_and_subscriptions_desc',1,NULL,NULL),(128,'equipment_rental',NULL,NULL,NULL,'detail_type',14,'equipment_rental_desc',1,NULL,NULL),(129,'finance_costs',NULL,NULL,NULL,'detail_type',14,'finance_costs_desc',1,NULL,NULL),(130,'income_tax_expense',NULL,NULL,NULL,'detail_type',14,'income_tax_expense_desc',1,NULL,NULL),(131,'insurance',NULL,NULL,NULL,'detail_type',14,'insurance_desc',1,NULL,NULL),(132,'interest_paid',NULL,NULL,NULL,'detail_type',14,'interest_paid_desc',1,NULL,NULL),(133,'legal_and_professional_fees',NULL,NULL,NULL,'detail_type',14,'legal_and_professional_fees_desc',1,NULL,NULL),(134,'loss_on_discontinued_operations,_net_of_tax',NULL,NULL,NULL,'detail_type',14,'loss_on_discontinued_operations,_net_of_tax_desc',1,NULL,NULL),(135,'management_compensation',NULL,NULL,NULL,'detail_type',14,'management_compensation_desc',1,NULL,NULL),(136,'meals_and_entertainment',NULL,NULL,NULL,'detail_type',14,'meals_and_entertainment_desc',1,NULL,NULL),(137,'office/general_administrative_expenses',NULL,NULL,NULL,'detail_type',14,'office/general_administrative_expenses_desc',1,NULL,NULL),(138,'other_miscellaneous_service_cost',NULL,NULL,NULL,'detail_type',14,'other_miscellaneous_service_cost_desc',1,NULL,NULL),(139,'other_selling_expenses',NULL,NULL,NULL,'detail_type',14,'other_selling_expenses_desc',1,NULL,NULL),(140,'payroll_expenses',NULL,NULL,NULL,'detail_type',14,'payroll_expenses_desc',1,NULL,NULL),(141,'rent_or_lease_of_buildings',NULL,NULL,NULL,'detail_type',14,'rent_or_lease_of_buildings_desc',1,NULL,NULL),(142,'repair_and_maintenance',NULL,NULL,NULL,'detail_type',14,'repair_and_maintenance_desc',1,NULL,NULL),(143,'shipping_and_delivery_expense',NULL,NULL,NULL,'detail_type',14,'shipping_and_delivery_expense_desc',1,NULL,NULL),(144,'supplies_and_materials',NULL,NULL,NULL,'detail_type',14,'supplies_and_materials_desc',1,NULL,NULL),(145,'taxes_paid',NULL,NULL,NULL,'detail_type',14,'taxes_paid_desc',1,NULL,NULL),(146,'travel_expenses_-_general_and_admin_expenses',NULL,NULL,NULL,'detail_type',14,'travel_expenses_-_general_and_admin_expenses_desc',1,NULL,NULL),(147,'travel_expenses_-_selling_expense',NULL,NULL,NULL,'detail_type',14,'travel_expenses_-_selling_expense_desc',1,NULL,NULL),(148,'unapplied_cash_bill_payment_expense',NULL,NULL,NULL,'detail_type',14,'unapplied_cash_bill_payment_expense_desc',1,NULL,NULL),(149,'utilities',NULL,NULL,NULL,'detail_type',14,'utilities_desc',1,NULL,NULL),(150,'amortisation',NULL,NULL,NULL,'detail_type',15,'amortisation_desc',1,NULL,NULL),(151,'depreciation',NULL,NULL,NULL,'detail_type',15,'depreciation_desc',1,NULL,NULL),(152,'exchange_gain_or_loss',NULL,NULL,NULL,'detail_type',15,'exchange_gain_or_loss_desc',1,NULL,NULL),(153,'other_expense',NULL,NULL,NULL,'detail_type',15,'other_expense_desc',1,NULL,NULL),(154,'penalties_and_settlements',NULL,NULL,NULL,'detail_type',15,'penalties_and_settlements_desc',1,NULL,NULL);
/*!40000 ALTER TABLE `accounting_account_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `accounting_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accounting_accounts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `gl_code` varchar(191) DEFAULT NULL,
  `business_id` int(11) NOT NULL,
  `account_primary_type` varchar(191) DEFAULT NULL,
  `account_sub_type_id` bigint(20) DEFAULT NULL,
  `detail_type_id` bigint(20) DEFAULT NULL,
  `parent_account_id` bigint(20) DEFAULT NULL,
  `description` longtext DEFAULT NULL,
  `status` varchar(191) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=88 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `accounting_accounts` WRITE;
/*!40000 ALTER TABLE `accounting_accounts` DISABLE KEYS */;
INSERT INTO `accounting_accounts` VALUES (1,'Accounts Payable (A/P)',NULL,10,'liability',6,58,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(2,'Credit Card',NULL,10,'liability',7,59,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(3,'Wage expenses',NULL,10,'expenses',14,140,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(4,'Utilities',NULL,10,'expenses',14,149,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(5,'Unrealised loss on securities, net of tax',NULL,10,'income',12,113,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(6,'Undeposited Funds',NULL,10,'asset',2,29,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(7,'Uncategorised Income',NULL,10,'income',11,103,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(8,'Uncategorised Expense',NULL,10,'expenses',14,138,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(9,'Uncategorised Asset',NULL,10,'asset',2,26,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(10,'Unapplied Cash Payment Income',NULL,10,'income',11,105,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(11,'Travel expenses - selling expense',NULL,10,'expenses',14,147,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(12,'Travel expenses - general and admin expenses',NULL,10,'expenses',14,146,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(13,'Supplies',NULL,10,'expenses',14,145,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(14,'Subcontractors - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(15,'Stationery and printing',NULL,10,'expenses',14,137,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(16,'Short-term debit',NULL,10,'liability',8,69,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(17,'Shipping and delivery expense',NULL,10,'expenses',14,143,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(18,'Share capital',NULL,10,'equity',10,95,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(19,'Sales of Product Income',NULL,10,'income',11,103,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(20,'Sales - wholesale',NULL,10,'income',11,102,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(21,'Sales - retail',NULL,10,'income',11,101,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(22,'Sales',NULL,10,'income',11,103,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(23,'Revenue - General',NULL,10,'income',11,100,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(24,'Retained Earnings',NULL,10,'equity',10,94,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(25,'Repair and maintenance',NULL,10,'expenses',14,142,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(26,'Rent or lease payments',NULL,10,'expenses',14,141,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(27,'Reconciliation Discrepancies',NULL,10,'expenses',15,153,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(28,'Purchases',NULL,10,'expenses',14,144,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(29,'Property, plant and equipment',NULL,10,'asset',4,42,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(30,'Prepaid Expenses',NULL,10,'asset',2,27,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(31,'Payroll liabilities',NULL,10,'liability',8,71,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(32,'Payroll Expenses',NULL,10,'expenses',14,140,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(33,'Payroll Clearing',NULL,10,'liability',8,70,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(34,'Overhead - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(35,'Other Types of Expenses-Advertising Expenses',NULL,10,'expenses',14,119,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(36,'Other selling expenses',NULL,10,'expenses',14,139,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(37,'Other operating income (expenses)',NULL,10,'income',12,111,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(38,'Other general and administrative expenses',NULL,10,'expenses',14,137,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(39,'Other comprehensive income',NULL,10,'equity',10,87,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(40,'Other - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(41,'Office expenses',NULL,10,'expenses',14,137,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(42,'Meals and entertainment',NULL,10,'expenses',14,137,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(43,'Materials - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(44,'Management compensation',NULL,10,'expenses',14,135,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(45,'Loss on disposal of assets',NULL,10,'income',12,108,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(46,'Loss on discontinued operations, net of tax',NULL,10,'expenses',14,134,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(47,'Long-term investments',NULL,10,'asset',5,54,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(48,'Long-term debt',NULL,10,'liability',9,78,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(49,'Liabilities related to assets held for sale',NULL,10,'liability',9,77,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(50,'Legal and professional fees',NULL,10,'expenses',14,133,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(51,'Inventory Asset',NULL,10,'asset',2,21,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(52,'Inventory',NULL,10,'asset',2,21,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(53,'Interest income',NULL,10,'income',12,107,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(54,'Interest expense',NULL,10,'expenses',14,132,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(55,'Intangibles',NULL,10,'asset',5,51,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(56,'Insurance - Liability',NULL,10,'expenses',14,131,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(57,'Insurance - General',NULL,10,'expenses',14,131,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(58,'Insurance - Disability',NULL,10,'expenses',14,131,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(59,'Income tax payable',NULL,10,'liability',8,65,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(60,'Income tax expense',NULL,10,'expenses',14,130,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(61,'Goodwill',NULL,10,'asset',5,50,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(62,'Freight and delivery - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(63,'Equity in earnings of subsidiaries',NULL,10,'equity',10,84,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(64,'Equipment rental',NULL,10,'expenses',14,128,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(65,'Dues and Subscriptions',NULL,10,'expenses',14,127,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(66,'Dividends payable',NULL,10,'liability',8,64,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(67,'Dividend income',NULL,10,'income',12,106,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(68,'Dividend disbursed',NULL,10,'equity',10,83,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(69,'Discounts given - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(70,'Direct labour - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(71,'Deferred tax assets',NULL,10,'asset',5,49,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(72,'Cost of sales',NULL,10,'expenses',13,118,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(73,'Commissions and fees',NULL,10,'expenses',14,125,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(74,'Change in inventory - COS',NULL,10,'expenses',13,114,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(75,'Cash and cash equivalents',NULL,10,'asset',3,31,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(76,'Billable Expense Income',NULL,10,'income',11,103,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(77,'Bank charges',NULL,10,'expenses',14,123,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(78,'Bad debts',NULL,10,'expenses',14,122,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(79,'Available for sale assets (short-term)',NULL,10,'asset',2,18,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(80,'Assets held for sale',NULL,10,'asset',5,48,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(81,'Amortisation expense',NULL,10,'expenses',14,120,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(82,'Allowance for bad debts',NULL,10,'asset',2,17,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(83,'Accumulated depreciation on property, plant and equipment',NULL,10,'asset',4,38,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(84,'Accrued non-current liabilities',NULL,10,'liability',9,76,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(85,'Accrued liabilities',NULL,10,'liability',8,60,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(86,'Accrued holiday payable',NULL,10,'liability',9,75,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03'),(87,'Accounts Receivable (A/R)',NULL,10,'asset',1,16,NULL,NULL,'active',195,'2026-06-20 21:15:03','2026-06-20 21:15:03');
/*!40000 ALTER TABLE `accounting_accounts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `accounting_accounts_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accounting_accounts_transactions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `accounting_account_id` bigint(20) unsigned NOT NULL,
  `acc_trans_mapping_id` int(11) DEFAULT NULL COMMENT 'id form accounting_acc_trans_mapping table',
  `transaction_id` int(11) DEFAULT NULL COMMENT 'id form transactions table',
  `transaction_payment_id` int(11) DEFAULT NULL COMMENT 'id form transaction_payments table',
  `amount` decimal(22,4) NOT NULL,
  `type` varchar(100) NOT NULL COMMENT 'debit, credit etc',
  `sub_type` varchar(100) NOT NULL,
  `map_type` varchar(100) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `operation_date` datetime NOT NULL,
  `note` 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 */;

LOCK TABLES `accounting_accounts_transactions` WRITE;
/*!40000 ALTER TABLE `accounting_accounts_transactions` DISABLE KEYS */;
/*!40000 ALTER TABLE `accounting_accounts_transactions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `accounting_budgets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accounting_budgets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `accounting_account_id` bigint(20) unsigned NOT NULL,
  `financial_year` int(11) NOT NULL,
  `jan` decimal(22,4) DEFAULT NULL,
  `feb` decimal(22,4) DEFAULT NULL,
  `mar` decimal(22,4) DEFAULT NULL,
  `apr` decimal(22,4) DEFAULT NULL,
  `may` decimal(22,4) DEFAULT NULL,
  `jun` decimal(22,4) DEFAULT NULL,
  `jul` decimal(22,4) DEFAULT NULL,
  `aug` decimal(22,4) DEFAULT NULL,
  `sep` decimal(22,4) DEFAULT NULL,
  `oct` decimal(22,4) DEFAULT NULL,
  `nov` decimal(22,4) DEFAULT NULL,
  `dec` decimal(22,4) DEFAULT NULL,
  `quarter_1` decimal(22,4) DEFAULT NULL,
  `quarter_2` decimal(22,4) DEFAULT NULL,
  `quarter_3` decimal(22,4) DEFAULT NULL,
  `quarter_4` decimal(22,4) DEFAULT NULL,
  `yearly` decimal(22,4) 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 */;

LOCK TABLES `accounting_budgets` WRITE;
/*!40000 ALTER TABLE `accounting_budgets` DISABLE KEYS */;
/*!40000 ALTER TABLE `accounting_budgets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `accounts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `name` varchar(191) NOT NULL,
  `account_number` varchar(191) NOT NULL,
  `account_details` text DEFAULT NULL,
  `account_type_id` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `is_closed` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `accounts_business_id_index` (`business_id`),
  KEY `accounts_account_type_id_index` (`account_type_id`),
  KEY `accounts_created_by_index` (`created_by`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `accounts` WRITE;
/*!40000 ALTER TABLE `accounts` DISABLE KEYS */;
INSERT INTO `accounts` VALUES (33,5,'Cash Drawer — Reception','VET-CASH-01',NULL,NULL,NULL,164,0,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(34,5,'NBE Current Account','VET-NBE-2025',NULL,NULL,NULL,164,0,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(35,5,'CIB USD Account','VET-CIB-USD',NULL,NULL,NULL,164,0,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(36,6,'Cash Drawer — Reception','VET-CASH-01',NULL,NULL,NULL,171,0,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(37,6,'NBE Current Account','VET-NBE-2025',NULL,NULL,NULL,171,0,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(38,6,'CIB USD Account','VET-CIB-USD',NULL,NULL,NULL,171,0,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(39,7,'Cash Drawer — Reception','VET-CASH-01',NULL,NULL,NULL,177,0,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(40,7,'NBE Current Account','VET-NBE-2025',NULL,NULL,NULL,177,0,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(41,7,'CIB USD Account','VET-CIB-USD',NULL,NULL,NULL,177,0,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(42,8,'Cash Drawer — Reception','VET-CASH-01',NULL,NULL,NULL,183,0,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(43,8,'NBE Current Account','VET-NBE-2025',NULL,NULL,NULL,183,0,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(44,8,'CIB USD Account','VET-CIB-USD',NULL,NULL,NULL,183,0,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(45,9,'Cash Drawer — Reception','VET-CASH-01',NULL,NULL,NULL,189,0,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(46,9,'NBE Current Account','VET-NBE-2025',NULL,NULL,NULL,189,0,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(47,9,'CIB USD Account','VET-CIB-USD',NULL,NULL,NULL,189,0,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(48,10,'Cash Drawer — Reception','VET-CASH-01',NULL,NULL,NULL,195,0,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(49,10,'NBE Current Account','VET-NBE-2025',NULL,NULL,NULL,195,0,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(50,10,'CIB USD Account','VET-CIB-USD',NULL,NULL,NULL,195,0,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54');
/*!40000 ALTER TABLE `accounts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `activity_incidents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `activity_incidents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `type` varchar(20) NOT NULL,
  `status_code` smallint(5) unsigned DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `method` varchar(10) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `exception_class` varchar(191) DEFAULT NULL,
  `file` varchar(255) DEFAULT NULL,
  `line` int(10) unsigned DEFAULT NULL,
  `url` varchar(500) DEFAULT NULL,
  `ip` varchar(45) DEFAULT NULL,
  `user_agent` varchar(500) DEFAULT NULL,
  `request_id` char(36) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `activity_incidents_business_id_type_index` (`business_id`,`type`),
  KEY `activity_incidents_business_id_created_at_index` (`business_id`,`created_at`),
  KEY `activity_incidents_user_id_index` (`user_id`),
  KEY `activity_incidents_business_id_index` (`business_id`),
  KEY `activity_incidents_request_id_index` (`request_id`),
  KEY `activity_incidents_created_at_index` (`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `activity_incidents` WRITE;
/*!40000 ALTER TABLE `activity_incidents` DISABLE KEYS */;
INSERT INTO `activity_incidents` VALUES (1,NULL,NULL,'exception',500,'/','GET','Class \"PaymentAccountController\" does not exist','ReflectionException','D:\\xampp\\htdocs\\saas-one-vetone\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\RouteListCommand.php',234,'https://localhost/saas-one/public','127.0.0.1','Symfony','c1a892c6-9746-45e0-8c68-ef0159debe7c','2026-07-10 05:42:33'),(2,NULL,NULL,'exception',500,'/','GET','Class \"PaymentAccountController\" does not exist','ReflectionException','D:\\xampp\\htdocs\\saas-one-vetone\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\RouteListCommand.php',234,'https://localhost/saas-one/public','127.0.0.1','Symfony','54b7087f-39c8-4c21-b0c3-e5bf3465248c','2026-07-10 05:42:53'),(3,NULL,NULL,'exception',500,'/','GET','Class \"PaymentAccountController\" does not exist','ReflectionException','D:\\xampp\\htdocs\\saas-one-vetone\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\RouteListCommand.php',234,'https://localhost/saas-one/public','127.0.0.1','Symfony','ed68c83a-ae39-4300-9b2e-319d91154e44','2026-07-10 05:42:54'),(4,NULL,NULL,'exception',500,'/','GET','Class \"PaymentAccountController\" does not exist','ReflectionException','D:\\xampp\\htdocs\\saas-one-vetone\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\RouteListCommand.php',234,'https://localhost/saas-one/public','127.0.0.1','Symfony','eadd7c6e-37cf-4e1f-9a92-b9a23ff2585a','2026-07-10 05:42:55'),(5,NULL,NULL,'exception',500,'/','GET','Class \"PaymentAccountController\" does not exist','ReflectionException','D:\\xampp\\htdocs\\saas-one-vetone\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\RouteListCommand.php',234,'https://localhost/saas-one/public','127.0.0.1','Symfony','77608720-eaeb-4fa0-a77d-1f205fc1ab2e','2026-07-10 05:42:56');
/*!40000 ALTER TABLE `activity_incidents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `activity_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `activity_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `log_name` varchar(191) DEFAULT NULL,
  `description` text NOT NULL,
  `subject_id` int(11) DEFAULT NULL,
  `subject_type` varchar(191) DEFAULT NULL,
  `event` varchar(191) DEFAULT NULL,
  `business_id` int(11) DEFAULT NULL,
  `causer_id` int(11) DEFAULT NULL,
  `causer_type` varchar(191) DEFAULT NULL,
  `properties` text DEFAULT NULL,
  `batch_uuid` char(36) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `activity_log_log_name_index` (`log_name`)
) ENGINE=InnoDB AUTO_INCREMENT=550425 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `activity_log` WRITE;
/*!40000 ALTER TABLE `activity_log` DISABLE KEYS */;
INSERT INTO `activity_log` VALUES (550414,'default','login',164,'App\\User',NULL,5,164,'App\\User','[]',NULL,'2026-06-15 17:35:51','2026-06-15 17:35:51'),(550415,'default','login',164,'App\\User',NULL,5,164,'App\\User','[]',NULL,'2026-06-15 20:19:57','2026-06-15 20:19:57'),(550416,'default','login',164,'App\\User',NULL,5,164,'App\\User','[]',NULL,'2026-06-16 01:14:28','2026-06-16 01:14:28'),(550417,'default','login',164,'App\\User',NULL,5,164,'App\\User','[]',NULL,'2026-06-16 14:10:10','2026-06-16 14:10:10'),(550418,'default','login',195,'App\\User',NULL,10,195,'App\\User','[]',NULL,'2026-06-18 18:38:50','2026-06-18 18:38:50'),(550419,'default','login',195,'App\\User',NULL,10,195,'App\\User','[]',NULL,'2026-06-18 20:15:50','2026-06-18 20:15:50'),(550420,'default','login',195,'App\\User',NULL,10,195,'App\\User','[]',NULL,'2026-06-20 13:40:04','2026-06-20 13:40:04'),(550421,'default','login',195,'App\\User',NULL,10,195,'App\\User','[]',NULL,'2026-06-20 15:32:44','2026-06-20 15:32:44'),(550422,'default','login',195,'App\\User',NULL,10,195,'App\\User','[]',NULL,'2026-06-20 20:50:51','2026-06-20 20:50:51'),(550423,'default','login',195,'App\\User',NULL,10,195,'App\\User','[]',NULL,'2026-06-20 21:08:52','2026-06-20 21:08:52'),(550424,'default','login',211,'App\\User',NULL,12,211,'App\\User','[]',NULL,'2026-07-10 06:57:45','2026-07-10 06:57:45');
/*!40000 ALTER TABLE `activity_log` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ai_feedback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ai_feedback` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `module` varchar(60) DEFAULT NULL,
  `feature` varchar(80) DEFAULT NULL,
  `action` varchar(30) 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 `ai_feedback_business_id_created_at_index` (`business_id`,`created_at`),
  KEY `ai_feedback_business_id_feature_action_index` (`business_id`,`feature`,`action`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ai_feedback` WRITE;
/*!40000 ALTER TABLE `ai_feedback` DISABLE KEYS */;
/*!40000 ALTER TABLE `ai_feedback` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ai_providers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ai_providers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(50) NOT NULL DEFAULT 'default',
  `business_vertical` varchar(40) NOT NULL DEFAULT 'general',
  `provider` varchar(20) NOT NULL DEFAULT 'gemini',
  `base_url` varchar(255) DEFAULT NULL,
  `api_key` text DEFAULT NULL,
  `model` varchar(100) DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `temperature` decimal(3,2) NOT NULL DEFAULT 0.40,
  `max_tokens` int(10) unsigned NOT NULL DEFAULT 1024,
  `monthly_token_budget` int(10) unsigned DEFAULT NULL,
  `use_separate_transcription` tinyint(1) NOT NULL DEFAULT 0,
  `t_provider` varchar(30) DEFAULT NULL,
  `t_base_url` varchar(255) DEFAULT NULL,
  `t_api_key` text DEFAULT NULL,
  `t_model` varchar(100) DEFAULT NULL,
  `t_language_hint` varchar(10) NOT NULL DEFAULT 'auto',
  `t_silence_limit_sec` smallint(5) unsigned NOT NULL DEFAULT 30,
  `t_clean_non_medical` tinyint(1) NOT NULL DEFAULT 1,
  `auto_structure_soap` tinyint(1) NOT NULL DEFAULT 1,
  `consent_warning` tinyint(1) NOT NULL DEFAULT 1,
  `system_prompt` 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 `ai_providers_business_id_name_unique` (`business_id`,`name`),
  KEY `ai_providers_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ai_providers` WRITE;
/*!40000 ALTER TABLE `ai_providers` DISABLE KEYS */;
INSERT INTO `ai_providers` VALUES (7,10,'default','vet_clinic','openai_compatible','https://api.groq.com/openai/v1','eyJpdiI6IjJ5Y0lTT3A1K1pNZmlCaW4xVDRvNUE9PSIsInZhbHVlIjoiZlJ5OC9xTGVXVXY0SHViVTNTa3QvR1F3SlNjenlwUllDUEYxNDBlU0YvcXhNQU5oNHJOSlFyREY4V3ZFQTFoR1RXL3BmNU13MnA1eVh2YWV5N1B4dkE9PSIsIm1hYyI6ImU5YWRkMjZjZTI2OTJiMWY1MjIxZTQzNTcwMDE5N2JkMzAxMzcwMTkyMDlhNWFjYjQ1ZTZkM2NlZTI5NDg3ZTMiLCJ0YWciOiIifQ==','llama-3.3-70b-versatile',1,0.40,1024,NULL,1,'webspeech',NULL,'eyJpdiI6InlTMFpOWjNPWVBVTnhRR3FJbWdWVVE9PSIsInZhbHVlIjoiUzJ6WUszV3MvN3dpRW8wbGEvTGk0cGQwTlJvcGdqNnM2aDFObkwyL2lRZFg3bHJMeFBsZGVSaDJOTGJWeTNwdmVRM25BU1Y3WFE5TEVlRnpEc3NDUEE9PSIsIm1hYyI6ImMzM2Y0YjRhNTgyNDNiMzI5YWMzODRjZTI1Y2ExY2VmZjBkMGE0MzY2Y2Q0Njg3ZjIyNWU0MWE1ZDdlOWJhMmEiLCJ0YWciOiIifQ==','whisper-large-v3-turbo','auto',30,1,1,1,NULL,'{\"prompts\":[]}','2026-06-17 21:11:55','2026-06-25 15:34:11'),(8,5,'default','vet_clinic','openai_compatible','https://api.groq.com/openai/v1','eyJpdiI6InZzRUNXTllHZklLNXh4N1BFdWp6bVE9PSIsInZhbHVlIjoiTGVWSU9aSnZqdjhzWSt0NllUMURDTDZEOEE1VjBQMGFuemg1QnVHNjFQakJlYktyWDBpL3RtY0N4ZzJoWnFZdzh0WXdKSjhDNC8vWHpOUDRtQnl5UVE9PSIsIm1hYyI6IjY4NzNiZDJiM2ViYmVkYThkYzYxZmIwNDE4YmZlYWUzMjM0YjUxNDViYTIzNDc3N2Q1YTVkMzQ1ODc2NDQ3YjciLCJ0YWciOiIifQ==','llama-3.3-70b-versatile',1,0.30,1024,NULL,1,'webspeech',NULL,NULL,NULL,'auto',30,1,1,1,NULL,NULL,'2026-06-20 01:11:37','2026-06-25 03:21:03'),(9,10,'fallback','vet_clinic','openai_compatible','https://router.bynara.id/v1','eyJpdiI6Imt4aTRPV2c1ZU1UWG9CYXhnblYzVXc9PSIsInZhbHVlIjoidUVjODc5OVNoeWxRQVRVQ0Q2Y3FOVmx5TEg1d0hsU24yOUlUNW9veHl1Z0ZuKzVpQ24wMnliY1FhMDZHbk5WWjBYRzRSQ2ptNG8xUzhOWHIwS3J4WFE9PSIsIm1hYyI6ImZhZDgxYmI1NjYyNzhiYmQzMzQ1ZTY0MmY1YTQxZmMwNjAzMDQ0MmEzMzY5ZmVmNjNmM2Q5NTcwODVmNGQxN2YiLCJ0YWciOiIifQ==','mistral-large',1,0.40,1024,NULL,0,NULL,NULL,NULL,NULL,'auto',30,1,1,1,NULL,NULL,'2026-06-25 02:49:25','2026-06-25 03:02:54'),(10,5,'fallback','vet_clinic','openai_compatible','https://router.bynara.id/v1','eyJpdiI6ImFaT2ZnMGtlMnJ6bitldWFQd1A0K3c9PSIsInZhbHVlIjoiTU1XQXd1eUhmWkx5Y1VxVnlYckovV3hvbUpCQk9SdnQ3NVNRTk5Oc2RzUDVGajU2V3hsdFRzK1VRV0x4WXJOU08wRkZxeW5rR1lYMGJ3U25BbFhtOVE9PSIsIm1hYyI6IjA0OTFkYmUwYWMyNzdlNTYxMzIwNzc3MTdjMTFlM2NiNDdlNWFkOTkxMTkzZDZhZjZkYjViNTBlMGYxMWFkZjUiLCJ0YWciOiIifQ==','mistral-large',1,0.40,1024,NULL,0,NULL,NULL,NULL,NULL,'auto',30,1,1,1,NULL,NULL,'2026-06-25 03:21:03','2026-06-25 03:21:03');
/*!40000 ALTER TABLE `ai_providers` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ai_usage_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ai_usage_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `module` varchar(40) DEFAULT NULL,
  `feature` varchar(40) DEFAULT NULL,
  `provider` varchar(20) DEFAULT NULL,
  `model` varchar(100) DEFAULT NULL,
  `tokens_in` int(10) unsigned NOT NULL DEFAULT 0,
  `tokens_out` int(10) unsigned NOT NULL DEFAULT 0,
  `ok` tinyint(1) NOT NULL DEFAULT 1,
  `error` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ai_usage_logs_business_id_created_at_index` (`business_id`,`created_at`),
  KEY `ai_usage_logs_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ai_usage_logs` WRITE;
/*!40000 ALTER TABLE `ai_usage_logs` DISABLE KEYS */;
INSERT INTO `ai_usage_logs` VALUES (21,10,'VetClinic','extract_symptoms','openai_compatible','mistral-large',369,121,1,NULL,'2026-06-25 02:44:38','2026-06-25 02:44:38'),(22,10,'VetClinic','clean_transcript','openai_compatible','mistral-large',342,28,1,NULL,'2026-06-25 02:44:40','2026-06-25 02:44:40'),(23,10,'test','failover_probe','openai_compatible','nonexistent-model-zzz',0,0,0,'API error 404: The requested model does not exist.','2026-06-25 02:49:26','2026-06-25 02:49:26'),(24,10,'test','failover_probe:fallback','openai_compatible','mimo-v2.5-pro-free',22,15,1,NULL,'2026-06-25 02:49:29','2026-06-25 02:49:29'),(25,10,'test','groq_fb_probe','openai_compatible','nonexistent-zzz',0,0,0,'API error 404: The requested model does not exist.','2026-06-25 02:59:20','2026-06-25 02:59:20'),(26,10,'test','groq_fb_probe:fallback','openai_compatible','llama-3.3-70b-versatile',45,2,1,NULL,'2026-06-25 02:59:20','2026-06-25 02:59:20'),(27,10,'VetClinic','clean_transcript','openai_compatible','mistral-large',342,28,1,NULL,'2026-06-25 03:00:36','2026-06-25 03:00:36'),(28,10,'test','primary_check','openai_compatible','llama-3.3-70b-versatile',61,30,1,NULL,'2026-06-25 03:02:55','2026-06-25 03:02:55'),(29,10,'VetClinic','clean_transcript','openai_compatible','llama-3.3-70b-versatile',343,22,1,NULL,'2026-06-25 03:22:32','2026-06-25 03:22:32'),(30,10,'VetClinic','rx_safety_check','openai_compatible','llama-3.3-70b-versatile',0,0,0,'Request failed: cURL error 28: Failed to connect to api.groq.com port 443 after 10008 ms: Timeout was reached (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.groq.com/openai/v1/chat/completions','2026-06-26 01:48:20','2026-06-26 01:48:20'),(31,10,'VetClinic','rx_safety_check:fallback','openai_compatible','mistral-large',61,199,1,NULL,'2026-06-26 01:48:31','2026-06-26 01:48:31'),(32,10,'VetClinic','rx_safety_check','openai_compatible','llama-3.3-70b-versatile',305,63,1,NULL,'2026-06-26 01:51:57','2026-06-26 01:51:57'),(33,10,'AiCore','lab_interpret','openai_compatible','llama-3.3-70b-versatile',265,109,1,NULL,'2026-06-26 02:50:34','2026-06-26 02:50:34');
/*!40000 ALTER TABLE `ai_usage_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `allergy_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `allergy_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `known_allergens` text DEFAULT NULL,
  `ige_level` decimal(8,2) DEFAULT NULL,
  `anaphylaxis_history` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `allergy_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `allergy_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `allergy_patient_profiles` WRITE;
/*!40000 ALTER TABLE `allergy_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `allergy_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `andrology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `andrology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `semen_volume` decimal(8,2) DEFAULT NULL,
  `sperm_count` decimal(8,2) DEFAULT NULL,
  `motility` int(11) DEFAULT NULL,
  `erectile_function` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `andrology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `andrology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `andrology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `andrology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `andrology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `audiology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `audiology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `right_db` int(11) DEFAULT NULL,
  `left_db` int(11) DEFAULT NULL,
  `tympanometry` varchar(40) DEFAULT NULL,
  `hearing_aid` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `audiology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `audiology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `audiology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `audiology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `audiology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `barcodes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `barcodes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `width` double(22,4) DEFAULT NULL,
  `height` double(22,4) DEFAULT NULL,
  `paper_width` double(22,4) DEFAULT NULL,
  `paper_height` double(22,4) DEFAULT NULL,
  `top_margin` double(22,4) DEFAULT NULL,
  `left_margin` double(22,4) DEFAULT NULL,
  `row_distance` double(22,4) DEFAULT NULL,
  `col_distance` double(22,4) DEFAULT NULL,
  `stickers_in_one_row` int(11) DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_continuous` tinyint(1) NOT NULL DEFAULT 0,
  `stickers_in_one_sheet` int(11) DEFAULT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `barcodes_business_id_foreign` (`business_id`),
  CONSTRAINT `barcodes_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `barcodes` WRITE;
/*!40000 ALTER TABLE `barcodes` DISABLE KEYS */;
INSERT INTO `barcodes` VALUES (14,'20 Labels per Sheet','Sheet Size: 8.5\" x 11\", Label Size: 4\" x 1\", Labels per sheet: 20',4.0000,1.0000,8.5000,11.0000,0.5000,0.1250,0.0000,0.1875,2,0,0,20,NULL,'2017-12-18 04:13:44','2017-12-18 04:13:44'),(15,'30 Labels per sheet','Sheet Size: 8.5\" x 11\", Label Size: 2.625\" x 1\", Labels per sheet: 30',2.6250,1.0000,8.5000,11.0000,0.5000,0.1880,0.0000,0.1250,3,0,0,30,NULL,'2017-12-18 04:04:39','2017-12-18 04:10:40'),(16,'32 Labels per sheet','Sheet Size: 8.5\" x 11\", Label Size: 2\" x 1.25\", Labels per sheet: 32',2.0000,1.2500,8.5000,11.0000,0.5000,0.2500,0.0000,0.0000,4,0,0,32,NULL,'2017-12-18 03:55:40','2017-12-18 03:55:40'),(17,'40 Labels per sheet','Sheet Size: 8.5\" x 11\", Label Size: 2\" x 1\", Labels per sheet: 40',2.0000,1.0000,8.5000,11.0000,0.5000,0.2500,0.0000,0.0000,4,0,0,40,NULL,'2017-12-18 03:58:40','2017-12-18 03:58:40'),(18,'50 Labels per Sheet','Sheet Size: 8.5\" x 11\", Label Size: 1.5\" x 1\", Labels per sheet: 50',1.5000,1.0000,8.5000,11.0000,0.5000,0.5000,0.0000,0.0000,5,0,0,50,NULL,'2017-12-18 03:51:10','2017-12-18 03:51:10'),(19,'Continuous Rolls - 31.75mm x 25.4mm','Label Size: 31.75mm x 25.4mm, Gap: 3.18mm',1.2500,1.0000,1.2500,0.0000,0.1250,0.0000,0.1250,0.0000,1,0,1,NULL,NULL,'2017-12-18 03:51:10','2017-12-18 03:51:10');
/*!40000 ALTER TABLE `barcodes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bariatric_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bariatric_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bmi` decimal(8,2) DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `comorbidities` text DEFAULT NULL,
  `procedure` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bariatric_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `bariatric_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bariatric_patient_profiles` WRITE;
/*!40000 ALTER TABLE `bariatric_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `bariatric_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_addons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_addons` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `variation_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `category` varchar(60) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `unit` varchar(30) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_addons_business_id_is_active_index` (`business_id`,`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_addons` WRITE;
/*!40000 ALTER TABLE `bms_addons` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_addons` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_api_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_api_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `guard` enum('client','employee') NOT NULL,
  `owner_id` int(10) unsigned NOT NULL,
  `token` varchar(80) NOT NULL,
  `abilities` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`abilities`)),
  `last_used_at` datetime DEFAULT NULL,
  `expires_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_api_tokens_token_unique` (`token`),
  KEY `bms_api_tokens_guard_owner_id_index` (`guard`,`owner_id`),
  KEY `bms_api_tokens_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_api_tokens` WRITE;
/*!40000 ALTER TABLE `bms_api_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_api_tokens` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_areas`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_areas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_areas_business_id_is_active_index` (`business_id`,`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_areas` WRITE;
/*!40000 ALTER TABLE `bms_areas` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_areas` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_asset_movements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_asset_movements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `asset_id` bigint(20) unsigned NOT NULL,
  `from_location_id` int(10) unsigned DEFAULT NULL,
  `from_hall_id` bigint(20) unsigned DEFAULT NULL,
  `to_location_id` int(10) unsigned DEFAULT NULL,
  `to_hall_id` bigint(20) unsigned DEFAULT NULL,
  `transfer_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(10,2) DEFAULT NULL,
  `condition` varchar(30) DEFAULT NULL,
  `reason` varchar(40) DEFAULT NULL,
  `moved_by` int(10) unsigned DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_asset_movements_business_id_asset_id_index` (`business_id`,`asset_id`),
  KEY `bms_asset_movements_transfer_id_index` (`transfer_id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_asset_movements` WRITE;
/*!40000 ALTER TABLE `bms_asset_movements` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_asset_movements` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_assets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_assets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `code` varchar(60) NOT NULL,
  `name` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `category` varchar(40) NOT NULL DEFAULT 'other',
  `location_id` int(10) unsigned DEFAULT NULL,
  `hall_id` bigint(20) unsigned DEFAULT NULL,
  `condition` varchar(30) NOT NULL DEFAULT 'good',
  `status` varchar(30) NOT NULL DEFAULT 'available',
  `quantity` int(10) unsigned NOT NULL DEFAULT 1,
  `unit_value` decimal(12,2) DEFAULT NULL,
  `serial_no` varchar(120) DEFAULT NULL,
  `purchased_at` date DEFAULT NULL,
  `photo_path` 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 `bms_assets_business_id_code_unique` (`business_id`,`code`),
  KEY `bms_assets_business_id_status_index` (`business_id`,`status`),
  KEY `bms_assets_business_id_category_index` (`business_id`,`category`),
  KEY `bms_assets_hall_id_index` (`hall_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_assets` WRITE;
/*!40000 ALTER TABLE `bms_assets` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_assets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_booking_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_booking_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `booking_id` bigint(20) unsigned NOT NULL,
  `type` varchar(40) NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payload`)),
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_booking_events_business_id_booking_id_index` (`business_id`,`booking_id`),
  KEY `bms_booking_events_business_id_type_index` (`business_id`,`type`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_booking_events` WRITE;
/*!40000 ALTER TABLE `bms_booking_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_booking_events` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_booking_halls`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_booking_halls` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `booking_id` bigint(20) unsigned NOT NULL,
  `hall_id` bigint(20) unsigned NOT NULL,
  `event_date` date NOT NULL,
  `slot` enum('full_day','morning','evening') NOT NULL DEFAULT 'full_day',
  `start_time` time DEFAULT NULL,
  `end_time` time DEFAULT NULL,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `addons` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`addons`)),
  `package_items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`package_items`)),
  `price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_booking_halls_business_id_booking_id_index` (`business_id`,`booking_id`),
  KEY `bms_booking_halls_hall_id_event_date_index` (`hall_id`,`event_date`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_booking_halls` WRITE;
/*!40000 ALTER TABLE `bms_booking_halls` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_booking_halls` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_bookings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_bookings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `booking_no` varchar(40) DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `status` enum('inquiry','hold','tentative','confirmed','contracted','completed','cancelled') NOT NULL DEFAULT 'inquiry',
  `event_type` varchar(60) DEFAULT NULL,
  `event_date` date DEFAULT NULL,
  `start_time` time DEFAULT NULL,
  `end_time` time DEFAULT NULL,
  `attendees` int(10) unsigned DEFAULT NULL,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `deposit_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `erp_invoice_id` int(10) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `confirmed_at` datetime DEFAULT NULL,
  `cancelled_at` datetime DEFAULT NULL,
  `cancelled_by` int(10) unsigned DEFAULT NULL,
  `cancellation_reason` varchar(255) DEFAULT NULL,
  `cancellation_reason_code` varchar(60) DEFAULT NULL,
  `penalty_percent` decimal(6,3) DEFAULT NULL,
  `penalty_amount` decimal(15,2) DEFAULT NULL,
  `refund_amount` decimal(15,2) DEFAULT NULL,
  `rescheduled_from` date DEFAULT NULL,
  `reschedule_count` int(10) unsigned NOT NULL DEFAULT 0,
  `contracted_at` datetime DEFAULT NULL,
  `completed_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_bookings_business_id_status_index` (`business_id`,`status`),
  KEY `bms_bookings_business_id_event_date_index` (`business_id`,`event_date`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_bookings` WRITE;
/*!40000 ALTER TABLE `bms_bookings` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_bookings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_change_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_change_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `booking_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'edit',
  `message` text NOT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `staff_note` varchar(500) DEFAULT NULL,
  `decided_by` int(10) unsigned DEFAULT NULL,
  `decided_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_change_requests_business_id_status_index` (`business_id`,`status`),
  KEY `bms_change_requests_business_id_contact_id_index` (`business_id`,`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_change_requests` WRITE;
/*!40000 ALTER TABLE `bms_change_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_change_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_client_otps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_client_otps` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `phone` varchar(191) DEFAULT NULL,
  `email` varchar(191) DEFAULT NULL,
  `channel` varchar(20) NOT NULL DEFAULT 'phone',
  `code` varchar(10) NOT NULL,
  `expires_at` datetime NOT NULL,
  `attempts` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `consumed_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_client_otps_business_id_phone_index` (`business_id`,`phone`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_client_otps` WRITE;
/*!40000 ALTER TABLE `bms_client_otps` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_client_otps` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `booking_id` bigint(20) unsigned DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(30) NOT NULL,
  `disk` varchar(30) NOT NULL DEFAULT 'local',
  `path` varchar(255) NOT NULL,
  `version` int(10) unsigned NOT NULL DEFAULT 1,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `generated_by` int(10) unsigned DEFAULT NULL,
  `accepted_at` datetime DEFAULT NULL,
  `accepted_ip` varchar(64) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_documents_business_id_booking_id_index` (`business_id`,`booking_id`),
  KEY `bms_documents_business_id_type_index` (`business_id`,`type`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_documents` WRITE;
/*!40000 ALTER TABLE `bms_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_documents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_hall_addon`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_hall_addon` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `hall_id` bigint(20) unsigned NOT NULL,
  `addon_id` bigint(20) unsigned NOT NULL,
  `price_override` decimal(15,2) DEFAULT NULL,
  `is_available` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_hall_addon_hall_id_addon_id_unique` (`hall_id`,`addon_id`),
  KEY `bms_hall_addon_business_id_hall_id_index` (`business_id`,`hall_id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_hall_addon` WRITE;
/*!40000 ALTER TABLE `bms_hall_addon` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_hall_addon` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_hall_availability`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_hall_availability` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `hall_id` bigint(20) unsigned NOT NULL,
  `date` date NOT NULL,
  `slot` enum('full_day','morning','evening') NOT NULL DEFAULT 'full_day',
  `status` enum('hold','tentative','booked','blocked') NOT NULL DEFAULT 'hold',
  `booking_id` bigint(20) unsigned DEFAULT NULL,
  `hold_token` varchar(64) DEFAULT NULL,
  `hold_expires_at` datetime DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_hall_availability_hall_id_date_slot_unique` (`hall_id`,`date`,`slot`),
  KEY `bms_hall_availability_business_id_date_index` (`business_id`,`date`),
  KEY `bms_hall_availability_hold_expires_at_index` (`hold_expires_at`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_hall_availability` WRITE;
/*!40000 ALTER TABLE `bms_hall_availability` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_hall_availability` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_hall_media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_hall_media` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `hall_id` bigint(20) unsigned NOT NULL,
  `type` enum('image','video','360') NOT NULL DEFAULT 'image',
  `disk` varchar(60) DEFAULT NULL,
  `path` varchar(255) DEFAULT NULL,
  `url` varchar(500) DEFAULT NULL,
  `thumbnail_path` varchar(255) DEFAULT NULL,
  `title` varchar(191) DEFAULT NULL,
  `event_type` varchar(50) DEFAULT NULL,
  `is_cover` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `bms_hall_media_business_id_hall_id_index` (`business_id`,`hall_id`),
  KEY `bms_hall_media_event_type_index` (`event_type`)
) ENGINE=InnoDB AUTO_INCREMENT=121 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_hall_media` WRITE;
/*!40000 ALTER TABLE `bms_hall_media` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_hall_media` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_halls`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_halls` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `venue_id` bigint(20) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `area_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `code` varchar(60) DEFAULT NULL,
  `capacity_min` int(10) unsigned NOT NULL DEFAULT 0,
  `capacity_max` int(10) unsigned NOT NULL DEFAULT 0,
  `venue_type` enum('open','closed','both') NOT NULL DEFAULT 'closed',
  `fnb_levels` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`fnb_levels`)),
  `min_budget` decimal(15,2) NOT NULL DEFAULT 0.00,
  `base_price` decimal(15,2) DEFAULT NULL,
  `area_sqm` decimal(10,2) DEFAULT NULL,
  `hall_manager_id` int(10) unsigned DEFAULT NULL,
  `hall_manager_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`hall_manager_ids`)),
  `features` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`features`)),
  `description` text DEFAULT NULL,
  `description_ar` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_halls_business_id_is_active_index` (`business_id`,`is_active`),
  KEY `bms_halls_venue_id_index` (`venue_id`),
  KEY `bms_halls_business_id_location_id_index` (`business_id`,`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_halls` WRITE;
/*!40000 ALTER TABLE `bms_halls` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_halls` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_lead_halls`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_lead_halls` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `lead_id` bigint(20) unsigned NOT NULL,
  `hall_id` bigint(20) unsigned NOT NULL,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `addons` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`addons`)),
  `package_items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`package_items`)),
  `score` tinyint(3) unsigned DEFAULT NULL,
  `estimated_total` decimal(15,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_lead_halls_business_id_lead_id_index` (`business_id`,`lead_id`)
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_lead_halls` WRITE;
/*!40000 ALTER TABLE `bms_lead_halls` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_lead_halls` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_leads`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_leads` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `whatsapp` varchar(30) DEFAULT NULL,
  `wizard_session_id` bigint(20) unsigned DEFAULT NULL,
  `stage` varchar(50) NOT NULL DEFAULT 'wizard_incomplete',
  `source` varchar(40) DEFAULT NULL,
  `assigned_to` int(10) unsigned DEFAULT NULL,
  `event_type` varchar(60) DEFAULT NULL,
  `attendees` int(10) unsigned DEFAULT NULL,
  `fnb_level` enum('high_tea','drinks_only','set_menu','open_buffet','custom') DEFAULT NULL,
  `venue_preference` enum('open','closed','both') DEFAULT NULL,
  `budget_min` decimal(15,2) DEFAULT NULL,
  `budget_max` decimal(15,2) DEFAULT NULL,
  `candidate_dates` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`candidate_dates`)),
  `area_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `last_activity_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_leads_business_id_stage_index` (`business_id`,`stage`),
  KEY `bms_leads_business_id_assigned_to_index` (`business_id`,`assigned_to`)
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_leads` WRITE;
/*!40000 ALTER TABLE `bms_leads` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_leads` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_maintenance_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_maintenance_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `code` varchar(40) NOT NULL,
  `hall_id` bigint(20) unsigned DEFAULT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `asset_id` bigint(20) unsigned DEFAULT NULL,
  `category` varchar(40) NOT NULL DEFAULT 'other',
  `priority` enum('low','medium','high','urgent') NOT NULL DEFAULT 'medium',
  `title` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `status` enum('submitted','reviewed','assigned','in_progress','resolved','verified','cancelled') NOT NULL DEFAULT 'submitted',
  `reported_by` int(10) unsigned DEFAULT NULL,
  `assigned_to` int(10) unsigned DEFAULT NULL,
  `due_at` datetime DEFAULT NULL,
  `resolved_at` datetime DEFAULT NULL,
  `verified_at` datetime 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`),
  UNIQUE KEY `bms_maintenance_requests_business_id_code_unique` (`business_id`,`code`),
  KEY `bms_maintenance_requests_business_id_status_index` (`business_id`,`status`),
  KEY `bms_maintenance_requests_business_id_priority_index` (`business_id`,`priority`),
  KEY `bms_maintenance_requests_hall_id_index` (`hall_id`),
  KEY `bms_maintenance_requests_assigned_to_index` (`assigned_to`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_maintenance_requests` WRITE;
/*!40000 ALTER TABLE `bms_maintenance_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_maintenance_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_maintenance_updates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_maintenance_updates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `request_id` bigint(20) unsigned NOT NULL,
  `from_status` varchar(20) DEFAULT NULL,
  `to_status` varchar(20) DEFAULT NULL,
  `comment` text DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_maintenance_updates_business_id_request_id_index` (`business_id`,`request_id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_maintenance_updates` WRITE;
/*!40000 ALTER TABLE `bms_maintenance_updates` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_maintenance_updates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_match_runs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_match_runs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `source` enum('client','employee') NOT NULL DEFAULT 'client',
  `wizard_session_id` bigint(20) unsigned DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `criteria` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`criteria`)),
  `results` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`results`)),
  `top_score` tinyint(3) unsigned DEFAULT NULL,
  `matched_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_match_runs_business_id_lead_id_index` (`business_id`,`lead_id`),
  KEY `bms_match_runs_business_id_wizard_session_id_index` (`business_id`,`wizard_session_id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_match_runs` WRITE;
/*!40000 ALTER TABLE `bms_match_runs` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_match_runs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_matching_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_matching_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `threshold` tinyint(3) unsigned NOT NULL DEFAULT 60,
  `weights` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`weights`)),
  `updated_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_matching_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_matching_settings` WRITE;
/*!40000 ALTER TABLE `bms_matching_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_matching_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_office_visits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_office_visits` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `wizard_session_id` bigint(20) unsigned DEFAULT NULL,
  `visit_date` date NOT NULL,
  `visit_time` time DEFAULT NULL,
  `status` enum('requested','scheduled','done','cancelled') NOT NULL DEFAULT 'requested',
  `notes` varchar(255) DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_office_visits_business_id_visit_date_index` (`business_id`,`visit_date`),
  KEY `bms_office_visits_business_id_lead_id_index` (`business_id`,`lead_id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_office_visits` WRITE;
/*!40000 ALTER TABLE `bms_office_visits` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_office_visits` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_package_hall`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_package_hall` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `package_id` bigint(20) unsigned NOT NULL,
  `hall_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_package_hall_package_id_hall_id_unique` (`package_id`,`hall_id`),
  KEY `bms_package_hall_business_id_hall_id_index` (`business_id`,`hall_id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_package_hall` WRITE;
/*!40000 ALTER TABLE `bms_package_hall` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_package_hall` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_package_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_package_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `package_id` bigint(20) unsigned NOT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `variation_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `description_ar` text DEFAULT NULL,
  `media` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`media`)),
  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),
  `contents` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`contents`)),
  `category` varchar(40) DEFAULT NULL,
  `quantity` decimal(10,2) NOT NULL DEFAULT 1.00,
  `qty_mode` enum('fixed','per_guest') NOT NULL DEFAULT 'fixed',
  `is_optional` tinyint(1) NOT NULL DEFAULT 0,
  `is_addon` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `unit_cost` decimal(15,2) DEFAULT NULL,
  `addon_price` decimal(12,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_package_items_business_id_package_id_index` (`business_id`,`package_id`)
) ENGINE=InnoDB AUTO_INCREMENT=385 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_package_items` WRITE;
/*!40000 ALTER TABLE `bms_package_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_package_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_packages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_packages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `venue_id` bigint(20) unsigned DEFAULT NULL,
  `hall_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `description_ar` text DEFAULT NULL,
  `fnb_level` enum('high_tea','drinks_only','set_menu','open_buffet','custom') DEFAULT NULL,
  `price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `price_per_person` tinyint(1) NOT NULL DEFAULT 0,
  `min_pax` int(10) unsigned DEFAULT NULL,
  `max_pax` int(10) unsigned DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_packages_business_id_hall_id_index` (`business_id`,`hall_id`),
  KEY `bms_packages_business_id_venue_id_index` (`business_id`,`venue_id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_packages` WRITE;
/*!40000 ALTER TABLE `bms_packages` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_packages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_payment_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_payment_schedules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `booking_id` bigint(20) unsigned NOT NULL,
  `label` varchar(60) NOT NULL,
  `kind` enum('deposit','installment','balance') NOT NULL DEFAULT 'installment',
  `due_date` date DEFAULT NULL,
  `percent` decimal(6,3) NOT NULL DEFAULT 0.000,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` enum('pending','partial','paid','overdue','cancelled') NOT NULL DEFAULT 'pending',
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_payment_schedules_business_id_booking_id_index` (`business_id`,`booking_id`),
  KEY `bms_payment_schedules_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_payment_schedules` WRITE;
/*!40000 ALTER TABLE `bms_payment_schedules` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_payment_schedules` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_product_media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_product_media` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `type` enum('image','video','360') NOT NULL DEFAULT 'image',
  `disk` varchar(60) DEFAULT NULL,
  `path` varchar(255) DEFAULT NULL,
  `url` varchar(500) DEFAULT NULL,
  `thumbnail_path` varchar(255) DEFAULT NULL,
  `title` varchar(191) DEFAULT NULL,
  `is_cover` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `bms_product_media_business_id_product_id_index` (`business_id`,`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_product_media` WRITE;
/*!40000 ALTER TABLE `bms_product_media` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_product_media` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_product_meta`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_product_meta` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `description_ar` text DEFAULT NULL,
  `is_addon` tinyint(1) NOT NULL DEFAULT 0,
  `addon_price` decimal(15,2) DEFAULT NULL,
  `addon_unit` varchar(30) DEFAULT NULL,
  `variation_labels_ar` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variation_labels_ar`)),
  `default_unit_ar` varchar(30) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_product_meta_product_unique` (`product_id`),
  KEY `bms_product_meta_business_id_is_addon_index` (`business_id`,`is_addon`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_product_meta` WRITE;
/*!40000 ALTER TABLE `bms_product_meta` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_product_meta` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_push_subscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_push_subscriptions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `guard` enum('client','employee') NOT NULL DEFAULT 'employee',
  `subject_id` int(10) unsigned NOT NULL,
  `endpoint` text NOT NULL,
  `endpoint_hash` char(64) NOT NULL,
  `p256dh` varchar(255) DEFAULT NULL,
  `auth` varchar(255) DEFAULT NULL,
  `ua` varchar(255) DEFAULT NULL,
  `last_used_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_push_endpoint_unique` (`endpoint_hash`),
  KEY `bms_push_subscriptions_business_id_guard_subject_id_index` (`business_id`,`guard`,`subject_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_push_subscriptions` WRITE;
/*!40000 ALTER TABLE `bms_push_subscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_push_subscriptions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_qc_checklists`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_qc_checklists` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(120) NOT NULL,
  `name_ar` varchar(120) DEFAULT NULL,
  `event_type` varchar(60) DEFAULT NULL,
  `stage` varchar(20) NOT NULL DEFAULT 'pre_event',
  `items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`items`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_qc_checklists_business_id_is_active_index` (`business_id`,`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_qc_checklists` WRITE;
/*!40000 ALTER TABLE `bms_qc_checklists` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_qc_checklists` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_qc_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_qc_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `inspection_id` bigint(20) unsigned NOT NULL,
  `type` varchar(20) NOT NULL,
  `detail` varchar(500) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_qc_events_business_id_inspection_id_index` (`business_id`,`inspection_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_qc_events` WRITE;
/*!40000 ALTER TABLE `bms_qc_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_qc_events` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_qc_inspections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_qc_inspections` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `booking_id` bigint(20) unsigned NOT NULL,
  `checklist_id` bigint(20) unsigned DEFAULT NULL,
  `stage` varchar(20) NOT NULL DEFAULT 'pre_event',
  `items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`items`)),
  `score` int(10) unsigned DEFAULT NULL,
  `status` enum('open','passed','failed') NOT NULL DEFAULT 'open',
  `inspector_id` int(10) unsigned DEFAULT NULL,
  `completed_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_qc_inspections_business_id_booking_id_index` (`business_id`,`booking_id`),
  KEY `bms_qc_inspections_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_qc_inspections` WRITE;
/*!40000 ALTER TABLE `bms_qc_inspections` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_qc_inspections` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `key` varchar(100) NOT NULL,
  `value` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_settings_business_id_key_unique` (`business_id`,`key`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_settings` WRITE;
/*!40000 ALTER TABLE `bms_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_task_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_task_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `task_id` bigint(20) unsigned NOT NULL,
  `type` varchar(20) NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `note` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_task_events_business_id_task_id_index` (`business_id`,`task_id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_task_events` WRITE;
/*!40000 ALTER TABLE `bms_task_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_task_events` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_task_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_task_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `title` varchar(191) NOT NULL,
  `department` varchar(40) NOT NULL,
  `event_type` varchar(60) DEFAULT NULL,
  `offset_days` int(11) NOT NULL DEFAULT 0,
  `offset_hour` tinyint(3) unsigned DEFAULT NULL,
  `assignee_role` varchar(60) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_task_templates_business_id_is_active_index` (`business_id`,`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_task_templates` WRITE;
/*!40000 ALTER TABLE `bms_task_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_task_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_tasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_tasks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `booking_id` bigint(20) unsigned NOT NULL,
  `template_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(191) NOT NULL,
  `department` varchar(40) NOT NULL,
  `due_at` datetime DEFAULT NULL,
  `assignee_id` int(10) unsigned DEFAULT NULL,
  `assignee_role` varchar(60) DEFAULT NULL,
  `status` enum('pending','in_progress','done','cancelled') NOT NULL DEFAULT 'pending',
  `completed_at` datetime DEFAULT NULL,
  `completed_by` int(10) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `accepted_at` datetime DEFAULT NULL,
  `accepted_by` int(10) unsigned DEFAULT NULL,
  `read_at` datetime DEFAULT NULL,
  `received_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_tasks_business_id_booking_id_index` (`business_id`,`booking_id`),
  KEY `bms_tasks_business_id_status_index` (`business_id`,`status`),
  KEY `bms_tasks_assignee_id_status_index` (`assignee_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_tasks` WRITE;
/*!40000 ALTER TABLE `bms_tasks` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_tasks` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_transfer_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_transfer_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `transfer_id` bigint(20) unsigned NOT NULL,
  `kind` enum('consumable','asset') NOT NULL DEFAULT 'consumable',
  `product_id` int(10) unsigned DEFAULT NULL,
  `variation_id` int(10) unsigned DEFAULT NULL,
  `asset_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `quantity` decimal(10,2) NOT NULL DEFAULT 1.00,
  `accepted_quantity` decimal(10,2) DEFAULT NULL,
  `condition` varchar(60) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_transfer_items_business_id_transfer_id_index` (`business_id`,`transfer_id`),
  KEY `bms_transfer_items_asset_id_index` (`asset_id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_transfer_items` WRITE;
/*!40000 ALTER TABLE `bms_transfer_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_transfer_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_transfer_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_transfer_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `type` enum('warehouse_to_hall','hall_to_hall') NOT NULL DEFAULT 'warehouse_to_hall',
  `from_location_id` int(10) unsigned DEFAULT NULL,
  `from_hall_id` bigint(20) unsigned DEFAULT NULL,
  `to_hall_id` bigint(20) unsigned NOT NULL,
  `to_location_id` int(10) unsigned DEFAULT NULL,
  `booking_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('requested','in_transit','accepted','rejected','cancelled') NOT NULL DEFAULT 'requested',
  `requested_by` int(10) unsigned DEFAULT NULL,
  `accepted_by` int(10) unsigned DEFAULT NULL,
  `accepted_at` datetime DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `stock_refs` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`stock_refs`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_transfer_requests_business_id_status_index` (`business_id`,`status`),
  KEY `bms_transfer_requests_to_hall_id_index` (`to_hall_id`),
  KEY `bms_transfer_requests_business_id_booking_id_index` (`business_id`,`booking_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_transfer_requests` WRITE;
/*!40000 ALTER TABLE `bms_transfer_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_transfer_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_venues`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_venues` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `area_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `code` varchar(60) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `working_hours` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`working_hours`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bms_venues_business_id_is_active_index` (`business_id`,`is_active`),
  KEY `bms_venues_business_id_location_id_index` (`business_id`,`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_venues` WRITE;
/*!40000 ALTER TABLE `bms_venues` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_venues` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bms_wizard_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bms_wizard_sessions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `token` varchar(64) NOT NULL,
  `status` enum('incomplete','complete','converted','abandoned') NOT NULL DEFAULT 'incomplete',
  `current_step` tinyint(3) unsigned NOT NULL DEFAULT 1,
  `contact_name` varchar(191) DEFAULT NULL,
  `contact_phone` varchar(30) DEFAULT NULL,
  `contact_whatsapp` varchar(30) DEFAULT NULL,
  `contact_email` varchar(191) DEFAULT NULL,
  `source` varchar(40) DEFAULT NULL,
  `source_detail` varchar(191) DEFAULT NULL,
  `event_type` varchar(60) DEFAULT NULL,
  `attendees` int(10) unsigned DEFAULT NULL,
  `fnb_level` enum('high_tea','drinks_only','set_menu','open_buffet','custom') DEFAULT NULL,
  `venue_preference` enum('open','closed','both') DEFAULT NULL,
  `candidate_dates` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`candidate_dates`)),
  `budget_min` decimal(15,2) DEFAULT NULL,
  `budget_max` decimal(15,2) DEFAULT NULL,
  `area_id` bigint(20) unsigned DEFAULT NULL,
  `answers` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`answers`)),
  `contact_id` int(10) unsigned DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `ip` varchar(45) DEFAULT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `last_activity_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `bms_wizard_sessions_token_unique` (`token`),
  KEY `bms_wizard_sessions_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bms_wizard_sessions` WRITE;
/*!40000 ALTER TABLE `bms_wizard_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `bms_wizard_sessions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `bookings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bookings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `contact_id` int(10) unsigned NOT NULL,
  `waiter_id` int(10) unsigned DEFAULT NULL,
  `table_id` int(10) unsigned DEFAULT NULL,
  `correspondent_id` int(11) DEFAULT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned NOT NULL,
  `booking_start` datetime NOT NULL,
  `booking_end` datetime NOT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `booking_status` varchar(191) NOT NULL,
  `booking_note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bookings_contact_id_foreign` (`contact_id`),
  KEY `bookings_business_id_foreign` (`business_id`),
  KEY `bookings_created_by_foreign` (`created_by`),
  KEY `bookings_table_id_index` (`table_id`),
  KEY `bookings_waiter_id_index` (`waiter_id`),
  KEY `bookings_location_id_index` (`location_id`),
  KEY `bookings_booking_status_index` (`booking_status`),
  KEY `bookings_correspondent_id_index` (`correspondent_id`),
  CONSTRAINT `bookings_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `bookings_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `bookings_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `bookings` WRITE;
/*!40000 ALTER TABLE `bookings` DISABLE KEYS */;
/*!40000 ALTER TABLE `bookings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `brands`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `brands` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `brands_business_id_foreign` (`business_id`),
  KEY `brands_created_by_foreign` (`created_by`),
  CONSTRAINT `brands_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `brands_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `brands` WRITE;
/*!40000 ALTER TABLE `brands` DISABLE KEYS */;
/*!40000 ALTER TABLE `brands` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `business`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `business` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `demo_slug` varchar(191) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `currency_id` int(10) unsigned NOT NULL,
  `start_date` date DEFAULT NULL,
  `tax_number_1` varchar(100) DEFAULT NULL,
  `tax_label_1` varchar(10) DEFAULT NULL,
  `tax_number_2` varchar(100) DEFAULT NULL,
  `tax_label_2` varchar(10) DEFAULT NULL,
  `code_label_1` varchar(191) DEFAULT NULL,
  `code_1` varchar(191) DEFAULT NULL,
  `code_label_2` varchar(191) DEFAULT NULL,
  `code_2` varchar(191) DEFAULT NULL,
  `default_sales_tax` int(10) unsigned DEFAULT NULL,
  `default_profit_percent` double(5,2) NOT NULL DEFAULT 0.00,
  `owner_id` int(10) unsigned NOT NULL,
  `time_zone` varchar(191) NOT NULL DEFAULT 'Asia/Kolkata',
  `fy_start_month` tinyint(4) NOT NULL DEFAULT 1,
  `accounting_method` enum('fifo','lifo','avco') NOT NULL DEFAULT 'fifo',
  `default_sales_discount` decimal(5,2) DEFAULT NULL,
  `sell_price_tax` enum('includes','excludes') NOT NULL DEFAULT 'includes',
  `logo` varchar(191) DEFAULT NULL,
  `sku_prefix` varchar(191) DEFAULT NULL,
  `enable_product_expiry` tinyint(1) NOT NULL DEFAULT 0,
  `expiry_type` enum('add_expiry','add_manufacturing') NOT NULL DEFAULT 'add_expiry',
  `on_product_expiry` enum('keep_selling','stop_selling','auto_delete') NOT NULL DEFAULT 'keep_selling',
  `stop_selling_before` int(11) NOT NULL COMMENT 'Stop selling expied item n days before expiry',
  `enable_tooltip` tinyint(1) NOT NULL DEFAULT 1,
  `purchase_in_diff_currency` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Allow purchase to be in different currency then the business currency',
  `purchase_currency_id` int(10) unsigned DEFAULT NULL,
  `p_exchange_rate` decimal(20,3) NOT NULL DEFAULT 1.000,
  `transaction_edit_days` int(10) unsigned NOT NULL DEFAULT 30,
  `stock_expiry_alert_days` int(10) unsigned NOT NULL DEFAULT 30,
  `keyboard_shortcuts` text DEFAULT NULL,
  `pos_settings` text DEFAULT NULL,
  `essentials_settings` longtext DEFAULT NULL,
  `weighing_scale_setting` text NOT NULL COMMENT 'used to store the configuration of weighing scale',
  `enable_brand` tinyint(1) NOT NULL DEFAULT 1,
  `enable_category` tinyint(1) NOT NULL DEFAULT 1,
  `enable_sub_category` tinyint(1) NOT NULL DEFAULT 1,
  `enable_price_tax` tinyint(1) NOT NULL DEFAULT 1,
  `enable_purchase_status` tinyint(1) DEFAULT 1,
  `enable_lot_number` tinyint(1) NOT NULL DEFAULT 0,
  `default_unit` int(11) DEFAULT NULL,
  `enable_sub_units` tinyint(1) NOT NULL DEFAULT 0,
  `enable_racks` tinyint(1) NOT NULL DEFAULT 0,
  `enable_row` tinyint(1) NOT NULL DEFAULT 0,
  `enable_position` tinyint(1) NOT NULL DEFAULT 0,
  `enable_editing_product_from_purchase` tinyint(1) NOT NULL DEFAULT 1,
  `sales_cmsn_agnt` enum('logged_in_user','user','cmsn_agnt') DEFAULT NULL,
  `item_addition_method` tinyint(1) NOT NULL DEFAULT 1,
  `enable_inline_tax` tinyint(1) NOT NULL DEFAULT 1,
  `currency_symbol_placement` enum('before','after') NOT NULL DEFAULT 'before',
  `enabled_modules` text DEFAULT NULL,
  `module_entitlements` text DEFAULT NULL,
  `date_format` varchar(191) NOT NULL DEFAULT 'm/d/Y',
  `time_format` enum('12','24') NOT NULL DEFAULT '24',
  `currency_precision` tinyint(4) NOT NULL DEFAULT 2,
  `quantity_precision` tinyint(4) NOT NULL DEFAULT 2,
  `ref_no_prefixes` text DEFAULT NULL,
  `theme_color` char(20) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `accounting_settings` text DEFAULT NULL,
  `crm_settings` text DEFAULT NULL,
  `enable_rp` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'rp is the short form of reward points',
  `rp_name` varchar(191) DEFAULT NULL COMMENT 'rp is the short form of reward points',
  `amount_for_unit_rp` decimal(22,4) NOT NULL DEFAULT 1.0000 COMMENT 'rp is the short form of reward points',
  `min_order_total_for_rp` decimal(22,4) NOT NULL DEFAULT 1.0000 COMMENT 'rp is the short form of reward points',
  `max_rp_per_order` int(11) DEFAULT NULL COMMENT 'rp is the short form of reward points',
  `redeem_amount_per_unit_rp` decimal(22,4) NOT NULL DEFAULT 1.0000 COMMENT 'rp is the short form of reward points',
  `min_order_total_for_redeem` decimal(22,4) NOT NULL DEFAULT 1.0000 COMMENT 'rp is the short form of reward points',
  `min_redeem_point` int(11) DEFAULT NULL COMMENT 'rp is the short form of reward points',
  `max_redeem_point` int(11) DEFAULT NULL COMMENT 'rp is the short form of reward points',
  `rp_expiry_period` int(11) DEFAULT NULL COMMENT 'rp is the short form of reward points',
  `rp_expiry_type` enum('month','year') NOT NULL DEFAULT 'year' COMMENT 'rp is the short form of reward points',
  `email_settings` text DEFAULT NULL,
  `sms_settings` text DEFAULT NULL,
  `custom_labels` text DEFAULT NULL,
  `common_settings` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `demo_created_at` timestamp NULL DEFAULT NULL,
  `demo_expires_at` timestamp NULL DEFAULT NULL,
  `demo_status` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `business_owner_id_foreign` (`owner_id`),
  KEY `business_currency_id_foreign` (`currency_id`),
  KEY `business_default_sales_tax_foreign` (`default_sales_tax`),
  KEY `business_demo_slug_index` (`demo_slug`),
  KEY `business_demo_expires_at_index` (`demo_expires_at`),
  CONSTRAINT `business_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`),
  CONSTRAINT `business_default_sales_tax_foreign` FOREIGN KEY (`default_sales_tax`) REFERENCES `tax_rates` (`id`),
  CONSTRAINT `business_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `business` WRITE;
/*!40000 ALTER TABLE `business` DISABLE KEYS */;
INSERT INTO `business` VALUES (10,NULL,'VET One',35,'2025-06-18','EG-VET-001','VAT',NULL,NULL,NULL,NULL,NULL,NULL,NULL,25.00,195,'Africa/Cairo',1,'fifo',0.00,'includes','vet-one-logo.png',NULL,0,'add_expiry','keep_selling',0,1,0,NULL,1.000,30,30,'{\"pos\":{\"express_checkout\":\"shift+e\",\"pay_n_ckeckout\":\"shift+p\",\"draft\":\"shift+d\",\"cancel\":\"shift+c\",\"recent_product_quantity\":\"f2\",\"weighing_scale\":null,\"edit_discount\":\"shift+i\",\"edit_order_tax\":\"shift+t\",\"add_payment_row\":\"shift+r\",\"finalize_payment\":\"shift+f\",\"add_new_product\":\"f4\"}}','{\"amount_rounding_method\":null,\"cmmsn_calculation_type\":\"invoice_value\",\"razor_pay_key_id\":null,\"razor_pay_key_secret\":null,\"stripe_public_key\":null,\"stripe_secret_key\":null,\"display_screen_heading\":null,\"cash_denominations\":null,\"enable_cash_denomination_on\":\"pos_screen\",\"disable_pay_checkout\":0,\"disable_draft\":0,\"disable_express_checkout\":0,\"hide_product_suggestion\":0,\"hide_recent_trans\":0,\"disable_discount\":0,\"disable_order_tax\":0,\"is_pos_subtotal_editable\":0}',NULL,'{\"label_prefix\":null,\"product_sku_length\":\"4\",\"qty_length\":\"3\",\"qty_length_decimal\":\"2\"}',1,1,1,1,1,0,NULL,0,0,0,0,1,NULL,1,0,'before','[\"purchases\",\"add_sale\",\"pos_sale\",\"stock_transfers\",\"stock_adjustment\",\"expenses\",\"account\",\"subscription\",\"types_of_service\"]','[\"VetClinic\",\"VetAdmission\",\"VetAI\",\"VetPortal\",\"VetSite\",\"VetStaffPortal\",\"NX600Lab\",\"IdexxLab\",\"AbaxisLab\"]','m/d/Y','24',2,2,'{\"purchase\":\"PO\",\"purchase_return\":null,\"purchase_requisition\":null,\"purchase_order\":null,\"stock_transfer\":\"ST\",\"stock_adjustment\":\"SA\",\"sell_return\":\"CN\",\"expense\":\"EP\",\"contacts\":\"CO\",\"purchase_payment\":\"PP\",\"sell_payment\":\"SP\",\"expense_payment\":null,\"business_location\":\"BL\",\"username\":null,\"subscription\":null,\"draft\":null,\"sales_order\":null}',NULL,NULL,NULL,NULL,0,NULL,1.0000,1.0000,NULL,1.0000,1.0000,NULL,NULL,NULL,'year','{\"mail_driver\":\"smtp\",\"mail_host\":null,\"mail_port\":null,\"mail_username\":null,\"mail_password\":null,\"mail_encryption\":null,\"mail_from_address\":null,\"mail_from_name\":null}','{\"sms_service\":\"other\",\"nexmo_key\":null,\"nexmo_secret\":null,\"nexmo_from\":null,\"twilio_sid\":null,\"twilio_token\":null,\"twilio_from\":null,\"url\":null,\"send_to_param_name\":\"to\",\"msg_param_name\":\"text\",\"request_method\":\"post\",\"header_1\":null,\"header_val_1\":null,\"header_2\":null,\"header_val_2\":null,\"header_3\":null,\"header_val_3\":null,\"param_1\":null,\"param_val_1\":null,\"param_2\":null,\"param_val_2\":null,\"param_3\":null,\"param_val_3\":null,\"param_4\":null,\"param_val_4\":null,\"param_5\":null,\"param_val_5\":null,\"param_6\":null,\"param_val_6\":null,\"param_7\":null,\"param_val_7\":null,\"param_8\":null,\"param_val_8\":null,\"param_9\":null,\"param_val_9\":null,\"param_10\":null,\"param_val_10\":null}','{\"payments\":{\"custom_pay_1\":null,\"custom_pay_2\":null,\"custom_pay_3\":null,\"custom_pay_4\":null,\"custom_pay_5\":null,\"custom_pay_6\":null,\"custom_pay_7\":null},\"contact\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null,\"custom_field_5\":null,\"custom_field_6\":null,\"custom_field_7\":null,\"custom_field_8\":null,\"custom_field_9\":null,\"custom_field_10\":null},\"product\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null,\"custom_field_5\":null,\"custom_field_6\":null,\"custom_field_7\":null,\"custom_field_8\":null,\"custom_field_9\":null,\"custom_field_10\":null,\"custom_field_11\":null,\"custom_field_12\":null,\"custom_field_13\":null,\"custom_field_14\":null,\"custom_field_15\":null,\"custom_field_16\":null,\"custom_field_17\":null,\"custom_field_18\":null,\"custom_field_19\":null,\"custom_field_20\":null},\"product_cf_details\":{\"1\":{\"type\":null,\"dropdown_options\":null},\"2\":{\"type\":null,\"dropdown_options\":null},\"3\":{\"type\":null,\"dropdown_options\":null},\"4\":{\"type\":null,\"dropdown_options\":null},\"5\":{\"type\":null,\"dropdown_options\":null},\"6\":{\"type\":null,\"dropdown_options\":null},\"7\":{\"type\":null,\"dropdown_options\":null},\"8\":{\"type\":null,\"dropdown_options\":null},\"9\":{\"type\":null,\"dropdown_options\":null},\"10\":{\"type\":null,\"dropdown_options\":null},\"11\":{\"type\":null,\"dropdown_options\":null},\"12\":{\"type\":null,\"dropdown_options\":null},\"13\":{\"type\":null,\"dropdown_options\":null},\"14\":{\"type\":null,\"dropdown_options\":null},\"15\":{\"type\":null,\"dropdown_options\":null},\"16\":{\"type\":null,\"dropdown_options\":null},\"17\":{\"type\":null,\"dropdown_options\":null},\"18\":{\"type\":null,\"dropdown_options\":null},\"19\":{\"type\":null,\"dropdown_options\":null},\"20\":{\"type\":null,\"dropdown_options\":null}},\"location\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null},\"user\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null},\"purchase\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null},\"purchase_shipping\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null,\"custom_field_5\":null},\"sell\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null},\"shipping\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null,\"custom_field_5\":null},\"types_of_service\":{\"custom_field_1\":null,\"custom_field_2\":null,\"custom_field_3\":null,\"custom_field_4\":null,\"custom_field_5\":null,\"custom_field_6\":null}}','{\"default_credit_limit\":null,\"default_datatable_page_entries\":\"25\"}',1,'2026-06-17 21:11:53','2026-06-24 22:21:49',NULL,NULL,NULL);
/*!40000 ALTER TABLE `business` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `business_locations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `business_locations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` varchar(191) DEFAULT NULL,
  `name` varchar(256) NOT NULL,
  `landmark` text DEFAULT NULL,
  `country` varchar(100) NOT NULL,
  `state` varchar(100) NOT NULL,
  `city` varchar(100) NOT NULL,
  `zip_code` char(7) NOT NULL,
  `invoice_scheme_id` int(10) unsigned NOT NULL,
  `sale_invoice_scheme_id` int(11) DEFAULT NULL,
  `invoice_layout_id` int(10) unsigned NOT NULL,
  `sale_invoice_layout_id` int(11) DEFAULT NULL,
  `selling_price_group_id` int(11) DEFAULT NULL,
  `print_receipt_on_invoice` tinyint(1) DEFAULT 1,
  `receipt_printer_type` enum('browser','printer') NOT NULL DEFAULT 'browser',
  `printer_id` int(11) DEFAULT NULL,
  `mobile` varchar(191) DEFAULT NULL,
  `alternate_number` varchar(191) DEFAULT NULL,
  `email` varchar(191) DEFAULT NULL,
  `website` varchar(191) DEFAULT NULL,
  `featured_products` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `default_payment_accounts` text DEFAULT NULL,
  `custom_field1` varchar(191) DEFAULT NULL,
  `custom_field2` varchar(191) DEFAULT NULL,
  `custom_field3` varchar(191) DEFAULT NULL,
  `custom_field4` varchar(191) DEFAULT NULL,
  `accounting_default_map` text DEFAULT NULL COMMENT 'Default transactions mapping of accounting module',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `business_locations_business_id_index` (`business_id`),
  KEY `business_locations_invoice_scheme_id_foreign` (`invoice_scheme_id`),
  KEY `business_locations_invoice_layout_id_foreign` (`invoice_layout_id`),
  KEY `business_locations_sale_invoice_layout_id_index` (`sale_invoice_layout_id`),
  KEY `business_locations_selling_price_group_id_index` (`selling_price_group_id`),
  KEY `business_locations_receipt_printer_type_index` (`receipt_printer_type`),
  KEY `business_locations_printer_id_index` (`printer_id`),
  CONSTRAINT `business_locations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `business_locations_invoice_layout_id_foreign` FOREIGN KEY (`invoice_layout_id`) REFERENCES `invoice_layouts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `business_locations_invoice_scheme_id_foreign` FOREIGN KEY (`invoice_scheme_id`) REFERENCES `invoice_schemes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `business_locations` WRITE;
/*!40000 ALTER TABLE `business_locations` DISABLE KEYS */;
INSERT INTO `business_locations` VALUES (31,10,'BL0001','VET One Clinic — New Cairo','90th Street','Egypt','Cairo','New Cairo','11835',12,NULL,12,12,NULL,1,'browser',NULL,'+201092288093','','','https://vetone.test',NULL,1,'{\"cash\":{\"is_enabled\":1,\"account\":null},\"card\":{\"is_enabled\":1,\"account\":null},\"cheque\":{\"is_enabled\":1,\"account\":null},\"bank_transfer\":{\"is_enabled\":1,\"account\":null},\"other\":{\"is_enabled\":1,\"account\":null},\"custom_pay_1\":{\"is_enabled\":1,\"account\":null},\"custom_pay_2\":{\"is_enabled\":1,\"account\":null},\"custom_pay_3\":{\"is_enabled\":1,\"account\":null},\"custom_pay_4\":{\"is_enabled\":1,\"account\":null},\"custom_pay_5\":{\"is_enabled\":1,\"account\":null},\"custom_pay_6\":{\"is_enabled\":1,\"account\":null},\"custom_pay_7\":{\"is_enabled\":1,\"account\":null}}',NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(32,10,'BL0002','VET One Clinic — Maadi','Road 9','Egypt','Cairo','Maadi','11835',12,NULL,12,12,NULL,1,'browser',NULL,'+201092288093','','','https://vetone.test',NULL,1,'{\"cash\":{\"is_enabled\":1,\"account\":null},\"card\":{\"is_enabled\":1,\"account\":null},\"cheque\":{\"is_enabled\":1,\"account\":null},\"bank_transfer\":{\"is_enabled\":1,\"account\":null},\"other\":{\"is_enabled\":1,\"account\":null},\"custom_pay_1\":{\"is_enabled\":1,\"account\":null},\"custom_pay_2\":{\"is_enabled\":1,\"account\":null},\"custom_pay_3\":{\"is_enabled\":1,\"account\":null},\"custom_pay_4\":{\"is_enabled\":1,\"account\":null},\"custom_pay_5\":{\"is_enabled\":1,\"account\":null},\"custom_pay_6\":{\"is_enabled\":1,\"account\":null},\"custom_pay_7\":{\"is_enabled\":1,\"account\":null}}',NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(33,10,'BL0003','VET One Central Pharmacy Store','Industrial Zone','Egypt','Cairo','New Cairo','11835',12,NULL,12,12,NULL,1,'browser',NULL,'+201092288093','','','https://vetone.test',NULL,1,'{\"cash\":{\"is_enabled\":1,\"account\":null},\"card\":{\"is_enabled\":1,\"account\":null},\"cheque\":{\"is_enabled\":1,\"account\":null},\"bank_transfer\":{\"is_enabled\":1,\"account\":null},\"other\":{\"is_enabled\":1,\"account\":null},\"custom_pay_1\":{\"is_enabled\":1,\"account\":null},\"custom_pay_2\":{\"is_enabled\":1,\"account\":null},\"custom_pay_3\":{\"is_enabled\":1,\"account\":null},\"custom_pay_4\":{\"is_enabled\":1,\"account\":null},\"custom_pay_5\":{\"is_enabled\":1,\"account\":null},\"custom_pay_6\":{\"is_enabled\":1,\"account\":null},\"custom_pay_7\":{\"is_enabled\":1,\"account\":null}}',NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:53','2026-06-17 21:11:53');
/*!40000 ALTER TABLE `business_locations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `cardiology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cardiology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bp_systolic` int(11) DEFAULT NULL,
  `bp_diastolic` int(11) DEFAULT NULL,
  `ejection_fraction` int(11) DEFAULT NULL,
  `rhythm` varchar(40) DEFAULT NULL,
  `nyha` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `cardiology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `cardiology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `cardiology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `cardiology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `cardiology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `cardiothoracic_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cardiothoracic_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `procedure` varchar(120) DEFAULT NULL,
  `ejection_fraction` int(11) DEFAULT NULL,
  `asa_grade` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `cardiothoracic_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `cardiothoracic_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `cardiothoracic_patient_profiles` WRITE;
/*!40000 ALTER TABLE `cardiothoracic_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `cardiothoracic_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `cash_denominations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cash_denominations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `amount` decimal(22,4) NOT NULL,
  `total_count` int(11) NOT NULL,
  `model_type` varchar(191) NOT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cash_denominations_model_type_model_id_index` (`model_type`,`model_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `cash_denominations` WRITE;
/*!40000 ALTER TABLE `cash_denominations` DISABLE KEYS */;
/*!40000 ALTER TABLE `cash_denominations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `cash_register_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cash_register_transactions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cash_register_id` int(10) unsigned NOT NULL,
  `amount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `pay_method` varchar(191) DEFAULT NULL,
  `type` enum('debit','credit') NOT NULL,
  `transaction_type` varchar(191) DEFAULT NULL,
  `transaction_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cash_register_transactions_cash_register_id_foreign` (`cash_register_id`),
  KEY `cash_register_transactions_transaction_id_index` (`transaction_id`),
  KEY `cash_register_transactions_type_index` (`type`),
  KEY `cash_register_transactions_transaction_type_index` (`transaction_type`),
  CONSTRAINT `cash_register_transactions_cash_register_id_foreign` FOREIGN KEY (`cash_register_id`) REFERENCES `cash_registers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=140232 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `cash_register_transactions` WRITE;
/*!40000 ALTER TABLE `cash_register_transactions` DISABLE KEYS */;
/*!40000 ALTER TABLE `cash_register_transactions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `cash_registers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cash_registers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(11) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `status` enum('close','open') NOT NULL DEFAULT 'open',
  `closed_at` datetime DEFAULT NULL,
  `closing_amount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `total_card_slips` int(11) NOT NULL DEFAULT 0,
  `total_cheques` int(11) NOT NULL DEFAULT 0,
  `denominations` text DEFAULT NULL,
  `closing_note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cash_registers_business_id_foreign` (`business_id`),
  KEY `cash_registers_user_id_foreign` (`user_id`),
  KEY `cash_registers_location_id_index` (`location_id`),
  CONSTRAINT `cash_registers_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `cash_registers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `cash_registers` WRITE;
/*!40000 ALTER TABLE `cash_registers` DISABLE KEYS */;
/*!40000 ALTER TABLE `cash_registers` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `short_code` varchar(191) DEFAULT NULL,
  `parent_id` int(11) NOT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `category_type` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `slug` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `categories_business_id_foreign` (`business_id`),
  KEY `categories_created_by_foreign` (`created_by`),
  KEY `categories_parent_id_index` (`parent_id`),
  CONSTRAINT `categories_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `categories_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=213 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `categories` WRITE;
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
INSERT INTO `categories` VALUES (162,'Vaccines',5,'VACC',0,164,'product',NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(163,'Pharmacy',5,'PHAR',0,164,'product',NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(164,'Pet Food & Retail',5,'PETF',0,164,'product',NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(165,'Surgical Supplies',5,'SURG',0,164,'product',NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(166,'Boarding',5,'BOAR',0,164,'product',NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(167,'Clinical Services',5,'CLIN',0,164,'product',NULL,NULL,NULL,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(168,'Vaccines',6,'VACC',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(169,'Pharmacy',6,'PHAR',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(170,'Pet Food & Retail',6,'PETF',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(171,'Surgical Supplies',6,'SURG',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(172,'Boarding',6,'BOAR',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(173,'Clinical Services',6,'CLIN',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(174,'Diagnostic Exams',6,'DIAG',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(175,'Laboratory Tests',6,'LABO',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(176,'Controlled Drugs',6,'CONT',0,171,'product',NULL,NULL,NULL,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(177,'Vaccines',7,'VACC',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(178,'Pharmacy',7,'PHAR',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(179,'Pet Food & Retail',7,'PETF',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(180,'Surgical Supplies',7,'SURG',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(181,'Boarding',7,'BOAR',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(182,'Clinical Services',7,'CLIN',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(183,'Diagnostic Exams',7,'DIAG',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(184,'Laboratory Tests',7,'LABO',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(185,'Controlled Drugs',7,'CONT',0,177,'product',NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(186,'Vaccines',8,'VACC',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(187,'Pharmacy',8,'PHAR',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(188,'Pet Food & Retail',8,'PETF',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(189,'Surgical Supplies',8,'SURG',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(190,'Boarding',8,'BOAR',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(191,'Clinical Services',8,'CLIN',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(192,'Diagnostic Exams',8,'DIAG',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(193,'Laboratory Tests',8,'LABO',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(194,'Controlled Drugs',8,'CONT',0,183,'product',NULL,NULL,NULL,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(195,'Vaccines',9,'VACC',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(196,'Pharmacy',9,'PHAR',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(197,'Pet Food & Retail',9,'PETF',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(198,'Surgical Supplies',9,'SURG',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(199,'Boarding',9,'BOAR',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(200,'Clinical Services',9,'CLIN',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(201,'Diagnostic Exams',9,'DIAG',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(202,'Laboratory Tests',9,'LABO',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(203,'Controlled Drugs',9,'CONT',0,189,'product',NULL,NULL,NULL,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(204,'Vaccines',10,'VACC',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(205,'Pharmacy',10,'PHAR',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(206,'Pet Food & Retail',10,'PETF',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(207,'Surgical Supplies',10,'SURG',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(208,'Boarding',10,'BOAR',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(209,'Clinical Services',10,'CLIN',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(210,'Diagnostic Exams',10,'DIAG',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(211,'Laboratory Tests',10,'LABO',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(212,'Controlled Drugs',10,'CONT',0,195,'product',NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54');
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `categorizables`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `categorizables` (
  `category_id` int(11) NOT NULL,
  `categorizable_type` varchar(191) NOT NULL,
  `categorizable_id` bigint(20) unsigned NOT NULL,
  KEY `categorizables_categorizable_type_categorizable_id_index` (`categorizable_type`,`categorizable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `categorizables` WRITE;
/*!40000 ALTER TABLE `categorizables` DISABLE KEYS */;
/*!40000 ALTER TABLE `categorizables` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointment_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointment_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `document_name` varchar(191) NOT NULL,
  `document_type` enum('lab_report','xray','prescription','consent_form','discharge_summary','other') NOT NULL DEFAULT 'other',
  `description` text DEFAULT NULL,
  `file_name` varchar(191) NOT NULL,
  `file_path` varchar(500) NOT NULL,
  `file_size` bigint(20) unsigned DEFAULT NULL,
  `mime_type` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_appointment_documents_appointment_id_foreign` (`appointment_id`),
  CONSTRAINT `clc_appointment_documents_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `clc_appointments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_appointment_documents` WRITE;
/*!40000 ALTER TABLE `clc_appointment_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointment_documents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointment_edit_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointment_edit_requests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `requested_by` int(10) unsigned NOT NULL,
  `reason` text NOT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `reviewed_by` int(10) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_notes` text DEFAULT NULL,
  `consumed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_appointment_edit_requests_business_id_index` (`business_id`),
  KEY `clc_appointment_edit_requests_appointment_id_index` (`appointment_id`),
  KEY `clc_appointment_edit_requests_requested_by_index` (`requested_by`),
  KEY `clc_appointment_edit_requests_status_index` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_appointment_edit_requests` WRITE;
/*!40000 ALTER TABLE `clc_appointment_edit_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointment_edit_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointment_exam_findings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointment_exam_findings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `template_id` int(10) unsigned NOT NULL,
  `template_item_id` int(10) unsigned NOT NULL,
  `region_snapshot` varchar(80) DEFAULT NULL,
  `item_label_snapshot` varchar(200) NOT NULL,
  `side` varchar(8) DEFAULT NULL,
  `value` text DEFAULT NULL,
  `numeric_value` decimal(10,3) DEFAULT NULL,
  `values_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`values_json`)),
  `free_text` text DEFAULT NULL,
  `severity` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `is_critical` tinyint(1) NOT NULL DEFAULT 0,
  `recorded_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_exam_finding_unique` (`appointment_id`,`template_item_id`,`side`),
  KEY `clc_exam_finding_critical` (`appointment_id`,`is_critical`),
  KEY `clc_appointment_exam_findings_business_id_index` (`business_id`),
  KEY `clc_appointment_exam_findings_appointment_id_index` (`appointment_id`),
  KEY `clc_appointment_exam_findings_template_id_index` (`template_id`),
  KEY `clc_appointment_exam_findings_template_item_id_index` (`template_item_id`),
  KEY `clc_appointment_exam_findings_severity_index` (`severity`),
  KEY `clc_appointment_exam_findings_is_critical_index` (`is_critical`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_appointment_exam_findings` WRITE;
/*!40000 ALTER TABLE `clc_appointment_exam_findings` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointment_exam_findings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointment_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointment_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `appointment_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `title` varchar(150) DEFAULT NULL,
  `notes` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_appointment_notes_appointment_id_index` (`appointment_id`),
  CONSTRAINT `clc_appointment_notes_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `clc_appointments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_appointment_notes` WRITE;
/*!40000 ALTER TABLE `clc_appointment_notes` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointment_notes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointment_reasons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointment_reasons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_appointment_reasons_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_appointment_reasons` WRITE;
/*!40000 ALTER TABLE `clc_appointment_reasons` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointment_reasons` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointment_status_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointment_status_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `from_status` varchar(30) DEFAULT NULL,
  `to_status` varchar(30) NOT NULL,
  `changed_by` int(10) unsigned DEFAULT NULL,
  `changed_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_appointment_status_logs_business_id_index` (`business_id`),
  KEY `clc_appointment_status_logs_appointment_id_index` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_appointment_status_logs` WRITE;
/*!40000 ALTER TABLE `clc_appointment_status_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointment_status_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointment_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointment_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `color` varchar(20) NOT NULL DEFAULT '#2980b9',
  `icon` varchar(50) NOT NULL DEFAULT 'fa-calendar-check',
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_appointment_types_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_appointment_types` WRITE;
/*!40000 ALTER TABLE `clc_appointment_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointment_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_appointments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_appointments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `specialty_id` int(10) unsigned DEFAULT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `department_id` int(10) unsigned DEFAULT NULL,
  `schedule_id` int(10) unsigned DEFAULT NULL,
  `ref_no` varchar(30) NOT NULL,
  `appointment_date` date NOT NULL,
  `appointment_time` time NOT NULL,
  `duration_minutes` smallint(5) unsigned NOT NULL DEFAULT 30,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `temperature` decimal(4,1) DEFAULT NULL,
  `heart_rate` smallint(5) unsigned DEFAULT NULL,
  `respiratory_rate` smallint(5) unsigned DEFAULT NULL,
  `systolic_bp` smallint(5) unsigned DEFAULT NULL,
  `diastolic_bp` smallint(5) unsigned DEFAULT NULL,
  `spo2` tinyint(3) unsigned DEFAULT NULL,
  `blood_glucose` decimal(6,1) DEFAULT NULL,
  `bmi` decimal(5,1) DEFAULT NULL,
  `extra_vitals` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`extra_vitals`)),
  `soap_subjective` text DEFAULT NULL,
  `soap_objective` text DEFAULT NULL,
  `soap_assessment` text DEFAULT NULL,
  `soap_investigations` text DEFAULT NULL,
  `soap_lab_investigations` text DEFAULT NULL,
  `soap_exam_investigations` text DEFAULT NULL,
  `exam_results` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`exam_results`)),
  `next_visit_date` date DEFAULT NULL,
  `next_visit_time` time DEFAULT NULL,
  `next_visit_doctor_id` int(10) unsigned DEFAULT NULL,
  `next_visit_department_id` int(10) unsigned DEFAULT NULL,
  `next_visit_reason` varchar(255) DEFAULT NULL,
  `next_visit_type_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`next_visit_type_ids`)),
  `next_visit_reason_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`next_visit_reason_ids`)),
  `next_visit_notes` text DEFAULT NULL,
  `next_appointment_id` int(10) unsigned DEFAULT NULL,
  `soap_plan` text DEFAULT NULL,
  `soap_plan_meds_json` text DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `reason_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`reason_ids`)),
  `type` enum('checkup','vaccination','surgery','grooming','emergency','other') NOT NULL DEFAULT 'checkup',
  `type_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`type_ids`)),
  `status` enum('pending','confirmed','in_progress','completed','cancelled','no_show') NOT NULL DEFAULT 'pending',
  `arrived_at` timestamp NULL DEFAULT NULL,
  `consultation_started_at` timestamp NULL DEFAULT NULL,
  `consultation_ended_at` timestamp NULL DEFAULT NULL,
  `waiting_minutes` int(10) unsigned DEFAULT NULL,
  `consultation_minutes` int(10) unsigned DEFAULT NULL,
  `has_overlap` tinyint(1) NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `doctor_notes` text DEFAULT NULL,
  `erp_sell_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `vitals_critical_count` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `vitals_abnormal_count` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `vitals_critical_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`vitals_critical_json`)),
  `findings_critical_count` smallint(5) unsigned NOT NULL DEFAULT 0,
  `last_critical_check_at` timestamp NULL DEFAULT NULL,
  `ai_subjective_hash` varchar(40) DEFAULT NULL,
  `ai_exam_suggestions_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`ai_exam_suggestions_json`)),
  `ai_symptoms_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`ai_symptoms_json`)),
  `ai_advice_updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_appointments_ref_no_unique` (`ref_no`),
  KEY `clc_appointments_contact_id_foreign` (`contact_id`),
  KEY `clc_appointments_patient_id_foreign` (`patient_id`),
  KEY `clc_appointments_doctor_id_foreign` (`doctor_id`),
  KEY `clc_appointments_department_id_foreign` (`department_id`),
  KEY `clc_appointments_business_id_appointment_date_index` (`business_id`,`appointment_date`),
  KEY `clc_appointments_business_id_status_index` (`business_id`,`status`),
  KEY `clc_appointments_location_id_foreign` (`location_id`),
  KEY `clc_appointments_schedule_id_foreign` (`schedule_id`),
  KEY `clc_appointments_next_visit_doctor_id_index` (`next_visit_doctor_id`),
  KEY `clc_appointments_next_visit_department_id_index` (`next_visit_department_id`),
  KEY `clc_appointments_next_appointment_id_index` (`next_appointment_id`),
  KEY `clc_appointments_vitals_critical_count_index` (`vitals_critical_count`),
  KEY `clc_appointments_findings_critical_count_index` (`findings_critical_count`),
  KEY `clc_appointments_ai_subjective_hash_index` (`ai_subjective_hash`),
  KEY `clc_appointments_specialty_id_index` (`specialty_id`),
  CONSTRAINT `clc_appointments_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_appointments_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_appointments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `clc_departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_appointments_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `clc_doctors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_appointments_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `clc_clinic_locations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_appointments_patient_id_foreign` FOREIGN KEY (`patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_appointments_schedule_id_foreign` FOREIGN KEY (`schedule_id`) REFERENCES `clc_doctor_schedules` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_appointments_specialty_id_foreign` FOREIGN KEY (`specialty_id`) REFERENCES `clc_specialties` (`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 */;

LOCK TABLES `clc_appointments` WRITE;
/*!40000 ALTER TABLE `clc_appointments` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_appointments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_authorized_vets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_authorized_vets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned NOT NULL,
  `schedules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`schedules`)),
  `permit_no` varchar(80) DEFAULT NULL,
  `valid_until` date DEFAULT NULL,
  `document_path` varchar(191) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_authorized_vets_business_id_doctor_id_unique` (`business_id`,`doctor_id`),
  KEY `clc_authorized_vets_business_id_index` (`business_id`),
  KEY `clc_authorized_vets_doctor_id_index` (`doctor_id`),
  KEY `clc_authorized_vets_valid_until_index` (`valid_until`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_authorized_vets` WRITE;
/*!40000 ALTER TABLE `clc_authorized_vets` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_authorized_vets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_birth_death_records`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_birth_death_records` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `record_type` enum('birth','death') NOT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `event_date` date NOT NULL,
  `event_time` time DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_birth_death_records_patient_id_foreign` (`patient_id`),
  KEY `clc_birth_death_records_business_id_record_type_index` (`business_id`,`record_type`),
  CONSTRAINT `clc_birth_death_records_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_birth_death_records_patient_id_foreign` FOREIGN KEY (`patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_birth_death_records` WRITE;
/*!40000 ALTER TABLE `clc_birth_death_records` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_birth_death_records` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_block_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_block_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `enable_auto_block` tinyint(1) NOT NULL DEFAULT 0,
  `block_rating_threshold` tinyint(3) unsigned NOT NULL DEFAULT 25,
  `min_ratings_to_evaluate` tinyint(3) unsigned NOT NULL DEFAULT 3,
  `block_zero_credit_limit` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_block_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_block_settings` WRITE;
/*!40000 ALTER TABLE `clc_block_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_block_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_clinic_locations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_clinic_locations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `business_location_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `email` varchar(150) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_clinic_locations_business_id_status_index` (`business_id`,`status`),
  KEY `clc_clinic_locations_business_location_id_foreign` (`business_location_id`),
  CONSTRAINT `clc_clinic_locations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_clinic_locations_business_location_id_foreign` FOREIGN KEY (`business_location_id`) REFERENCES `business_locations` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_clinic_locations` WRITE;
/*!40000 ALTER TABLE `clc_clinic_locations` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_clinic_locations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_clinical_photos`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_clinical_photos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `specialty_id` int(10) unsigned DEFAULT NULL,
  `phase` enum('baseline','before','after','progress','other') NOT NULL DEFAULT 'progress',
  `body_area` varchar(80) DEFAULT NULL,
  `caption` varchar(255) DEFAULT NULL,
  `taken_at` date DEFAULT NULL,
  `file_path` varchar(500) NOT NULL,
  `file_name` varchar(191) DEFAULT NULL,
  `file_size` bigint(20) unsigned DEFAULT NULL,
  `mime_type` varchar(100) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_clinical_photos_business_id_clc_patient_id_index` (`business_id`,`clc_patient_id`),
  KEY `clc_clinical_photos_clc_patient_id_body_area_index` (`clc_patient_id`,`body_area`),
  CONSTRAINT `clc_clinical_photos_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_clinical_photos` WRITE;
/*!40000 ALTER TABLE `clc_clinical_photos` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_clinical_photos` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_confidential_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_confidential_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `subject_type` varchar(20) NOT NULL,
  `subject_id` bigint(20) unsigned NOT NULL,
  `visibility` enum('normal','confidential') NOT NULL DEFAULT 'normal',
  `title` varchar(191) DEFAULT NULL,
  `body` text NOT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `updated_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_confidential_notes_subject_type_subject_id_index` (`subject_type`,`subject_id`),
  KEY `clc_confidential_notes_business_id_index` (`business_id`),
  KEY `clc_confidential_notes_visibility_index` (`visibility`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_confidential_notes` WRITE;
/*!40000 ALTER TABLE `clc_confidential_notes` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_confidential_notes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_consent_signatures`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_consent_signatures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consent_id` int(10) unsigned NOT NULL,
  `method` varchar(20) NOT NULL DEFAULT 'canvas',
  `signed_by_name` varchar(191) NOT NULL,
  `signed_by_relation` varchar(60) DEFAULT NULL,
  `png_path` varchar(255) NOT NULL,
  `file_mime` varchar(100) DEFAULT NULL,
  `file_size` int(10) unsigned DEFAULT NULL,
  `original_filename` varchar(191) DEFAULT NULL,
  `png_hash_sha256` char(64) NOT NULL,
  `ip` varchar(45) DEFAULT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `signed_at` timestamp NULL DEFAULT NULL,
  `superseded_at` timestamp NULL DEFAULT NULL,
  `captured_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_consent_signatures_png_hash_sha256_index` (`png_hash_sha256`),
  KEY `clc_consent_signatures_consent_id_superseded_at_index` (`consent_id`,`superseded_at`),
  KEY `clc_consent_signatures_consent_id_index` (`consent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_consent_signatures` WRITE;
/*!40000 ALTER TABLE `clc_consent_signatures` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_consent_signatures` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_consent_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_consent_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(60) NOT NULL,
  `category` varchar(40) NOT NULL DEFAULT 'general',
  `name_en` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `body_en` longtext DEFAULT NULL,
  `body_ar` longtext DEFAULT NULL,
  `requires_witness` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_consent_templates_business_id_index` (`business_id`),
  KEY `clc_consent_templates_code_index` (`code`),
  KEY `clc_consent_templates_category_index` (`category`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_consent_templates` WRITE;
/*!40000 ALTER TABLE `clc_consent_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_consent_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_consents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_consents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `consent_template_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(60) DEFAULT NULL,
  `category` varchar(40) DEFAULT NULL,
  `title` varchar(191) NOT NULL,
  `language` enum('en','ar','both') NOT NULL DEFAULT 'both',
  `body_en` longtext DEFAULT NULL,
  `body_ar` longtext DEFAULT NULL,
  `signatory_name` varchar(191) DEFAULT NULL,
  `signatory_relationship` varchar(60) DEFAULT NULL,
  `witness_name` varchar(191) DEFAULT NULL,
  `issued_by` int(10) unsigned DEFAULT NULL,
  `issued_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `signed_file_path` varchar(191) DEFAULT NULL,
  `signed_file_name` varchar(191) DEFAULT NULL,
  `signed_file_size` int(10) unsigned DEFAULT NULL,
  `signed_mime_type` varchar(100) DEFAULT NULL,
  `signed_uploaded_at` timestamp NULL DEFAULT NULL,
  `signed_uploaded_by` int(10) unsigned DEFAULT NULL,
  `archived_at` timestamp NULL DEFAULT NULL,
  `archived_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_consents_business_id_index` (`business_id`),
  KEY `clc_consents_consent_template_id_index` (`consent_template_id`),
  KEY `clc_consents_appointment_id_index` (`appointment_id`),
  KEY `clc_consents_patient_id_index` (`patient_id`),
  KEY `clc_consents_contact_id_index` (`contact_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_consents` WRITE;
/*!40000 ALTER TABLE `clc_consents` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_consents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_controlled_daily_seals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_controlled_daily_seals` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `seal_date` date NOT NULL,
  `movement_count` int(10) unsigned NOT NULL DEFAULT 0,
  `first_movement_id` int(10) unsigned DEFAULT NULL,
  `last_movement_id` int(10) unsigned DEFAULT NULL,
  `prev_hash` varchar(64) DEFAULT NULL,
  `hash` varchar(64) NOT NULL,
  `sealed_at` timestamp NULL DEFAULT NULL,
  `sealed_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_controlled_daily_seals_business_id_seal_date_unique` (`business_id`,`seal_date`),
  KEY `clc_controlled_daily_seals_business_id_index` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_controlled_daily_seals` WRITE;
/*!40000 ALTER TABLE `clc_controlled_daily_seals` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_controlled_daily_seals` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_controlled_reconciliations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_controlled_reconciliations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `reference` varchar(30) NOT NULL,
  `medicine_id` int(10) unsigned NOT NULL,
  `batch_no` varchar(60) DEFAULT NULL,
  `expected_qty` decimal(14,3) NOT NULL,
  `counted_qty` decimal(14,3) NOT NULL,
  `variance` decimal(14,3) NOT NULL,
  `unit` varchar(30) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `stocktake_at` datetime NOT NULL,
  `witnessed_by` int(10) unsigned DEFAULT NULL,
  `movement_id` int(10) unsigned DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_controlled_reconciliations_reference_unique` (`reference`),
  KEY `clc_controlled_reconciliations_business_id_medicine_id_index` (`business_id`,`medicine_id`),
  KEY `clc_controlled_reconciliations_business_id_index` (`business_id`),
  KEY `clc_controlled_reconciliations_medicine_id_index` (`medicine_id`),
  KEY `clc_controlled_reconciliations_batch_no_index` (`batch_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_controlled_reconciliations` WRITE;
/*!40000 ALTER TABLE `clc_controlled_reconciliations` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_controlled_reconciliations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_controlled_stock_movements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_controlled_stock_movements` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `serial_no` varchar(30) NOT NULL,
  `medicine_id` int(10) unsigned NOT NULL,
  `direction` enum('in','out','adjust') NOT NULL,
  `qty` decimal(12,3) NOT NULL,
  `unit` varchar(30) DEFAULT NULL,
  `batch_no` varchar(60) DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `balance_after` decimal(14,3) NOT NULL DEFAULT 0.000,
  `reason_code` varchar(30) NOT NULL,
  `source_type` varchar(40) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `source_line_id` bigint(20) unsigned DEFAULT NULL,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `prescription_id` int(10) unsigned DEFAULT NULL,
  `stocktake_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `witness_user_id` int(10) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_controlled_stock_movements_serial_no_unique` (`serial_no`),
  UNIQUE KEY `clc_cm_source_unique` (`business_id`,`source_type`,`source_id`,`source_line_id`),
  KEY `clc_controlled_stock_movements_business_id_index` (`business_id`),
  KEY `clc_controlled_stock_movements_medicine_id_index` (`medicine_id`),
  KEY `clc_controlled_stock_movements_batch_no_index` (`batch_no`),
  KEY `clc_controlled_stock_movements_reason_code_index` (`reason_code`),
  KEY `clc_controlled_stock_movements_patient_id_index` (`patient_id`),
  KEY `clc_controlled_stock_movements_contact_id_index` (`contact_id`),
  KEY `clc_controlled_stock_movements_appointment_id_index` (`appointment_id`),
  KEY `clc_controlled_stock_movements_prescription_id_index` (`prescription_id`),
  KEY `clc_controlled_stock_movements_source_type_index` (`source_type`),
  KEY `clc_controlled_stock_movements_stocktake_id_index` (`stocktake_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_controlled_stock_movements` WRITE;
/*!40000 ALTER TABLE `clc_controlled_stock_movements` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_controlled_stock_movements` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_departments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_departments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `icon` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_departments_business_id_index` (`business_id`),
  KEY `clc_departments_location_id_foreign` (`location_id`),
  CONSTRAINT `clc_departments_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_departments_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `clc_clinic_locations` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_departments` WRITE;
/*!40000 ALTER TABLE `clc_departments` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_departments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_doctor_change_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_doctor_change_requests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `requested_by` int(10) unsigned NOT NULL,
  `current_doctor_id` int(10) unsigned DEFAULT NULL,
  `requested_doctor_id` int(10) unsigned NOT NULL,
  `scope` enum('this_appointment','set_preferred') NOT NULL DEFAULT 'this_appointment',
  `reason` text NOT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `reviewed_by` int(10) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_notes` text DEFAULT NULL,
  `consumed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_doctor_change_requests_business_id_index` (`business_id`),
  KEY `clc_doctor_change_requests_appointment_id_index` (`appointment_id`),
  KEY `clc_doctor_change_requests_requested_by_index` (`requested_by`),
  KEY `clc_doctor_change_requests_status_index` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_doctor_change_requests` WRITE;
/*!40000 ALTER TABLE `clc_doctor_change_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_doctor_change_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_doctor_departments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_doctor_departments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doctor_id` int(10) unsigned NOT NULL,
  `department_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_doctor_departments_doctor_id_department_id_unique` (`doctor_id`,`department_id`),
  KEY `clc_doctor_departments_department_id_foreign` (`department_id`),
  CONSTRAINT `clc_doctor_departments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `clc_departments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_doctor_departments_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `clc_doctors` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_doctor_departments` WRITE;
/*!40000 ALTER TABLE `clc_doctor_departments` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_doctor_departments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_doctor_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_doctor_schedules` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doctor_id` int(10) unsigned NOT NULL,
  `department_id` int(10) unsigned DEFAULT NULL,
  `day_of_week` tinyint(3) unsigned NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `slot_duration_minutes` smallint(5) unsigned NOT NULL DEFAULT 30,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_doctor_schedules_department_id_foreign` (`department_id`),
  KEY `clc_doctor_schedules_doctor_id_department_id_day_of_week_index` (`doctor_id`,`department_id`,`day_of_week`),
  CONSTRAINT `clc_doctor_schedules_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `clc_departments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_doctor_schedules_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `clc_doctors` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_doctor_schedules` WRITE;
/*!40000 ALTER TABLE `clc_doctor_schedules` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_doctor_schedules` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_doctors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_doctors` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `department_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `email` varchar(150) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `specialization` varchar(150) DEFAULT NULL,
  `about` text DEFAULT NULL,
  `consultation_fee` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `product_id` int(10) unsigned DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `color` varchar(9) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_doctors_user_id_foreign` (`user_id`),
  KEY `clc_doctors_department_id_foreign` (`department_id`),
  KEY `clc_doctors_business_id_status_index` (`business_id`,`status`),
  KEY `clc_doctors_product_id_index` (`product_id`),
  CONSTRAINT `clc_doctors_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_doctors_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `clc_departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_doctors_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 */;

LOCK TABLES `clc_doctors` WRITE;
/*!40000 ALTER TABLE `clc_doctors` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_doctors` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_evaluation_questions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_evaluation_questions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `category` enum('pet_owner','clinic') NOT NULL,
  `question_text` text NOT NULL,
  `response_type` enum('rating','text','yes_no') NOT NULL DEFAULT 'rating',
  `is_required` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_evaluation_questions_business_id_index` (`business_id`),
  KEY `clc_evaluation_questions_category_index` (`category`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_evaluation_questions` WRITE;
/*!40000 ALTER TABLE `clc_evaluation_questions` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_evaluation_questions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_evaluation_responses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_evaluation_responses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `evaluation_id` int(10) unsigned NOT NULL,
  `question_id` int(10) unsigned DEFAULT NULL,
  `question_text_snapshot` text NOT NULL,
  `response_type` enum('rating','text','yes_no') NOT NULL,
  `rating` tinyint(3) unsigned DEFAULT NULL,
  `text_answer` text DEFAULT NULL,
  `yes_no_answer` tinyint(1) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_evaluation_responses_evaluation_id_index` (`evaluation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_evaluation_responses` WRITE;
/*!40000 ALTER TABLE `clc_evaluation_responses` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_evaluation_responses` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_evaluations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_evaluations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `category` enum('pet_owner','clinic') NOT NULL,
  `evaluator_user_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `avg_rating` decimal(3,2) DEFAULT NULL,
  `flagged_for_review` tinyint(1) NOT NULL DEFAULT 0,
  `reviewed_by` int(10) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_notes` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_eval_apt_cat_unique` (`appointment_id`,`category`),
  KEY `clc_evaluations_business_id_index` (`business_id`),
  KEY `clc_evaluations_appointment_id_index` (`appointment_id`),
  KEY `clc_evaluations_category_index` (`category`),
  KEY `clc_evaluations_evaluator_user_id_index` (`evaluator_user_id`),
  KEY `clc_evaluations_doctor_id_index` (`doctor_id`),
  KEY `clc_evaluations_patient_id_index` (`patient_id`),
  KEY `clc_evaluations_contact_id_index` (`contact_id`),
  KEY `clc_evaluations_flagged_for_review_index` (`flagged_for_review`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_evaluations` WRITE;
/*!40000 ALTER TABLE `clc_evaluations` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_evaluations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_exam_not_done_reasons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_exam_not_done_reasons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_exam_not_done_reasons_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_exam_not_done_reasons` WRITE;
/*!40000 ALTER TABLE `clc_exam_not_done_reasons` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_exam_not_done_reasons` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_exam_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_exam_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `active_general_template_id` int(10) unsigned DEFAULT NULL,
  `visible_specialist_template_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`visible_specialist_template_ids`)),
  `enable_ai_suggest` tinyint(1) NOT NULL DEFAULT 0,
  `enable_comparison_with_previous` tinyint(1) NOT NULL DEFAULT 1,
  `enable_voice_fill` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_exam_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_exam_settings` WRITE;
/*!40000 ALTER TABLE `clc_exam_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_exam_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_exam_template_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_exam_template_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `template_id` int(10) unsigned NOT NULL,
  `region` varchar(80) NOT NULL,
  `item_label` varchar(200) NOT NULL,
  `response_type` enum('select','multi_select','grade','measurement','text','yes_no','body_map') NOT NULL DEFAULT 'select',
  `options_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options_json`)),
  `unit` varchar(20) DEFAULT NULL,
  `normal_low` decimal(10,3) DEFAULT NULL,
  `normal_high` decimal(10,3) DEFAULT NULL,
  `critical_low` decimal(10,3) DEFAULT NULL,
  `critical_high` decimal(10,3) DEFAULT NULL,
  `lateralisation` varchar(12) NOT NULL DEFAULT 'none',
  `is_required` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `help_text` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_exam_tpl_item_order` (`template_id`,`region`,`sort_order`),
  KEY `clc_exam_template_items_template_id_index` (`template_id`),
  KEY `clc_exam_template_items_region_index` (`region`)
) ENGINE=InnoDB AUTO_INCREMENT=385 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_exam_template_items` WRITE;
/*!40000 ALTER TABLE `clc_exam_template_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_exam_template_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_exam_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_exam_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `specialty_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(120) NOT NULL,
  `kind` enum('general','specialist','breed') NOT NULL,
  `species_scope` varchar(30) NOT NULL DEFAULT 'all',
  `display_label` varchar(140) DEFAULT NULL,
  `icon` varchar(60) DEFAULT NULL,
  `colour` varchar(12) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_exam_tpl_lookup` (`business_id`,`kind`,`is_active`),
  KEY `clc_exam_templates_business_id_index` (`business_id`),
  KEY `clc_exam_templates_kind_index` (`kind`),
  KEY `clc_exam_templates_species_scope_index` (`species_scope`),
  KEY `clc_exam_templates_is_active_index` (`is_active`),
  KEY `clc_exam_templates_specialty_id_index` (`specialty_id`),
  CONSTRAINT `clc_exam_templates_specialty_id_foreign` FOREIGN KEY (`specialty_id`) REFERENCES `clc_specialties` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_exam_templates` WRITE;
/*!40000 ALTER TABLE `clc_exam_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_exam_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_imaging_modalities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_imaging_modalities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(10) NOT NULL,
  `name` varchar(80) NOT NULL,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_imaging_modalities_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_imaging_modalities` WRITE;
/*!40000 ALTER TABLE `clc_imaging_modalities` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_imaging_modalities` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_imaging_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_imaging_requests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `ref_no` varchar(30) NOT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `modality_id` int(10) unsigned NOT NULL,
  `body_region` varchar(120) DEFAULT NULL,
  `indication` text DEFAULT NULL,
  `priority` enum('routine','urgent','stat') NOT NULL DEFAULT 'routine',
  `status` enum('requested','in_progress','reported','cancelled') NOT NULL DEFAULT 'requested',
  `report` text DEFAULT NULL,
  `requested_by` int(10) unsigned DEFAULT NULL,
  `reported_by` int(10) unsigned DEFAULT NULL,
  `requested_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `reported_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_imaging_requests_ref_no_unique` (`ref_no`),
  KEY `clc_imaging_requests_business_id_index` (`business_id`),
  KEY `clc_imaging_requests_patient_id_index` (`patient_id`),
  KEY `clc_imaging_requests_appointment_id_index` (`appointment_id`),
  KEY `clc_imaging_requests_status_index` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_imaging_requests` WRITE;
/*!40000 ALTER TABLE `clc_imaging_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_imaging_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_imaging_studies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_imaging_studies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `imaging_request_id` int(10) unsigned NOT NULL,
  `study_uid` varchar(80) DEFAULT NULL,
  `file_path` varchar(255) NOT NULL,
  `original_name` varchar(191) DEFAULT NULL,
  `file_mime` varchar(100) DEFAULT NULL,
  `file_size` int(10) unsigned DEFAULT NULL,
  `thumb_path` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `uploaded_by` int(10) unsigned DEFAULT NULL,
  `uploaded_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_imaging_studies_imaging_request_id_index` (`imaging_request_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_imaging_studies` WRITE;
/*!40000 ALTER TABLE `clc_imaging_studies` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_imaging_studies` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_medical_conditions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_medical_conditions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `category` varchar(100) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `icd_code` varchar(20) DEFAULT NULL,
  `is_chronic` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_medical_conditions_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_medical_conditions` WRITE;
/*!40000 ALTER TABLE `clc_medical_conditions` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_medical_conditions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_medical_reports`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_medical_reports` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `report_type` enum('lab','xray','ultrasound','ecg','other') NOT NULL DEFAULT 'lab',
  `source` varchar(30) NOT NULL DEFAULT 'manual',
  `exam_key` varchar(100) DEFAULT NULL,
  `report_title` varchar(200) NOT NULL,
  `findings` text DEFAULT NULL,
  `attachments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attachments`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_medical_reports_patient_id_foreign` (`patient_id`),
  KEY `clc_medical_reports_business_id_patient_id_index` (`business_id`,`patient_id`),
  KEY `clc_medrep_apt_examkey_idx` (`appointment_id`,`exam_key`),
  CONSTRAINT `clc_medical_reports_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_medical_reports_patient_id_foreign` FOREIGN KEY (`patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_medical_reports` WRITE;
/*!40000 ALTER TABLE `clc_medical_reports` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_medical_reports` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_medicine_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_medicine_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_medicine_categories_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_medicine_categories` WRITE;
/*!40000 ALTER TABLE `clc_medicine_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_medicine_categories` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_medicines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_medicines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `category_id` int(10) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `generic_name` varchar(150) DEFAULT NULL,
  `company` varchar(100) DEFAULT NULL,
  `unit` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `controlled_schedule` varchar(30) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_medicines_category_id_foreign` (`category_id`),
  KEY `clc_medicines_business_id_status_index` (`business_id`,`status`),
  KEY `clc_medicines_controlled_schedule_index` (`controlled_schedule`),
  CONSTRAINT `clc_medicines_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_medicines_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `clc_medicine_categories` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_medicines` WRITE;
/*!40000 ALTER TABLE `clc_medicines` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_medicines` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_module_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_module_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `key` varchar(100) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_module_settings_business_id_key_unique` (`business_id`,`key`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_module_settings` WRITE;
/*!40000 ALTER TABLE `clc_module_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_module_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_patient_conditions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_patient_conditions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `patient_id` int(10) unsigned NOT NULL,
  `condition_id` int(10) unsigned NOT NULL,
  `diagnosed_date` date DEFAULT NULL,
  `diagnosed_by` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `severity` enum('mild','moderate','severe') DEFAULT NULL,
  `status` enum('active','resolved','chronic') NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_patient_conditions_condition_id_foreign` (`condition_id`),
  KEY `clc_patient_conditions_patient_id_index` (`patient_id`),
  CONSTRAINT `clc_patient_conditions_condition_id_foreign` FOREIGN KEY (`condition_id`) REFERENCES `clc_medical_conditions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_patient_conditions_patient_id_foreign` FOREIGN KEY (`patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_patient_conditions` WRITE;
/*!40000 ALTER TABLE `clc_patient_conditions` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_patient_conditions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_patient_contact_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_patient_contact_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `emergency_contact_name` varchar(100) DEFAULT NULL,
  `emergency_contact_phone` varchar(30) DEFAULT NULL,
  `emergency_contact_relation` varchar(50) DEFAULT NULL,
  `occupation` varchar(100) DEFAULT NULL,
  `referred_by` varchar(100) DEFAULT NULL,
  `preferred_doctor_id` int(10) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `email_confirmed` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Owner has confirmed email — vaccine reminder emails will only be sent to confirmed addresses',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `email_confirm_token` varchar(100) DEFAULT NULL,
  `email_confirm_sent_at` timestamp NULL DEFAULT NULL,
  `is_blocked` tinyint(1) NOT NULL DEFAULT 0,
  `blocked_at` timestamp NULL DEFAULT NULL,
  `blocked_reason` text DEFAULT NULL,
  `blocked_by` int(10) unsigned DEFAULT NULL,
  `credit_limit_backup` decimal(14,2) DEFAULT NULL,
  `block_avg_rating` decimal(3,2) DEFAULT NULL,
  `block_rating_count` smallint(5) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_patient_contact_details_contact_id_unique` (`contact_id`),
  KEY `clc_patient_contact_details_business_id_index` (`business_id`),
  KEY `clc_patient_contact_details_preferred_doctor_id_index` (`preferred_doctor_id`),
  KEY `clc_patient_contact_details_is_blocked_index` (`is_blocked`),
  CONSTRAINT `clc_patient_contact_details_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_patient_contact_details_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_patient_contact_details` WRITE;
/*!40000 ALTER TABLE `clc_patient_contact_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_patient_contact_details` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_patient_treatment_plans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_patient_treatment_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `package_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `total_sessions` smallint(5) unsigned NOT NULL DEFAULT 1,
  `price` decimal(22,4) DEFAULT NULL,
  `status` enum('active','completed','cancelled') NOT NULL DEFAULT 'active',
  `started_at` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_patient_treatment_plans_clc_patient_id_foreign` (`clc_patient_id`),
  KEY `clc_plans_biz_pat_status_idx` (`business_id`,`clc_patient_id`,`status`),
  CONSTRAINT `clc_patient_treatment_plans_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_patient_treatment_plans` WRITE;
/*!40000 ALTER TABLE `clc_patient_treatment_plans` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_patient_treatment_plans` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_patients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_patients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `default_specialty_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `patient_name` varchar(100) DEFAULT NULL,
  `gender` enum('male','female','unknown') NOT NULL DEFAULT 'unknown',
  `dob` date DEFAULT NULL,
  `bloodgroup` varchar(20) DEFAULT NULL,
  `allergies` text DEFAULT NULL,
  `chronic_conditions` text DEFAULT NULL,
  `family_history` text DEFAULT NULL,
  `species` varchar(50) DEFAULT NULL,
  `breed` varchar(100) DEFAULT NULL,
  `color` varchar(50) DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `microchip_no` varchar(50) DEFAULT NULL,
  `serial_no` varchar(50) DEFAULT NULL,
  `preferred_doctor_id` int(10) unsigned DEFAULT NULL,
  `neutered` tinyint(1) NOT NULL DEFAULT 0,
  `deceased` tinyint(1) NOT NULL DEFAULT 0,
  `deceased_date` date DEFAULT NULL,
  `photo_path` varchar(255) DEFAULT NULL,
  `cert_verify_token` varchar(64) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `height_cm` decimal(5,1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_patients_cert_verify_token_unique` (`cert_verify_token`),
  KEY `clc_patients_contact_id_foreign` (`contact_id`),
  KEY `clc_patients_business_id_contact_id_index` (`business_id`,`contact_id`),
  KEY `clc_patients_business_id_status_index` (`business_id`,`status`),
  KEY `clc_patients_preferred_doctor_id_index` (`preferred_doctor_id`),
  KEY `clc_patients_default_specialty_id_foreign` (`default_specialty_id`),
  CONSTRAINT `clc_patients_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_patients_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_patients_default_specialty_id_foreign` FOREIGN KEY (`default_specialty_id`) REFERENCES `clc_specialties` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_patients` WRITE;
/*!40000 ALTER TABLE `clc_patients` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_patients` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_preferred_doctor_history`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_preferred_doctor_history` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `old_doctor_id` int(10) unsigned DEFAULT NULL,
  `new_doctor_id` int(10) unsigned DEFAULT NULL,
  `changed_by` int(10) unsigned DEFAULT NULL,
  `source` enum('manual','doctor_change_request') NOT NULL DEFAULT 'manual',
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `reason` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_preferred_doctor_history_business_id_index` (`business_id`),
  KEY `clc_preferred_doctor_history_contact_id_index` (`contact_id`),
  KEY `clc_preferred_doctor_history_patient_id_index` (`patient_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_preferred_doctor_history` WRITE;
/*!40000 ALTER TABLE `clc_preferred_doctor_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_preferred_doctor_history` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_prescription_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_prescription_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `prescription_id` int(10) unsigned NOT NULL,
  `medicine_id` int(10) unsigned DEFAULT NULL,
  `medicine_name` varchar(150) NOT NULL,
  `dosage` varchar(100) DEFAULT NULL,
  `frequency` varchar(100) DEFAULT NULL,
  `duration_days` smallint(5) unsigned DEFAULT NULL,
  `instructions` text DEFAULT NULL,
  `quantity` smallint(5) unsigned NOT NULL DEFAULT 1,
  `purchase_line_id` int(10) unsigned DEFAULT NULL,
  `dispensed_qty` decimal(22,4) DEFAULT NULL,
  `dispensed_at` timestamp NULL DEFAULT NULL,
  `dispensed_by` int(10) unsigned DEFAULT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_prescription_items_prescription_id_index` (`prescription_id`),
  CONSTRAINT `clc_prescription_items_prescription_id_foreign` FOREIGN KEY (`prescription_id`) REFERENCES `clc_prescriptions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_prescription_items` WRITE;
/*!40000 ALTER TABLE `clc_prescription_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_prescription_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_prescriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_prescriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `ref_no` varchar(30) NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `prescribed_date` date NOT NULL,
  `valid_until` date DEFAULT NULL,
  `diagnosis` text DEFAULT NULL,
  `status` enum('active','completed','cancelled') 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 `clc_prescriptions_ref_no_unique` (`ref_no`),
  KEY `clc_prescriptions_appointment_id_foreign` (`appointment_id`),
  KEY `clc_prescriptions_contact_id_foreign` (`contact_id`),
  KEY `clc_prescriptions_patient_id_foreign` (`patient_id`),
  KEY `clc_prescriptions_doctor_id_foreign` (`doctor_id`),
  KEY `clc_prescriptions_business_id_patient_id_index` (`business_id`,`patient_id`),
  CONSTRAINT `clc_prescriptions_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `clc_appointments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_prescriptions_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_prescriptions_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_prescriptions_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `clc_doctors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_prescriptions_patient_id_foreign` FOREIGN KEY (`patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_prescriptions` WRITE;
/*!40000 ALTER TABLE `clc_prescriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_prescriptions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_quotation_meta`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_quotation_meta` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `transaction_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `patient_id` int(10) unsigned DEFAULT NULL,
  `approval_token` varchar(64) DEFAULT NULL,
  `status` enum('draft','sent','viewed','approved','rejected','expired') NOT NULL DEFAULT 'draft',
  `sent_at` timestamp NULL DEFAULT NULL,
  `viewed_at` timestamp NULL DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `approved_by_name` varchar(191) DEFAULT NULL,
  `approval_ip` varchar(45) DEFAULT NULL,
  `approval_signature_path` varchar(255) DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `expires_at` date DEFAULT NULL,
  `converted_sell_id` int(10) unsigned DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_quotation_meta_transaction_id_unique` (`transaction_id`),
  UNIQUE KEY `clc_quotation_meta_approval_token_unique` (`approval_token`),
  KEY `clc_quotation_meta_business_id_index` (`business_id`),
  KEY `clc_quotation_meta_appointment_id_index` (`appointment_id`),
  KEY `clc_quotation_meta_patient_id_index` (`patient_id`),
  KEY `clc_quotation_meta_status_index` (`status`),
  KEY `clc_quotation_meta_converted_sell_id_index` (`converted_sell_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_quotation_meta` WRITE;
/*!40000 ALTER TABLE `clc_quotation_meta` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_quotation_meta` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_reminder_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_reminder_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `vaccination_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `channel` enum('email','wa') NOT NULL DEFAULT 'email',
  `template_type` enum('email_due','email_overdue','wa_due','wa_overdue') NOT NULL,
  `sent_to` varchar(255) DEFAULT NULL COMMENT 'Email or phone number used',
  `status` enum('sent','failed') NOT NULL DEFAULT 'sent',
  `error_message` text DEFAULT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_reminder_logs_vaccination_id_channel_template_type_index` (`vaccination_id`,`channel`,`template_type`),
  KEY `clc_reminder_logs_business_id_sent_at_index` (`business_id`,`sent_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_reminder_logs` WRITE;
/*!40000 ALTER TABLE `clc_reminder_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_reminder_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_reminder_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_reminder_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `is_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `days_before_due` tinyint(3) unsigned NOT NULL DEFAULT 7 COMMENT 'Send reminder X days before the scheduled vaccine date',
  `send_overdue` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Also send reminders for overdue vaccinations',
  `overdue_reminder_interval` tinyint(3) unsigned NOT NULL DEFAULT 7 COMMENT 'Re-send overdue reminder every X days (0 = only once)',
  `max_reminders_per_vaccine` tinyint(3) unsigned NOT NULL DEFAULT 3 COMMENT 'Maximum reminder emails per vaccination record',
  `email_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `sms_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `wa_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `schedule_time` varchar(5) NOT NULL DEFAULT '08:00' COMMENT 'Preferred time to run daily reminders (HH:MM, display only)',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_reminder_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_reminder_settings` WRITE;
/*!40000 ALTER TABLE `clc_reminder_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_reminder_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_reminder_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_reminder_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL COMMENT 'NULL = system default, set to business_id for customised copy',
  `type` enum('email_due','email_overdue','wa_due','wa_overdue','sms_due','sms_overdue') NOT NULL,
  `name` varchar(100) NOT NULL,
  `subject` varchar(255) DEFAULT NULL COMMENT 'Email subject (null for WA)',
  `body` text NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_system_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_reminder_templates` WRITE;
/*!40000 ALTER TABLE `clc_reminder_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_reminder_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_role_landing_pages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_role_landing_pages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `role_id` bigint(20) unsigned NOT NULL,
  `landing_url` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_role_landing_pages_business_id_role_id_unique` (`business_id`,`role_id`),
  KEY `clc_role_landing_pages_business_id_index` (`business_id`),
  KEY `clc_role_landing_pages_role_id_index` (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_role_landing_pages` WRITE;
/*!40000 ALTER TABLE `clc_role_landing_pages` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_role_landing_pages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_role_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_role_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `role_id` bigint(20) unsigned NOT NULL,
  `key` varchar(60) NOT NULL,
  `value` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `clc_role_settings_business_id_role_id_key_unique` (`business_id`,`role_id`,`key`),
  KEY `clc_role_settings_business_id_index` (`business_id`),
  KEY `clc_role_settings_role_id_index` (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_role_settings` WRITE;
/*!40000 ALTER TABLE `clc_role_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_role_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_soap_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_soap_options` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `section` enum('complaint','lab_test','exam_test','frequency','body_system') NOT NULL,
  `species` varchar(20) NOT NULL DEFAULT 'all',
  `group_name` varchar(60) DEFAULT NULL,
  `group_icon` varchar(40) DEFAULT NULL,
  `group_color` varchar(20) DEFAULT NULL,
  `group_bg` varchar(20) DEFAULT NULL,
  `label` varchar(120) NOT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_soap_options_business_id_index` (`business_id`),
  KEY `clc_soap_options_product_id_index` (`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_soap_options` WRITE;
/*!40000 ALTER TABLE `clc_soap_options` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_soap_options` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_specialties`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_specialties` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(60) NOT NULL,
  `name` varchar(120) NOT NULL,
  `slug` varchar(120) DEFAULT NULL,
  `group` varchar(80) DEFAULT NULL,
  `icon` varchar(60) DEFAULT NULL,
  `color` varchar(20) DEFAULT NULL,
  `is_structural` tinyint(1) NOT NULL DEFAULT 0,
  `driver_key` varchar(60) DEFAULT NULL,
  `config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`config`)),
  `capabilities` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`capabilities`)),
  `sort_order` int(11) 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 `clc_specialties_business_id_code_unique` (`business_id`,`code`),
  KEY `clc_specialties_business_id_is_active_index` (`business_id`,`is_active`),
  CONSTRAINT `clc_specialties_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_specialties` WRITE;
/*!40000 ALTER TABLE `clc_specialties` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_specialties` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_system_findings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_system_findings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `system_key` varchar(40) NOT NULL,
  `value` varchar(60) NOT NULL,
  `label` varchar(160) NOT NULL,
  `supports_severity` tinyint(1) NOT NULL DEFAULT 0,
  `supports_lr` tinyint(1) NOT NULL DEFAULT 0,
  `is_critical` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `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 `clc_sysf_uniq` (`business_id`,`system_key`,`value`),
  KEY `clc_system_findings_business_id_index` (`business_id`),
  KEY `clc_system_findings_system_key_index` (`system_key`),
  KEY `clc_system_findings_is_critical_index` (`is_critical`),
  KEY `clc_system_findings_status_index` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=139 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_system_findings` WRITE;
/*!40000 ALTER TABLE `clc_system_findings` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_system_findings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_treatment_packages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_treatment_packages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `specialty_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `description` text DEFAULT NULL,
  `total_sessions` smallint(5) unsigned NOT NULL DEFAULT 1,
  `interval_days` smallint(5) unsigned DEFAULT NULL,
  `price` decimal(22,4) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_treatment_packages_business_id_is_active_index` (`business_id`,`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_treatment_packages` WRITE;
/*!40000 ALTER TABLE `clc_treatment_packages` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_treatment_packages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_treatment_plan_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_treatment_plan_sessions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `plan_id` int(10) unsigned NOT NULL,
  `session_no` smallint(5) unsigned NOT NULL,
  `status` enum('scheduled','completed','skipped') NOT NULL DEFAULT 'scheduled',
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `performed_by` int(10) unsigned DEFAULT NULL,
  `performed_at` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_treatment_plan_sessions_plan_id_status_index` (`plan_id`,`status`),
  CONSTRAINT `clc_treatment_plan_sessions_plan_id_foreign` FOREIGN KEY (`plan_id`) REFERENCES `clc_patient_treatment_plans` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_treatment_plan_sessions` WRITE;
/*!40000 ALTER TABLE `clc_treatment_plan_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_treatment_plan_sessions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_vaccinations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_vaccinations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `vaccine_type_id` int(10) unsigned NOT NULL,
  `dose` varchar(100) DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `medicine_id` int(10) unsigned DEFAULT NULL,
  `batch_no` varchar(50) DEFAULT NULL,
  `administered_date` date NOT NULL,
  `next_due_date` date DEFAULT NULL,
  `administered_by` int(10) unsigned DEFAULT NULL,
  `weight_at_time` decimal(8,2) DEFAULT NULL,
  `temperature_at_time` decimal(5,2) DEFAULT NULL,
  `status` enum('scheduled','administered','overdue','cancelled') NOT NULL DEFAULT 'administered',
  `taken_status` enum('taken_in','taken_out','not_taken') DEFAULT NULL COMMENT 'taken_in=at clinic, taken_out=external, not_taken=scheduled/not yet given',
  `reminder_sent` tinyint(1) NOT NULL DEFAULT 0,
  `waived_at` timestamp NULL DEFAULT NULL,
  `waived_reason` varchar(191) DEFAULT NULL,
  `waived_note` varchar(191) DEFAULT NULL,
  `waived_by` 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 `clc_vaccinations_patient_id_foreign` (`patient_id`),
  KEY `clc_vaccinations_contact_id_foreign` (`contact_id`),
  KEY `clc_vaccinations_vaccine_type_id_foreign` (`vaccine_type_id`),
  KEY `clc_vaccinations_appointment_id_foreign` (`appointment_id`),
  KEY `clc_vaccinations_business_id_patient_id_index` (`business_id`,`patient_id`),
  KEY `clc_vaccinations_business_id_next_due_date_index` (`business_id`,`next_due_date`),
  CONSTRAINT `clc_vaccinations_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `clc_appointments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `clc_vaccinations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_vaccinations_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_vaccinations_patient_id_foreign` FOREIGN KEY (`patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE,
  CONSTRAINT `clc_vaccinations_vaccine_type_id_foreign` FOREIGN KEY (`vaccine_type_id`) REFERENCES `clc_vaccine_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_vaccinations` WRITE;
/*!40000 ALTER TABLE `clc_vaccinations` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_vaccinations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_vaccine_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_vaccine_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `manufacturer` varchar(100) DEFAULT NULL,
  `category` enum('core_vaccine','non_core_vaccine','spot_on','deworming','oral','nasal','topical','preventive','other') NOT NULL DEFAULT 'core_vaccine',
  `species_target` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`species_target`)),
  `description` text DEFAULT NULL,
  `valid_for_months` smallint(5) unsigned NOT NULL DEFAULT 12,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_vaccine_types_business_id_status_index` (`business_id`,`status`),
  KEY `clc_vaccine_types_product_id_index` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_vaccine_types` WRITE;
/*!40000 ALTER TABLE `clc_vaccine_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_vaccine_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_vital_ranges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_vital_ranges` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `species` varchar(40) NOT NULL,
  `life_stage` enum('pediatric','adult','senior','all') NOT NULL DEFAULT 'all',
  `temperature_low` decimal(5,2) DEFAULT NULL,
  `temperature_high` decimal(5,2) DEFAULT NULL,
  `heart_rate_low` smallint(5) unsigned DEFAULT NULL,
  `heart_rate_high` smallint(5) unsigned DEFAULT NULL,
  `respiratory_rate_low` smallint(5) unsigned DEFAULT NULL,
  `respiratory_rate_high` smallint(5) unsigned DEFAULT NULL,
  `weight_low_kg` decimal(6,2) DEFAULT NULL,
  `weight_high_kg` decimal(6,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_vital_ranges_business_id_index` (`business_id`),
  KEY `clc_vital_ranges_species_index` (`species`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_vital_ranges` WRITE;
/*!40000 ALTER TABLE `clc_vital_ranges` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_vital_ranges` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_wellness_benefit_usage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_wellness_benefit_usage` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `subscription_id` int(10) unsigned NOT NULL,
  `benefit_id` int(10) unsigned NOT NULL,
  `used_at` datetime NOT NULL,
  `qty` decimal(8,2) NOT NULL DEFAULT 1.00,
  `discounted_amount` decimal(22,4) DEFAULT NULL,
  `source_type` varchar(30) DEFAULT NULL,
  `source_id` int(10) unsigned DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_wellness_benefit_usage_subscription_id_index` (`subscription_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_wellness_benefit_usage` WRITE;
/*!40000 ALTER TABLE `clc_wellness_benefit_usage` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_wellness_benefit_usage` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_wellness_plan_benefits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_wellness_plan_benefits` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `plan_id` int(10) unsigned NOT NULL,
  `kind` enum('visits','vaccines','products','discount_pct') NOT NULL,
  `label` varchar(120) NOT NULL,
  `quantity_per_year` decimal(8,2) DEFAULT NULL,
  `value` decimal(22,4) DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_wellness_plan_benefits_plan_id_index` (`plan_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_wellness_plan_benefits` WRITE;
/*!40000 ALTER TABLE `clc_wellness_plan_benefits` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_wellness_plan_benefits` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_wellness_plans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_wellness_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(120) NOT NULL,
  `description` text DEFAULT NULL,
  `price_monthly` decimal(22,4) DEFAULT NULL,
  `price_annual` decimal(22,4) DEFAULT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_wellness_plans_business_id_index` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_wellness_plans` WRITE;
/*!40000 ALTER TABLE `clc_wellness_plans` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_wellness_plans` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `clc_wellness_subscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `clc_wellness_subscriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `patient_id` int(10) unsigned NOT NULL,
  `plan_id` int(10) unsigned NOT NULL,
  `status` enum('active','paused','cancelled','expired') NOT NULL DEFAULT 'active',
  `billing_cycle` enum('monthly','annual') NOT NULL DEFAULT 'monthly',
  `started_at` date NOT NULL,
  `renews_at` date DEFAULT NULL,
  `ended_at` date DEFAULT NULL,
  `erp_recurring_transaction_id` int(10) unsigned DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clc_wellness_subscriptions_business_id_patient_id_index` (`business_id`,`patient_id`),
  KEY `clc_wellness_subscriptions_business_id_index` (`business_id`),
  KEY `clc_wellness_subscriptions_status_index` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `clc_wellness_subscriptions` WRITE;
/*!40000 ALTER TABLE `clc_wellness_subscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `clc_wellness_subscriptions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `contacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `contacts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `type` varchar(191) NOT NULL,
  `contact_type` varchar(191) DEFAULT NULL,
  `land_mark` varchar(191) DEFAULT NULL,
  `street_name` varchar(191) DEFAULT NULL,
  `building_number` varchar(191) DEFAULT NULL,
  `additional_number` varchar(191) DEFAULT NULL,
  `supplier_business_name` varchar(191) DEFAULT NULL,
  `name` varchar(191) DEFAULT NULL,
  `prefix` varchar(191) DEFAULT NULL,
  `first_name` varchar(191) DEFAULT NULL,
  `middle_name` varchar(191) DEFAULT NULL,
  `last_name` varchar(191) DEFAULT NULL,
  `email` varchar(191) DEFAULT NULL,
  `contact_id` varchar(191) DEFAULT NULL,
  `contact_status` varchar(191) NOT NULL DEFAULT 'active',
  `tax_number` varchar(191) DEFAULT NULL,
  `city` varchar(191) DEFAULT NULL,
  `state` varchar(191) DEFAULT NULL,
  `country` varchar(191) DEFAULT NULL,
  `address_line_1` text DEFAULT NULL,
  `address_line_2` text DEFAULT NULL,
  `zip_code` varchar(191) DEFAULT NULL,
  `dob` date DEFAULT NULL,
  `mobile` varchar(191) NOT NULL,
  `bms_portal_password` varchar(191) DEFAULT NULL,
  `landline` varchar(191) DEFAULT NULL,
  `alternate_number` varchar(191) DEFAULT NULL,
  `pay_term_number` int(11) DEFAULT NULL,
  `pay_term_type` enum('days','months') DEFAULT NULL,
  `credit_limit` decimal(22,4) DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `converted_by` int(11) DEFAULT NULL,
  `converted_on` datetime DEFAULT NULL,
  `balance` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `total_rp` int(11) NOT NULL DEFAULT 0 COMMENT 'rp is the short form of reward points',
  `total_rp_used` int(11) NOT NULL DEFAULT 0 COMMENT 'rp is the short form of reward points',
  `total_rp_expired` int(11) NOT NULL DEFAULT 0 COMMENT 'rp is the short form of reward points',
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `shipping_address` text DEFAULT NULL,
  `shipping_custom_field_details` longtext DEFAULT NULL,
  `is_export` tinyint(1) NOT NULL DEFAULT 0,
  `export_custom_field_1` varchar(191) DEFAULT NULL,
  `export_custom_field_2` varchar(191) DEFAULT NULL,
  `export_custom_field_3` varchar(191) DEFAULT NULL,
  `export_custom_field_4` varchar(191) DEFAULT NULL,
  `export_custom_field_5` varchar(191) DEFAULT NULL,
  `export_custom_field_6` varchar(191) DEFAULT NULL,
  `position` varchar(191) DEFAULT NULL,
  `customer_group_id` int(11) DEFAULT NULL,
  `crm_source` varchar(191) DEFAULT NULL,
  `crm_life_stage` varchar(191) DEFAULT NULL,
  `custom_field1` varchar(191) DEFAULT NULL,
  `custom_field2` varchar(191) DEFAULT NULL,
  `custom_field3` varchar(191) DEFAULT NULL,
  `custom_field4` varchar(191) DEFAULT NULL,
  `custom_field5` varchar(191) DEFAULT NULL,
  `custom_field6` varchar(191) DEFAULT NULL,
  `custom_field7` varchar(191) DEFAULT NULL,
  `custom_field8` varchar(191) DEFAULT NULL,
  `custom_field9` varchar(191) DEFAULT NULL,
  `custom_field10` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `vc_has_whatsapp` tinyint(1) DEFAULT NULL,
  `drm_has_whatsapp` tinyint(1) DEFAULT NULL,
  `dnt_has_whatsapp` tinyint(1) DEFAULT NULL,
  `clc_has_whatsapp` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contacts_business_id_foreign` (`business_id`),
  KEY `contacts_created_by_foreign` (`created_by`),
  KEY `contacts_type_index` (`type`),
  KEY `contacts_contact_status_index` (`contact_status`),
  KEY `contacts_crm_source_index` (`crm_source`),
  KEY `contacts_crm_life_stage_index` (`crm_life_stage`),
  KEY `contacts_converted_by_index` (`converted_by`),
  KEY `contacts_vc_has_whatsapp_index` (`vc_has_whatsapp`),
  KEY `contacts_drm_has_whatsapp_index` (`drm_has_whatsapp`),
  KEY `contacts_dnt_has_whatsapp_index` (`dnt_has_whatsapp`),
  KEY `contacts_clc_has_whatsapp_index` (`clc_has_whatsapp`),
  CONSTRAINT `contacts_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `contacts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6113 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `contacts` WRITE;
/*!40000 ALTER TABLE `contacts` DISABLE KEYS */;
INSERT INTO `contacts` VALUES (6088,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Walk-In Customer',NULL,NULL,NULL,NULL,NULL,'CO0001','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,0.0000,195,NULL,NULL,0.0000,0,0,0,1,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:53','2026-06-17 21:11:53',NULL,NULL,NULL,NULL),(6089,10,'supplier',NULL,NULL,NULL,NULL,NULL,'Cairo Vet Pharma Distributors','Cairo Vet Pharma Distributors',NULL,NULL,NULL,NULL,NULL,'CO0002','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6090,10,'supplier',NULL,NULL,NULL,NULL,NULL,'Nile Pet Food Supplies','Nile Pet Food Supplies',NULL,NULL,NULL,NULL,NULL,'CO0003','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6091,10,'supplier',NULL,NULL,NULL,NULL,NULL,'MedVet Surgical Supplies','MedVet Surgical Supplies',NULL,NULL,NULL,NULL,NULL,'CO0004','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6092,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Ahmed Saleh',NULL,NULL,NULL,NULL,NULL,'CO0005','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6093,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Mona Khalil',NULL,NULL,NULL,NULL,NULL,'CO0006','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6094,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Karim Adel',NULL,NULL,NULL,NULL,NULL,'CO0007','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6095,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Sara Ibrahim',NULL,NULL,NULL,NULL,NULL,'CO0008','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6096,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Khaled Hassan',NULL,NULL,NULL,NULL,NULL,'CO0009','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6097,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Layla Mahmoud',NULL,NULL,NULL,NULL,NULL,'CO0010','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6098,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Youssef Nabil',NULL,NULL,NULL,NULL,NULL,'CO0011','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6099,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Dina Farouk',NULL,NULL,NULL,NULL,NULL,'CO0012','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6100,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Hany Wagdy',NULL,NULL,NULL,NULL,NULL,'CO0013','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6101,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Nour Saad',NULL,NULL,NULL,NULL,NULL,'CO0014','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6102,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Mostafa Zaki',NULL,NULL,NULL,NULL,NULL,'CO0015','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL),(6103,10,'customer',NULL,NULL,NULL,NULL,NULL,NULL,'Rania Samir',NULL,NULL,NULL,NULL,NULL,'CO0016','active',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'+201092288093',NULL,NULL,NULL,NULL,NULL,NULL,195,NULL,NULL,0.0000,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `contacts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_call_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_call_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `call_type` varchar(191) DEFAULT NULL,
  `mobile_number` varchar(191) NOT NULL,
  `mobile_name` varchar(191) DEFAULT NULL,
  `contact_id` int(11) DEFAULT NULL,
  `start_time` datetime DEFAULT NULL,
  `end_time` datetime DEFAULT NULL,
  `duration` int(11) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_call_logs_business_id_index` (`business_id`),
  KEY `crm_call_logs_user_id_index` (`user_id`),
  KEY `crm_call_logs_contact_id_index` (`contact_id`),
  KEY `crm_call_logs_created_by_index` (`created_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_call_logs` WRITE;
/*!40000 ALTER TABLE `crm_call_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_call_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_campaigns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_campaigns` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `campaign_type` enum('sms','email') NOT NULL DEFAULT 'email',
  `subject` varchar(191) DEFAULT NULL,
  `email_body` text DEFAULT NULL,
  `sms_body` text DEFAULT NULL,
  `sent_on` datetime DEFAULT NULL,
  `contact_ids` text NOT NULL,
  `additional_info` text DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_campaigns_business_id_foreign` (`business_id`),
  KEY `crm_campaigns_created_by_index` (`created_by`),
  CONSTRAINT `crm_campaigns_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_campaigns` WRITE;
/*!40000 ALTER TABLE `crm_campaigns` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_campaigns` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_contact_person_commissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_contact_person_commissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `contact_person_id` int(11) NOT NULL,
  `transaction_id` int(11) DEFAULT NULL,
  `commission_amount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `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 */;

LOCK TABLES `crm_contact_person_commissions` WRITE;
/*!40000 ALTER TABLE `crm_contact_person_commissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_contact_person_commissions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_followup_invoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_followup_invoices` (
  `follow_up_id` int(11) NOT NULL,
  `transaction_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_followup_invoices` WRITE;
/*!40000 ALTER TABLE `crm_followup_invoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_followup_invoices` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_lead_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_lead_users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `contact_id` int(10) unsigned NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_lead_users_contact_id_foreign` (`contact_id`),
  KEY `crm_lead_users_user_id_index` (`user_id`),
  KEY `crm_lead_users_contact_id_index` (`contact_id`),
  CONSTRAINT `crm_lead_users_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_lead_users` WRITE;
/*!40000 ALTER TABLE `crm_lead_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_lead_users` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_marketplaces`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_marketplaces` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `marketplace` varchar(191) DEFAULT NULL,
  `site_key` varchar(191) DEFAULT NULL,
  `site_id` varchar(191) DEFAULT NULL,
  `assigned_users` text DEFAULT NULL,
  `crm_source_id` int(11) 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 */;

LOCK TABLES `crm_marketplaces` WRITE;
/*!40000 ALTER TABLE `crm_marketplaces` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_marketplaces` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_proposal_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_proposal_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `subject` text NOT NULL,
  `body` longtext NOT NULL,
  `cc` text DEFAULT NULL,
  `bcc` text DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_proposal_templates_business_id_foreign` (`business_id`),
  KEY `crm_proposal_templates_created_by_index` (`created_by`),
  CONSTRAINT `crm_proposal_templates_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_proposal_templates` WRITE;
/*!40000 ALTER TABLE `crm_proposal_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_proposal_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_proposals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_proposals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `subject` text NOT NULL,
  `body` longtext NOT NULL,
  `cc` text DEFAULT NULL,
  `bcc` text DEFAULT NULL,
  `sent_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_proposals_business_id_foreign` (`business_id`),
  KEY `crm_proposals_contact_id_foreign` (`contact_id`),
  KEY `crm_proposals_sent_by_index` (`sent_by`),
  CONSTRAINT `crm_proposals_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_proposals_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_proposals` WRITE;
/*!40000 ALTER TABLE `crm_proposals` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_proposals` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_schedule_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_schedule_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `schedule_id` bigint(20) unsigned NOT NULL,
  `log_type` enum('call','sms','meeting','email') NOT NULL DEFAULT 'email',
  `start_datetime` datetime NOT NULL,
  `end_datetime` datetime NOT NULL,
  `subject` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_schedule_logs_schedule_id_foreign` (`schedule_id`),
  KEY `crm_schedule_logs_created_by_index` (`created_by`),
  CONSTRAINT `crm_schedule_logs_schedule_id_foreign` FOREIGN KEY (`schedule_id`) REFERENCES `crm_schedules` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_schedule_logs` WRITE;
/*!40000 ALTER TABLE `crm_schedule_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_schedule_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_schedule_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_schedule_users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `schedule_id` bigint(20) unsigned NOT NULL,
  `user_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_schedule_users_schedule_id_foreign` (`schedule_id`),
  KEY `crm_schedule_users_user_id_index` (`user_id`),
  CONSTRAINT `crm_schedule_users_schedule_id_foreign` FOREIGN KEY (`schedule_id`) REFERENCES `crm_schedules` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_schedule_users` WRITE;
/*!40000 ALTER TABLE `crm_schedule_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_schedule_users` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `crm_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `crm_schedules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) DEFAULT NULL,
  `title` varchar(191) NOT NULL,
  `status` varchar(191) DEFAULT NULL,
  `start_datetime` datetime DEFAULT NULL,
  `end_datetime` datetime DEFAULT NULL,
  `description` text DEFAULT NULL,
  `schedule_type` enum('call','sms','meeting','email') NOT NULL DEFAULT 'email',
  `followup_category_id` int(11) DEFAULT NULL,
  `allow_notification` tinyint(1) NOT NULL DEFAULT 1,
  `notify_via` text DEFAULT NULL,
  `notify_before` int(11) DEFAULT NULL,
  `notify_type` enum('minute','hour','day') NOT NULL DEFAULT 'hour',
  `created_by` int(11) NOT NULL,
  `is_recursive` tinyint(1) NOT NULL DEFAULT 0,
  `recursion_days` int(11) DEFAULT NULL,
  `followup_additional_info` text DEFAULT NULL,
  `follow_up_by` varchar(191) DEFAULT NULL,
  `follow_up_by_value` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_schedules_business_id_foreign` (`business_id`),
  KEY `crm_schedules_contact_id_foreign` (`contact_id`),
  KEY `crm_schedules_created_by_index` (`created_by`),
  KEY `crm_schedules_business_id_index` (`business_id`),
  KEY `crm_schedules_contact_id_index` (`contact_id`),
  KEY `crm_schedules_schedule_type_index` (`schedule_type`),
  KEY `crm_schedules_notify_type_index` (`notify_type`),
  CONSTRAINT `crm_schedules_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `crm_schedules` WRITE;
/*!40000 ALTER TABLE `crm_schedules` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_schedules` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `currencies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `currencies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `country` varchar(100) NOT NULL,
  `currency` varchar(100) NOT NULL,
  `code` varchar(25) NOT NULL,
  `symbol` varchar(25) NOT NULL,
  `thousand_separator` varchar(10) NOT NULL,
  `decimal_separator` varchar(10) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=148 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `currencies` WRITE;
/*!40000 ALTER TABLE `currencies` DISABLE KEYS */;
INSERT INTO `currencies` VALUES (1,'Albania','Leke','ALL','Lek',',','.',NULL,NULL),(2,'America','Dollars','USD','$',',','.',NULL,NULL),(3,'Afghanistan','Afghanis','AF','؋',',','.',NULL,NULL),(4,'Argentina','Pesos','ARS','$',',','.',NULL,NULL),(5,'Aruba','Guilders','AWG','ƒ',',','.',NULL,NULL),(6,'Australia','Dollars','AUD','$',',','.',NULL,NULL),(7,'Azerbaijan','New Manats','AZ','ман',',','.',NULL,NULL),(8,'Bahamas','Dollars','BSD','$',',','.',NULL,NULL),(9,'Barbados','Dollars','BBD','$',',','.',NULL,NULL),(10,'Belarus','Rubles','BYR','p.',',','.',NULL,NULL),(11,'Belgium','Euro','EUR','€',',','.',NULL,NULL),(12,'Beliz','Dollars','BZD','BZ$',',','.',NULL,NULL),(13,'Bermuda','Dollars','BMD','$',',','.',NULL,NULL),(14,'Bolivia','Bolivianos','BOB','$b',',','.',NULL,NULL),(15,'Bosnia and Herzegovina','Convertible Marka','BAM','KM',',','.',NULL,NULL),(16,'Botswana','Pula\'s','BWP','P',',','.',NULL,NULL),(17,'Bulgaria','Leva','BG','лв',',','.',NULL,NULL),(18,'Brazil','Reais','BRL','R$',',','.',NULL,NULL),(19,'Britain [United Kingdom]','Pounds','GBP','£',',','.',NULL,NULL),(20,'Brunei Darussalam','Dollars','BND','$',',','.',NULL,NULL),(21,'Cambodia','Riels','KHR','៛',',','.',NULL,NULL),(22,'Canada','Dollars','CAD','$',',','.',NULL,NULL),(23,'Cayman Islands','Dollars','KYD','$',',','.',NULL,NULL),(24,'Chile','Pesos','CLP','$',',','.',NULL,NULL),(25,'China','Yuan Renminbi','CNY','¥',',','.',NULL,NULL),(26,'Colombia','Pesos','COP','$',',','.',NULL,NULL),(27,'Costa Rica','Colón','CRC','₡',',','.',NULL,NULL),(28,'Croatia','Kuna','HRK','kn',',','.',NULL,NULL),(29,'Cuba','Pesos','CUP','₱',',','.',NULL,NULL),(30,'Cyprus','Euro','EUR','€','.',',',NULL,NULL),(31,'Czech Republic','Koruny','CZK','Kč',',','.',NULL,NULL),(32,'Denmark','Kroner','DKK','kr',',','.',NULL,NULL),(33,'Dominican Republic','Pesos','DOP ','RD$',',','.',NULL,NULL),(34,'East Caribbean','Dollars','XCD','$',',','.',NULL,NULL),(35,'Egypt','Pounds','EGP','£',',','.',NULL,NULL),(36,'El Salvador','Colones','SVC','$',',','.',NULL,NULL),(37,'England [United Kingdom]','Pounds','GBP','£',',','.',NULL,NULL),(38,'Euro','Euro','EUR','€','.',',',NULL,NULL),(39,'Falkland Islands','Pounds','FKP','£',',','.',NULL,NULL),(40,'Fiji','Dollars','FJD','$',',','.',NULL,NULL),(41,'France','Euro','EUR','€','.',',',NULL,NULL),(42,'Ghana','Cedis','GHS','¢',',','.',NULL,NULL),(43,'Gibraltar','Pounds','GIP','£',',','.',NULL,NULL),(44,'Greece','Euro','EUR','€','.',',',NULL,NULL),(45,'Guatemala','Quetzales','GTQ','Q',',','.',NULL,NULL),(46,'Guernsey','Pounds','GGP','£',',','.',NULL,NULL),(47,'Guyana','Dollars','GYD','$',',','.',NULL,NULL),(48,'Holland [Netherlands]','Euro','EUR','€','.',',',NULL,NULL),(49,'Honduras','Lempiras','HNL','L',',','.',NULL,NULL),(50,'Hong Kong','Dollars','HKD','$',',','.',NULL,NULL),(51,'Hungary','Forint','HUF','Ft',',','.',NULL,NULL),(52,'Iceland','Kronur','ISK','kr',',','.',NULL,NULL),(53,'India','Rupees','INR','₹',',','.',NULL,NULL),(54,'Indonesia','Rupiahs','IDR','Rp',',','.',NULL,NULL),(55,'Iran','Rials','IRR','﷼',',','.',NULL,NULL),(56,'Ireland','Euro','EUR','€','.',',',NULL,NULL),(57,'Isle of Man','Pounds','IMP','£',',','.',NULL,NULL),(58,'Israel','New Shekels','ILS','₪',',','.',NULL,NULL),(59,'Italy','Euro','EUR','€','.',',',NULL,NULL),(60,'Jamaica','Dollars','JMD','J$',',','.',NULL,NULL),(61,'Japan','Yen','JPY','¥',',','.',NULL,NULL),(62,'Jersey','Pounds','JEP','£',',','.',NULL,NULL),(63,'Kazakhstan','Tenge','KZT','лв',',','.',NULL,NULL),(64,'Korea [North]','Won','KPW','₩',',','.',NULL,NULL),(65,'Korea [South]','Won','KRW','₩',',','.',NULL,NULL),(66,'Kyrgyzstan','Soms','KGS','лв',',','.',NULL,NULL),(67,'Laos','Kips','LAK','₭',',','.',NULL,NULL),(68,'Latvia','Lati','LVL','Ls',',','.',NULL,NULL),(69,'Lebanon','Pounds','LBP','£',',','.',NULL,NULL),(70,'Liberia','Dollars','LRD','$',',','.',NULL,NULL),(71,'Liechtenstein','Switzerland Francs','CHF','CHF',',','.',NULL,NULL),(72,'Lithuania','Litai','LTL','Lt',',','.',NULL,NULL),(73,'Luxembourg','Euro','EUR','€','.',',',NULL,NULL),(74,'Macedonia','Denars','MKD','ден',',','.',NULL,NULL),(75,'Malaysia','Ringgits','MYR','RM',',','.',NULL,NULL),(76,'Malta','Euro','EUR','€','.',',',NULL,NULL),(77,'Mauritius','Rupees','MUR','₨',',','.',NULL,NULL),(78,'Mexico','Pesos','MXN','$',',','.',NULL,NULL),(79,'Mongolia','Tugriks','MNT','₮',',','.',NULL,NULL),(80,'Mozambique','Meticais','MZ','MT',',','.',NULL,NULL),(81,'Namibia','Dollars','NAD','$',',','.',NULL,NULL),(82,'Nepal','Rupees','NPR','₨',',','.',NULL,NULL),(83,'Netherlands Antilles','Guilders','ANG','ƒ',',','.',NULL,NULL),(84,'Netherlands','Euro','EUR','€','.',',',NULL,NULL),(85,'New Zealand','Dollars','NZD','$',',','.',NULL,NULL),(86,'Nicaragua','Cordobas','NIO','C$',',','.',NULL,NULL),(87,'Nigeria','Nairas','NGN','₦',',','.',NULL,NULL),(88,'North Korea','Won','KPW','₩',',','.',NULL,NULL),(89,'Norway','Krone','NOK','kr',',','.',NULL,NULL),(90,'Oman','Rials','OMR','﷼',',','.',NULL,NULL),(91,'Pakistan','Rupees','PKR','₨',',','.',NULL,NULL),(92,'Panama','Balboa','PAB','B/.',',','.',NULL,NULL),(93,'Paraguay','Guarani','PYG','Gs',',','.',NULL,NULL),(94,'Peru','Nuevos Soles','PE','S/.',',','.',NULL,NULL),(95,'Philippines','Pesos','PHP','Php',',','.',NULL,NULL),(96,'Poland','Zlotych','PL','zł',',','.',NULL,NULL),(97,'Qatar','Rials','QAR','﷼',',','.',NULL,NULL),(98,'Romania','New Lei','RO','lei',',','.',NULL,NULL),(99,'Russia','Rubles','RUB','руб',',','.',NULL,NULL),(100,'Saint Helena','Pounds','SHP','£',',','.',NULL,NULL),(101,'Saudi Arabia','Riyals','SAR','﷼',',','.',NULL,NULL),(102,'Serbia','Dinars','RSD','Дин.',',','.',NULL,NULL),(103,'Seychelles','Rupees','SCR','₨',',','.',NULL,NULL),(104,'Singapore','Dollars','SGD','$',',','.',NULL,NULL),(105,'Slovenia','Euro','EUR','€','.',',',NULL,NULL),(106,'Solomon Islands','Dollars','SBD','$',',','.',NULL,NULL),(107,'Somalia','Shillings','SOS','S',',','.',NULL,NULL),(108,'South Africa','Rand','ZAR','R',',','.',NULL,NULL),(109,'South Korea','Won','KRW','₩',',','.',NULL,NULL),(110,'Spain','Euro','EUR','€','.',',',NULL,NULL),(111,'Sri Lanka','Rupees','LKR','₨',',','.',NULL,NULL),(112,'Sweden','Kronor','SEK','kr',',','.',NULL,NULL),(113,'Switzerland','Francs','CHF','CHF',',','.',NULL,NULL),(114,'Suriname','Dollars','SRD','$',',','.',NULL,NULL),(115,'Syria','Pounds','SYP','£',',','.',NULL,NULL),(116,'Taiwan','New Dollars','TWD','NT$',',','.',NULL,NULL),(117,'Thailand','Baht','THB','฿',',','.',NULL,NULL),(118,'Trinidad and Tobago','Dollars','TTD','TT$',',','.',NULL,NULL),(119,'Turkey','Lira','TRY','TL',',','.',NULL,NULL),(120,'Turkey','Liras','TRL','£',',','.',NULL,NULL),(121,'Tuvalu','Dollars','TVD','$',',','.',NULL,NULL),(122,'Ukraine','Hryvnia','UAH','₴',',','.',NULL,NULL),(123,'United Kingdom','Pounds','GBP','£',',','.',NULL,NULL),(124,'United States of America','Dollars','USD','$',',','.',NULL,NULL),(125,'Uruguay','Pesos','UYU','$U',',','.',NULL,NULL),(126,'Uzbekistan','Sums','UZS','лв',',','.',NULL,NULL),(127,'Vatican City','Euro','EUR','€','.',',',NULL,NULL),(128,'Venezuela','Bolivares Fuertes','VEF','Bs',',','.',NULL,NULL),(129,'Vietnam','Dong','VND','₫',',','.',NULL,NULL),(130,'Yemen','Rials','YER','﷼',',','.',NULL,NULL),(131,'Zimbabwe','Zimbabwe Dollars','ZWD','Z$',',','.',NULL,NULL),(132,'Iraq','Iraqi dinar','IQD','د.ع',',','.',NULL,NULL),(133,'Kenya','Kenyan shilling','KES','KSh',',','.',NULL,NULL),(134,'Bangladesh','Taka','BDT','৳',',','.',NULL,NULL),(141,'Algerie','Algerian dinar','DZD','د.ج',' ','.',NULL,NULL),(142,'United Arab Emirates','United Arab Emirates dirham','AED','د.إ',',','.',NULL,NULL),(143,'Uganda','Uganda shillings','UGX','USh',',','.',NULL,NULL),(144,'Tanzania','Tanzanian shilling','TZS','TSh',',','.',NULL,NULL),(145,'Angola','Kwanza','AOA','Kz',',','.',NULL,NULL),(146,'Kuwait','Kuwaiti dinar','KWD','KD',',','.',NULL,NULL),(147,'Bahrain','Bahraini dinar','BHD','BD',',','.',NULL,NULL);
/*!40000 ALTER TABLE `currencies` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `customer_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customer_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `amount` double(5,2) NOT NULL,
  `price_calculation_type` varchar(191) DEFAULT 'percentage',
  `selling_price_group_id` int(11) DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_groups_business_id_foreign` (`business_id`),
  KEY `customer_groups_created_by_index` (`created_by`),
  KEY `customer_groups_price_calculation_type_index` (`price_calculation_type`),
  KEY `customer_groups_selling_price_group_id_index` (`selling_price_group_id`),
  CONSTRAINT `customer_groups_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `customer_groups` WRITE;
/*!40000 ALTER TABLE `customer_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_groups` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `dashboard_configurations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dashboard_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `created_by` int(11) NOT NULL,
  `name` varchar(191) NOT NULL,
  `color` varchar(191) NOT NULL,
  `configuration` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dashboard_configurations_business_id_foreign` (`business_id`),
  CONSTRAINT `dashboard_configurations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `dashboard_configurations` WRITE;
/*!40000 ALTER TABLE `dashboard_configurations` DISABLE KEYS */;
/*!40000 ALTER TABLE `dashboard_configurations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `dental_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dental_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `dentition_type` enum('adult','child','mixed') NOT NULL DEFAULT 'adult',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `dental_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `dental_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `dental_patient_profiles` WRITE;
/*!40000 ALTER TABLE `dental_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `dental_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `dental_tooth_findings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dental_tooth_findings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `tooth_number` tinyint(3) unsigned NOT NULL,
  `condition` varchar(30) NOT NULL DEFAULT 'healthy',
  `surfaces` varchar(20) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `dental_tooth_findings_clc_patient_id_tooth_number_unique` (`clc_patient_id`,`tooth_number`),
  CONSTRAINT `dental_tooth_findings_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `dental_tooth_findings` WRITE;
/*!40000 ALTER TABLE `dental_tooth_findings` DISABLE KEYS */;
/*!40000 ALTER TABLE `dental_tooth_findings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `derma_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `derma_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `fitzpatrick_type` varchar(10) DEFAULT NULL,
  `skin_type` varchar(50) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `derma_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `derma_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `derma_patient_profiles` WRITE;
/*!40000 ALTER TABLE `derma_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `derma_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `discount_variations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discount_variations` (
  `discount_id` int(11) NOT NULL,
  `variation_id` int(11) NOT NULL,
  KEY `discount_variations_discount_id_index` (`discount_id`),
  KEY `discount_variations_variation_id_index` (`variation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `discount_variations` WRITE;
/*!40000 ALTER TABLE `discount_variations` DISABLE KEYS */;
/*!40000 ALTER TABLE `discount_variations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `discounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discounts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `business_id` int(11) NOT NULL,
  `brand_id` int(11) DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `location_id` int(11) DEFAULT NULL,
  `priority` int(11) DEFAULT NULL,
  `discount_type` varchar(191) DEFAULT NULL,
  `discount_amount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `starts_at` datetime DEFAULT NULL,
  `ends_at` datetime DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `spg` varchar(100) DEFAULT NULL COMMENT 'Applicable in specified selling price group only. Use of applicable_in_spg column is discontinued',
  `applicable_in_cg` tinyint(1) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `discounts_business_id_index` (`business_id`),
  KEY `discounts_brand_id_index` (`brand_id`),
  KEY `discounts_category_id_index` (`category_id`),
  KEY `discounts_location_id_index` (`location_id`),
  KEY `discounts_priority_index` (`priority`),
  KEY `discounts_spg_index` (`spg`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `discounts` WRITE;
/*!40000 ALTER TABLE `discounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `discounts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `document_and_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `document_and_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `notable_id` int(11) NOT NULL,
  `notable_type` varchar(191) NOT NULL,
  `heading` text DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_private` tinyint(1) NOT NULL DEFAULT 0,
  `created_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `document_and_notes_business_id_index` (`business_id`),
  KEY `document_and_notes_notable_id_index` (`notable_id`),
  KEY `document_and_notes_created_by_index` (`created_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `document_and_notes` WRITE;
/*!40000 ALTER TABLE `document_and_notes` DISABLE KEYS */;
/*!40000 ALTER TABLE `document_and_notes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `emergency_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `emergency_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `triage_category` varchar(40) DEFAULT NULL,
  `gcs` int(11) DEFAULT NULL,
  `ward` varchar(120) DEFAULT NULL,
  `admission_status` varchar(40) DEFAULT NULL,
  `spo2` int(11) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `emergency_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `emergency_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `emergency_patient_profiles` WRITE;
/*!40000 ALTER TABLE `emergency_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `emergency_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `endocrinology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `endocrinology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `hba1c` decimal(8,2) DEFAULT NULL,
  `fasting_glucose` decimal(8,2) DEFAULT NULL,
  `tsh` decimal(8,2) DEFAULT NULL,
  `bmi` decimal(8,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `endocrinology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `endocrinology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `endocrinology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `endocrinology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `endocrinology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `enhanced_activity_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `enhanced_activity_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `action` varchar(20) NOT NULL,
  `model_type` varchar(150) NOT NULL,
  `model_id` bigint(20) unsigned DEFAULT NULL,
  `model_label` varchar(255) DEFAULT NULL,
  `before_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`before_data`)),
  `after_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`after_data`)),
  `changed_fields` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`changed_fields`)),
  `request_url` varchar(500) DEFAULT NULL,
  `request_method` varchar(10) DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `request_id` char(36) DEFAULT NULL,
  `is_primary` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  KEY `enhanced_activity_logs_business_id_model_type_action_index` (`business_id`,`model_type`,`action`),
  KEY `enhanced_activity_logs_model_type_model_id_index` (`model_type`,`model_id`),
  KEY `enhanced_activity_logs_user_id_index` (`user_id`),
  KEY `enhanced_activity_logs_business_id_index` (`business_id`),
  KEY `enhanced_activity_logs_created_at_index` (`created_at`),
  KEY `enhanced_activity_logs_request_id_index` (`request_id`)
) ENGINE=InnoDB AUTO_INCREMENT=236923 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `enhanced_activity_logs` WRITE;
/*!40000 ALTER TABLE `enhanced_activity_logs` DISABLE KEYS */;
INSERT INTO `enhanced_activity_logs` VALUES (235937,NULL,NULL,'create','Modules\\SmartStorage\\Entities\\SsSetting',2,'#2',NULL,'{\"active_backend\":\"laravel-default\",\"encryption_enabled\":0,\"otp_enabled\":0,\"otp_ttl_minutes\":15,\"otp_channel\":\"auto\",\"local_submode\":\"this_device_only\",\"lan_cidrs\":\"10.0.0.0\\/8,172.16.0.0\\/12,192.168.0.0\\/16,127.0.0.1\\/32\",\"tunnel_url\":\"\",\"tunnel_secret\":\"\",\"geo_provider\":\"none\",\"track_reads\":1,\"track_writes\":1,\"business_id\":null,\"id\":2}','[\"active_backend\",\"encryption_enabled\",\"otp_enabled\",\"otp_ttl_minutes\",\"otp_channel\",\"local_submode\",\"lan_cidrs\",\"tunnel_url\",\"tunnel_secret\",\"geo_provider\",\"track_reads\",\"track_writes\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 16:53:50','4ee1ae5b-eb38-4a4a-9e9e-a6a0b7edf904',1),(235938,NULL,NULL,'create','App\\Barcode',14,'20 Labels per Sheet',NULL,'{\"name\":\"20 Labels per Sheet\",\"description\":\"Sheet Size: 8.5\\\" x 11\\\", Label Size: 4\\\" x 1\\\", Labels per sheet: 20\",\"width\":4,\"height\":1,\"paper_width\":8.5,\"paper_height\":11,\"top_margin\":0.5,\"left_margin\":0.125,\"row_distance\":0,\"col_distance\":0.1875,\"stickers_in_one_row\":2,\"is_default\":0,\"is_continuous\":0,\"stickers_in_one_sheet\":20,\"business_id\":null,\"id\":14}','[\"name\",\"description\",\"width\",\"height\",\"paper_width\",\"paper_height\",\"top_margin\",\"left_margin\",\"row_distance\",\"col_distance\",\"stickers_in_one_row\",\"is_default\",\"is_continuous\",\"stickers_in_one_sheet\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:41','d4148b29-17fe-4220-a513-aface9c9514a',1),(235939,NULL,NULL,'create','App\\Barcode',15,'30 Labels per sheet',NULL,'{\"name\":\"30 Labels per sheet\",\"description\":\"Sheet Size: 8.5\\\" x 11\\\", Label Size: 2.625\\\" x 1\\\", Labels per sheet: 30\",\"width\":2.625,\"height\":1,\"paper_width\":8.5,\"paper_height\":11,\"top_margin\":0.5,\"left_margin\":0.188,\"row_distance\":0,\"col_distance\":0.125,\"stickers_in_one_row\":3,\"is_default\":0,\"is_continuous\":0,\"stickers_in_one_sheet\":30,\"business_id\":null,\"id\":15}','[\"name\",\"description\",\"width\",\"height\",\"paper_width\",\"paper_height\",\"top_margin\",\"left_margin\",\"row_distance\",\"col_distance\",\"stickers_in_one_row\",\"is_default\",\"is_continuous\",\"stickers_in_one_sheet\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:41','d4148b29-17fe-4220-a513-aface9c9514a',0),(235940,NULL,NULL,'create','App\\Barcode',16,'32 Labels per sheet',NULL,'{\"name\":\"32 Labels per sheet\",\"description\":\"Sheet Size: 8.5\\\" x 11\\\", Label Size: 2\\\" x 1.25\\\", Labels per sheet: 32\",\"width\":2,\"height\":1.25,\"paper_width\":8.5,\"paper_height\":11,\"top_margin\":0.5,\"left_margin\":0.25,\"row_distance\":0,\"col_distance\":0,\"stickers_in_one_row\":4,\"is_default\":0,\"is_continuous\":0,\"stickers_in_one_sheet\":32,\"business_id\":null,\"id\":16}','[\"name\",\"description\",\"width\",\"height\",\"paper_width\",\"paper_height\",\"top_margin\",\"left_margin\",\"row_distance\",\"col_distance\",\"stickers_in_one_row\",\"is_default\",\"is_continuous\",\"stickers_in_one_sheet\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:41','d4148b29-17fe-4220-a513-aface9c9514a',0),(235941,NULL,NULL,'create','App\\Barcode',17,'40 Labels per sheet',NULL,'{\"name\":\"40 Labels per sheet\",\"description\":\"Sheet Size: 8.5\\\" x 11\\\", Label Size: 2\\\" x 1\\\", Labels per sheet: 40\",\"width\":2,\"height\":1,\"paper_width\":8.5,\"paper_height\":11,\"top_margin\":0.5,\"left_margin\":0.25,\"row_distance\":0,\"col_distance\":0,\"stickers_in_one_row\":4,\"is_default\":0,\"is_continuous\":0,\"stickers_in_one_sheet\":40,\"business_id\":null,\"id\":17}','[\"name\",\"description\",\"width\",\"height\",\"paper_width\",\"paper_height\",\"top_margin\",\"left_margin\",\"row_distance\",\"col_distance\",\"stickers_in_one_row\",\"is_default\",\"is_continuous\",\"stickers_in_one_sheet\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:41','d4148b29-17fe-4220-a513-aface9c9514a',0),(235942,NULL,NULL,'create','App\\Barcode',18,'50 Labels per Sheet',NULL,'{\"name\":\"50 Labels per Sheet\",\"description\":\"Sheet Size: 8.5\\\" x 11\\\", Label Size: 1.5\\\" x 1\\\", Labels per sheet: 50\",\"width\":1.5,\"height\":1,\"paper_width\":8.5,\"paper_height\":11,\"top_margin\":0.5,\"left_margin\":0.5,\"row_distance\":0,\"col_distance\":0,\"stickers_in_one_row\":5,\"is_default\":0,\"is_continuous\":0,\"stickers_in_one_sheet\":50,\"business_id\":null,\"id\":18}','[\"name\",\"description\",\"width\",\"height\",\"paper_width\",\"paper_height\",\"top_margin\",\"left_margin\",\"row_distance\",\"col_distance\",\"stickers_in_one_row\",\"is_default\",\"is_continuous\",\"stickers_in_one_sheet\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:41','d4148b29-17fe-4220-a513-aface9c9514a',0),(235943,NULL,NULL,'create','App\\Barcode',19,'Continuous Rolls - 31.75mm x 25.4mm',NULL,'{\"name\":\"Continuous Rolls - 31.75mm x 25.4mm\",\"description\":\"Label Size: 31.75mm x 25.4mm, Gap: 3.18mm\",\"width\":1.25,\"height\":1,\"paper_width\":1.25,\"paper_height\":0,\"top_margin\":0.125,\"left_margin\":0,\"row_distance\":0.125,\"col_distance\":0,\"stickers_in_one_row\":1,\"is_default\":0,\"is_continuous\":1,\"stickers_in_one_sheet\":null,\"business_id\":null,\"id\":19}','[\"name\",\"description\",\"width\",\"height\",\"paper_width\",\"paper_height\",\"top_margin\",\"left_margin\",\"row_distance\",\"col_distance\",\"stickers_in_one_row\",\"is_default\",\"is_continuous\",\"stickers_in_one_sheet\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:41','d4148b29-17fe-4220-a513-aface9c9514a',0),(235944,NULL,NULL,'create','App\\User',164,'Hossam Makram',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Hossam\",\"last_name\":\"Makram\",\"username\":\"vetone\",\"email\":\"owner@vetone.test\",\"language\":\"en\",\"id\":164}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:41','d4148b29-17fe-4220-a513-aface9c9514a',0),(235945,NULL,NULL,'create','App\\Business',5,'VET One',NULL,'{\"name\":\"VET One\",\"currency_id\":35,\"start_date\":\"2025-06-15\",\"owner_id\":164,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"tax_label_1\":\"VAT\",\"tax_number_1\":\"EG-VET-001\",\"logo\":\"vet-one-logo.png\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\",\\\"account\\\",\\\"service_staff\\\",\\\"types_of_service\\\",\\\"booking\\\",\\\"subscription\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":5}','[\"name\",\"currency_id\",\"start_date\",\"owner_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"tax_label_1\",\"tax_number_1\",\"logo\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235946,NULL,5,'update','App\\User',164,'Hossam Makram','[]','{\"business_id\":5}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235947,NULL,5,'create','App\\ReferenceCount',28,'#28',NULL,'{\"ref_type\":\"contacts\",\"business_id\":5,\"ref_count\":1,\"id\":28}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235948,NULL,5,'create','App\\Contact',6008,'Walk-In Customer',NULL,'{\"business_id\":5,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":164,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6008}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235949,NULL,5,'create','App\\InvoiceScheme',7,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":5,\"id\":7}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235950,NULL,5,'create','App\\InvoiceLayout',7,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":5,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":7}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235951,NULL,5,'create','App\\Unit',5,'#5',NULL,'{\"business_id\":5,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":164,\"id\":5}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235952,NULL,5,'create','App\\NotificationTemplate',40,'#40',NULL,'{\"business_id\":5,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<br \\/>\\n                    Paid amount: {received_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":40}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235953,NULL,5,'create','App\\NotificationTemplate',41,'#41',NULL,'{\"business_id\":5,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                <p>We have received a payment of {received_amount}<\\/p>\\n\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":41}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235954,NULL,5,'create','App\\NotificationTemplate',42,'#42',NULL,'{\"business_id\":5,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":42}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235955,NULL,5,'create','App\\NotificationTemplate',43,'#43',NULL,'{\"business_id\":5,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your booking is confirmed<\\/p>\\n\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\n\\n                    <p>Table: {table}<\\/p>\\n\\n                    <p>Location: {location}<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":43}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235956,NULL,5,'create','App\\NotificationTemplate',44,'#44',NULL,'{\"business_id\":5,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":44}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235957,NULL,5,'create','App\\NotificationTemplate',45,'#45',NULL,'{\"business_id\":5,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\n                    Kindly note it down.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":45}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235958,NULL,5,'create','App\\NotificationTemplate',46,'#46',NULL,'{\"business_id\":5,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":46}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235959,NULL,5,'create','App\\NotificationTemplate',47,'#47',NULL,'{\"business_id\":5,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":47}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235960,NULL,5,'create','App\\NotificationTemplate',48,'#48',NULL,'{\"business_id\":5,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":48}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235961,NULL,5,'create','App\\NotificationTemplate',49,'#49',NULL,'{\"business_id\":5,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":49}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235962,NULL,5,'create','App\\ReferenceCount',29,'#29',NULL,'{\"ref_type\":\"business_location\",\"business_id\":5,\"ref_count\":1,\"id\":29}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235963,NULL,5,'create','App\\BusinessLocation',16,'VET One Clinic — New Cairo',NULL,'{\"business_id\":5,\"name\":\"VET One Clinic \\u2014 New Cairo\",\"landmark\":\"90th Street\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":7,\"invoice_layout_id\":7,\"sale_invoice_layout_id\":7,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":16}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235964,NULL,5,'update','App\\ReferenceCount',29,'#29','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235965,NULL,5,'create','App\\BusinessLocation',17,'VET One Clinic — Maadi',NULL,'{\"business_id\":5,\"name\":\"VET One Clinic \\u2014 Maadi\",\"landmark\":\"Road 9\",\"city\":\"Maadi\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":7,\"invoice_layout_id\":7,\"sale_invoice_layout_id\":7,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0002\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":17}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235966,NULL,5,'update','App\\ReferenceCount',29,'#29','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235967,NULL,5,'create','App\\BusinessLocation',18,'VET One Central Pharmacy Store',NULL,'{\"business_id\":5,\"name\":\"VET One Central Pharmacy Store\",\"landmark\":\"Industrial Zone\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":7,\"invoice_layout_id\":7,\"sale_invoice_layout_id\":7,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0003\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":18}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235968,NULL,NULL,'create','App\\User',165,'Yasmin Fahmy',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Yasmin\",\"last_name\":\"Fahmy\",\"username\":\"vet.yasmin\",\"email\":\"vet1@vetone.test\",\"language\":\"en\",\"id\":165}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235969,NULL,5,'update','App\\User',165,'Yasmin Fahmy','[]','{\"business_id\":5}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:42','d4148b29-17fe-4220-a513-aface9c9514a',0),(235970,NULL,NULL,'create','App\\User',166,'Omar Sherif',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Omar\",\"last_name\":\"Sherif\",\"username\":\"vet.omar\",\"email\":\"vet2@vetone.test\",\"language\":\"en\",\"id\":166}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235971,NULL,5,'update','App\\User',166,'Omar Sherif','[]','{\"business_id\":5}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235972,NULL,NULL,'create','App\\User',167,'Salma Adel',NULL,'{\"surname\":\"Ms\",\"first_name\":\"Salma\",\"last_name\":\"Adel\",\"username\":\"reception.vetone\",\"email\":\"reception@vetone.test\",\"language\":\"en\",\"id\":167}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235973,NULL,5,'update','App\\User',167,'Salma Adel','[]','{\"business_id\":5}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235974,NULL,NULL,'create','App\\User',168,'Hany Naguib',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Hany\",\"last_name\":\"Naguib\",\"username\":\"pharmacist.vetone\",\"email\":\"pharmacy@vetone.test\",\"language\":\"en\",\"id\":168}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235975,NULL,5,'update','App\\User',168,'Hany Naguib','[]','{\"business_id\":5}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235976,NULL,NULL,'create','App\\User',169,'Tarek Fouad',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Tarek\",\"last_name\":\"Fouad\",\"username\":\"accountant.vetone\",\"email\":\"accountant@vetone.test\",\"language\":\"en\",\"id\":169}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235977,NULL,5,'update','App\\User',169,'Tarek Fouad','[]','{\"business_id\":5}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235978,NULL,5,'create','App\\Account',33,'Cash Drawer — Reception',NULL,'{\"business_id\":5,\"account_number\":\"VET-CASH-01\",\"name\":\"Cash Drawer \\u2014 Reception\",\"created_by\":164,\"is_closed\":0,\"id\":33}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235979,NULL,NULL,'create','App\\AccountTransaction',205557,'#205557',NULL,'{\"account_id\":33,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 20:18:43\",\"created_by\":164,\"id\":205557}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235980,NULL,5,'create','App\\Account',34,'NBE Current Account',NULL,'{\"business_id\":5,\"account_number\":\"VET-NBE-2025\",\"name\":\"NBE Current Account\",\"created_by\":164,\"is_closed\":0,\"id\":34}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235981,NULL,NULL,'create','App\\AccountTransaction',205558,'#205558',NULL,'{\"account_id\":34,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 20:18:43\",\"created_by\":164,\"id\":205558}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235982,NULL,5,'create','App\\Account',35,'CIB USD Account',NULL,'{\"business_id\":5,\"account_number\":\"VET-CIB-USD\",\"name\":\"CIB USD Account\",\"created_by\":164,\"is_closed\":0,\"id\":35}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235983,NULL,NULL,'create','App\\AccountTransaction',205559,'#205559',NULL,'{\"account_id\":35,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 20:18:43\",\"created_by\":164,\"id\":205559}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235984,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:43','d4148b29-17fe-4220-a513-aface9c9514a',0),(235985,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235986,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":3}','{\"ref_count\":4}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235987,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":4}','{\"ref_count\":5}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235988,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":5}','{\"ref_count\":6}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235989,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":6}','{\"ref_count\":7}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235990,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":7}','{\"ref_count\":8}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235991,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":8}','{\"ref_count\":9}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235992,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":9}','{\"ref_count\":10}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235993,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":10}','{\"ref_count\":11}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235994,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":11}','{\"ref_count\":12}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235995,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":12}','{\"ref_count\":13}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235996,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":13}','{\"ref_count\":14}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235997,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":14}','{\"ref_count\":15}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235998,NULL,5,'update','App\\ReferenceCount',28,'#28','{\"ref_count\":15}','{\"ref_count\":16}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:44','d4148b29-17fe-4220-a513-aface9c9514a',0),(235999,NULL,NULL,'create','Laravel\\Passport\\Client',21,'VET One Personal Access',NULL,'{\"user_id\":null,\"name\":\"VET One Personal Access\",\"secret\":\"BVJtZzY3oviq1YWFO1j4DYaQienExo2CDCcbTPm9\",\"provider\":null,\"redirect\":\"http:\\/\\/localhost\",\"personal_access_client\":true,\"password_client\":false,\"revoked\":false,\"id\":21}','[\"user_id\",\"name\",\"secret\",\"provider\",\"redirect\",\"personal_access_client\",\"password_client\",\"revoked\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:45','d4148b29-17fe-4220-a513-aface9c9514a',0),(236000,NULL,NULL,'create','Laravel\\Passport\\PersonalAccessClient',10,'#10',NULL,'{\"client_id\":21,\"id\":10}','[\"client_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:18:45','d4148b29-17fe-4220-a513-aface9c9514a',0),(236001,NULL,NULL,'create','App\\AccountTransaction',205560,'#205560',NULL,'{\"account_id\":33,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 20:19:08\",\"created_by\":164,\"id\":205560}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:19:09','629aaa70-9eb9-4b1a-adcb-4312cd1326c8',1),(236002,NULL,NULL,'create','App\\AccountTransaction',205561,'#205561',NULL,'{\"account_id\":34,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 20:19:09\",\"created_by\":164,\"id\":205561}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:19:09','629aaa70-9eb9-4b1a-adcb-4312cd1326c8',0),(236003,NULL,NULL,'create','App\\AccountTransaction',205562,'#205562',NULL,'{\"account_id\":35,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 20:19:09\",\"created_by\":164,\"id\":205562}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 17:19:09','629aaa70-9eb9-4b1a-adcb-4312cd1326c8',0),(236004,164,5,'login','auth',164,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-15 17:35:51',NULL,1),(236005,NULL,NULL,'create','App\\AccountTransaction',205563,'#205563',NULL,'{\"account_id\":33,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 21:11:45\",\"created_by\":164,\"id\":205563}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 18:11:45','52670984-6b8c-4ff5-a42c-d0d07089a2d5',1),(236006,NULL,NULL,'create','App\\AccountTransaction',205564,'#205564',NULL,'{\"account_id\":34,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 21:11:45\",\"created_by\":164,\"id\":205564}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 18:11:45','52670984-6b8c-4ff5-a42c-d0d07089a2d5',0),(236007,NULL,NULL,'create','App\\AccountTransaction',205565,'#205565',NULL,'{\"account_id\":35,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 21:11:46\",\"created_by\":164,\"id\":205565}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 18:11:46','52670984-6b8c-4ff5-a42c-d0d07089a2d5',0),(236008,NULL,NULL,'create','App\\AccountTransaction',205566,'#205566',NULL,'{\"account_id\":33,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 21:15:56\",\"created_by\":164,\"id\":205566}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 18:15:56','5f6d0023-d1e7-46d6-b467-9b0c71564d9b',1),(236009,NULL,NULL,'create','App\\AccountTransaction',205567,'#205567',NULL,'{\"account_id\":34,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 21:15:56\",\"created_by\":164,\"id\":205567}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 18:15:56','5f6d0023-d1e7-46d6-b467-9b0c71564d9b',0),(236010,NULL,NULL,'create','App\\AccountTransaction',205568,'#205568',NULL,'{\"account_id\":35,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 21:15:56\",\"created_by\":164,\"id\":205568}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 18:15:56','5f6d0023-d1e7-46d6-b467-9b0c71564d9b',0),(236011,NULL,NULL,'create','App\\System',31,'#31',NULL,'{\"key\":\"AdvancedTransfer_version\",\"value\":\"1.1.0\",\"id\":31}','[\"key\",\"value\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 18:15:56','5f6d0023-d1e7-46d6-b467-9b0c71564d9b',0),(236012,NULL,NULL,'create','App\\AccountTransaction',205569,'#205569',NULL,'{\"account_id\":33,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 22:07:58\",\"created_by\":164,\"id\":205569}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 19:07:59','795909bd-1f82-4e5a-b9c9-ce969cf4e3b3',1),(236013,NULL,NULL,'create','App\\AccountTransaction',205570,'#205570',NULL,'{\"account_id\":34,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 22:07:59\",\"created_by\":164,\"id\":205570}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 19:07:59','795909bd-1f82-4e5a-b9c9-ce969cf4e3b3',0),(236014,NULL,NULL,'create','App\\AccountTransaction',205571,'#205571',NULL,'{\"account_id\":35,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-15 22:07:59\",\"created_by\":164,\"id\":205571}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 19:07:59','795909bd-1f82-4e5a-b9c9-ce969cf4e3b3',0),(236015,NULL,NULL,'create','App\\System',32,'#32',NULL,'{\"key\":\"IdexxLab_version\",\"value\":\"1.0.0\",\"id\":32}','[\"key\",\"value\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 19:07:59','795909bd-1f82-4e5a-b9c9-ce969cf4e3b3',0),(236016,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabAgent',5,'Lab Simulator',NULL,'{\"code\":\"simulator\",\"name\":\"Lab Simulator\",\"status\":\"active\",\"id\":5}','[\"code\",\"name\",\"status\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 19:25:16','020f7b18-8c1c-4bc0-88f5-aa545b30b33d',1),(236017,NULL,5,'update','Modules\\LabCore\\Entities\\LabAgent',5,'Lab Simulator','[]','{\"business_id\":5}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-15 19:25:16','020f7b18-8c1c-4bc0-88f5-aa545b30b33d',0),(236018,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabCommunicationLog',3,'#3',NULL,'{\"level\":\"info\",\"category\":\"result\",\"message\":\"Raw result message received from agent\",\"agent_id\":5,\"device_id\":null,\"vendor\":\"idexx\",\"direction\":\"in\",\"raw_message\":\"H|\\\\^&|||IDEXX CatalystOne^1.0|||||||P|1|20260615222544\\rP|1|IDX23895|||Simba||20200101|M|Feline\\rO|1|IDX23895||^^^CHEM|R|20260615222544\\rR|1|^^^GLU|276|mg\\/dL|74^143|H||F||20260615222544\\rR|2|^^^BUN|58|mg\\/dL|7^27|H||F||20260615222544\\rR|3|^^^CREA|3.1|mg\\/dL|0.5^1.8|H||F||20260615222544\\rR|4|^^^SDMA|32|\\u00b5g\\/dL|0^14|H||F||20260615222544\\rR|5|^^^PHOS|8.9|mg\\/dL|2.5^6.8|H||F||20260615222544\\rR|6|^^^TP|4.6|g\\/dL|5.2^8.2|L||F||20260615222544\\rR|7|^^^ALB|2.0|g\\/dL|2.3^4.0|L||F||20260615222544\\rR|8|^^^ALT|240|U\\/L|10^125|H||F||20260615222544\\rR|9|^^^ALKP|94|U\\/L|23^212|||F||20260615222544\\rL|1|N\",\"id\":3}','[\"level\",\"category\",\"message\",\"agent_id\",\"device_id\",\"vendor\",\"direction\",\"raw_message\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',1),(236019,NULL,5,'create','Modules\\LabCore\\Entities\\LabTestSession',9,'#9',NULL,'{\"vendor\":\"idexx\",\"sample_no\":\"IDX23895\",\"patient_id\":\"IDX23895\",\"patient_name\":\"Simba\",\"test_condition\":\"NORMAL\",\"test_date\":\"2026-06-15 00:00:00\",\"test_time\":\"22:25:44\",\"species\":\"Feline\",\"species_code\":null,\"sex\":\"Male\",\"analyzer_id\":\"IDEXX CatalystOne^1.0\",\"source\":\"agent\",\"meta\":\"{\\\"astm_sender\\\":\\\"IDEXX CatalystOne^1.0\\\",\\\"order_panel\\\":\\\"^^^CHEM\\\",\\\"record_count\\\":9}\",\"uuid\":\"1cc53957-59b3-4135-8b93-e84b6a68649a\",\"agent_id\":5,\"device_id\":null,\"business_id\":5,\"id\":9}','[\"vendor\",\"sample_no\",\"patient_id\",\"patient_name\",\"test_condition\",\"test_date\",\"test_time\",\"species\",\"species_code\",\"sex\",\"analyzer_id\",\"source\",\"meta\",\"uuid\",\"agent_id\",\"device_id\",\"business_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236020,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',38,'#38',NULL,'{\"analyte_code\":\"GLU\",\"analyte_name\":\"Glucose\",\"base_name\":\"GLU\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"276\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"74\",\"ref_upper\":\"143\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":38}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236021,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',39,'#39',NULL,'{\"analyte_code\":\"BUN\",\"analyte_name\":\"Urea Nitrogen\",\"base_name\":\"BUN\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"58\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"7\",\"ref_upper\":\"27\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":39}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236022,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',40,'#40',NULL,'{\"analyte_code\":\"CREA\",\"analyte_name\":\"Creatinine\",\"base_name\":\"CREA\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"3.1\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"0.5\",\"ref_upper\":\"1.8\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":40}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236023,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',41,'#41',NULL,'{\"analyte_code\":\"SDMA\",\"analyte_name\":\"Symmetric Dimethylarginine (IDEXX SDMA)\",\"base_name\":\"SDMA\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"32\",\"unit\":\"\\u00b5g\\/dL\",\"dilution_factor\":1,\"ref_lower\":null,\"ref_upper\":\"14\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":41}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236024,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',42,'#42',NULL,'{\"analyte_code\":\"PHOS\",\"analyte_name\":\"Phosphorus\",\"base_name\":\"PHOS\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"8.9\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"2.5\",\"ref_upper\":\"6.8\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":42}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236025,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',43,'#43',NULL,'{\"analyte_code\":\"TP\",\"analyte_name\":\"Total Protein\",\"base_name\":\"TP\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"4.6\",\"unit\":\"g\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"5.2\",\"ref_upper\":\"8.2\",\"raw_flag\":\"L\",\"flags\":\"{\\\"astm\\\":\\\"L\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":43}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236026,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',44,'#44',NULL,'{\"analyte_code\":\"ALB\",\"analyte_name\":\"Albumin\",\"base_name\":\"ALB\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"2.0\",\"unit\":\"g\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"2.3\",\"ref_upper\":\"4.0\",\"raw_flag\":\"L\",\"flags\":\"{\\\"astm\\\":\\\"L\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":44}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236027,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',45,'#45',NULL,'{\"analyte_code\":\"ALT\",\"analyte_name\":\"Alanine Aminotransferase\",\"base_name\":\"ALT\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"240\",\"unit\":\"U\\/L\",\"dilution_factor\":1,\"ref_lower\":\"10\",\"ref_upper\":\"125\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":9,\"id\":45}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236028,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',46,'#46',NULL,'{\"analyte_code\":\"ALKP\",\"analyte_name\":\"Alkaline Phosphatase\",\"base_name\":\"ALKP\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"94\",\"unit\":\"U\\/L\",\"dilution_factor\":1,\"ref_lower\":\"23\",\"ref_upper\":\"212\",\"raw_flag\":null,\"flags\":\"[]\",\"is_abnormal\":false,\"test_session_id\":9,\"id\":46}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','http://localhost/vet-one/public/api/lab/results','POST','::1','GuzzleHttp/7','2026-06-15 19:25:45','c6bfb36f-161b-45df-baf7-2e90db0454ed',0),(236029,164,5,'login','auth',164,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-15 20:19:57',NULL,1),(236030,164,5,'view','vc_appointment',45,'APT-0004',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/appointments/45','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-15 20:58:08','6245b6bc-1a64-492a-a03f-d2a85a02400b',1),(236031,164,5,'create','Modules\\VetAI\\Entities\\VaiSetting',2,'#2',NULL,'{\"business_id\":5,\"provider\":\"anthropic\",\"enabled\":false,\"id\":2}','[\"business_id\",\"provider\",\"enabled\",\"id\"]','https://localhost/vet-one/public/vet-clinic/appointments/45','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-15 20:58:09','ce3c9ab2-6adb-4948-a538-7e8beb7d5fe8',1),(236032,164,5,'update','Modules\\VetClinic\\Entities\\VcAppointment',45,'APT-0004','{\"ai_subjective_hash\":null,\"ai_exam_suggestions_json\":null,\"ai_symptoms_json\":null,\"ai_advice_updated_at\":null}','{\"ai_subjective_hash\":\"b332b2393b58bf9d13e1fade693beae2bee4c476\",\"ai_exam_suggestions_json\":\"{\\\"suggested\\\":[],\\\"reason\\\":\\\"\\\"}\",\"ai_symptoms_json\":\"{\\\"findings\\\":[],\\\"overall_concern\\\":\\\"low\\\"}\",\"ai_advice_updated_at\":\"2026-06-15T20:58:33.011434Z\"}','[\"ai_subjective_hash\",\"ai_exam_suggestions_json\",\"ai_symptoms_json\",\"ai_advice_updated_at\"]','https://localhost/vet-one/public/vet-ai/cache-advice','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-15 20:58:33','7788fad9-20a8-455a-a993-a3b7084aa0df',1),(236033,164,5,'login','auth',164,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 01:14:28',NULL,1),(236034,164,5,'view','vc_pet',17,'Simba',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/pets/17','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-16 01:17:27','f3384982-d0d0-41b7-8eac-f86052e92783',1),(236035,164,5,'create','Modules\\VetPortal\\Entities\\VpPortalSetting',2,'#2',NULL,'{\"business_id\":5,\"enabled\":false,\"primary_color\":\"#2563eb\",\"id\":2}','[\"business_id\",\"enabled\",\"primary_color\",\"id\"]','https://localhost/vet-one/public/vet-portal/settings','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 03:46:28','64b9096b-a987-4871-ac03-da4bd6c995a2',1),(236036,NULL,5,'create','Modules\\LabCore\\Entities\\LabTestSession',10,'#10',NULL,'{\"vendor\":\"abaxis\",\"sample_no\":\"SIM62504\",\"patient_id\":\"SIM62504\",\"patient_name\":\"Rex\",\"test_condition\":\"NORMAL\",\"test_date\":\"2026-06-16 00:00:00\",\"test_time\":\"07:55:39\",\"species\":\"Canine\",\"species_code\":null,\"sex\":\"Male\",\"analyzer_id\":\"VetScan VS2^1.0\",\"source\":\"agent\",\"meta\":\"{\\\"astm_sender\\\":\\\"VetScan VS2^1.0\\\",\\\"order_panel\\\":\\\"^^^CHEM\\\",\\\"record_count\\\":8}\",\"uuid\":\"4984e909-e8bc-41e1-9016-f31fcfd5e9f6\",\"agent_id\":5,\"device_id\":null,\"business_id\":5,\"id\":10}','[\"vendor\",\"sample_no\",\"patient_id\",\"patient_name\",\"test_condition\",\"test_date\",\"test_time\",\"species\",\"species_code\",\"sex\",\"analyzer_id\",\"source\",\"meta\",\"uuid\",\"agent_id\",\"device_id\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',1),(236037,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',47,'#47',NULL,'{\"analyte_code\":\"GLU\",\"analyte_name\":null,\"base_name\":\"GLU\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"284\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"70\",\"ref_upper\":\"143\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":10,\"id\":47}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236038,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',48,'#48',NULL,'{\"analyte_code\":\"BUN\",\"analyte_name\":null,\"base_name\":\"BUN\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"65\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"7\",\"ref_upper\":\"27\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":10,\"id\":48}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236039,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',49,'#49',NULL,'{\"analyte_code\":\"CRE\",\"analyte_name\":null,\"base_name\":\"CRE\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"3.6\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"0.3\",\"ref_upper\":\"1.2\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":10,\"id\":49}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236040,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',50,'#50',NULL,'{\"analyte_code\":\"TP\",\"analyte_name\":null,\"base_name\":\"TP\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"4.1\",\"unit\":\"g\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"5.2\",\"ref_upper\":\"8.2\",\"raw_flag\":\"L\",\"flags\":\"{\\\"astm\\\":\\\"L\\\"}\",\"is_abnormal\":true,\"test_session_id\":10,\"id\":50}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236041,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',51,'#51',NULL,'{\"analyte_code\":\"ALB\",\"analyte_name\":null,\"base_name\":\"ALB\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"1.8\",\"unit\":\"g\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"2.2\",\"ref_upper\":\"3.9\",\"raw_flag\":\"L\",\"flags\":\"{\\\"astm\\\":\\\"L\\\"}\",\"is_abnormal\":true,\"test_session_id\":10,\"id\":51}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236042,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',52,'#52',NULL,'{\"analyte_code\":\"ALT\",\"analyte_name\":null,\"base_name\":\"ALT\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"256\",\"unit\":\"U\\/L\",\"dilution_factor\":1,\"ref_lower\":\"10\",\"ref_upper\":\"100\",\"raw_flag\":\"H\",\"flags\":\"{\\\"astm\\\":\\\"H\\\"}\",\"is_abnormal\":true,\"test_session_id\":10,\"id\":52}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236043,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',53,'#53',NULL,'{\"analyte_code\":\"ALP\",\"analyte_name\":null,\"base_name\":\"ALP\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"88\",\"unit\":\"U\\/L\",\"dilution_factor\":1,\"ref_lower\":\"23\",\"ref_upper\":\"212\",\"raw_flag\":null,\"flags\":\"[]\",\"is_abnormal\":false,\"test_session_id\":10,\"id\":53}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236044,NULL,NULL,'create','Modules\\LabCore\\Entities\\LabTestResult',54,'#54',NULL,'{\"analyte_code\":\"Ca\",\"analyte_name\":null,\"base_name\":\"Ca\",\"sample_suffix\":null,\"equality\":\"=\",\"value\":\"9.8\",\"unit\":\"mg\\/dL\",\"dilution_factor\":1,\"ref_lower\":\"7.9\",\"ref_upper\":\"12\",\"raw_flag\":null,\"flags\":\"[]\",\"is_abnormal\":false,\"test_session_id\":10,\"id\":54}','[\"analyte_code\",\"analyte_name\",\"base_name\",\"sample_suffix\",\"equality\",\"value\",\"unit\",\"dilution_factor\",\"ref_lower\",\"ref_upper\",\"raw_flag\",\"flags\",\"is_abnormal\",\"test_session_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 04:55:39','4ea7a652-b0ae-41c2-9b97-e66072a2da45',0),(236045,164,5,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1',NULL,'{\"user_id\":164,\"business_id\":5,\"token_hash\":\"865ddc967a5c601d00cf73f97bbfce583992f30a6f9e162d2f72bb948a095ad3\",\"user_agent\":\"cli-validate\",\"ip\":\"127.0.0.1\",\"expires_at\":\"2026-07-16 15:01:06\",\"id\":1}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 12:01:07','8ecd1e13-a973-4ac6-828d-5672e99b3010',1),(236046,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-16 15:01:25\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/me','GET','::1','curl/8.19.0','2026-06-16 12:01:25','0ff6844b-0586-4134-a935-148c26849252',1),(236047,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:25.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:27\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/summary','GET','::1','curl/8.19.0','2026-06-16 12:01:27','22e53ba9-2158-4b78-9717-83b6641e373a',1),(236048,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:27.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:29\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?scope=all','GET','::1','curl/8.19.0','2026-06-16 12:01:29','7414c52c-b957-4740-b051-37559084b287',1),(236049,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:29.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:30\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/ward-board','GET','::1','curl/8.19.0','2026-06-16 12:01:30','f25ca1da-29af-4496-a09a-5bbe47aa092a',1),(236050,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:30.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:51\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients?q=rex','GET','::1','curl/8.19.0','2026-06-16 12:01:51','b4a23c9b-6bc6-42d5-b7be-15015d311c81',1),(236051,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:51.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:53\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions','GET','::1','curl/8.19.0','2026-06-16 12:01:53','62c31557-f7bc-4fa3-9a13-f6fe1c9a0265',1),(236052,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:53.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:54\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/14','GET','::1','curl/8.19.0','2026-06-16 12:01:55','89d34c67-bf1f-44d4-838e-ed0b6330f323',1),(236053,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:54.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:56\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/vaccine-types','GET','::1','curl/8.19.0','2026-06-16 12:01:56','939affb5-9974-435a-8bd2-136e0025a686',1),(236054,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:56.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:01:58\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/wards','GET','::1','curl/8.19.0','2026-06-16 12:01:58','7189a761-ed38-4fb5-a794-f2006a0e8edd',1),(236055,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:01:58.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:02:00\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/doctors','GET','::1','curl/8.19.0','2026-06-16 12:02:00','795f072b-7f30-4cd0-b9e3-e0da680112d5',1),(236056,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:02:00.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:02:22\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/7/vitals','POST','::1','curl/8.19.0','2026-06-16 12:02:22','16e52d7a-2b01-481f-bd53-d63979fc7b94',1),(236057,164,NULL,'create','Modules\\VetAdmission\\Entities\\VaAdmissionVital',3,'#3',NULL,'{\"admission_id\":7,\"recorded_at\":\"2026-06-16 15:02:22\",\"temperature\":38.5,\"weight_kg\":null,\"heart_rate\":88,\"respiratory_rate\":22,\"notes\":\"cli validation\",\"recorded_by\":164,\"id\":3}','[\"admission_id\",\"recorded_at\",\"temperature\",\"weight_kg\",\"heart_rate\",\"respiratory_rate\",\"notes\",\"recorded_by\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/admissions/7/vitals','POST','::1','curl/8.19.0','2026-06-16 12:02:22','16e52d7a-2b01-481f-bd53-d63979fc7b94',0),(236058,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',1,'#1','{\"last_used_at\":\"2026-06-16T12:02:22.000000Z\"}','{\"last_used_at\":\"2026-06-16 15:02:24\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/7/care','GET','::1','curl/8.19.0','2026-06-16 12:02:24','5511218f-4ed9-4ff2-9e7f-cf01bcdb619c',1),(236059,NULL,5,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',2,'#2',NULL,'{\"user_id\":164,\"business_id\":5,\"token_hash\":\"9956250cdc3892eef46de738de3f9354631cea953f1de123fcfd30a61ce154d2\",\"user_agent\":\"cli\",\"ip\":\"127.0.0.1\",\"expires_at\":\"2026-07-16 15:33:05\",\"id\":2}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 12:33:05','4a5c06dd-09c4-4421-92a1-b40be5ec168a',1),(236060,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',2,'#2','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-16 15:33:07\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/14/lab-sessions','GET','::1','curl/8.19.0','2026-06-16 12:33:07','e63f7869-4a04-4446-b6d6-0879ba30cb3d',1),(236061,NULL,5,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',3,'#3',NULL,'{\"user_id\":164,\"business_id\":5,\"token_hash\":\"e8c3d6eb44fb9e90a6fd22b9467e449e5e36722030cb7d51338d0c69e133f66a\",\"user_agent\":\"cli\",\"ip\":\"127.0.0.1\",\"expires_at\":\"2026-07-16 16:48:56\",\"id\":3}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 13:48:56','046df6d7-29cb-45d5-9756-08680cdcd6c1',1),(236062,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',3,'#3','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-16 16:48:58\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:58','e28361cb-c229-4a88-9a26-997454ca818d',1),(236063,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',19,'invoice_created',NULL,'{\"business_id\":5,\"name\":\"invoice_created\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83e\\uddfe *{business_name}*\\n\\nHi {contact_name}, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* {invoice_number}\\n*Total:* {total_amount}\\n*Paid:* {paid_amount}\\n*Balance due:* {due_amount}\\n\\n\\ud83d\\udcc4 View or download your invoice:\\n{invoice_url}\\n\\nWe appreciate your business \\u2014 just reply to this message if you have any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"total_amount\\\",\\\"paid_amount\\\",\\\"due_amount\\\",\\\"invoice_url\\\"]\",\"active\":true,\"id\":19}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236064,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',20,'payment_received',NULL,'{\"business_id\":5,\"name\":\"payment_received\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u2705 *Payment received* \\u2014 {business_name}\\n\\nHi {contact_name}, we\'ve received your payment of *{received_amount}* for invoice {invoice_number}.\\n\\n*Remaining balance:* {due_amount}\\n\\nThank you! Reply here if you need anything.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"received_amount\\\",\\\"invoice_number\\\",\\\"due_amount\\\"]\",\"active\":true,\"id\":20}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236065,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',21,'sale_return',NULL,'{\"business_id\":5,\"name\":\"sale_return\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u21a9\\ufe0f *Return processed* \\u2014 {business_name}\\n\\nHi {contact_name}, your return for invoice {invoice_number} has been processed.\\n\\n*Updated balance:* {due_amount}\\n\\nThank you for giving us the chance to help. Reply with any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"due_amount\\\"]\",\"active\":true,\"id\":21}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236066,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',22,'appointment_booked',NULL,'{\"business_id\":5,\"name\":\"appointment_booked\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* is booked:\\n\\n\\ud83d\\uddd3 *Date:* {appointment_date}\\n\\u23f0 *Time:* {appointment_time}\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* {doctor_name}\\n\\ud83d\\udccd {location_name}\\nRef: {ref_no}\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\",\\\"ref_no\\\"]\",\"active\":true,\"id\":22}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236067,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',23,'appointment_reminder',NULL,'{\"business_id\":5,\"name\":\"appointment_reminder\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u23f0 *Appointment reminder* \\u2014 {clinic_name}\\n\\nHi {owner_name}, a friendly reminder of *{pet_name}*\'s appointment:\\n\\n\\ud83d\\uddd3 {appointment_date} at \\u23f0 {appointment_time}\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f {doctor_name}\\n\\ud83d\\udccd {location_name}\\n\\nSee you soon! Reply to reschedule or cancel.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\"]\",\"active\":true,\"id\":23}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236068,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',24,'appointment_cancelled',NULL,'{\"business_id\":5,\"name\":\"appointment_cancelled\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u274c *Appointment cancelled* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* on {appointment_date} at {appointment_time} has been cancelled.\\n\\nReply here to book a new time \\u2014 we\'d be happy to help.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\"]\",\"active\":true,\"id\":24}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236069,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',25,'appointment_rescheduled',NULL,'{\"business_id\":5,\"name\":\"appointment_rescheduled\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd04 *Appointment rescheduled* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* has been moved to:\\n\\n\\ud83d\\uddd3 *{appointment_date}* at \\u23f0 *{appointment_time}*\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f {doctor_name}\\n\\ud83d\\udccd {location_name}\\n\\nReply if this time doesn\'t work for you.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\"]\",\"active\":true,\"id\":25}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236070,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',26,'appointment_followup',NULL,'{\"business_id\":5,\"name\":\"appointment_followup\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc9a *Thank you for visiting* \\u2014 {clinic_name}\\n\\nHi {owner_name}, we hope *{pet_name}* is doing well after the visit with {doctor_name}.\\n\\nIf you have any questions or concerns, just reply to this message \\u2014 we\'re here to help. \\ud83d\\udc3e\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"doctor_name\\\"]\",\"active\":true,\"id\":26}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236071,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',27,'quotation_sent',NULL,'{\"business_id\":5,\"name\":\"quotation_sent\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udcdd *Your quotation* \\u2014 {business_name}\\n\\nHi {contact_name}, here is the quotation you requested.\\n\\n*Total:* {total_amount}\\n\\n\\ud83d\\udcc4 View the full quotation:\\n{quote_url}\\n\\nReply to confirm or if you\'d like any changes.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"total_amount\\\",\\\"quote_url\\\"]\",\"active\":true,\"id\":27}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236072,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',28,'payment_due_reminder',NULL,'{\"business_id\":5,\"name\":\"payment_due_reminder\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd14 *Payment reminder* \\u2014 {business_name}\\n\\nHi {contact_name}, a friendly reminder that invoice {invoice_number} has an outstanding balance.\\n\\n*Amount due:* {due_amount}\\n*Due date:* {due_date}\\n\\n\\ud83d\\udcc4 View invoice: {invoice_url}\\n\\nPlease reply if you\'ve already paid or need assistance. Thank you!\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"due_amount\\\",\\\"due_date\\\",\\\"invoice_url\\\"]\",\"active\":true,\"id\":28}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236073,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',29,'shipment_status',NULL,'{\"business_id\":5,\"name\":\"shipment_status\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\ude9a *Delivery update* \\u2014 {business_name}\\n\\nHi {contact_name}, the status of your order {invoice_number} is now: *{shipping_status}*.\\n\\nReply to this message if you have any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"shipping_status\\\"]\",\"active\":true,\"id\":29}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236074,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',30,'po_sent',NULL,'{\"business_id\":5,\"name\":\"po_sent\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udce6 *Purchase Order* \\u2014 {business_name}\\n\\nHi {contact_name}, we\'ve issued purchase order {order_ref_number}.\\n\\n*Total:* {total_amount}\\n\\nPlease confirm receipt and expected delivery. Thank you for partnering with us.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"order_ref_number\\\",\\\"total_amount\\\"]\",\"active\":true,\"id\":30}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236075,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',31,'lab_results_ready',NULL,'{\"business_id\":5,\"name\":\"lab_results_ready\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd2c *Lab results ready* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the lab results for *{pet_name}* (sample {sample_no}) are ready.\\n\\nPlease contact the clinic or reply here to discuss the results with your veterinarian.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"sample_no\\\"]\",\"active\":true,\"id\":31}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236076,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',32,'vaccination_due',NULL,'{\"business_id\":5,\"name\":\"vaccination_due\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc89 *Vaccination reminder* \\u2014 {clinic_name}\\n\\nHi {owner_name}, *{pet_name}*\'s *{vaccine_name}* vaccination is due on *{due_date}*.\\n\\nReply to book an appointment \\u2014 keeping {pet_name} protected and healthy. \\ud83d\\udc3e\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"vaccine_name\\\",\\\"due_date\\\"]\",\"active\":true,\"id\":32}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236077,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',33,'contact_welcome',NULL,'{\"business_id\":5,\"name\":\"contact_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc4b *Welcome to {business_name}!*\\n\\nHi {contact_name}, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\"]\",\"active\":true,\"id\":33}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236078,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',34,'pet_owner_welcome',NULL,'{\"business_id\":5,\"name\":\"pet_owner_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc3e *Welcome to {clinic_name}!*\\n\\nHi {owner_name}, thank you for trusting us with your pet\'s care. \\ud83d\\udc9a\\n\\nWe\'ll keep you updated about appointments, vaccinations and reminders right here on WhatsApp.\\nReply anytime \\u2014 we\'re happy to help.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\"]\",\"active\":true,\"id\":34}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236079,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',35,'pet_welcome',NULL,'{\"business_id\":5,\"name\":\"pet_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, {pet_name}!*\\n\\nHi {owner_name}, *{pet_name}* has been added to your profile at {clinic_name}.\\n\\nWe\'ll help you keep {pet_name} healthy with timely checkups, vaccinations and reminders.\\nReply anytime to book a visit. \\ud83d\\udc9a\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\"]\",\"active\":true,\"id\":35}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236080,164,5,'create','Modules\\WhatsApp\\Entities\\WaTemplate',36,'pet_birthday',NULL,'{\"business_id\":5,\"name\":\"pet_birthday\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Happy Birthday {pet_name}!* \\ud83c\\udf82\\n\\nHi {owner_name}, all of us at {clinic_name} are wishing *{pet_name}* a wonderful birthday!\\n\\nThank you for trusting us with {pet_name}\'s care. Reply for a birthday check-up. \\ud83d\\udc9a\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\"]\",\"active\":true,\"id\":36}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236081,164,5,'create','Modules\\WhatsApp\\Entities\\WaContact',59,'#59',NULL,'{\"business_id\":5,\"wa_id\":\"201092288093\",\"id\":59}','[\"business_id\",\"wa_id\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236082,164,5,'create','Modules\\WhatsApp\\Entities\\WaMessage',161,'#161',NULL,'{\"business_id\":5,\"channel_id\":null,\"contact_id\":59,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Ahmed Saleh, the appointment for *Rex* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sat, 20 Jun 2026\\n\\u23f0 *Time:* 11:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram\\n\\ud83d\\udccd \\nRef: APT-6A31544AF3FBE\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:52\",\"available_at\":\"2026-06-16 16:48:59\",\"created_by\":null,\"id\":161}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236083,164,5,'create','Modules\\WhatsApp\\Entities\\WaConversation',54,'#54',NULL,'{\"business_id\":5,\"channel_id\":null,\"wa_id\":\"201092288093\",\"status\":\"open\",\"ai_enabled\":true,\"id\":54}','[\"business_id\",\"channel_id\",\"wa_id\",\"status\",\"ai_enabled\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236084,164,5,'update','Modules\\WhatsApp\\Entities\\WaConversation',54,'#54','[]','{\"contact_id\":59}','[\"contact_id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236085,164,5,'update','Modules\\WhatsApp\\Entities\\WaMessage',161,'#161','[]','{\"conversation_id\":54}','[\"conversation_id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236086,164,5,'update','Modules\\WhatsApp\\Entities\\WaConversation',54,'#54','[]','{\"last_direction\":\"out\",\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Ahmed Saleh, the appointment for *Rex* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sat, 20 Jun 2026\\n\\u23f0 *Time:* 11:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram\\n\\ud83d\\udccd \\nRef: A...\",\"last_message_at\":\"2026-06-16 16:48:59\"}','[\"last_direction\",\"last_message_excerpt\",\"last_message_at\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236087,164,5,'create','Modules\\VetClinic\\Entities\\VcAppointment',52,'APT-6A31544AF3FBE',NULL,'{\"business_id\":5,\"contact_id\":6012,\"pet_id\":14,\"doctor_id\":9,\"ref_no\":\"APT-6A31544AF3FBE\",\"appointment_date\":\"2026-06-20 00:00:00\",\"appointment_time\":\"11:30:00\",\"duration_minutes\":20,\"type\":\"checkup\",\"reason\":\"cli booking test\",\"status\":\"pending\",\"id\":52}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"ref_no\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"type\",\"reason\",\"status\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','curl/8.19.0','2026-06-16 13:48:59','e28361cb-c229-4a88-9a26-997454ca818d',0),(236088,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',3,'#3','{\"last_used_at\":\"2026-06-16T13:48:58.000000Z\"}','{\"last_used_at\":\"2026-06-16 16:49:01\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=all','GET','::1','curl/8.19.0','2026-06-16 13:49:01','342d1f71-bb6f-4fcd-9944-4730f483edb7',1),(236089,164,5,'login','auth',164,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 14:10:10',NULL,1),(236090,NULL,5,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',4,'#4',NULL,'{\"user_id\":164,\"business_id\":5,\"token_hash\":\"df3860ad9ab2304fe16c1e1af671194bc6c651d1f4ca33150b71242e170c298d\",\"user_agent\":\"cli\",\"ip\":\"127.0.0.1\",\"expires_at\":\"2026-07-16 17:17:33\",\"id\":4}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-16 14:17:33','9ba4a65d-7dc7-4851-bf01-afa7c53ffab6',1),(236091,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',4,'#4','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-16 17:17:33\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/7/medications','GET','::1','curl/8.19.0','2026-06-16 14:17:33','b797eb32-327c-42e6-943b-c669bdde495b',1),(236092,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',4,'#4','{\"last_used_at\":\"2026-06-16T14:17:33.000000Z\"}','{\"last_used_at\":\"2026-06-16 17:17:34\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/7/fluids','GET','::1','curl/8.19.0','2026-06-16 14:17:34','a636acf3-ec6c-4f9a-98d9-ea9c20e31774',1),(236093,164,5,'view','vc_pet_owner',5,'#5',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/pet-owners/5','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 15:48:18','9db498ec-fd84-4788-8a38-fbec6c72f340',1),(236094,164,5,'view','vc_pet',14,'Rex',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/pets/14','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 15:51:28','5150a129-7dd7-438f-ae63-f2b69e3b4c35',1),(236095,164,5,'create','Modules\\VetClinic\\Entities\\VcPetCondition',8,'#8',NULL,'{\"pet_id\":14,\"condition_id\":\"30\",\"diagnosed_date\":\"2026-06-16 00:00:00\",\"diagnosed_by\":null,\"appointment_id\":null,\"severity\":\"severe\",\"status\":\"chronic\",\"notes\":null,\"id\":8}','[\"pet_id\",\"condition_id\",\"diagnosed_date\",\"diagnosed_by\",\"appointment_id\",\"severity\",\"status\",\"notes\",\"id\"]','https://localhost/vet-one/public/vet-clinic/pets/14/conditions/add','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 15:56:04','fa99a45f-6bc8-4c14-bd5b-1af5e2791325',1),(236096,164,5,'view','vc_pet',14,'Rex',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/pets/14','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 15:56:19','f54a9641-257f-4a72-91de-f805e5114d39',1),(236097,164,5,'create','Modules\\VetClinic\\Entities\\VcVaccination',40,'#40',NULL,'{\"business_id\":5,\"pet_id\":14,\"contact_id\":6012,\"vaccine_type_id\":\"20\",\"dose\":null,\"appointment_id\":null,\"medicine_id\":null,\"batch_no\":null,\"administered_date\":\"2026-06-16 00:00:00\",\"next_due_date\":\"2026-07-16 00:00:00\",\"administered_by\":null,\"weight_at_time\":\"12.50\",\"temperature_at_time\":\"38\",\"status\":\"administered\",\"taken_status\":\"taken_in\",\"notes\":null,\"id\":40}','[\"business_id\",\"pet_id\",\"contact_id\",\"vaccine_type_id\",\"dose\",\"appointment_id\",\"medicine_id\",\"batch_no\",\"administered_date\",\"next_due_date\",\"administered_by\",\"weight_at_time\",\"temperature_at_time\",\"status\",\"taken_status\",\"notes\",\"id\"]','https://localhost/vet-one/public/vet-clinic/vaccinations/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:04:01','13df7193-fc54-4545-9ade-dd99e9bdca65',1),(236098,164,5,'create','Modules\\VetClinic\\Entities\\VcVaccination',41,'#41',NULL,'{\"business_id\":5,\"pet_id\":14,\"contact_id\":6012,\"vaccine_type_id\":\"20\",\"administered_date\":\"2026-07-16 00:00:00\",\"next_due_date\":\"2026-08-16 00:00:00\",\"status\":\"scheduled\",\"taken_status\":\"not_taken\",\"id\":41}','[\"business_id\",\"pet_id\",\"contact_id\",\"vaccine_type_id\",\"administered_date\",\"next_due_date\",\"status\",\"taken_status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/vaccinations/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:04:01','13df7193-fc54-4545-9ade-dd99e9bdca65',0),(236099,164,5,'create','vc_vaccination',40,'#40',NULL,'{\"business_id\":5,\"pet_id\":14,\"contact_id\":6012,\"vaccine_type_id\":\"20\",\"dose\":null,\"appointment_id\":null,\"medicine_id\":null,\"batch_no\":null,\"administered_date\":\"2026-06-16 00:00:00\",\"next_due_date\":\"2026-07-16 00:00:00\",\"administered_by\":null,\"weight_at_time\":\"12.50\",\"temperature_at_time\":\"38\",\"status\":\"administered\",\"taken_status\":\"taken_in\",\"notes\":null,\"id\":40}','[\"business_id\",\"pet_id\",\"contact_id\",\"vaccine_type_id\",\"dose\",\"appointment_id\",\"medicine_id\",\"batch_no\",\"administered_date\",\"next_due_date\",\"administered_by\",\"weight_at_time\",\"temperature_at_time\",\"status\",\"taken_status\",\"notes\",\"id\"]','https://localhost/vet-one/public/vet-clinic/vaccinations/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:04:01','60352a78-1270-4717-90e3-53c5a3e4ebb9',1),(236100,164,5,'view','vc_pet',14,'Rex',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/pets/14','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:04:16','bfbb9657-bf72-4b2a-80f0-f930f290e984',1),(236101,164,5,'create','Modules\\VetClinic\\Entities\\VcConfidentialNote',3,'gdsgdsfgfdsgsdg',NULL,'{\"business_id\":5,\"subject_type\":\"pet\",\"subject_id\":14,\"visibility\":\"normal\",\"title\":\"gdsgdsfgfdsgsdg\",\"body\":\"sgdfgdfg\",\"created_by\":164,\"updated_by\":164,\"id\":3}','[\"business_id\",\"subject_type\",\"subject_id\",\"visibility\",\"title\",\"body\",\"created_by\",\"updated_by\",\"id\"]','https://localhost/vet-one/public/vet-clinic/notes/pet/14','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:15:20','3c5ccbfe-fb53-4646-bcd8-688e6274206e',1),(236102,164,5,'create','Modules\\VetClinic\\Entities\\VcConfidentialNote',3,'#3',NULL,'{\"business_id\":5,\"subject_type\":\"pet\",\"subject_id\":14,\"visibility\":\"normal\",\"title\":\"gdsgdsfgfdsgsdg\",\"body\":\"sgdfgdfg\",\"created_by\":164,\"updated_by\":164,\"id\":3}','[\"business_id\",\"subject_type\",\"subject_id\",\"visibility\",\"title\",\"body\",\"created_by\",\"updated_by\",\"id\"]','https://localhost/vet-one/public/vet-clinic/notes/pet/14','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:15:20','8c8a7b9f-9ac6-4bce-8779-edf42142be75',1),(236103,164,5,'update','Modules\\VetClinic\\Entities\\VcDoctor',9,'Hossam Makram','{\"department_id\":9,\"name\":\"Dr. Hossam Makram\",\"email\":null,\"phone\":\"+201092288093\",\"color\":\"#2980b9\"}','{\"department_id\":\"8\",\"name\":\"Hossam Makram\",\"email\":\"owner@vetone.test\",\"phone\":null,\"color\":\"#2980B9\"}','[\"department_id\",\"name\",\"email\",\"phone\",\"color\"]','https://localhost/vet-one/public/vet-clinic/doctors/9/update','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:29:10','c728c26f-a3c6-41eb-a6e3-4d7dbaa4695e',1),(236104,164,5,'update','vc_doctor',9,'Hossam Makram',NULL,NULL,'[\"department_id\",\"name\",\"email\",\"phone\",\"color\",\"updated_at\"]','https://localhost/vet-one/public/vet-clinic/doctors/9/update','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:29:10','95a697d3-8c6f-45c0-a83d-156452149216',1),(236105,164,5,'update','Modules\\VetClinic\\Entities\\VcDoctor',7,'Yasmin Fahmy','{\"department_id\":6,\"name\":\"Dr. Yasmin Fahmy\",\"email\":null,\"phone\":\"+201092288093\",\"color\":\"#27ae60\"}','{\"department_id\":\"9\",\"name\":\"Yasmin Fahmy\",\"email\":\"vet1@vetone.test\",\"phone\":null,\"color\":\"#27AE60\"}','[\"department_id\",\"name\",\"email\",\"phone\",\"color\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/update','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:29:20','ff1de246-b367-4cf1-8669-060f4a9565cb',1),(236106,164,5,'update','vc_doctor',7,'Yasmin Fahmy',NULL,NULL,'[\"department_id\",\"name\",\"email\",\"phone\",\"color\",\"updated_at\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/update','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:29:20','227f321f-86c1-432e-85b5-b479ec8f4ca3',1),(236107,164,5,'create','Modules\\VetClinic\\Entities\\VcDoctorSchedule',14,'#14',NULL,'{\"doctor_id\":\"7\",\"day_of_week\":\"2\",\"start_time\":\"09:00\",\"end_time\":\"17:00\",\"slot_duration_minutes\":\"30\",\"department_id\":null,\"status\":\"active\",\"id\":14}','[\"doctor_id\",\"day_of_week\",\"start_time\",\"end_time\",\"slot_duration_minutes\",\"department_id\",\"status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/schedules/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:30:23','03167be1-49a5-4c99-a69b-7a715a32bf32',1),(236108,164,5,'create','Modules\\VetClinic\\Entities\\VcDoctorSchedule',15,'#15',NULL,'{\"doctor_id\":\"7\",\"day_of_week\":\"0\",\"start_time\":\"09:00\",\"end_time\":\"17:00\",\"slot_duration_minutes\":\"30\",\"department_id\":null,\"status\":\"active\",\"id\":15}','[\"doctor_id\",\"day_of_week\",\"start_time\",\"end_time\",\"slot_duration_minutes\",\"department_id\",\"status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/schedules/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:30:23','4d9885a9-9a36-4588-ad84-f4957a7ecd13',1),(236109,164,5,'create','Modules\\VetClinic\\Entities\\VcDoctorSchedule',16,'#16',NULL,'{\"doctor_id\":\"7\",\"day_of_week\":\"1\",\"start_time\":\"09:00\",\"end_time\":\"17:00\",\"slot_duration_minutes\":\"30\",\"department_id\":null,\"status\":\"active\",\"id\":16}','[\"doctor_id\",\"day_of_week\",\"start_time\",\"end_time\",\"slot_duration_minutes\",\"department_id\",\"status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/schedules/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:30:23','7be8bf6a-21bf-46a4-97e0-aa7217ccbfc1',1),(236110,164,5,'create','Modules\\VetClinic\\Entities\\VcDoctorSchedule',17,'#17',NULL,'{\"doctor_id\":\"7\",\"day_of_week\":\"4\",\"start_time\":\"09:00\",\"end_time\":\"17:00\",\"slot_duration_minutes\":\"30\",\"department_id\":null,\"status\":\"active\",\"id\":17}','[\"doctor_id\",\"day_of_week\",\"start_time\",\"end_time\",\"slot_duration_minutes\",\"department_id\",\"status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/schedules/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:30:23','4235e668-ca01-427e-95d2-8edc595d6451',1),(236111,164,5,'create','Modules\\VetClinic\\Entities\\VcDoctorSchedule',18,'#18',NULL,'{\"doctor_id\":\"7\",\"day_of_week\":\"3\",\"start_time\":\"09:00\",\"end_time\":\"17:00\",\"slot_duration_minutes\":\"30\",\"department_id\":null,\"status\":\"active\",\"id\":18}','[\"doctor_id\",\"day_of_week\",\"start_time\",\"end_time\",\"slot_duration_minutes\",\"department_id\",\"status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/schedules/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:30:23','8d3b4fc2-34ab-4480-9dd4-494b485db3d6',1),(236112,164,5,'create','Modules\\VetClinic\\Entities\\VcDoctorSchedule',19,'#19',NULL,'{\"doctor_id\":\"7\",\"day_of_week\":\"5\",\"start_time\":\"09:00\",\"end_time\":\"17:00\",\"slot_duration_minutes\":\"30\",\"department_id\":null,\"status\":\"active\",\"id\":19}','[\"doctor_id\",\"day_of_week\",\"start_time\",\"end_time\",\"slot_duration_minutes\",\"department_id\",\"status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/schedules/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:30:23','569983b2-6bda-4293-a22f-554ac9886e29',1),(236113,164,5,'create','Modules\\VetClinic\\Entities\\VcDoctorSchedule',20,'#20',NULL,'{\"doctor_id\":\"7\",\"day_of_week\":\"6\",\"start_time\":\"09:00\",\"end_time\":\"17:00\",\"slot_duration_minutes\":\"30\",\"department_id\":null,\"status\":\"active\",\"id\":20}','[\"doctor_id\",\"day_of_week\",\"start_time\",\"end_time\",\"slot_duration_minutes\",\"department_id\",\"status\",\"id\"]','https://localhost/vet-one/public/vet-clinic/doctors/7/schedules/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:30:23','c199a39f-104e-48e9-89c5-10f60f20cdef',1),(236114,164,5,'view','vc_appointment',50,'APT-0009',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/appointments/50','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:32:41','162226ff-efae-4229-ac14-067e0a1b4bc5',1),(236115,164,5,'update','Modules\\VetClinic\\Entities\\VcAppointment',50,'APT-0009','{\"status\":\"pending\",\"arrived_at\":null}','{\"status\":\"waiting\",\"arrived_at\":\"2026-06-16 19:33:06\"}','[\"status\",\"arrived_at\"]','https://localhost/vet-one/public/vet-clinic/appointments/50/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:33:06','26e1125a-4e34-44d6-860a-bd3319a35273',1),(236116,164,5,'create','Modules\\VetClinic\\Entities\\VcAppointmentStatusLog',17,'#17',NULL,'{\"business_id\":5,\"appointment_id\":50,\"from_status\":\"pending\",\"to_status\":\"waiting\",\"changed_by\":164,\"changed_at\":\"2026-06-16 19:33:06\",\"id\":17}','[\"business_id\",\"appointment_id\",\"from_status\",\"to_status\",\"changed_by\",\"changed_at\",\"id\"]','https://localhost/vet-one/public/vet-clinic/appointments/50/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:33:06','26e1125a-4e34-44d6-860a-bd3319a35273',0),(236117,164,5,'update','vc_appointment',50,'APT-0009','{\"status\":\"pending\"}','{\"status\":\"waiting\",\"arrived_at\":\"2026-06-16T16:33:06.867278Z\"}','[\"status\",\"arrived_at\"]','https://localhost/vet-one/public/vet-clinic/appointments/50/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:33:06','908032df-eefb-44ea-9618-c8070a000cb8',1),(236118,164,5,'update','Modules\\VetClinic\\Entities\\VcAppointment',50,'APT-0009','{\"status\":\"\",\"consultation_started_at\":null,\"waiting_minutes\":null}','{\"status\":\"in_progress\",\"consultation_started_at\":\"2026-06-16 19:33:28\",\"waiting_minutes\":0}','[\"status\",\"consultation_started_at\",\"waiting_minutes\"]','https://localhost/vet-one/public/vet-clinic/appointments/50/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:33:28','0f65617c-f7d2-4b38-9702-143b63768f2f',1),(236119,164,5,'create','Modules\\VetClinic\\Entities\\VcAppointmentStatusLog',18,'#18',NULL,'{\"business_id\":5,\"appointment_id\":50,\"from_status\":\"\",\"to_status\":\"in_progress\",\"changed_by\":164,\"changed_at\":\"2026-06-16 19:33:28\",\"id\":18}','[\"business_id\",\"appointment_id\",\"from_status\",\"to_status\",\"changed_by\",\"changed_at\",\"id\"]','https://localhost/vet-one/public/vet-clinic/appointments/50/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:33:28','0f65617c-f7d2-4b38-9702-143b63768f2f',0),(236120,164,5,'update','vc_appointment',50,'APT-0009','{\"status\":\"\"}','{\"status\":\"in_progress\",\"consultation_started_at\":\"2026-06-16T16:33:28.104705Z\",\"waiting_minutes\":0}','[\"status\",\"consultation_started_at\",\"waiting_minutes\"]','https://localhost/vet-one/public/vet-clinic/appointments/50/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:33:28','cae7254d-f97e-4e44-87fa-97b3d730ba5d',1),(236121,164,5,'view','vc_appointment',50,'APT-0009',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/appointments/50','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-16 16:33:39','31938ede-12aa-454a-ad7f-d594253944a8',1),(236122,164,5,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5',NULL,'{\"user_id\":164,\"business_id\":5,\"token_hash\":\"1836679c59d8b713ac82b6a4acf5799c6e59eaa3deab0b1c63e662a762e65e86\",\"user_agent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/149.0.0.0 Safari\\/537.36 Edg\\/149.0.0.0\",\"ip\":\"::1\",\"expires_at\":\"2026-07-17 16:53:17\",\"id\":5}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/auth/password','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:17','ba3ecac0-ddbb-4f19-a7bf-0cba68385343',1),(236123,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-17 16:53:18\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/summary','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:18','c754cfa9-a8ca-4717-89cd-13eb1e282fbb',1),(236124,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:18.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:30\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/ward-board','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:30','60bf4e32-f6a4-44c1-9745-6a31b5a7dfa9',1),(236125,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:30.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:32\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:32','be249929-75aa-4d42-aedf-234672dabc8f',1),(236126,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:32.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:34\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:34','02f2458d-a5fd-42e9-bc07-b0defd2be306',1),(236127,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:34.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:35\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:35','581098a7-7a36-4293-940c-27b8dfe082a0',1),(236128,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:35.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:36\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:36','ff47bc6a-c211-4e3c-b160-84887ab0ae19',1),(236129,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:36.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:37\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:37','d8bc6e21-29d4-4233-bf7f-2fc388c39093',1),(236130,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:37.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:39\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:39','40faefc1-bf06-4305-a217-6b4848c2b87a',1),(236131,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:39.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:53:41\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:53:41','95a69769-0e54-42ed-ad75-c82ff5af2e4c',1),(236132,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:41.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:54:40\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/20','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:54:40','de97ba62-d5f5-474f-a237-870c2927293f',1),(236133,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:53:41.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:54:40\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/20/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:54:40','a0b9f81c-488d-45c1-b121-38989b4afb98',1),(236134,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:54:40.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:54:43\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-17&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:54:43','73b6e14e-ab17-4d1d-af67-ae9b5c80d79d',1),(236135,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:54:43.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:54:52\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients?q=','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:54:52','2a78651e-a217-456b-ac05-f104463c8e16',1),(236136,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:54:52.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:54:59\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients?q=%D9%82%D8%B4%D8%B5','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:54:59','7ba8503f-6cea-4826-ba13-861e1f857937',1),(236137,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:54:59.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:55:01\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients?q=rawa','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:55:01','1e7807a2-82b1-4c11-8ad5-29e6cf1b2f7b',1),(236138,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:55:01.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:55:03\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients?q=','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:55:03','db23a61d-06d3-4dd3-b4ba-72783e31b28d',1),(236139,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:55:03.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:55:05\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/16/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:55:05','e5f5c7c6-bcf1-4a25-8208-357f654e9fd5',1),(236140,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:55:03.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:55:05\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/16','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:55:05','a36c5283-ecb1-4728-8367-8371e2ba7542',1),(236141,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:55:05.000000Z\"}','{\"last_used_at\":\"2026-06-17 16:55:17\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/doctors','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 13:55:17','2b358ab9-909f-45bf-b878-89fe5f002db2',1),(236142,NULL,5,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',5,'#5','{\"last_used_at\":\"2026-06-17T13:55:17.000000Z\"}','{\"last_used_at\":\"2026-06-17 23:24:14\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-17 20:24:14','a9505c3a-49fe-4723-8e14-d55ed1718f8a',1),(236143,NULL,NULL,'create','App\\User',171,'Hossam Makram',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Hossam\",\"last_name\":\"Makram\",\"username\":\"vetone\",\"email\":\"owner@vetone.test\",\"language\":\"en\",\"id\":171}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',1),(236144,NULL,NULL,'create','App\\Business',6,'VET One',NULL,'{\"name\":\"VET One\",\"currency_id\":35,\"start_date\":\"2025-06-17\",\"owner_id\":171,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"tax_label_1\":\"VAT\",\"tax_number_1\":\"EG-VET-001\",\"logo\":\"vet-one-logo.png\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\",\\\"account\\\",\\\"service_staff\\\",\\\"types_of_service\\\",\\\"booking\\\",\\\"subscription\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":6}','[\"name\",\"currency_id\",\"start_date\",\"owner_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"tax_label_1\",\"tax_number_1\",\"logo\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236145,NULL,6,'update','App\\User',171,'Hossam Makram','[]','{\"business_id\":6}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236146,NULL,6,'create','App\\ReferenceCount',30,'#30',NULL,'{\"ref_type\":\"contacts\",\"business_id\":6,\"ref_count\":1,\"id\":30}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236147,NULL,6,'create','App\\Contact',6024,'Walk-In Customer',NULL,'{\"business_id\":6,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":171,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6024}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236148,NULL,6,'create','App\\InvoiceScheme',8,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":6,\"id\":8}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236149,NULL,6,'create','App\\InvoiceLayout',8,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":6,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":8}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236150,NULL,6,'create','App\\Unit',6,'#6',NULL,'{\"business_id\":6,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":171,\"id\":6}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236151,NULL,6,'create','App\\NotificationTemplate',50,'#50',NULL,'{\"business_id\":6,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<br \\/>\\n                    Paid amount: {received_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":50}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236152,NULL,6,'create','App\\NotificationTemplate',51,'#51',NULL,'{\"business_id\":6,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                <p>We have received a payment of {received_amount}<\\/p>\\n\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":51}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236153,NULL,6,'create','App\\NotificationTemplate',52,'#52',NULL,'{\"business_id\":6,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":52}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236154,NULL,6,'create','App\\NotificationTemplate',53,'#53',NULL,'{\"business_id\":6,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your booking is confirmed<\\/p>\\n\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\n\\n                    <p>Table: {table}<\\/p>\\n\\n                    <p>Location: {location}<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":53}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236155,NULL,6,'create','App\\NotificationTemplate',54,'#54',NULL,'{\"business_id\":6,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":54}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236156,NULL,6,'create','App\\NotificationTemplate',55,'#55',NULL,'{\"business_id\":6,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\n                    Kindly note it down.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":55}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236157,NULL,6,'create','App\\NotificationTemplate',56,'#56',NULL,'{\"business_id\":6,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":56}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236158,NULL,6,'create','App\\NotificationTemplate',57,'#57',NULL,'{\"business_id\":6,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":57}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236159,NULL,6,'create','App\\NotificationTemplate',58,'#58',NULL,'{\"business_id\":6,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":58}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236160,NULL,6,'create','App\\NotificationTemplate',59,'#59',NULL,'{\"business_id\":6,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":59}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236161,NULL,6,'create','App\\ReferenceCount',31,'#31',NULL,'{\"ref_type\":\"business_location\",\"business_id\":6,\"ref_count\":1,\"id\":31}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236162,NULL,6,'create','App\\BusinessLocation',19,'VET One Clinic — New Cairo',NULL,'{\"business_id\":6,\"name\":\"VET One Clinic \\u2014 New Cairo\",\"landmark\":\"90th Street\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":8,\"invoice_layout_id\":8,\"sale_invoice_layout_id\":8,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":19}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236163,NULL,6,'update','App\\ReferenceCount',31,'#31','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236164,NULL,6,'create','App\\BusinessLocation',20,'VET One Clinic — Maadi',NULL,'{\"business_id\":6,\"name\":\"VET One Clinic \\u2014 Maadi\",\"landmark\":\"Road 9\",\"city\":\"Maadi\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":8,\"invoice_layout_id\":8,\"sale_invoice_layout_id\":8,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0002\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":20}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236165,NULL,6,'update','App\\ReferenceCount',31,'#31','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236166,NULL,6,'create','App\\BusinessLocation',21,'VET One Central Pharmacy Store',NULL,'{\"business_id\":6,\"name\":\"VET One Central Pharmacy Store\",\"landmark\":\"Industrial Zone\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":8,\"invoice_layout_id\":8,\"sale_invoice_layout_id\":8,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0003\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":21}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236167,NULL,NULL,'create','App\\User',172,'Yasmin Fahmy',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Yasmin\",\"last_name\":\"Fahmy\",\"username\":\"vet.yasmin\",\"email\":\"vet1@vetone.test\",\"language\":\"en\",\"id\":172}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236168,NULL,6,'update','App\\User',172,'Yasmin Fahmy','[]','{\"business_id\":6}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:54','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236169,NULL,NULL,'create','App\\User',173,'Omar Sherif',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Omar\",\"last_name\":\"Sherif\",\"username\":\"vet.omar\",\"email\":\"vet2@vetone.test\",\"language\":\"en\",\"id\":173}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236170,NULL,6,'update','App\\User',173,'Omar Sherif','[]','{\"business_id\":6}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236171,NULL,NULL,'create','App\\User',174,'Salma Adel',NULL,'{\"surname\":\"Ms\",\"first_name\":\"Salma\",\"last_name\":\"Adel\",\"username\":\"reception.vetone\",\"email\":\"reception@vetone.test\",\"language\":\"en\",\"id\":174}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236172,NULL,6,'update','App\\User',174,'Salma Adel','[]','{\"business_id\":6}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236173,NULL,NULL,'create','App\\User',175,'Hany Naguib',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Hany\",\"last_name\":\"Naguib\",\"username\":\"pharmacist.vetone\",\"email\":\"pharmacy@vetone.test\",\"language\":\"en\",\"id\":175}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236174,NULL,6,'update','App\\User',175,'Hany Naguib','[]','{\"business_id\":6}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236175,NULL,NULL,'create','App\\User',176,'Tarek Fouad',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Tarek\",\"last_name\":\"Fouad\",\"username\":\"accountant.vetone\",\"email\":\"accountant@vetone.test\",\"language\":\"en\",\"id\":176}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236176,NULL,6,'update','App\\User',176,'Tarek Fouad','[]','{\"business_id\":6}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236177,NULL,6,'create','App\\Account',36,'Cash Drawer — Reception',NULL,'{\"business_id\":6,\"account_number\":\"VET-CASH-01\",\"name\":\"Cash Drawer \\u2014 Reception\",\"created_by\":171,\"is_closed\":0,\"id\":36}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236178,NULL,NULL,'create','App\\AccountTransaction',205572,'#205572',NULL,'{\"account_id\":36,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:54:55\",\"created_by\":171,\"id\":205572}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236179,NULL,6,'create','App\\Account',37,'NBE Current Account',NULL,'{\"business_id\":6,\"account_number\":\"VET-NBE-2025\",\"name\":\"NBE Current Account\",\"created_by\":171,\"is_closed\":0,\"id\":37}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236180,NULL,NULL,'create','App\\AccountTransaction',205573,'#205573',NULL,'{\"account_id\":37,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:54:55\",\"created_by\":171,\"id\":205573}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236181,NULL,6,'create','App\\Account',38,'CIB USD Account',NULL,'{\"business_id\":6,\"account_number\":\"VET-CIB-USD\",\"name\":\"CIB USD Account\",\"created_by\":171,\"is_closed\":0,\"id\":38}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236182,NULL,NULL,'create','App\\AccountTransaction',205574,'#205574',NULL,'{\"account_id\":38,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:54:55\",\"created_by\":171,\"id\":205574}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:55','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236183,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236184,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236185,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":3}','{\"ref_count\":4}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236186,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":4}','{\"ref_count\":5}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236187,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":5}','{\"ref_count\":6}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236188,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":6}','{\"ref_count\":7}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236189,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":7}','{\"ref_count\":8}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236190,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":8}','{\"ref_count\":9}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236191,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":9}','{\"ref_count\":10}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236192,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":10}','{\"ref_count\":11}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236193,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":11}','{\"ref_count\":12}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236194,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":12}','{\"ref_count\":13}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236195,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":13}','{\"ref_count\":14}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236196,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":14}','{\"ref_count\":15}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236197,NULL,6,'update','App\\ReferenceCount',30,'#30','{\"ref_count\":15}','{\"ref_count\":16}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:54:56','28a95a64-7132-493a-a1a7-855c26fcfc30',0),(236198,NULL,NULL,'create','App\\User',177,'Hossam Makram',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Hossam\",\"last_name\":\"Makram\",\"username\":\"vetone\",\"email\":\"owner@vetone.test\",\"language\":\"en\",\"id\":177}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',1),(236199,NULL,NULL,'create','App\\Business',7,'VET One',NULL,'{\"name\":\"VET One\",\"currency_id\":35,\"start_date\":\"2025-06-17\",\"owner_id\":177,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"tax_label_1\":\"VAT\",\"tax_number_1\":\"EG-VET-001\",\"logo\":\"vet-one-logo.png\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\",\\\"account\\\",\\\"service_staff\\\",\\\"types_of_service\\\",\\\"booking\\\",\\\"subscription\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":7}','[\"name\",\"currency_id\",\"start_date\",\"owner_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"tax_label_1\",\"tax_number_1\",\"logo\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236200,NULL,7,'update','App\\User',177,'Hossam Makram','[]','{\"business_id\":7}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236201,NULL,7,'create','App\\ReferenceCount',32,'#32',NULL,'{\"ref_type\":\"contacts\",\"business_id\":7,\"ref_count\":1,\"id\":32}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236202,NULL,7,'create','App\\Contact',6040,'Walk-In Customer',NULL,'{\"business_id\":7,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":177,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6040}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236203,NULL,7,'create','App\\InvoiceScheme',9,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":7,\"id\":9}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236204,NULL,7,'create','App\\InvoiceLayout',9,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":7,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":9}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236205,NULL,7,'create','App\\Unit',7,'#7',NULL,'{\"business_id\":7,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":177,\"id\":7}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236206,NULL,7,'create','App\\NotificationTemplate',60,'#60',NULL,'{\"business_id\":7,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<br \\/>\\n                    Paid amount: {received_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":60}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236207,NULL,7,'create','App\\NotificationTemplate',61,'#61',NULL,'{\"business_id\":7,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                <p>We have received a payment of {received_amount}<\\/p>\\n\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":61}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236208,NULL,7,'create','App\\NotificationTemplate',62,'#62',NULL,'{\"business_id\":7,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":62}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236209,NULL,7,'create','App\\NotificationTemplate',63,'#63',NULL,'{\"business_id\":7,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your booking is confirmed<\\/p>\\n\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\n\\n                    <p>Table: {table}<\\/p>\\n\\n                    <p>Location: {location}<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":63}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236210,NULL,7,'create','App\\NotificationTemplate',64,'#64',NULL,'{\"business_id\":7,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":64}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236211,NULL,7,'create','App\\NotificationTemplate',65,'#65',NULL,'{\"business_id\":7,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\n                    Kindly note it down.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":65}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236212,NULL,7,'create','App\\NotificationTemplate',66,'#66',NULL,'{\"business_id\":7,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":66}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236213,NULL,7,'create','App\\NotificationTemplate',67,'#67',NULL,'{\"business_id\":7,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":67}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236214,NULL,7,'create','App\\NotificationTemplate',68,'#68',NULL,'{\"business_id\":7,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":68}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236215,NULL,7,'create','App\\NotificationTemplate',69,'#69',NULL,'{\"business_id\":7,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":69}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236216,NULL,7,'create','App\\ReferenceCount',33,'#33',NULL,'{\"ref_type\":\"business_location\",\"business_id\":7,\"ref_count\":1,\"id\":33}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236217,NULL,7,'create','App\\BusinessLocation',22,'VET One Clinic — New Cairo',NULL,'{\"business_id\":7,\"name\":\"VET One Clinic \\u2014 New Cairo\",\"landmark\":\"90th Street\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":9,\"invoice_layout_id\":9,\"sale_invoice_layout_id\":9,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":22}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236218,NULL,7,'update','App\\ReferenceCount',33,'#33','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236219,NULL,7,'create','App\\BusinessLocation',23,'VET One Clinic — Maadi',NULL,'{\"business_id\":7,\"name\":\"VET One Clinic \\u2014 Maadi\",\"landmark\":\"Road 9\",\"city\":\"Maadi\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":9,\"invoice_layout_id\":9,\"sale_invoice_layout_id\":9,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0002\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":23}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236220,NULL,7,'update','App\\ReferenceCount',33,'#33','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236221,NULL,7,'create','App\\BusinessLocation',24,'VET One Central Pharmacy Store',NULL,'{\"business_id\":7,\"name\":\"VET One Central Pharmacy Store\",\"landmark\":\"Industrial Zone\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":9,\"invoice_layout_id\":9,\"sale_invoice_layout_id\":9,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0003\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":24}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236222,NULL,NULL,'create','App\\User',178,'Yasmin Fahmy',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Yasmin\",\"last_name\":\"Fahmy\",\"username\":\"vet.yasmin\",\"email\":\"vet1@vetone.test\",\"language\":\"en\",\"id\":178}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236223,NULL,7,'update','App\\User',178,'Yasmin Fahmy','[]','{\"business_id\":7}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236224,NULL,NULL,'create','App\\User',179,'Omar Sherif',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Omar\",\"last_name\":\"Sherif\",\"username\":\"vet.omar\",\"email\":\"vet2@vetone.test\",\"language\":\"en\",\"id\":179}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236225,NULL,7,'update','App\\User',179,'Omar Sherif','[]','{\"business_id\":7}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236226,NULL,NULL,'create','App\\User',180,'Salma Adel',NULL,'{\"surname\":\"Ms\",\"first_name\":\"Salma\",\"last_name\":\"Adel\",\"username\":\"reception.vetone\",\"email\":\"reception@vetone.test\",\"language\":\"en\",\"id\":180}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236227,NULL,7,'update','App\\User',180,'Salma Adel','[]','{\"business_id\":7}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236228,NULL,NULL,'create','App\\User',181,'Hany Naguib',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Hany\",\"last_name\":\"Naguib\",\"username\":\"pharmacist.vetone\",\"email\":\"pharmacy@vetone.test\",\"language\":\"en\",\"id\":181}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236229,NULL,7,'update','App\\User',181,'Hany Naguib','[]','{\"business_id\":7}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236230,NULL,NULL,'create','App\\User',182,'Tarek Fouad',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Tarek\",\"last_name\":\"Fouad\",\"username\":\"accountant.vetone\",\"email\":\"accountant@vetone.test\",\"language\":\"en\",\"id\":182}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236231,NULL,7,'update','App\\User',182,'Tarek Fouad','[]','{\"business_id\":7}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236232,NULL,7,'create','App\\Account',39,'Cash Drawer — Reception',NULL,'{\"business_id\":7,\"account_number\":\"VET-CASH-01\",\"name\":\"Cash Drawer \\u2014 Reception\",\"created_by\":177,\"is_closed\":0,\"id\":39}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236233,NULL,NULL,'create','App\\AccountTransaction',205575,'#205575',NULL,'{\"account_id\":39,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:55:44\",\"created_by\":177,\"id\":205575}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236234,NULL,7,'create','App\\Account',40,'NBE Current Account',NULL,'{\"business_id\":7,\"account_number\":\"VET-NBE-2025\",\"name\":\"NBE Current Account\",\"created_by\":177,\"is_closed\":0,\"id\":40}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236235,NULL,NULL,'create','App\\AccountTransaction',205576,'#205576',NULL,'{\"account_id\":40,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:55:44\",\"created_by\":177,\"id\":205576}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236236,NULL,7,'create','App\\Account',41,'CIB USD Account',NULL,'{\"business_id\":7,\"account_number\":\"VET-CIB-USD\",\"name\":\"CIB USD Account\",\"created_by\":177,\"is_closed\":0,\"id\":41}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236237,NULL,NULL,'create','App\\AccountTransaction',205577,'#205577',NULL,'{\"account_id\":41,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:55:44\",\"created_by\":177,\"id\":205577}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:44','315f6bac-118c-4120-a9b3-9949167eb504',0),(236238,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236239,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236240,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":3}','{\"ref_count\":4}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236241,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":4}','{\"ref_count\":5}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236242,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":5}','{\"ref_count\":6}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236243,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":6}','{\"ref_count\":7}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236244,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":7}','{\"ref_count\":8}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236245,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":8}','{\"ref_count\":9}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236246,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":9}','{\"ref_count\":10}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236247,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":10}','{\"ref_count\":11}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236248,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":11}','{\"ref_count\":12}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236249,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":12}','{\"ref_count\":13}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236250,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":13}','{\"ref_count\":14}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236251,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":14}','{\"ref_count\":15}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236252,NULL,7,'update','App\\ReferenceCount',32,'#32','{\"ref_count\":15}','{\"ref_count\":16}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:55:45','315f6bac-118c-4120-a9b3-9949167eb504',0),(236253,NULL,NULL,'create','App\\User',183,'Hossam Makram',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Hossam\",\"last_name\":\"Makram\",\"username\":\"vetone\",\"email\":\"owner@vetone.test\",\"language\":\"en\",\"id\":183}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',1),(236254,NULL,NULL,'create','App\\Business',8,'VET One',NULL,'{\"name\":\"VET One\",\"currency_id\":35,\"start_date\":\"2025-06-17\",\"owner_id\":183,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"tax_label_1\":\"VAT\",\"tax_number_1\":\"EG-VET-001\",\"logo\":\"vet-one-logo.png\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\",\\\"account\\\",\\\"service_staff\\\",\\\"types_of_service\\\",\\\"booking\\\",\\\"subscription\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":8}','[\"name\",\"currency_id\",\"start_date\",\"owner_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"tax_label_1\",\"tax_number_1\",\"logo\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236255,NULL,8,'update','App\\User',183,'Hossam Makram','[]','{\"business_id\":8}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236256,NULL,8,'create','App\\ReferenceCount',34,'#34',NULL,'{\"ref_type\":\"contacts\",\"business_id\":8,\"ref_count\":1,\"id\":34}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236257,NULL,8,'create','App\\Contact',6056,'Walk-In Customer',NULL,'{\"business_id\":8,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":183,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6056}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236258,NULL,8,'create','App\\InvoiceScheme',10,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":8,\"id\":10}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236259,NULL,8,'create','App\\InvoiceLayout',10,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":8,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":10}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236260,NULL,8,'create','App\\Unit',8,'#8',NULL,'{\"business_id\":8,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":183,\"id\":8}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236261,NULL,8,'create','App\\NotificationTemplate',70,'#70',NULL,'{\"business_id\":8,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<br \\/>\\n                    Paid amount: {received_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":70}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236262,NULL,8,'create','App\\NotificationTemplate',71,'#71',NULL,'{\"business_id\":8,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                <p>We have received a payment of {received_amount}<\\/p>\\n\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":71}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236263,NULL,8,'create','App\\NotificationTemplate',72,'#72',NULL,'{\"business_id\":8,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":72}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236264,NULL,8,'create','App\\NotificationTemplate',73,'#73',NULL,'{\"business_id\":8,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your booking is confirmed<\\/p>\\n\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\n\\n                    <p>Table: {table}<\\/p>\\n\\n                    <p>Location: {location}<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":73}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236265,NULL,8,'create','App\\NotificationTemplate',74,'#74',NULL,'{\"business_id\":8,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":74}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236266,NULL,8,'create','App\\NotificationTemplate',75,'#75',NULL,'{\"business_id\":8,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\n                    Kindly note it down.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":75}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236267,NULL,8,'create','App\\NotificationTemplate',76,'#76',NULL,'{\"business_id\":8,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":76}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236268,NULL,8,'create','App\\NotificationTemplate',77,'#77',NULL,'{\"business_id\":8,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":77}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236269,NULL,8,'create','App\\NotificationTemplate',78,'#78',NULL,'{\"business_id\":8,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":78}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236270,NULL,8,'create','App\\NotificationTemplate',79,'#79',NULL,'{\"business_id\":8,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":79}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236271,NULL,8,'create','App\\ReferenceCount',35,'#35',NULL,'{\"ref_type\":\"business_location\",\"business_id\":8,\"ref_count\":1,\"id\":35}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236272,NULL,8,'create','App\\BusinessLocation',25,'VET One Clinic — New Cairo',NULL,'{\"business_id\":8,\"name\":\"VET One Clinic \\u2014 New Cairo\",\"landmark\":\"90th Street\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":10,\"invoice_layout_id\":10,\"sale_invoice_layout_id\":10,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":25}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236273,NULL,8,'update','App\\ReferenceCount',35,'#35','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236274,NULL,8,'create','App\\BusinessLocation',26,'VET One Clinic — Maadi',NULL,'{\"business_id\":8,\"name\":\"VET One Clinic \\u2014 Maadi\",\"landmark\":\"Road 9\",\"city\":\"Maadi\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":10,\"invoice_layout_id\":10,\"sale_invoice_layout_id\":10,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0002\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":26}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236275,NULL,8,'update','App\\ReferenceCount',35,'#35','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236276,NULL,8,'create','App\\BusinessLocation',27,'VET One Central Pharmacy Store',NULL,'{\"business_id\":8,\"name\":\"VET One Central Pharmacy Store\",\"landmark\":\"Industrial Zone\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":10,\"invoice_layout_id\":10,\"sale_invoice_layout_id\":10,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0003\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":27}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236277,NULL,NULL,'create','App\\User',184,'Yasmin Fahmy',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Yasmin\",\"last_name\":\"Fahmy\",\"username\":\"vet.yasmin\",\"email\":\"vet1@vetone.test\",\"language\":\"en\",\"id\":184}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236278,NULL,8,'update','App\\User',184,'Yasmin Fahmy','[]','{\"business_id\":8}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236279,NULL,NULL,'create','App\\User',185,'Omar Sherif',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Omar\",\"last_name\":\"Sherif\",\"username\":\"vet.omar\",\"email\":\"vet2@vetone.test\",\"language\":\"en\",\"id\":185}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236280,NULL,8,'update','App\\User',185,'Omar Sherif','[]','{\"business_id\":8}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236281,NULL,NULL,'create','App\\User',186,'Salma Adel',NULL,'{\"surname\":\"Ms\",\"first_name\":\"Salma\",\"last_name\":\"Adel\",\"username\":\"reception.vetone\",\"email\":\"reception@vetone.test\",\"language\":\"en\",\"id\":186}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236282,NULL,8,'update','App\\User',186,'Salma Adel','[]','{\"business_id\":8}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236283,NULL,NULL,'create','App\\User',187,'Hany Naguib',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Hany\",\"last_name\":\"Naguib\",\"username\":\"pharmacist.vetone\",\"email\":\"pharmacy@vetone.test\",\"language\":\"en\",\"id\":187}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236284,NULL,8,'update','App\\User',187,'Hany Naguib','[]','{\"business_id\":8}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:10','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236285,NULL,NULL,'create','App\\User',188,'Tarek Fouad',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Tarek\",\"last_name\":\"Fouad\",\"username\":\"accountant.vetone\",\"email\":\"accountant@vetone.test\",\"language\":\"en\",\"id\":188}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236286,NULL,8,'update','App\\User',188,'Tarek Fouad','[]','{\"business_id\":8}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236287,NULL,8,'create','App\\Account',42,'Cash Drawer — Reception',NULL,'{\"business_id\":8,\"account_number\":\"VET-CASH-01\",\"name\":\"Cash Drawer \\u2014 Reception\",\"created_by\":183,\"is_closed\":0,\"id\":42}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236288,NULL,NULL,'create','App\\AccountTransaction',205578,'#205578',NULL,'{\"account_id\":42,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:58:11\",\"created_by\":183,\"id\":205578}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236289,NULL,8,'create','App\\Account',43,'NBE Current Account',NULL,'{\"business_id\":8,\"account_number\":\"VET-NBE-2025\",\"name\":\"NBE Current Account\",\"created_by\":183,\"is_closed\":0,\"id\":43}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236290,NULL,NULL,'create','App\\AccountTransaction',205579,'#205579',NULL,'{\"account_id\":43,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:58:11\",\"created_by\":183,\"id\":205579}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236291,NULL,8,'create','App\\Account',44,'CIB USD Account',NULL,'{\"business_id\":8,\"account_number\":\"VET-CIB-USD\",\"name\":\"CIB USD Account\",\"created_by\":183,\"is_closed\":0,\"id\":44}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236292,NULL,NULL,'create','App\\AccountTransaction',205580,'#205580',NULL,'{\"account_id\":44,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-17 23:58:11\",\"created_by\":183,\"id\":205580}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236293,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236294,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236295,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":3}','{\"ref_count\":4}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236296,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":4}','{\"ref_count\":5}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236297,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":5}','{\"ref_count\":6}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236298,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":6}','{\"ref_count\":7}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236299,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":7}','{\"ref_count\":8}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236300,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":8}','{\"ref_count\":9}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236301,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":9}','{\"ref_count\":10}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:11','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236302,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":10}','{\"ref_count\":11}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:12','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236303,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":11}','{\"ref_count\":12}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:12','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236304,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":12}','{\"ref_count\":13}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:12','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236305,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":13}','{\"ref_count\":14}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:12','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236306,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":14}','{\"ref_count\":15}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:12','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236307,NULL,8,'update','App\\ReferenceCount',34,'#34','{\"ref_count\":15}','{\"ref_count\":16}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:12','16ca195a-2036-49cd-9864-eea4d167fd91',0),(236308,NULL,8,'update','Modules\\VetAdmission\\Entities\\VaAdmission',13,'#13','{\"discharged_at\":null,\"status\":\"admitted\",\"discharge_summary\":null}','{\"discharged_at\":\"2026-06-17 23:58:50\",\"status\":\"discharged\",\"discharge_summary\":\"smoke test\"}','[\"discharged_at\",\"status\",\"discharge_summary\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:58:50','a73b84c4-6ba6-42d3-a75b-0780d2f7e377',1),(236309,NULL,8,'create','App\\Transaction',295348,'ADM-ADM-0003',NULL,'{\"business_id\":8,\"location_id\":25,\"type\":\"sell\",\"status\":\"draft\",\"sub_status\":null,\"invoice_no\":\"ADM-ADM-0003\",\"contact_id\":6062,\"transaction_date\":\"2026-06-17T20:59:49.023308Z\",\"total_before_tax\":0,\"final_total\":0,\"created_by\":183,\"id\":295348}','[\"business_id\",\"location_id\",\"type\",\"status\",\"sub_status\",\"invoice_no\",\"contact_id\",\"transaction_date\",\"total_before_tax\",\"final_total\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',1),(236310,NULL,8,'update','Modules\\VetAdmission\\Entities\\VaAdmission',15,'#15','{\"erp_sell_id\":null}','{\"erp_sell_id\":295348}','[\"erp_sell_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236311,NULL,NULL,'create','App\\TransactionSellLine',366907,'#366907',NULL,'{\"transaction_id\":295348,\"product_id\":15809,\"variation_id\":15793,\"quantity\":1,\"unit_price\":300,\"unit_price_inc_tax\":300,\"id\":366907}','[\"transaction_id\",\"product_id\",\"variation_id\",\"quantity\",\"unit_price\",\"unit_price_inc_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236312,NULL,8,'update','App\\Transaction',295348,'ADM-ADM-0003','{\"total_before_tax\":\"0.0000\",\"final_total\":\"0.0000\"}','{\"total_before_tax\":\"300.00000000\",\"final_total\":\"300.00000000\"}','[\"total_before_tax\",\"final_total\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236313,NULL,NULL,'create','App\\TransactionSellLine',366908,'#366908',NULL,'{\"transaction_id\":295348,\"product_id\":15809,\"variation_id\":15793,\"quantity\":1,\"unit_price\":300,\"unit_price_inc_tax\":300,\"id\":366908}','[\"transaction_id\",\"product_id\",\"variation_id\",\"quantity\",\"unit_price\",\"unit_price_inc_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236314,NULL,8,'update','App\\Transaction',295348,'ADM-ADM-0003','{\"total_before_tax\":\"300.0000\",\"final_total\":\"300.0000\"}','{\"total_before_tax\":\"600.00000000\",\"final_total\":\"600.00000000\"}','[\"total_before_tax\",\"final_total\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236315,NULL,8,'update','Modules\\VetAdmission\\Entities\\VaAdmission',15,'#15','{\"last_daily_post_date\":null}','{\"last_daily_post_date\":\"2026-06-17\"}','[\"last_daily_post_date\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236316,NULL,8,'update','Modules\\VetAdmission\\Entities\\VaAdmission',15,'#15','{\"discharged_at\":null,\"status\":\"admitted\",\"discharge_summary\":null}','{\"discharged_at\":\"2026-06-17 23:59:49\",\"status\":\"discharged\",\"discharge_summary\":\"smoke test 2\"}','[\"discharged_at\",\"status\",\"discharge_summary\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236317,NULL,8,'update','App\\Transaction',295348,'ADM-ADM-0003','{\"status\":\"draft\",\"transaction_date\":\"2026-06-17 23:59:49\"}','{\"status\":\"final\",\"transaction_date\":\"2026-06-17T20:59:49.000000Z\"}','[\"status\",\"transaction_date\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236318,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',37,'invoice_created',NULL,'{\"business_id\":8,\"name\":\"invoice_created\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83e\\uddfe *{business_name}*\\n\\nHi {contact_name}, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* {invoice_number}\\n*Total:* {total_amount}\\n*Paid:* {paid_amount}\\n*Balance due:* {due_amount}\\n\\n\\ud83d\\udcc4 View or download your invoice:\\n{invoice_url}\\n\\nWe appreciate your business \\u2014 just reply to this message if you have any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"total_amount\\\",\\\"paid_amount\\\",\\\"due_amount\\\",\\\"invoice_url\\\"]\",\"active\":true,\"id\":37}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236319,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',38,'payment_received',NULL,'{\"business_id\":8,\"name\":\"payment_received\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u2705 *Payment received* \\u2014 {business_name}\\n\\nHi {contact_name}, we\'ve received your payment of *{received_amount}* for invoice {invoice_number}.\\n\\n*Remaining balance:* {due_amount}\\n\\nThank you! Reply here if you need anything.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"received_amount\\\",\\\"invoice_number\\\",\\\"due_amount\\\"]\",\"active\":true,\"id\":38}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236320,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',39,'sale_return',NULL,'{\"business_id\":8,\"name\":\"sale_return\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u21a9\\ufe0f *Return processed* \\u2014 {business_name}\\n\\nHi {contact_name}, your return for invoice {invoice_number} has been processed.\\n\\n*Updated balance:* {due_amount}\\n\\nThank you for giving us the chance to help. Reply with any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"due_amount\\\"]\",\"active\":true,\"id\":39}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236321,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',40,'appointment_booked',NULL,'{\"business_id\":8,\"name\":\"appointment_booked\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* is booked:\\n\\n\\ud83d\\uddd3 *Date:* {appointment_date}\\n\\u23f0 *Time:* {appointment_time}\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* {doctor_name}\\n\\ud83d\\udccd {location_name}\\nRef: {ref_no}\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\",\\\"ref_no\\\"]\",\"active\":true,\"id\":40}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236322,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',41,'appointment_reminder',NULL,'{\"business_id\":8,\"name\":\"appointment_reminder\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u23f0 *Appointment reminder* \\u2014 {clinic_name}\\n\\nHi {owner_name}, a friendly reminder of *{pet_name}*\'s appointment:\\n\\n\\ud83d\\uddd3 {appointment_date} at \\u23f0 {appointment_time}\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f {doctor_name}\\n\\ud83d\\udccd {location_name}\\n\\nSee you soon! Reply to reschedule or cancel.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\"]\",\"active\":true,\"id\":41}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236323,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',42,'appointment_cancelled',NULL,'{\"business_id\":8,\"name\":\"appointment_cancelled\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u274c *Appointment cancelled* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* on {appointment_date} at {appointment_time} has been cancelled.\\n\\nReply here to book a new time \\u2014 we\'d be happy to help.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\"]\",\"active\":true,\"id\":42}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236324,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',43,'appointment_rescheduled',NULL,'{\"business_id\":8,\"name\":\"appointment_rescheduled\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd04 *Appointment rescheduled* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* has been moved to:\\n\\n\\ud83d\\uddd3 *{appointment_date}* at \\u23f0 *{appointment_time}*\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f {doctor_name}\\n\\ud83d\\udccd {location_name}\\n\\nReply if this time doesn\'t work for you.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\"]\",\"active\":true,\"id\":43}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236325,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',44,'appointment_followup',NULL,'{\"business_id\":8,\"name\":\"appointment_followup\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc9a *Thank you for visiting* \\u2014 {clinic_name}\\n\\nHi {owner_name}, we hope *{pet_name}* is doing well after the visit with {doctor_name}.\\n\\nIf you have any questions or concerns, just reply to this message \\u2014 we\'re here to help. \\ud83d\\udc3e\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"doctor_name\\\"]\",\"active\":true,\"id\":44}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236326,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',45,'quotation_sent',NULL,'{\"business_id\":8,\"name\":\"quotation_sent\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udcdd *Your quotation* \\u2014 {business_name}\\n\\nHi {contact_name}, here is the quotation you requested.\\n\\n*Total:* {total_amount}\\n\\n\\ud83d\\udcc4 View the full quotation:\\n{quote_url}\\n\\nReply to confirm or if you\'d like any changes.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"total_amount\\\",\\\"quote_url\\\"]\",\"active\":true,\"id\":45}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236327,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',46,'payment_due_reminder',NULL,'{\"business_id\":8,\"name\":\"payment_due_reminder\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd14 *Payment reminder* \\u2014 {business_name}\\n\\nHi {contact_name}, a friendly reminder that invoice {invoice_number} has an outstanding balance.\\n\\n*Amount due:* {due_amount}\\n*Due date:* {due_date}\\n\\n\\ud83d\\udcc4 View invoice: {invoice_url}\\n\\nPlease reply if you\'ve already paid or need assistance. Thank you!\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"due_amount\\\",\\\"due_date\\\",\\\"invoice_url\\\"]\",\"active\":true,\"id\":46}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236328,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',47,'shipment_status',NULL,'{\"business_id\":8,\"name\":\"shipment_status\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\ude9a *Delivery update* \\u2014 {business_name}\\n\\nHi {contact_name}, the status of your order {invoice_number} is now: *{shipping_status}*.\\n\\nReply to this message if you have any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"shipping_status\\\"]\",\"active\":true,\"id\":47}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236329,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',48,'po_sent',NULL,'{\"business_id\":8,\"name\":\"po_sent\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udce6 *Purchase Order* \\u2014 {business_name}\\n\\nHi {contact_name}, we\'ve issued purchase order {order_ref_number}.\\n\\n*Total:* {total_amount}\\n\\nPlease confirm receipt and expected delivery. Thank you for partnering with us.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"order_ref_number\\\",\\\"total_amount\\\"]\",\"active\":true,\"id\":48}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236330,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',49,'lab_results_ready',NULL,'{\"business_id\":8,\"name\":\"lab_results_ready\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd2c *Lab results ready* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the lab results for *{pet_name}* (sample {sample_no}) are ready.\\n\\nPlease contact the clinic or reply here to discuss the results with your veterinarian.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"sample_no\\\"]\",\"active\":true,\"id\":49}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236331,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',50,'vaccination_due',NULL,'{\"business_id\":8,\"name\":\"vaccination_due\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc89 *Vaccination reminder* \\u2014 {clinic_name}\\n\\nHi {owner_name}, *{pet_name}*\'s *{vaccine_name}* vaccination is due on *{due_date}*.\\n\\nReply to book an appointment \\u2014 keeping {pet_name} protected and healthy. \\ud83d\\udc3e\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"vaccine_name\\\",\\\"due_date\\\"]\",\"active\":true,\"id\":50}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236332,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',51,'contact_welcome',NULL,'{\"business_id\":8,\"name\":\"contact_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc4b *Welcome to {business_name}!*\\n\\nHi {contact_name}, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\"]\",\"active\":true,\"id\":51}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236333,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',52,'pet_owner_welcome',NULL,'{\"business_id\":8,\"name\":\"pet_owner_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc3e *Welcome to {clinic_name}!*\\n\\nHi {owner_name}, thank you for trusting us with your pet\'s care. \\ud83d\\udc9a\\n\\nWe\'ll keep you updated about appointments, vaccinations and reminders right here on WhatsApp.\\nReply anytime \\u2014 we\'re happy to help.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\"]\",\"active\":true,\"id\":52}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236334,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',53,'pet_welcome',NULL,'{\"business_id\":8,\"name\":\"pet_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, {pet_name}!*\\n\\nHi {owner_name}, *{pet_name}* has been added to your profile at {clinic_name}.\\n\\nWe\'ll help you keep {pet_name} healthy with timely checkups, vaccinations and reminders.\\nReply anytime to book a visit. \\ud83d\\udc9a\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\"]\",\"active\":true,\"id\":53}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236335,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaTemplate',54,'pet_birthday',NULL,'{\"business_id\":8,\"name\":\"pet_birthday\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Happy Birthday {pet_name}!* \\ud83c\\udf82\\n\\nHi {owner_name}, all of us at {clinic_name} are wishing *{pet_name}* a wonderful birthday!\\n\\nThank you for trusting us with {pet_name}\'s care. Reply for a birthday check-up. \\ud83d\\udc9a\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\"]\",\"active\":true,\"id\":54}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236336,NULL,8,'update','App\\Transaction',295348,'ADM-ADM-0003','{\"invoice_token\":null}','{\"invoice_token\":\"75f291f9a29e1d9064b3942a12a8e20c\"}','[\"invoice_token\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236337,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaContact',60,'#60',NULL,'{\"business_id\":8,\"wa_id\":\"201092288093\",\"id\":60}','[\"business_id\",\"wa_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236338,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaMessage',162,'#162',NULL,'{\"business_id\":8,\"channel_id\":null,\"contact_id\":60,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83e\\uddfe *VET One*\\n\\nHi Karim Adel, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* ADM-ADM-0003\\n*Total:*  600\\n*Paid:*  0\\n*Balance due:*  600\\n\\n\\ud83d\\udcc4 View or download your invoice:\\nhttps:\\/\\/localhost\\/vet-one\\/public\\/invoice\\/75f291f9a29e1d9064b3942a12a8e20c\\n\\nWe appreciate your business \\u2014 just reply to this message if you have any questions.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"invoice\",\"dedupe_key\":\"invoice:295348\",\"available_at\":\"2026-06-17 23:59:49\",\"created_by\":null,\"id\":162}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236339,NULL,8,'create','Modules\\WhatsApp\\Entities\\WaConversation',55,'#55',NULL,'{\"business_id\":8,\"channel_id\":null,\"wa_id\":\"201092288093\",\"status\":\"open\",\"ai_enabled\":true,\"id\":55}','[\"business_id\",\"channel_id\",\"wa_id\",\"status\",\"ai_enabled\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236340,NULL,8,'update','Modules\\WhatsApp\\Entities\\WaConversation',55,'#55','[]','{\"contact_id\":60}','[\"contact_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236341,NULL,8,'update','Modules\\WhatsApp\\Entities\\WaMessage',162,'#162','[]','{\"conversation_id\":55}','[\"conversation_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236342,NULL,8,'update','Modules\\WhatsApp\\Entities\\WaConversation',55,'#55','[]','{\"last_direction\":\"out\",\"last_message_excerpt\":\"\\ud83e\\uddfe *VET One*\\n\\nHi Karim Adel, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* ADM-ADM-0003\\n*Total:*  600\\n*Paid:*  0\\n*Balance due:*  600\\n\\n\\ud83d\\udcc4 View or download your invoice:\\nhttps:\\/\\/localh...\",\"last_message_at\":\"2026-06-17 23:59:49\"}','[\"last_direction\",\"last_message_excerpt\",\"last_message_at\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 20:59:49','8458cd45-acf8-4837-b36b-6525a8715084',0),(236343,NULL,NULL,'create','App\\User',189,'Hossam Makram',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Hossam\",\"last_name\":\"Makram\",\"username\":\"vetone\",\"email\":\"owner@vetone.test\",\"language\":\"en\",\"id\":189}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',1),(236344,NULL,NULL,'create','App\\Business',9,'VET One',NULL,'{\"name\":\"VET One\",\"currency_id\":35,\"start_date\":\"2025-06-18\",\"owner_id\":189,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"tax_label_1\":\"VAT\",\"tax_number_1\":\"EG-VET-001\",\"logo\":\"vet-one-logo.png\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\",\\\"account\\\",\\\"service_staff\\\",\\\"types_of_service\\\",\\\"booking\\\",\\\"subscription\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":9}','[\"name\",\"currency_id\",\"start_date\",\"owner_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"tax_label_1\",\"tax_number_1\",\"logo\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236345,NULL,9,'update','App\\User',189,'Hossam Makram','[]','{\"business_id\":9}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236346,NULL,9,'create','App\\ReferenceCount',36,'#36',NULL,'{\"ref_type\":\"contacts\",\"business_id\":9,\"ref_count\":1,\"id\":36}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236347,NULL,9,'create','App\\Contact',6072,'Walk-In Customer',NULL,'{\"business_id\":9,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":189,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6072}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236348,NULL,9,'create','App\\InvoiceScheme',11,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":9,\"id\":11}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236349,NULL,9,'create','App\\InvoiceLayout',11,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":9,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":11}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236350,NULL,9,'create','App\\Unit',9,'#9',NULL,'{\"business_id\":9,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":189,\"id\":9}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236351,NULL,9,'create','App\\NotificationTemplate',80,'#80',NULL,'{\"business_id\":9,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<br \\/>\\n                    Paid amount: {received_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":80}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236352,NULL,9,'create','App\\NotificationTemplate',81,'#81',NULL,'{\"business_id\":9,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                <p>We have received a payment of {received_amount}<\\/p>\\n\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":81}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236353,NULL,9,'create','App\\NotificationTemplate',82,'#82',NULL,'{\"business_id\":9,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":82}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236354,NULL,9,'create','App\\NotificationTemplate',83,'#83',NULL,'{\"business_id\":9,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your booking is confirmed<\\/p>\\n\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\n\\n                    <p>Table: {table}<\\/p>\\n\\n                    <p>Location: {location}<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":83}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236355,NULL,9,'create','App\\NotificationTemplate',84,'#84',NULL,'{\"business_id\":9,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":84}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236356,NULL,9,'create','App\\NotificationTemplate',85,'#85',NULL,'{\"business_id\":9,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\n                    Kindly note it down.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":85}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236357,NULL,9,'create','App\\NotificationTemplate',86,'#86',NULL,'{\"business_id\":9,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":86}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236358,NULL,9,'create','App\\NotificationTemplate',87,'#87',NULL,'{\"business_id\":9,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":87}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236359,NULL,9,'create','App\\NotificationTemplate',88,'#88',NULL,'{\"business_id\":9,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":88}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236360,NULL,9,'create','App\\NotificationTemplate',89,'#89',NULL,'{\"business_id\":9,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":89}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236361,NULL,9,'create','App\\ReferenceCount',37,'#37',NULL,'{\"ref_type\":\"business_location\",\"business_id\":9,\"ref_count\":1,\"id\":37}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236362,NULL,9,'create','App\\BusinessLocation',28,'VET One Clinic — New Cairo',NULL,'{\"business_id\":9,\"name\":\"VET One Clinic \\u2014 New Cairo\",\"landmark\":\"90th Street\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":11,\"invoice_layout_id\":11,\"sale_invoice_layout_id\":11,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":28}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236363,NULL,9,'update','App\\ReferenceCount',37,'#37','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236364,NULL,9,'create','App\\BusinessLocation',29,'VET One Clinic — Maadi',NULL,'{\"business_id\":9,\"name\":\"VET One Clinic \\u2014 Maadi\",\"landmark\":\"Road 9\",\"city\":\"Maadi\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":11,\"invoice_layout_id\":11,\"sale_invoice_layout_id\":11,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0002\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":29}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236365,NULL,9,'update','App\\ReferenceCount',37,'#37','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236366,NULL,9,'create','App\\BusinessLocation',30,'VET One Central Pharmacy Store',NULL,'{\"business_id\":9,\"name\":\"VET One Central Pharmacy Store\",\"landmark\":\"Industrial Zone\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":11,\"invoice_layout_id\":11,\"sale_invoice_layout_id\":11,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0003\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":30}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:01','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236367,NULL,NULL,'create','App\\User',190,'Yasmin Fahmy',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Yasmin\",\"last_name\":\"Fahmy\",\"username\":\"vet.yasmin\",\"email\":\"vet1@vetone.test\",\"language\":\"en\",\"id\":190}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236368,NULL,9,'update','App\\User',190,'Yasmin Fahmy','[]','{\"business_id\":9}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236369,NULL,NULL,'create','App\\User',191,'Omar Sherif',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Omar\",\"last_name\":\"Sherif\",\"username\":\"vet.omar\",\"email\":\"vet2@vetone.test\",\"language\":\"en\",\"id\":191}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236370,NULL,9,'update','App\\User',191,'Omar Sherif','[]','{\"business_id\":9}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236371,NULL,NULL,'create','App\\User',192,'Salma Adel',NULL,'{\"surname\":\"Ms\",\"first_name\":\"Salma\",\"last_name\":\"Adel\",\"username\":\"reception.vetone\",\"email\":\"reception@vetone.test\",\"language\":\"en\",\"id\":192}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236372,NULL,9,'update','App\\User',192,'Salma Adel','[]','{\"business_id\":9}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236373,NULL,NULL,'create','App\\User',193,'Hany Naguib',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Hany\",\"last_name\":\"Naguib\",\"username\":\"pharmacist.vetone\",\"email\":\"pharmacy@vetone.test\",\"language\":\"en\",\"id\":193}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236374,NULL,9,'update','App\\User',193,'Hany Naguib','[]','{\"business_id\":9}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236375,NULL,NULL,'create','App\\User',194,'Tarek Fouad',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Tarek\",\"last_name\":\"Fouad\",\"username\":\"accountant.vetone\",\"email\":\"accountant@vetone.test\",\"language\":\"en\",\"id\":194}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236376,NULL,9,'update','App\\User',194,'Tarek Fouad','[]','{\"business_id\":9}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236377,NULL,9,'create','App\\Account',45,'Cash Drawer — Reception',NULL,'{\"business_id\":9,\"account_number\":\"VET-CASH-01\",\"name\":\"Cash Drawer \\u2014 Reception\",\"created_by\":189,\"is_closed\":0,\"id\":45}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236378,NULL,NULL,'create','App\\AccountTransaction',205581,'#205581',NULL,'{\"account_id\":45,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-18 00:00:02\",\"created_by\":189,\"id\":205581}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236379,NULL,9,'create','App\\Account',46,'NBE Current Account',NULL,'{\"business_id\":9,\"account_number\":\"VET-NBE-2025\",\"name\":\"NBE Current Account\",\"created_by\":189,\"is_closed\":0,\"id\":46}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236380,NULL,NULL,'create','App\\AccountTransaction',205582,'#205582',NULL,'{\"account_id\":46,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-18 00:00:02\",\"created_by\":189,\"id\":205582}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236381,NULL,9,'create','App\\Account',47,'CIB USD Account',NULL,'{\"business_id\":9,\"account_number\":\"VET-CIB-USD\",\"name\":\"CIB USD Account\",\"created_by\":189,\"is_closed\":0,\"id\":47}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236382,NULL,NULL,'create','App\\AccountTransaction',205583,'#205583',NULL,'{\"account_id\":47,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-18 00:00:02\",\"created_by\":189,\"id\":205583}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:02','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236383,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236384,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236385,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":3}','{\"ref_count\":4}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236386,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":4}','{\"ref_count\":5}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236387,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":5}','{\"ref_count\":6}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236388,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":6}','{\"ref_count\":7}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236389,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":7}','{\"ref_count\":8}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236390,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":8}','{\"ref_count\":9}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236391,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":9}','{\"ref_count\":10}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236392,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":10}','{\"ref_count\":11}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236393,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":11}','{\"ref_count\":12}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236394,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":12}','{\"ref_count\":13}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236395,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":13}','{\"ref_count\":14}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236396,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":14}','{\"ref_count\":15}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236397,NULL,9,'update','App\\ReferenceCount',36,'#36','{\"ref_count\":15}','{\"ref_count\":16}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:00:03','a0215e89-04cc-4716-8cc4-4a8973482da9',0),(236398,NULL,NULL,'create','App\\User',195,'Hossam Makram',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Hossam\",\"last_name\":\"Makram\",\"username\":\"vetone\",\"email\":\"owner@vetone.test\",\"language\":\"en\",\"id\":195}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',1),(236399,NULL,NULL,'create','App\\Business',10,'VET One',NULL,'{\"name\":\"VET One\",\"currency_id\":35,\"start_date\":\"2025-06-18\",\"owner_id\":195,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"tax_label_1\":\"VAT\",\"tax_number_1\":\"EG-VET-001\",\"logo\":\"vet-one-logo.png\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\",\\\"account\\\",\\\"service_staff\\\",\\\"types_of_service\\\",\\\"booking\\\",\\\"subscription\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":10}','[\"name\",\"currency_id\",\"start_date\",\"owner_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"tax_label_1\",\"tax_number_1\",\"logo\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236400,NULL,10,'update','App\\User',195,'Hossam Makram','[]','{\"business_id\":10}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236401,NULL,10,'create','App\\ReferenceCount',38,'#38',NULL,'{\"ref_type\":\"contacts\",\"business_id\":10,\"ref_count\":1,\"id\":38}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236402,NULL,10,'create','App\\Contact',6088,'Walk-In Customer',NULL,'{\"business_id\":10,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":195,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6088}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236403,NULL,10,'create','App\\InvoiceScheme',12,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":10,\"id\":12}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236404,NULL,10,'create','App\\InvoiceLayout',12,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":10,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":12}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236405,NULL,10,'create','App\\Unit',10,'#10',NULL,'{\"business_id\":10,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":195,\"id\":10}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236406,NULL,10,'create','App\\NotificationTemplate',90,'#90',NULL,'{\"business_id\":10,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<br \\/>\\n                    Paid amount: {received_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":90}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236407,NULL,10,'create','App\\NotificationTemplate',91,'#91',NULL,'{\"business_id\":10,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                <p>We have received a payment of {received_amount}<\\/p>\\n\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":91}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236408,NULL,10,'create','App\\NotificationTemplate',92,'#92',NULL,'{\"business_id\":10,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":92}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236409,NULL,10,'create','App\\NotificationTemplate',93,'#93',NULL,'{\"business_id\":10,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your booking is confirmed<\\/p>\\n\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\n\\n                    <p>Table: {table}<\\/p>\\n\\n                    <p>Location: {location}<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":93}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236410,NULL,10,'create','App\\NotificationTemplate',94,'#94',NULL,'{\"business_id\":10,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":94}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236411,NULL,10,'create','App\\NotificationTemplate',95,'#95',NULL,'{\"business_id\":10,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\n                    Kindly note it down.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":95}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236412,NULL,10,'create','App\\NotificationTemplate',96,'#96',NULL,'{\"business_id\":10,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":96}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236413,NULL,10,'create','App\\NotificationTemplate',97,'#97',NULL,'{\"business_id\":10,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\n\\n                    <p>{business_name}<br \\/>\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":97}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236414,NULL,10,'create','App\\NotificationTemplate',98,'#98',NULL,'{\"business_id\":10,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\n                    Total amount: {total_amount}<\\/p>\\n\\n                    <p>Thank you for shopping with us.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\\n\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":98}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236415,NULL,10,'create','App\\NotificationTemplate',99,'#99',NULL,'{\"business_id\":10,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\n\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\n\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":99}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236416,NULL,10,'create','App\\ReferenceCount',39,'#39',NULL,'{\"ref_type\":\"business_location\",\"business_id\":10,\"ref_count\":1,\"id\":39}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236417,NULL,10,'create','App\\BusinessLocation',31,'VET One Clinic — New Cairo',NULL,'{\"business_id\":10,\"name\":\"VET One Clinic \\u2014 New Cairo\",\"landmark\":\"90th Street\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":12,\"invoice_layout_id\":12,\"sale_invoice_layout_id\":12,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":31}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236418,NULL,10,'update','App\\ReferenceCount',39,'#39','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236419,NULL,10,'create','App\\BusinessLocation',32,'VET One Clinic — Maadi',NULL,'{\"business_id\":10,\"name\":\"VET One Clinic \\u2014 Maadi\",\"landmark\":\"Road 9\",\"city\":\"Maadi\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":12,\"invoice_layout_id\":12,\"sale_invoice_layout_id\":12,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0002\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":32}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236420,NULL,10,'update','App\\ReferenceCount',39,'#39','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236421,NULL,10,'create','App\\BusinessLocation',33,'VET One Central Pharmacy Store',NULL,'{\"business_id\":10,\"name\":\"VET One Central Pharmacy Store\",\"landmark\":\"Industrial Zone\",\"city\":\"New Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11835\",\"country\":\"Egypt\",\"invoice_scheme_id\":12,\"invoice_layout_id\":12,\"sale_invoice_layout_id\":12,\"mobile\":\"+201092288093\",\"alternate_number\":\"\",\"website\":\"https:\\/\\/vetone.test\",\"email\":\"\",\"location_id\":\"BL0003\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":33}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:53','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236422,NULL,NULL,'create','App\\User',196,'Yasmin Fahmy',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Yasmin\",\"last_name\":\"Fahmy\",\"username\":\"vet.yasmin\",\"email\":\"vet1@vetone.test\",\"language\":\"en\",\"id\":196}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236423,NULL,10,'update','App\\User',196,'Yasmin Fahmy','[]','{\"business_id\":10}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236424,NULL,NULL,'create','App\\User',197,'Omar Sherif',NULL,'{\"surname\":\"Dr\",\"first_name\":\"Omar\",\"last_name\":\"Sherif\",\"username\":\"vet.omar\",\"email\":\"vet2@vetone.test\",\"language\":\"en\",\"id\":197}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236425,NULL,10,'update','App\\User',197,'Omar Sherif','[]','{\"business_id\":10}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236426,NULL,NULL,'create','App\\User',198,'Salma Adel',NULL,'{\"surname\":\"Ms\",\"first_name\":\"Salma\",\"last_name\":\"Adel\",\"username\":\"reception.vetone\",\"email\":\"reception@vetone.test\",\"language\":\"en\",\"id\":198}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236427,NULL,10,'update','App\\User',198,'Salma Adel','[]','{\"business_id\":10}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236428,NULL,NULL,'create','App\\User',199,'Hany Naguib',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Hany\",\"last_name\":\"Naguib\",\"username\":\"pharmacist.vetone\",\"email\":\"pharmacy@vetone.test\",\"language\":\"en\",\"id\":199}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236429,NULL,10,'update','App\\User',199,'Hany Naguib','[]','{\"business_id\":10}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236430,NULL,NULL,'create','App\\User',200,'Tarek Fouad',NULL,'{\"surname\":\"Mr\",\"first_name\":\"Tarek\",\"last_name\":\"Fouad\",\"username\":\"accountant.vetone\",\"email\":\"accountant@vetone.test\",\"language\":\"en\",\"id\":200}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236431,NULL,10,'update','App\\User',200,'Tarek Fouad','[]','{\"business_id\":10}','[\"business_id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236432,NULL,10,'create','App\\Account',48,'Cash Drawer — Reception',NULL,'{\"business_id\":10,\"account_number\":\"VET-CASH-01\",\"name\":\"Cash Drawer \\u2014 Reception\",\"created_by\":195,\"is_closed\":0,\"id\":48}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236433,NULL,NULL,'create','App\\AccountTransaction',205584,'#205584',NULL,'{\"account_id\":48,\"amount\":80000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-18 00:11:54\",\"created_by\":195,\"id\":205584}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236434,NULL,10,'create','App\\Account',49,'NBE Current Account',NULL,'{\"business_id\":10,\"account_number\":\"VET-NBE-2025\",\"name\":\"NBE Current Account\",\"created_by\":195,\"is_closed\":0,\"id\":49}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236435,NULL,NULL,'create','App\\AccountTransaction',205585,'#205585',NULL,'{\"account_id\":49,\"amount\":1500000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-18 00:11:54\",\"created_by\":195,\"id\":205585}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236436,NULL,10,'create','App\\Account',50,'CIB USD Account',NULL,'{\"business_id\":10,\"account_number\":\"VET-CIB-USD\",\"name\":\"CIB USD Account\",\"created_by\":195,\"is_closed\":0,\"id\":50}','[\"business_id\",\"account_number\",\"name\",\"created_by\",\"is_closed\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236437,NULL,NULL,'create','App\\AccountTransaction',205586,'#205586',NULL,'{\"account_id\":50,\"amount\":300000,\"type\":\"opening_balance\",\"sub_type\":null,\"operation_date\":\"2025-06-18 00:11:54\",\"created_by\":195,\"id\":205586}','[\"account_id\",\"amount\",\"type\",\"sub_type\",\"operation_date\",\"created_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236438,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":1}','{\"ref_count\":2}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236439,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":2}','{\"ref_count\":3}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236440,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":3}','{\"ref_count\":4}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236441,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":4}','{\"ref_count\":5}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236442,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":5}','{\"ref_count\":6}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236443,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":6}','{\"ref_count\":7}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236444,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":7}','{\"ref_count\":8}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236445,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":8}','{\"ref_count\":9}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236446,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":9}','{\"ref_count\":10}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236447,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":10}','{\"ref_count\":11}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236448,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":11}','{\"ref_count\":12}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236449,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":12}','{\"ref_count\":13}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236450,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":13}','{\"ref_count\":14}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236451,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":14}','{\"ref_count\":15}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236452,NULL,10,'update','App\\ReferenceCount',38,'#38','{\"ref_count\":15}','{\"ref_count\":16}','[\"ref_count\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-17 21:11:54','30c8396e-ac7b-4947-89b4-8922be8de8f3',0),(236453,NULL,10,'create','Modules\\VetClinic\\Entities\\VcAppointmentExamFinding',1,'#1',NULL,'{\"appointment_id\":91,\"template_item_id\":2,\"side\":null,\"business_id\":10,\"template_id\":1,\"region_snapshot\":\"General\",\"item_label_snapshot\":\"Demeanour\",\"value\":\"depressed\",\"numeric_value\":null,\"severity\":3,\"is_critical\":true,\"recorded_by\":1,\"id\":1}','[\"appointment_id\",\"template_item_id\",\"side\",\"business_id\",\"template_id\",\"region_snapshot\",\"item_label_snapshot\",\"value\",\"numeric_value\",\"severity\",\"is_critical\",\"recorded_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 00:10:41','22a9132d-66f4-494d-a804-bed8f3ae22f7',1),(236454,NULL,10,'create','Modules\\VetClinic\\Entities\\VcAppointmentExamFinding',2,'#2',NULL,'{\"appointment_id\":91,\"template_item_id\":28,\"side\":\"L\",\"business_id\":10,\"template_id\":1,\"region_snapshot\":\"Respiratory\",\"item_label_snapshot\":\"Lung sounds\",\"value\":\"clear\",\"numeric_value\":null,\"severity\":0,\"is_critical\":false,\"recorded_by\":1,\"id\":2}','[\"appointment_id\",\"template_item_id\",\"side\",\"business_id\",\"template_id\",\"region_snapshot\",\"item_label_snapshot\",\"value\",\"numeric_value\",\"severity\",\"is_critical\",\"recorded_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 00:17:50','f65feb9f-5bcd-49ea-a971-677f98b038e4',1),(236455,NULL,10,'create','Modules\\VetClinic\\Entities\\VcAppointmentExamFinding',3,'#3',NULL,'{\"appointment_id\":91,\"template_item_id\":28,\"side\":\"R\",\"business_id\":10,\"template_id\":1,\"region_snapshot\":\"Respiratory\",\"item_label_snapshot\":\"Lung sounds\",\"value\":\"absent\",\"numeric_value\":null,\"severity\":3,\"is_critical\":true,\"recorded_by\":1,\"id\":3}','[\"appointment_id\",\"template_item_id\",\"side\",\"business_id\",\"template_id\",\"region_snapshot\",\"item_label_snapshot\",\"value\",\"numeric_value\",\"severity\",\"is_critical\",\"recorded_by\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 00:17:50','f65feb9f-5bcd-49ea-a971-677f98b038e4',0),(236456,195,10,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6',NULL,'{\"user_id\":195,\"business_id\":10,\"token_hash\":\"6a2fd190aac60850ee08ddc962cf2e66e77838c7b09e4746d5ee243f3654a3cf\",\"user_agent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/149.0.0.0 Safari\\/537.36\",\"ip\":\"::1\",\"expires_at\":\"2026-07-18 03:20:06\",\"id\":6}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/auth/password','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:20:06','92c37cdb-58fe-4be6-8152-4d2d34fdae12',1),(236457,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-18 03:20:07\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:20:07','c29b537d-a5a1-4c23-8fef-b605835c73fc',1),(236458,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-18 03:20:07\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/summary','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:20:07','63a96272-76a7-48f2-aa2f-f4a8eb5054d7',1),(236459,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:20:07.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:20:28\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients?q=','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:20:28','4b7fca7c-2c5f-47f2-8368-6b52fe95e5be',1),(236460,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:20:28.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:20:46\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/70/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:20:46','80ffd506-1922-4222-955a-bebe790b6113',1),(236461,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:20:46.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:21:12\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/booking/meta','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:21:12','bca6bfba-8cd8-4cf4-a02f-51041edbd4ba',1),(236462,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:21:12.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:21:28\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/booking/departments?date=2026-06-18&location_id=12','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:21:28','1bb2317d-d5ac-49d5-a9ae-710bf8957634',1),(236463,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:21:28.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:21:38\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/booking/doctors?date=2026-06-18&department_id=22&location_id=12','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:21:38','5a0de44a-2d6a-4cb2-96c5-fdc903aaa2b9',1),(236464,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:21:38.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:21:50\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/booking/slots?date=2026-06-18&department_id=22&doctor_id=19','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:21:50','45f44533-52d8-492f-8d5f-0b9b38abdb26',1),(236465,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:21:50.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:22:28\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',1),(236466,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',55,'invoice_created',NULL,'{\"business_id\":10,\"name\":\"invoice_created\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83e\\uddfe *{business_name}*\\n\\nHi {contact_name}, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* {invoice_number}\\n*Total:* {total_amount}\\n*Paid:* {paid_amount}\\n*Balance due:* {due_amount}\\n\\n\\ud83d\\udcc4 View or download your invoice:\\n{invoice_url}\\n\\nWe appreciate your business \\u2014 just reply to this message if you have any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"total_amount\\\",\\\"paid_amount\\\",\\\"due_amount\\\",\\\"invoice_url\\\"]\",\"active\":true,\"id\":55}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236467,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',56,'payment_received',NULL,'{\"business_id\":10,\"name\":\"payment_received\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u2705 *Payment received* \\u2014 {business_name}\\n\\nHi {contact_name}, we\'ve received your payment of *{received_amount}* for invoice {invoice_number}.\\n\\n*Remaining balance:* {due_amount}\\n\\nThank you! Reply here if you need anything.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"received_amount\\\",\\\"invoice_number\\\",\\\"due_amount\\\"]\",\"active\":true,\"id\":56}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236468,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',57,'sale_return',NULL,'{\"business_id\":10,\"name\":\"sale_return\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u21a9\\ufe0f *Return processed* \\u2014 {business_name}\\n\\nHi {contact_name}, your return for invoice {invoice_number} has been processed.\\n\\n*Updated balance:* {due_amount}\\n\\nThank you for giving us the chance to help. Reply with any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"due_amount\\\"]\",\"active\":true,\"id\":57}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236469,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',58,'appointment_booked',NULL,'{\"business_id\":10,\"name\":\"appointment_booked\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* is booked:\\n\\n\\ud83d\\uddd3 *Date:* {appointment_date}\\n\\u23f0 *Time:* {appointment_time}\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* {doctor_name}\\n\\ud83d\\udccd {location_name}\\nRef: {ref_no}\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\",\\\"ref_no\\\"]\",\"active\":true,\"id\":58}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236470,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',59,'appointment_reminder',NULL,'{\"business_id\":10,\"name\":\"appointment_reminder\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u23f0 *Appointment reminder* \\u2014 {clinic_name}\\n\\nHi {owner_name}, a friendly reminder of *{pet_name}*\'s appointment:\\n\\n\\ud83d\\uddd3 {appointment_date} at \\u23f0 {appointment_time}\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f {doctor_name}\\n\\ud83d\\udccd {location_name}\\n\\nSee you soon! Reply to reschedule or cancel.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\"]\",\"active\":true,\"id\":59}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236471,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',60,'appointment_cancelled',NULL,'{\"business_id\":10,\"name\":\"appointment_cancelled\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\u274c *Appointment cancelled* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* on {appointment_date} at {appointment_time} has been cancelled.\\n\\nReply here to book a new time \\u2014 we\'d be happy to help.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\"]\",\"active\":true,\"id\":60}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236472,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',61,'appointment_rescheduled',NULL,'{\"business_id\":10,\"name\":\"appointment_rescheduled\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd04 *Appointment rescheduled* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the appointment for *{pet_name}* has been moved to:\\n\\n\\ud83d\\uddd3 *{appointment_date}* at \\u23f0 *{appointment_time}*\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f {doctor_name}\\n\\ud83d\\udccd {location_name}\\n\\nReply if this time doesn\'t work for you.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"appointment_date\\\",\\\"appointment_time\\\",\\\"doctor_name\\\",\\\"location_name\\\"]\",\"active\":true,\"id\":61}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236473,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',62,'appointment_followup',NULL,'{\"business_id\":10,\"name\":\"appointment_followup\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc9a *Thank you for visiting* \\u2014 {clinic_name}\\n\\nHi {owner_name}, we hope *{pet_name}* is doing well after the visit with {doctor_name}.\\n\\nIf you have any questions or concerns, just reply to this message \\u2014 we\'re here to help. \\ud83d\\udc3e\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"doctor_name\\\"]\",\"active\":true,\"id\":62}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236474,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',63,'quotation_sent',NULL,'{\"business_id\":10,\"name\":\"quotation_sent\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udcdd *Your quotation* \\u2014 {business_name}\\n\\nHi {contact_name}, here is the quotation you requested.\\n\\n*Total:* {total_amount}\\n\\n\\ud83d\\udcc4 View the full quotation:\\n{quote_url}\\n\\nReply to confirm or if you\'d like any changes.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"total_amount\\\",\\\"quote_url\\\"]\",\"active\":true,\"id\":63}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236475,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',64,'payment_due_reminder',NULL,'{\"business_id\":10,\"name\":\"payment_due_reminder\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd14 *Payment reminder* \\u2014 {business_name}\\n\\nHi {contact_name}, a friendly reminder that invoice {invoice_number} has an outstanding balance.\\n\\n*Amount due:* {due_amount}\\n*Due date:* {due_date}\\n\\n\\ud83d\\udcc4 View invoice: {invoice_url}\\n\\nPlease reply if you\'ve already paid or need assistance. Thank you!\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"due_amount\\\",\\\"due_date\\\",\\\"invoice_url\\\"]\",\"active\":true,\"id\":64}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236476,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',65,'shipment_status',NULL,'{\"business_id\":10,\"name\":\"shipment_status\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\ude9a *Delivery update* \\u2014 {business_name}\\n\\nHi {contact_name}, the status of your order {invoice_number} is now: *{shipping_status}*.\\n\\nReply to this message if you have any questions.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"invoice_number\\\",\\\"shipping_status\\\"]\",\"active\":true,\"id\":65}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236477,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',66,'po_sent',NULL,'{\"business_id\":10,\"name\":\"po_sent\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udce6 *Purchase Order* \\u2014 {business_name}\\n\\nHi {contact_name}, we\'ve issued purchase order {order_ref_number}.\\n\\n*Total:* {total_amount}\\n\\nPlease confirm receipt and expected delivery. Thank you for partnering with us.\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\",\\\"order_ref_number\\\",\\\"total_amount\\\"]\",\"active\":true,\"id\":66}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236478,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',67,'lab_results_ready',NULL,'{\"business_id\":10,\"name\":\"lab_results_ready\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udd2c *Lab results ready* \\u2014 {clinic_name}\\n\\nHi {owner_name}, the lab results for *{pet_name}* (sample {sample_no}) are ready.\\n\\nPlease contact the clinic or reply here to discuss the results with your veterinarian.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"sample_no\\\"]\",\"active\":true,\"id\":67}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236479,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',68,'vaccination_due',NULL,'{\"business_id\":10,\"name\":\"vaccination_due\",\"language\":\"en\",\"category\":\"utility\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc89 *Vaccination reminder* \\u2014 {clinic_name}\\n\\nHi {owner_name}, *{pet_name}*\'s *{vaccine_name}* vaccination is due on *{due_date}*.\\n\\nReply to book an appointment \\u2014 keeping {pet_name} protected and healthy. \\ud83d\\udc3e\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\",\\\"vaccine_name\\\",\\\"due_date\\\"]\",\"active\":true,\"id\":68}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236480,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',69,'contact_welcome',NULL,'{\"business_id\":10,\"name\":\"contact_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc4b *Welcome to {business_name}!*\\n\\nHi {contact_name}, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\",\"variables\":\"[\\\"business_name\\\",\\\"contact_name\\\"]\",\"active\":true,\"id\":69}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236481,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',70,'pet_owner_welcome',NULL,'{\"business_id\":10,\"name\":\"pet_owner_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83d\\udc3e *Welcome to {clinic_name}!*\\n\\nHi {owner_name}, thank you for trusting us with your pet\'s care. \\ud83d\\udc9a\\n\\nWe\'ll keep you updated about appointments, vaccinations and reminders right here on WhatsApp.\\nReply anytime \\u2014 we\'re happy to help.\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\"]\",\"active\":true,\"id\":70}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236482,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',71,'pet_welcome',NULL,'{\"business_id\":10,\"name\":\"pet_welcome\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, {pet_name}!*\\n\\nHi {owner_name}, *{pet_name}* has been added to your profile at {clinic_name}.\\n\\nWe\'ll help you keep {pet_name} healthy with timely checkups, vaccinations and reminders.\\nReply anytime to book a visit. \\ud83d\\udc9a\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\"]\",\"active\":true,\"id\":71}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236483,195,10,'create','Modules\\WhatsApp\\Entities\\WaTemplate',72,'pet_birthday',NULL,'{\"business_id\":10,\"name\":\"pet_birthday\",\"language\":\"en\",\"category\":\"marketing\",\"meta_status\":\"none\",\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Happy Birthday {pet_name}!* \\ud83c\\udf82\\n\\nHi {owner_name}, all of us at {clinic_name} are wishing *{pet_name}* a wonderful birthday!\\n\\nThank you for trusting us with {pet_name}\'s care. Reply for a birthday check-up. \\ud83d\\udc9a\",\"variables\":\"[\\\"clinic_name\\\",\\\"owner_name\\\",\\\"pet_name\\\"]\",\"active\":true,\"id\":72}','[\"business_id\",\"name\",\"language\",\"category\",\"meta_status\",\"body\",\"variables\",\"active\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236484,195,10,'create','Modules\\WhatsApp\\Entities\\WaContact',61,'#61',NULL,'{\"business_id\":10,\"wa_id\":\"201092288093\",\"id\":61}','[\"business_id\",\"wa_id\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236485,195,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',163,'#163',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":61,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 New Cairo\\n\\nHi Ahmed Saleh, the appointment for *Rex* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Thu, 18 Jun 2026\\n\\u23f0 *Time:* 11:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Yasmin Fahmy\\n\\ud83d\\udccd VET One \\u2014 New Cairo\\nRef: APT-6A333A44503E7\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:93\",\"available_at\":\"2026-06-18 03:22:28\",\"created_by\":null,\"id\":163}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236486,195,10,'create','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56',NULL,'{\"business_id\":10,\"channel_id\":null,\"wa_id\":\"201092288093\",\"status\":\"open\",\"ai_enabled\":true,\"id\":56}','[\"business_id\",\"channel_id\",\"wa_id\",\"status\",\"ai_enabled\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236487,195,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56','[]','{\"contact_id\":61}','[\"contact_id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236488,195,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',163,'#163','[]','{\"conversation_id\":56}','[\"conversation_id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236489,195,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56','[]','{\"last_direction\":\"out\",\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 New Cairo\\n\\nHi Ahmed Saleh, the appointment for *Rex* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Thu, 18 Jun 2026\\n\\u23f0 *Time:* 11:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Yasmin Fahmy...\",\"last_message_at\":\"2026-06-18 03:22:28\"}','[\"last_direction\",\"last_message_excerpt\",\"last_message_at\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236490,195,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',93,'APT-6A333A44503E7',NULL,'{\"business_id\":10,\"contact_id\":6092,\"pet_id\":70,\"doctor_id\":19,\"department_id\":22,\"appointment_date\":\"2026-06-18 00:00:00\",\"appointment_time\":\"11:00:00\",\"duration_minutes\":30,\"reason\":null,\"type\":\"General Consultation\",\"notes\":null,\"ref_no\":\"APT-6A333A44503E7\",\"status\":\"pending\",\"location_id\":12,\"schedule_id\":70,\"type_ids\":\"\\\"[2]\\\"\",\"has_overlap\":false,\"id\":93}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"department_id\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"reason\",\"type\",\"notes\",\"ref_no\",\"status\",\"location_id\",\"schedule_id\",\"type_ids\",\"has_overlap\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:28','6a83c61a-b4de-41ce-9192-6735f592d8b6',0),(236491,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:22:28.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:22:29\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/70/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:29','4662634f-7a63-43ad-88a3-3ecfce881d84',1),(236492,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:22:29.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:22:30\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/patients/70/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:22:30','79bbe9cb-3b0f-46c5-8b05-0c897104f41b',1),(236493,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:22:30.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:23:24\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:23:24','c8361570-7063-4d11-9b70-bad812c2330d',1),(236494,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:23:24.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:23:25\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/ward-board','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:23:25','687f7824-a278-4d53-b8bb-9f3cfbaeab52',1),(236495,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:23:25.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:23:37\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/19','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:23:37','216a35a6-cda3-48c9-90b0-68bf5e61341a',1),(236496,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:23:37.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:23:49\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/19/fluids','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:23:49','9988c5f7-210c-4072-9cbc-fea36c65a061',1),(236497,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:23:37.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:23:49\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/19/care','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:23:49','bebb4c68-d52d-4ea0-b07c-bc9676a606aa',1),(236498,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:23:37.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:23:49\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/admissions/19/medications','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:23:49','e9b97fce-cb2c-41dc-9423-058999a9893e',1),(236499,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:23:49.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:24:25\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/medication-administrations/16','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:24:25','79d6b23f-4ba2-47c4-b867-42ecbf93e5e0',1),(236500,195,NULL,'update','Modules\\VetAdmission\\Entities\\VaMedicationAdministration',16,'#16','{\"administered_at\":null,\"actual_volume_ml\":null,\"status\":\"pending\",\"given_by\":null}','{\"administered_at\":\"2026-06-18 03:24:25\",\"actual_volume_ml\":0.3,\"status\":\"given\",\"given_by\":195}','[\"administered_at\",\"actual_volume_ml\",\"status\",\"given_by\"]','http://localhost/vet-one/public/api/v1/staff/medication-administrations/16','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:24:25','79d6b23f-4ba2-47c4-b867-42ecbf93e5e0',0),(236501,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:24:25.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:24:50\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:24:50','93f77c80-554d-49ee-867d-7142ca7ae40d',1),(236502,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:24:50.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:24:51\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/appointments/93/consultation','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:24:51','726d4830-1508-4e9e-9ae2-c82c397fcd94',1),(236503,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:24:51.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:24:52\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/appointments/93/exam/templates','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:24:52','080dbf2d-e873-47cc-b765-f8710f04470e',1),(236504,195,10,'create','Modules\\VetClinic\\Entities\\VcExamSetting',2,'#2',NULL,'{\"business_id\":10,\"id\":2}','[\"business_id\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments/93/exam/templates','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:24:52','080dbf2d-e873-47cc-b765-f8710f04470e',0),(236505,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',6,'#6','{\"last_used_at\":\"2026-06-18T00:24:52.000000Z\"}','{\"last_used_at\":\"2026-06-18 03:26:10\"}','[\"last_used_at\"]','http://localhost/vet-one/public/api/v1/staff/appointments/93/exam/findings','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:26:10','bd7a19b6-13b0-4e14-b5af-795eb0788b32',1),(236506,195,10,'create','Modules\\VetClinic\\Entities\\VcAppointmentExamFinding',4,'#4',NULL,'{\"appointment_id\":93,\"template_item_id\":15,\"side\":\"AD\",\"business_id\":10,\"template_id\":1,\"region_snapshot\":\"Ears\",\"item_label_snapshot\":\"Pinna \\/ canal\",\"value\":\"abnormal\",\"numeric_value\":null,\"values_json\":null,\"free_text\":null,\"severity\":2,\"is_critical\":false,\"recorded_by\":195,\"id\":4}','[\"appointment_id\",\"template_item_id\",\"side\",\"business_id\",\"template_id\",\"region_snapshot\",\"item_label_snapshot\",\"value\",\"numeric_value\",\"values_json\",\"free_text\",\"severity\",\"is_critical\",\"recorded_by\",\"id\"]','http://localhost/vet-one/public/api/v1/staff/appointments/93/exam/findings','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 00:26:10','bd7a19b6-13b0-4e14-b5af-795eb0788b32',0),(236507,195,10,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',7,'#7',NULL,'{\"user_id\":195,\"business_id\":10,\"token_hash\":\"d3a8b8fc4fa67bd135d0816b33df62d173ab52f2e98410aca81af24f2377fa01\",\"user_agent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/149.0.0.0 Safari\\/537.36\",\"ip\":\"::1\",\"expires_at\":\"2026-07-18 21:06:16\",\"id\":7}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/auth/password','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:06:16','9e341f62-e6b3-4e31-9f56-c5a0f5216536',1),(236508,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',7,'#7','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-18 21:06:19\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:06:19','7f154605-06bb-4194-9030-8a693b04a779',1),(236509,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',7,'#7','{\"last_used_at\":\"2026-06-18T18:06:19.000000Z\"}','{\"last_used_at\":\"2026-06-18 21:07:11\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/ward-board','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:07:11','8c6c6867-3247-49b6-a2fe-aa23e15c19ed',1),(236510,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',7,'#7','{\"last_used_at\":\"2026-06-18T18:07:11.000000Z\"}','{\"last_used_at\":\"2026-06-18 21:07:31\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/19','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:07:31','d0b5878b-793d-485e-bbce-0342ab13bd3a',1),(236511,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',7,'#7','{\"last_used_at\":\"2026-06-18T18:07:31.000000Z\"}','{\"last_used_at\":\"2026-06-18 21:07:50\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:07:50','17a38dbb-4319-431b-8a36-19b9237574a7',1),(236512,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',7,'#7','{\"last_used_at\":\"2026-06-18T18:07:50.000000Z\"}','{\"last_used_at\":\"2026-06-18 21:07:51\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients?q=','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:07:51','a902c95b-9419-4d49-97f9-5614778ad53f',1),(236513,NULL,10,'create','Modules\\VetSite\\Entities\\VsSite',1,'Test Vet Clinic',NULL,'{\"business_id\":10,\"enabled\":true,\"status\":\"published\",\"theme\":\"aurora\",\"name\":\"Test Vet Clinic\",\"tagline\":\"Caring for pets\",\"subdomain_slug\":\"test-clinic\",\"contact\":\"{\\\"phone\\\":\\\"123\\\",\\\"email\\\":\\\"a@b.com\\\",\\\"address\\\":\\\"1 St\\\"}\",\"social\":\"{\\\"facebook\\\":\\\"#\\\"}\",\"hours\":\"[{\\\"day\\\":\\\"Mon\\\",\\\"time\\\":\\\"9-5\\\"}]\",\"id\":1}','[\"business_id\",\"enabled\",\"status\",\"theme\",\"name\",\"tagline\",\"subdomain_slug\",\"contact\",\"social\",\"hours\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 18:08:27','3688b1be-b178-49ec-948e-06b29746a9c2',1),(236514,NULL,10,'create','Modules\\VetSite\\Entities\\VsPage',1,'Home',NULL,'{\"site_id\":1,\"business_id\":10,\"title\":\"Home\",\"slug\":\"home\",\"is_home\":true,\"status\":\"published\",\"blocks\":\"[{\\\"id\\\":\\\"jiRR4jCe\\\",\\\"type\\\":\\\"hero\\\",\\\"data\\\":{\\\"eyebrow\\\":\\\"Trusted veterinary care\\\",\\\"heading\\\":\\\"Compassionate care for the pets you love\\\",\\\"subheading\\\":\\\"Modern medicine, a gentle touch, and a team that treats your companion like family.\\\",\\\"primary_label\\\":\\\"Book an appointment\\\",\\\"primary_url\\\":\\\"#contact\\\",\\\"secondary_label\\\":\\\"Our services\\\",\\\"secondary_url\\\":\\\"#services\\\"}},{\\\"id\\\":\\\"pxZsn4CW\\\",\\\"type\\\":\\\"services\\\",\\\"data\\\":{\\\"heading\\\":\\\"Complete care, under one roof\\\",\\\"items\\\":[{\\\"icon\\\":\\\"fas fa-stethoscope\\\",\\\"title\\\":\\\"Wellness Exams\\\",\\\"text\\\":\\\"Routine check-ups and preventive care to keep tails wagging.\\\"},{\\\"icon\\\":\\\"fas fa-syringe\\\",\\\"title\\\":\\\"Vaccinations\\\",\\\"text\\\":\\\"Tailored vaccination plans for lifelong protection.\\\"},{\\\"icon\\\":\\\"fas fa-tooth\\\",\\\"title\\\":\\\"Dental Care\\\",\\\"text\\\":\\\"Cleanings and oral surgery for a healthy smile.\\\"},{\\\"icon\\\":\\\"fas fa-x-ray\\\",\\\"title\\\":\\\"Diagnostics\\\",\\\"text\\\":\\\"On-site lab, digital X-ray and ultrasound.\\\"},{\\\"icon\\\":\\\"fas fa-heartbeat\\\",\\\"title\\\":\\\"Surgery\\\",\\\"text\\\":\\\"Safe, modern surgical suites with full monitoring.\\\"},{\\\"icon\\\":\\\"fas fa-ambulance\\\",\\\"title\\\":\\\"Emergency\\\",\\\"text\\\":\\\"Urgent care when your pet needs it most.\\\"}]}},{\\\"id\\\":\\\"ZvDhRNIY\\\",\\\"type\\\":\\\"about\\\",\\\"data\\\":{\\\"heading\\\":\\\"Where your pet is family\\\",\\\"body\\\":\\\"Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.\\\"}},{\\\"id\\\":\\\"FqnGpH3I\\\",\\\"type\\\":\\\"stats\\\",\\\"data\\\":{\\\"items\\\":[{\\\"value\\\":\\\"15k+\\\",\\\"label\\\":\\\"Happy patients\\\"},{\\\"value\\\":\\\"20+\\\",\\\"label\\\":\\\"Years of care\\\"},{\\\"value\\\":\\\"24\\\\\\/7\\\",\\\"label\\\":\\\"Emergency support\\\"},{\\\"value\\\":\\\"4.9\\\",\\\"label\\\":\\\"Average rating\\\"}]}},{\\\"id\\\":\\\"liww30b1\\\",\\\"type\\\":\\\"team\\\",\\\"data\\\":{\\\"heading\\\":\\\"Meet our veterinary team\\\",\\\"items\\\":[{\\\"name\\\":\\\"Dr. Sarah Hill\\\",\\\"role\\\":\\\"Chief Veterinarian\\\"},{\\\"name\\\":\\\"Dr. James Park\\\",\\\"role\\\":\\\"Surgeon\\\"},{\\\"name\\\":\\\"Dr. Lena Ortiz\\\",\\\"role\\\":\\\"Internal Medicine\\\"}]}},{\\\"id\\\":\\\"g5HVsDqt\\\",\\\"type\\\":\\\"testimonials\\\",\\\"data\\\":{\\\"heading\\\":\\\"Loved by pet parents\\\",\\\"items\\\":[{\\\"quote\\\":\\\"They treated my dog like their own. Caring, professional and always available.\\\",\\\"name\\\":\\\"Emily R.\\\",\\\"meta\\\":\\\"Max\\\\u2019s mum\\\"},{\\\"quote\\\":\\\"Modern facilities and the friendliest staff. Highly recommend!\\\",\\\"name\\\":\\\"David K.\\\",\\\"meta\\\":\\\"Luna\\\\u2019s dad\\\"}]}},{\\\"id\\\":\\\"lKSm60iq\\\",\\\"type\\\":\\\"gallery\\\",\\\"data\\\":{\\\"heading\\\":\\\"Inside our clinic\\\",\\\"items\\\":[]}},{\\\"id\\\":\\\"2bkt2tHA\\\",\\\"type\\\":\\\"faq\\\",\\\"data\\\":{\\\"heading\\\":\\\"Frequently asked questions\\\",\\\"items\\\":[{\\\"q\\\":\\\"Do you accept walk-ins?\\\",\\\"a\\\":\\\"Yes \\\\u2014 though we recommend booking ahead so we can prepare for your visit.\\\"},{\\\"q\\\":\\\"Do you offer emergency care?\\\",\\\"a\\\":\\\"We provide urgent care during clinic hours and can refer for overnight emergencies.\\\"}]}},{\\\"id\\\":\\\"3fJtMkVs\\\",\\\"type\\\":\\\"hours\\\",\\\"data\\\":{\\\"heading\\\":\\\"Opening hours\\\",\\\"items\\\":[{\\\"day\\\":\\\"Mon \\\\u2013 Fri\\\",\\\"time\\\":\\\"8:00 AM \\\\u2013 7:00 PM\\\"},{\\\"day\\\":\\\"Saturday\\\",\\\"time\\\":\\\"9:00 AM \\\\u2013 5:00 PM\\\"},{\\\"day\\\":\\\"Sunday\\\",\\\"time\\\":\\\"10:00 AM \\\\u2013 2:00 PM\\\"}]}},{\\\"id\\\":\\\"jfhvVk3U\\\",\\\"type\\\":\\\"cta\\\",\\\"data\\\":{\\\"heading\\\":\\\"Ready to give your pet the best care?\\\",\\\"text\\\":\\\"Book an appointment today \\\\u2014 our team can\\\\u2019t wait to meet you.\\\",\\\"button_label\\\":\\\"Book now\\\",\\\"button_url\\\":\\\"#contact\\\"}},{\\\"id\\\":\\\"kvqxFRbI\\\",\\\"type\\\":\\\"contact\\\",\\\"data\\\":{\\\"heading\\\":\\\"Get in touch\\\",\\\"subheading\\\":\\\"Questions, bookings or emergencies \\\\u2014 we\\\\u2019re here to help.\\\",\\\"show_form\\\":\\\"1\\\"}}]\",\"id\":1}','[\"site_id\",\"business_id\",\"title\",\"slug\",\"is_home\",\"status\",\"blocks\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 18:08:27','3688b1be-b178-49ec-948e-06b29746a9c2',0),(236515,NULL,10,'update','Modules\\VetSite\\Entities\\VsSite',1,'Test Vet Clinic','{\"custom_domain\":null}','{\"custom_domain\":\"happypaws.example.com\"}','[\"custom_domain\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 18:08:44','1b8ab121-50f1-40d9-a568-03c3c38ff4f4',1),(236516,NULL,10,'delete','Modules\\VetSite\\Entities\\VsSite',1,'Test Vet Clinic','{\"id\":1,\"business_id\":10,\"enabled\":1,\"status\":\"published\",\"name\":\"Test Vet Clinic\",\"tagline\":\"Caring for pets\",\"theme\":\"aurora\",\"logo_path\":null,\"favicon_path\":null,\"og_image_path\":null,\"primary_color\":null,\"secondary_color\":null,\"accent_color\":null,\"font_heading\":null,\"font_body\":null,\"subdomain_slug\":\"test-clinic\",\"custom_domain\":\"happypaws.example.com\",\"custom_domain_verified\":0,\"seo_title\":null,\"seo_description\":null,\"analytics_id\":null,\"contact\":\"{\\\"phone\\\":\\\"123\\\",\\\"email\\\":\\\"a@b.com\\\",\\\"address\\\":\\\"1 St\\\"}\",\"social\":\"{\\\"facebook\\\":\\\"#\\\"}\",\"hours\":\"[{\\\"day\\\":\\\"Mon\\\",\\\"time\\\":\\\"9-5\\\"}]\",\"nav\":null,\"options\":null}',NULL,'[\"id\",\"business_id\",\"enabled\",\"status\",\"name\",\"tagline\",\"theme\",\"logo_path\",\"favicon_path\",\"og_image_path\",\"primary_color\",\"secondary_color\",\"accent_color\",\"font_heading\",\"font_body\",\"subdomain_slug\",\"custom_domain\",\"custom_domain_verified\",\"seo_title\",\"seo_description\",\"analytics_id\",\"contact\",\"social\",\"hours\",\"nav\",\"options\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 18:09:04','6f5e1a9b-2e84-4fe5-a3f4-c2dd61e74e4a',1),(236517,195,10,'login','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:38:50',NULL,1),(236518,195,10,'create','Modules\\VetSite\\Entities\\VsSite',2,'#2',NULL,'{\"business_id\":10,\"enabled\":false,\"status\":\"draft\",\"theme\":\"aurora\",\"id\":2}','[\"business_id\",\"enabled\",\"status\",\"theme\",\"id\"]','https://localhost/vet-one/public/vet-site/theme','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-18 18:38:53','478c50be-ce44-4bb5-ba25-a2fbf640d5c7',1),(236519,195,10,'login','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:15:50',NULL,1),(236520,195,10,'create','App\\System',33,'#33',NULL,'{\"key\":\"VetSite_version\",\"value\":\"1.0.0\",\"id\":33}','[\"key\",\"value\",\"id\"]','https://localhost/vet-one/public/vet-site/install','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:21:57','e94d3cd5-13ce-4540-837f-3204aa62f597',1),(236521,195,10,'create','Modules\\VetSite\\Entities\\VsPage',2,'Home',NULL,'{\"site_id\":2,\"business_id\":10,\"title\":\"Home\",\"slug\":\"home\",\"is_home\":true,\"status\":\"published\",\"sort\":0,\"show_in_nav\":true,\"blocks\":\"[{\\\"id\\\":\\\"tMx9qTcX\\\",\\\"type\\\":\\\"hero\\\",\\\"data\\\":{\\\"eyebrow\\\":\\\"Trusted veterinary care\\\",\\\"heading\\\":\\\"Compassionate care for the pets you love\\\",\\\"subheading\\\":\\\"Modern medicine, a gentle touch, and a team that treats your companion like family.\\\",\\\"primary_label\\\":\\\"Book an appointment\\\",\\\"primary_url\\\":\\\"#contact\\\",\\\"secondary_label\\\":\\\"Our services\\\",\\\"secondary_url\\\":\\\"#services\\\"}},{\\\"id\\\":\\\"j5OLZiPo\\\",\\\"type\\\":\\\"services\\\",\\\"data\\\":{\\\"heading\\\":\\\"Complete care, under one roof\\\",\\\"items\\\":[{\\\"icon\\\":\\\"fas fa-stethoscope\\\",\\\"title\\\":\\\"Wellness Exams\\\",\\\"text\\\":\\\"Routine check-ups and preventive care to keep tails wagging.\\\"},{\\\"icon\\\":\\\"fas fa-syringe\\\",\\\"title\\\":\\\"Vaccinations\\\",\\\"text\\\":\\\"Tailored vaccination plans for lifelong protection.\\\"},{\\\"icon\\\":\\\"fas fa-tooth\\\",\\\"title\\\":\\\"Dental Care\\\",\\\"text\\\":\\\"Cleanings and oral surgery for a healthy smile.\\\"},{\\\"icon\\\":\\\"fas fa-x-ray\\\",\\\"title\\\":\\\"Diagnostics\\\",\\\"text\\\":\\\"On-site lab, digital X-ray and ultrasound.\\\"},{\\\"icon\\\":\\\"fas fa-heartbeat\\\",\\\"title\\\":\\\"Surgery\\\",\\\"text\\\":\\\"Safe, modern surgical suites with full monitoring.\\\"},{\\\"icon\\\":\\\"fas fa-ambulance\\\",\\\"title\\\":\\\"Emergency\\\",\\\"text\\\":\\\"Urgent care when your pet needs it most.\\\"}]}},{\\\"id\\\":\\\"3tQXqiBe\\\",\\\"type\\\":\\\"about\\\",\\\"data\\\":{\\\"heading\\\":\\\"Where your pet is family\\\",\\\"body\\\":\\\"Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.\\\"}},{\\\"id\\\":\\\"Go40TVfK\\\",\\\"type\\\":\\\"stats\\\",\\\"data\\\":{\\\"items\\\":[{\\\"value\\\":\\\"15k+\\\",\\\"label\\\":\\\"Happy patients\\\"},{\\\"value\\\":\\\"20+\\\",\\\"label\\\":\\\"Years of care\\\"},{\\\"value\\\":\\\"24\\\\\\/7\\\",\\\"label\\\":\\\"Emergency support\\\"},{\\\"value\\\":\\\"4.9\\\",\\\"label\\\":\\\"Average rating\\\"}]}},{\\\"id\\\":\\\"V5tKoUqd\\\",\\\"type\\\":\\\"team\\\",\\\"data\\\":{\\\"heading\\\":\\\"Meet our veterinary team\\\",\\\"items\\\":[{\\\"name\\\":\\\"Dr. Sarah Hill\\\",\\\"role\\\":\\\"Chief Veterinarian\\\"},{\\\"name\\\":\\\"Dr. James Park\\\",\\\"role\\\":\\\"Surgeon\\\"},{\\\"name\\\":\\\"Dr. Lena Ortiz\\\",\\\"role\\\":\\\"Internal Medicine\\\"}]}},{\\\"id\\\":\\\"jowNoJ1C\\\",\\\"type\\\":\\\"testimonials\\\",\\\"data\\\":{\\\"heading\\\":\\\"Loved by pet parents\\\",\\\"items\\\":[{\\\"quote\\\":\\\"They treated my dog like their own. Caring, professional and always available.\\\",\\\"name\\\":\\\"Emily R.\\\",\\\"meta\\\":\\\"Max\\\\u2019s mum\\\"},{\\\"quote\\\":\\\"Modern facilities and the friendliest staff. Highly recommend!\\\",\\\"name\\\":\\\"David K.\\\",\\\"meta\\\":\\\"Luna\\\\u2019s dad\\\"}]}},{\\\"id\\\":\\\"jVoF0KyV\\\",\\\"type\\\":\\\"gallery\\\",\\\"data\\\":{\\\"heading\\\":\\\"Inside our clinic\\\",\\\"items\\\":[]}},{\\\"id\\\":\\\"vvYbyRem\\\",\\\"type\\\":\\\"faq\\\",\\\"data\\\":{\\\"heading\\\":\\\"Frequently asked questions\\\",\\\"items\\\":[{\\\"q\\\":\\\"Do you accept walk-ins?\\\",\\\"a\\\":\\\"Yes \\\\u2014 though we recommend booking ahead so we can prepare for your visit.\\\"},{\\\"q\\\":\\\"Do you offer emergency care?\\\",\\\"a\\\":\\\"We provide urgent care during clinic hours and can refer for overnight emergencies.\\\"}]}},{\\\"id\\\":\\\"uXReNtgZ\\\",\\\"type\\\":\\\"hours\\\",\\\"data\\\":{\\\"heading\\\":\\\"Opening hours\\\",\\\"items\\\":[{\\\"day\\\":\\\"Mon \\\\u2013 Fri\\\",\\\"time\\\":\\\"8:00 AM \\\\u2013 7:00 PM\\\"},{\\\"day\\\":\\\"Saturday\\\",\\\"time\\\":\\\"9:00 AM \\\\u2013 5:00 PM\\\"},{\\\"day\\\":\\\"Sunday\\\",\\\"time\\\":\\\"10:00 AM \\\\u2013 2:00 PM\\\"}]}},{\\\"id\\\":\\\"Vb9Usvn1\\\",\\\"type\\\":\\\"cta\\\",\\\"data\\\":{\\\"heading\\\":\\\"Ready to give your pet the best care?\\\",\\\"text\\\":\\\"Book an appointment today \\\\u2014 our team can\\\\u2019t wait to meet you.\\\",\\\"button_label\\\":\\\"Book now\\\",\\\"button_url\\\":\\\"#contact\\\"}},{\\\"id\\\":\\\"FiPxnRgf\\\",\\\"type\\\":\\\"contact\\\",\\\"data\\\":{\\\"heading\\\":\\\"Get in touch\\\",\\\"subheading\\\":\\\"Questions, bookings or emergencies \\\\u2014 we\\\\u2019re here to help.\\\",\\\"show_form\\\":\\\"1\\\"}}]\",\"id\":2}','[\"site_id\",\"business_id\",\"title\",\"slug\",\"is_home\",\"status\",\"sort\",\"show_in_nav\",\"blocks\",\"id\"]','https://localhost/vet-one/public/vet-site/install','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:21:57','e94d3cd5-13ce-4540-837f-3204aa62f597',0),(236522,NULL,10,'update','Modules\\VetSite\\Entities\\VsSite',2,'VET One','{\"enabled\":false,\"status\":\"draft\",\"name\":null,\"tagline\":null,\"subdomain_slug\":null,\"contact\":null,\"social\":null,\"hours\":null}','{\"enabled\":true,\"status\":\"published\",\"name\":\"VET One\",\"tagline\":\"Compassionate, modern care for the pets you love.\",\"subdomain_slug\":\"happy-paws\",\"contact\":\"{\\\"phone\\\":\\\"+20 100 123 4567\\\",\\\"whatsapp\\\":\\\"+20 100 123 4567\\\",\\\"email\\\":\\\"hello@happypaws.vet\\\",\\\"address\\\":\\\"24 Garden St, Cairo\\\"}\",\"social\":\"{\\\"facebook\\\":\\\"#\\\",\\\"instagram\\\":\\\"#\\\",\\\"youtube\\\":\\\"#\\\"}\",\"hours\":\"[{\\\"day\\\":\\\"Mon \\\\u2013 Fri\\\",\\\"time\\\":\\\"8:00 AM \\\\u2013 7:00 PM\\\"},{\\\"day\\\":\\\"Saturday\\\",\\\"time\\\":\\\"9:00 AM \\\\u2013 5:00 PM\\\"},{\\\"day\\\":\\\"Sunday\\\",\\\"time\\\":\\\"10:00 AM \\\\u2013 2:00 PM\\\"}]\"}','[\"enabled\",\"status\",\"name\",\"tagline\",\"subdomain_slug\",\"contact\",\"social\",\"hours\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 20:33:36','02b81710-dd9c-495b-a4c5-bc8f189e872f',1),(236523,NULL,10,'create','Modules\\VetSite\\Entities\\VsPage',3,'Home',NULL,'{\"site_id\":2,\"business_id\":10,\"title\":\"Home\",\"slug\":\"home\",\"is_home\":true,\"status\":\"published\",\"show_in_nav\":true,\"blocks\":\"[{\\\"id\\\":\\\"ARWAWVI0\\\",\\\"type\\\":\\\"hero\\\",\\\"data\\\":{\\\"eyebrow\\\":\\\"Trusted veterinary care\\\",\\\"heading\\\":\\\"Compassionate care for the pets you love\\\",\\\"subheading\\\":\\\"Modern medicine, a gentle touch, and a team that treats your companion like family.\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1576201836106-db1758fd1c97?auto=format&fit=crop&w=1400&q=80\\\",\\\"primary_label\\\":\\\"Book an appointment\\\",\\\"primary_url\\\":\\\"#contact\\\",\\\"secondary_label\\\":\\\"Our services\\\",\\\"secondary_url\\\":\\\"#services\\\"}},{\\\"id\\\":\\\"OFSgyGWe\\\",\\\"type\\\":\\\"services\\\",\\\"data\\\":{\\\"heading\\\":\\\"Complete care, under one roof\\\",\\\"items\\\":[{\\\"icon\\\":\\\"fas fa-stethoscope\\\",\\\"title\\\":\\\"Wellness Exams\\\",\\\"text\\\":\\\"Routine check-ups and preventive care to keep tails wagging.\\\"},{\\\"icon\\\":\\\"fas fa-syringe\\\",\\\"title\\\":\\\"Vaccinations\\\",\\\"text\\\":\\\"Tailored vaccination plans for lifelong protection.\\\"},{\\\"icon\\\":\\\"fas fa-tooth\\\",\\\"title\\\":\\\"Dental Care\\\",\\\"text\\\":\\\"Cleanings and oral surgery for a healthy smile.\\\"},{\\\"icon\\\":\\\"fas fa-x-ray\\\",\\\"title\\\":\\\"Diagnostics\\\",\\\"text\\\":\\\"On-site lab, digital X-ray and ultrasound.\\\"},{\\\"icon\\\":\\\"fas fa-heartbeat\\\",\\\"title\\\":\\\"Surgery\\\",\\\"text\\\":\\\"Safe, modern surgical suites with full monitoring.\\\"},{\\\"icon\\\":\\\"fas fa-ambulance\\\",\\\"title\\\":\\\"Emergency\\\",\\\"text\\\":\\\"Urgent care when your pet needs it most.\\\"}]}},{\\\"id\\\":\\\"0WxY3RV5\\\",\\\"type\\\":\\\"about\\\",\\\"data\\\":{\\\"heading\\\":\\\"Where your pet is family\\\",\\\"body\\\":\\\"<p>Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.<\\\\\\/p><p>From wagging-tail wellness visits to complex surgery, we treat every animal as if they were our own.<\\\\\\/p>\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=1000&q=80\\\"}},{\\\"id\\\":\\\"Y9BwqdEn\\\",\\\"type\\\":\\\"stats\\\",\\\"data\\\":{\\\"items\\\":[{\\\"value\\\":\\\"15k+\\\",\\\"label\\\":\\\"Happy patients\\\"},{\\\"value\\\":\\\"20+\\\",\\\"label\\\":\\\"Years of care\\\"},{\\\"value\\\":\\\"24\\\\\\/7\\\",\\\"label\\\":\\\"Emergency support\\\"},{\\\"value\\\":\\\"4.9\\\",\\\"label\\\":\\\"Average rating\\\"}]}},{\\\"id\\\":\\\"5TJ3XXry\\\",\\\"type\\\":\\\"team\\\",\\\"data\\\":{\\\"heading\\\":\\\"Meet our veterinary team\\\",\\\"subheading\\\":\\\"Caring, certified professionals dedicated to your pet\\\\u2019s wellbeing.\\\",\\\"items\\\":[{\\\"name\\\":\\\"Dr. Sarah Hill\\\",\\\"role\\\":\\\"Chief Veterinarian\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1594824476967-48c8b964273f?auto=format&fit=crop&w=500&q=80\\\"},{\\\"name\\\":\\\"Dr. James Park\\\",\\\"role\\\":\\\"Surgeon\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=500&q=80\\\"},{\\\"name\\\":\\\"Dr. Lena Ortiz\\\",\\\"role\\\":\\\"Internal Medicine\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=500&q=80\\\"},{\\\"name\\\":\\\"Dr. Omar Aziz\\\",\\\"role\\\":\\\"Dentistry & Surgery\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1622253692010-333f2da6031d?auto=format&fit=crop&w=500&q=80\\\"}]}},{\\\"id\\\":\\\"QnZNYwBH\\\",\\\"type\\\":\\\"testimonials\\\",\\\"data\\\":{\\\"heading\\\":\\\"Loved by pet parents\\\",\\\"items\\\":[{\\\"quote\\\":\\\"They treated my dog like their own. Caring, professional and always available.\\\",\\\"name\\\":\\\"Emily R.\\\",\\\"meta\\\":\\\"Max\\\\u2019s mum\\\"},{\\\"quote\\\":\\\"Modern facilities and the friendliest staff. Highly recommend!\\\",\\\"name\\\":\\\"David K.\\\",\\\"meta\\\":\\\"Luna\\\\u2019s dad\\\"}]}},{\\\"id\\\":\\\"dCtuvxnB\\\",\\\"type\\\":\\\"gallery\\\",\\\"data\\\":{\\\"heading\\\":\\\"Inside our clinic\\\",\\\"items\\\":[{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1518717758536-85ae29035b6d?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Friendly faces\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Gentle handling\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1583337130417-3346a1be7dee?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Modern facilities\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1444212477490-ca407925329e?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Happy patients\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1535930891776-0c2dfb7fda1a?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Expert care\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1425082661705-1834bfd09dca?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Feline friends\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1606425271394-c3ca9ac8d4fb?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Comfortable wards\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1597633425046-08f5110420b5?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Surgical suite\\\"}]}},{\\\"id\\\":\\\"ZgFNpWWv\\\",\\\"type\\\":\\\"faq\\\",\\\"data\\\":{\\\"heading\\\":\\\"Frequently asked questions\\\",\\\"items\\\":[{\\\"q\\\":\\\"Do you accept walk-ins?\\\",\\\"a\\\":\\\"Yes \\\\u2014 though we recommend booking ahead so we can prepare for your visit.\\\"},{\\\"q\\\":\\\"Do you offer emergency care?\\\",\\\"a\\\":\\\"We provide urgent care during clinic hours and can refer for overnight emergencies.\\\"}]}},{\\\"id\\\":\\\"w2916vCU\\\",\\\"type\\\":\\\"hours\\\",\\\"data\\\":{\\\"heading\\\":\\\"Opening hours\\\",\\\"items\\\":[{\\\"day\\\":\\\"Mon \\\\u2013 Fri\\\",\\\"time\\\":\\\"8:00 AM \\\\u2013 7:00 PM\\\"},{\\\"day\\\":\\\"Saturday\\\",\\\"time\\\":\\\"9:00 AM \\\\u2013 5:00 PM\\\"},{\\\"day\\\":\\\"Sunday\\\",\\\"time\\\":\\\"10:00 AM \\\\u2013 2:00 PM\\\"}]}},{\\\"id\\\":\\\"lCwllAUb\\\",\\\"type\\\":\\\"cta\\\",\\\"data\\\":{\\\"heading\\\":\\\"Ready to give your pet the best care?\\\",\\\"text\\\":\\\"Book an appointment today \\\\u2014 our team can\\\\u2019t wait to meet you.\\\",\\\"button_label\\\":\\\"Book now\\\",\\\"button_url\\\":\\\"#contact\\\"}},{\\\"id\\\":\\\"oGwr1Jrr\\\",\\\"type\\\":\\\"contact\\\",\\\"data\\\":{\\\"heading\\\":\\\"Get in touch\\\",\\\"subheading\\\":\\\"Questions, bookings or emergencies \\\\u2014 we\\\\u2019re here to help.\\\",\\\"show_form\\\":\\\"1\\\"}}]\",\"id\":3}','[\"site_id\",\"business_id\",\"title\",\"slug\",\"is_home\",\"status\",\"show_in_nav\",\"blocks\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 20:33:36','02b81710-dd9c-495b-a4c5-bc8f189e872f',0),(236524,NULL,10,'create','Modules\\VetSite\\Entities\\VsPage',4,'About us',NULL,'{\"site_id\":2,\"business_id\":10,\"title\":\"About us\",\"slug\":\"about\",\"is_home\":false,\"status\":\"published\",\"sort\":1,\"show_in_nav\":true,\"blocks\":\"[{\\\"id\\\":\\\"shP09XT0\\\",\\\"type\\\":\\\"about\\\",\\\"data\\\":{\\\"heading\\\":\\\"Where your pet is family\\\",\\\"body\\\":\\\"<p>Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.<\\\\\\/p><p>From wagging-tail wellness visits to complex surgery, we treat every animal as if they were our own.<\\\\\\/p>\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=1000&q=80\\\"}}]\",\"id\":4}','[\"site_id\",\"business_id\",\"title\",\"slug\",\"is_home\",\"status\",\"sort\",\"show_in_nav\",\"blocks\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 20:33:36','02b81710-dd9c-495b-a4c5-bc8f189e872f',0),(236525,NULL,10,'create','Modules\\VetSite\\Entities\\VsPage',5,'Services',NULL,'{\"site_id\":2,\"business_id\":10,\"title\":\"Services\",\"slug\":\"services\",\"is_home\":false,\"status\":\"published\",\"sort\":2,\"show_in_nav\":true,\"blocks\":\"[{\\\"id\\\":\\\"mpNJuJUG\\\",\\\"type\\\":\\\"services\\\",\\\"data\\\":{\\\"heading\\\":\\\"Complete care, under one roof\\\",\\\"items\\\":[{\\\"icon\\\":\\\"fas fa-stethoscope\\\",\\\"title\\\":\\\"Wellness Exams\\\",\\\"text\\\":\\\"Routine check-ups and preventive care to keep tails wagging.\\\"},{\\\"icon\\\":\\\"fas fa-syringe\\\",\\\"title\\\":\\\"Vaccinations\\\",\\\"text\\\":\\\"Tailored vaccination plans for lifelong protection.\\\"},{\\\"icon\\\":\\\"fas fa-tooth\\\",\\\"title\\\":\\\"Dental Care\\\",\\\"text\\\":\\\"Cleanings and oral surgery for a healthy smile.\\\"},{\\\"icon\\\":\\\"fas fa-x-ray\\\",\\\"title\\\":\\\"Diagnostics\\\",\\\"text\\\":\\\"On-site lab, digital X-ray and ultrasound.\\\"},{\\\"icon\\\":\\\"fas fa-heartbeat\\\",\\\"title\\\":\\\"Surgery\\\",\\\"text\\\":\\\"Safe, modern surgical suites with full monitoring.\\\"},{\\\"icon\\\":\\\"fas fa-ambulance\\\",\\\"title\\\":\\\"Emergency\\\",\\\"text\\\":\\\"Urgent care when your pet needs it most.\\\"}]}}]\",\"id\":5}','[\"site_id\",\"business_id\",\"title\",\"slug\",\"is_home\",\"status\",\"sort\",\"show_in_nav\",\"blocks\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 20:33:36','02b81710-dd9c-495b-a4c5-bc8f189e872f',0),(236526,NULL,10,'create','Modules\\VetSite\\Entities\\VsPage',6,'Contact',NULL,'{\"site_id\":2,\"business_id\":10,\"title\":\"Contact\",\"slug\":\"contact\",\"is_home\":false,\"status\":\"published\",\"sort\":3,\"show_in_nav\":true,\"blocks\":\"[{\\\"id\\\":\\\"na7iNxJg\\\",\\\"type\\\":\\\"contact\\\",\\\"data\\\":{\\\"heading\\\":\\\"Get in touch\\\",\\\"subheading\\\":\\\"Questions, bookings or emergencies \\\\u2014 we\\\\u2019re here to help.\\\",\\\"show_form\\\":\\\"1\\\"}}]\",\"id\":6}','[\"site_id\",\"business_id\",\"title\",\"slug\",\"is_home\",\"status\",\"sort\",\"show_in_nav\",\"blocks\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-18 20:33:36','02b81710-dd9c-495b-a4c5-bc8f189e872f',0),(236527,195,10,'create','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8',NULL,'{\"user_id\":195,\"business_id\":10,\"token_hash\":\"af1c1c7903c01d3ea111ef0cb8d184d408604b505ab8dfdd6677dd7ad28856a0\",\"user_agent\":\"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/149.0.0.0 Safari\\/537.36 Edg\\/149.0.0.0\",\"ip\":\"::1\",\"expires_at\":\"2026-07-18 23:57:52\",\"id\":8}','[\"user_id\",\"business_id\",\"token_hash\",\"user_agent\",\"ip\",\"expires_at\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/auth/password','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:57:52','63fc0489-795b-4fab-af5e-b4c7393b373f',1),(236528,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":null}','{\"last_used_at\":\"2026-06-18 23:57:53\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/summary','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:57:53','4707c32d-6cac-4d9b-a32a-1192a1c7fc38',1),(236529,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T20:57:53.000000Z\"}','{\"last_used_at\":\"2026-06-18 23:58:50\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients?q=','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:58:50','ec89913b-48dc-40c9-b1b0-75fa8bfe9121',1),(236530,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T20:58:50.000000Z\"}','{\"last_used_at\":\"2026-06-18 23:58:52\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:58:52','e6f427ed-842f-4369-a2ec-de13cde8c4fd',1),(236531,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T20:58:52.000000Z\"}','{\"last_used_at\":\"2026-06-18 23:58:53\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-worklist','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:58:53','03878f14-6f44-401d-a7a0-cb210e1d26c8',1),(236532,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T20:58:53.000000Z\"}','{\"last_used_at\":\"2026-06-18 23:59:00\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 20:59:00','8f7a1ef3-b749-400d-946e-9edef9485ffa',1),(236533,195,10,'view','vc_pet',72,'Bella',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/pets/72','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:00:31','91254134-3033-4ff8-8431-f2341f3dc80e',1),(236534,195,10,'create','Modules\\VetAI\\Entities\\VaiSetting',3,'#3',NULL,'{\"business_id\":10,\"provider\":\"anthropic\",\"enabled\":false,\"id\":3}','[\"business_id\",\"provider\",\"enabled\",\"id\"]','https://localhost/vet-one/public/vet-ai/assistant','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:04:44','215ff904-358e-4a1c-b081-fae79e612514',1),(236535,195,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',164,'#164',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":61,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 21 Jun 2026\\n\\u23f0 *Time:* 09:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram\\n\\ud83d\\udccd VET One \\u2014 Maadi\\nRef: APT-6A346285E05DC\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:94\",\"available_at\":\"2026-06-19 00:26:30\",\"created_by\":null,\"id\":164}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/vet-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:26:30','a4243ed4-e8bd-458b-9529-0d852a6ab91b',1),(236536,195,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',164,'#164','[]','{\"conversation_id\":56}','[\"conversation_id\"]','https://localhost/vet-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:26:30','a4243ed4-e8bd-458b-9529-0d852a6ab91b',0),(236537,195,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 New Cairo\\n\\nHi Ahmed Saleh, the appointment for *Rex* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Thu, 18 Jun 2026\\n\\u23f0 *Time:* 11:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Yasmin Fahmy...\",\"last_message_at\":\"2026-06-18T00:22:28.000000Z\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 21 Jun 2026\\n\\u23f0 *Time:* 09:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram...\",\"last_message_at\":\"2026-06-19 00:26:30\"}','[\"last_message_excerpt\",\"last_message_at\"]','https://localhost/vet-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:26:30','a4243ed4-e8bd-458b-9529-0d852a6ab91b',0),(236538,195,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',94,'APT-6A346285E05DC',NULL,'{\"contact_id\":\"6094\",\"pet_id\":\"72\",\"doctor_id\":\"21\",\"department_id\":\"25\",\"appointment_date\":\"2026-06-21 00:00:00\",\"appointment_time\":\"09:30\",\"duration_minutes\":\"30\",\"reason\":null,\"type\":\"other\",\"notes\":null,\"business_id\":10,\"ref_no\":\"APT-6A346285E05DC\",\"status\":\"pending\",\"location_id\":\"13\",\"schedule_id\":\"76\",\"type_ids\":\"[\\\"2\\\"]\",\"reason_ids\":\"[\\\"1\\\"]\",\"has_overlap\":false,\"id\":94}','[\"contact_id\",\"pet_id\",\"doctor_id\",\"department_id\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"reason\",\"type\",\"notes\",\"business_id\",\"ref_no\",\"status\",\"location_id\",\"schedule_id\",\"type_ids\",\"reason_ids\",\"has_overlap\",\"id\"]','https://localhost/vet-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:26:30','a4243ed4-e8bd-458b-9529-0d852a6ab91b',0),(236539,195,10,'create','vc_appointment',94,'APT-6A346285E05DC',NULL,'{\"contact_id\":\"6094\",\"pet_id\":\"72\",\"doctor_id\":\"21\",\"department_id\":\"25\",\"appointment_date\":\"2026-06-21 00:00:00\",\"appointment_time\":\"09:30\",\"duration_minutes\":\"30\",\"reason\":null,\"type\":\"other\",\"notes\":null,\"business_id\":10,\"ref_no\":\"APT-6A346285E05DC\",\"status\":\"pending\",\"location_id\":\"13\",\"schedule_id\":\"76\",\"type_ids\":\"[\\\"2\\\"]\",\"reason_ids\":\"[\\\"1\\\"]\",\"has_overlap\":false,\"id\":94}','[\"contact_id\",\"pet_id\",\"doctor_id\",\"department_id\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"reason\",\"type\",\"notes\",\"business_id\",\"ref_no\",\"status\",\"location_id\",\"schedule_id\",\"type_ids\",\"reason_ids\",\"has_overlap\",\"id\"]','https://localhost/vet-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:26:30','fc602db3-4637-4805-8166-e30b7d3d184b',1),(236540,195,10,'view','vc_appointment',94,'APT-6A346285E05DC',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/appointments/94','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:26:33','da3bea68-8f2a-45e8-89c4-4b649241f764',1),(236541,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T20:59:00.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:10\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:10','4bbeeb9e-812b-4846-8eb0-afdf25d1f3b8',1),(236542,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:10.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:11\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:11','3cf22580-df06-4b1e-a444-c6310f9d849f',1),(236543,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:11.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:12\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:12','059deb2c-b889-4192-b3d7-becf5eea671b',1),(236544,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:12.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:13\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:13','bebd608c-4def-41d5-8ecd-ceb03e9ecc61',1),(236545,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:13.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:14\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:14','7271a3a4-a688-4806-a535-fdee0f3629f3',1),(236546,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:14.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:16\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-16&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:16','09d33973-267e-4180-85cd-93c16196fd1e',1),(236547,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:16.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:17\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-14&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:17','7ec92700-85da-44dd-9e56-b409869e715f',1),(236548,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:17.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:18\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-14&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:18','fcf60c2f-c9ff-4f3b-8d48-9cb43f6f62c2',1),(236549,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:18.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:19\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-14&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:19','80657cab-8b48-47d1-b896-8121cd7088a5',1),(236550,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:19.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:20\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-14&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:20','50d23a6d-3ff5-4c3d-9fb5-78847a15011a',1),(236551,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:20.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:21\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-14&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:21','08b5772f-d54f-48f0-b5ea-859eafb2ad4c',1),(236552,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:21.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:22\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-12&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:22','047b27b8-7b1d-48b4-a54e-9e28c7511bfe',1),(236553,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:22.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:23\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-12&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:23','95a877a2-c51b-4e29-8740-d4c3a5bc5261',1),(236554,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:23.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:24\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-12&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:24','3e82d16f-4c7c-463d-be4b-8dade5ffc64b',1),(236555,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:24.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:25\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-12&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:25','5e5ee86c-0505-42cf-a5d6-fe1d15bed3e3',1),(236556,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:25.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:26\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/summary','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:26','68e68d06-1b11-46cc-9db4-39685fd943f9',1),(236557,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:26.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:27\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:27','f6178b3d-e960-40ba-9320-257dd2cbbd0a',1),(236558,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:27.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:28\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:28','53a7efe8-5e56-4a29-a122-80f3133a6637',1),(236559,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:28.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:29\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:29','ff839861-ee2d-4bd3-b3fc-e7f43b3f167e',1),(236560,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:29.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:30\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:30','becfbf46-0662-4206-b37e-8cf076504c6e',1),(236561,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:30.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:31\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:31','c6fe481f-5a8b-4b08-b539-2d228e2214ef',1),(236562,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:31.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:37\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:37','427d2f26-a7aa-4662-8fbf-3e74b65d7009',1),(236563,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:37.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:38\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:38','fe1142a9-914a-4593-a3d7-8c231e8b61e2',1),(236564,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:38.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:39\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:39','580f9890-2046-42f5-98d8-beb388200ea0',1),(236565,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:39.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:40\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:40','7e5f7ba2-44b3-47ff-aead-2dd10f847544',1),(236566,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:40.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:41\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:41','02a85d5a-6782-4abd-a69d-bffd4566cddf',1),(236567,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:41.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:27:45\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=all','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:27:45','73cc28c9-553b-4895-9da7-1d7bb9305002',1),(236568,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:27:45.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:32\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients?q=','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:32','80f663d1-8cfe-49fe-b2a3-166eb9ed7b3d',1),(236569,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:32.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:35\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:35','83d3332a-182b-4576-905a-153b7d01e08e',1),(236570,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:32.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:35\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:35','2d747502-a4a8-4587-b9a8-48ec0b132369',1),(236571,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:35.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:36\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-worklist','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:36','8af26ccf-c570-4d4c-85bc-ae391229a12e',1),(236572,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:36.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:38\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/meta','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:38','45bc6dda-e043-412e-bbb2-9b37a9a1fa29',1),(236573,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:38.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:47\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/locations?date=2026-06-19','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:47','eb5c5c10-d9bb-48f3-903e-a08b2f48ab19',1),(236574,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:47.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:50\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/locations?date=2026-06-20','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:50','389c1f6f-9950-4c47-97a7-254d1e9b9447',1),(236575,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:50.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:53\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/locations?date=2026-06-21','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:53','91c52da2-aa4e-43cf-b6f1-24f4f4e3637d',1),(236576,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:53.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:56\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/departments?date=2026-06-21&location_id=12','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:56','ebc4bc52-6fb1-4b62-8b99-568b852fe6d3',1),(236577,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:56.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:58\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/doctors?date=2026-06-21&department_id=22&location_id=12','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:58','5dbd3bfc-5d4c-45b7-9e68-f51a93d2cb4a',1),(236578,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:58.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:28:59\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/slots?date=2026-06-21&department_id=22&doctor_id=19','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:28:59','78751364-02cb-45c8-a1b9-6225a1bc44e4',1),(236579,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:28:59.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:32:45\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:32:45','8a313a3f-91b1-4008-aa6d-d4798b71b8d2',1),(236580,195,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',165,'#165',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":61,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 New Cairo\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 21 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Yasmin Fahmy\\n\\ud83d\\udccd VET One \\u2014 New Cairo\\nRef: APT-6A3463FDD0EE3\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:95\",\"available_at\":\"2026-06-19 00:32:46\",\"created_by\":null,\"id\":165}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:32:46','8a313a3f-91b1-4008-aa6d-d4798b71b8d2',0),(236581,195,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',165,'#165','[]','{\"conversation_id\":56}','[\"conversation_id\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:32:46','8a313a3f-91b1-4008-aa6d-d4798b71b8d2',0),(236582,195,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 21 Jun 2026\\n\\u23f0 *Time:* 09:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram...\",\"last_message_at\":\"2026-06-18T21:26:30.000000Z\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 New Cairo\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 21 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Yasmin Fahm...\",\"last_message_at\":\"2026-06-19 00:32:46\"}','[\"last_message_excerpt\",\"last_message_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:32:46','8a313a3f-91b1-4008-aa6d-d4798b71b8d2',0),(236583,195,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',95,'APT-6A3463FDD0EE3',NULL,'{\"business_id\":10,\"contact_id\":6094,\"pet_id\":72,\"doctor_id\":19,\"department_id\":22,\"appointment_date\":\"2026-06-21 00:00:00\",\"appointment_time\":\"09:00:00\",\"duration_minutes\":30,\"reason\":null,\"type\":\"Dental\",\"notes\":null,\"ref_no\":\"APT-6A3463FDD0EE3\",\"status\":\"pending\",\"location_id\":12,\"schedule_id\":66,\"type_ids\":\"\\\"[6]\\\"\",\"reason_ids\":\"\\\"[5]\\\"\",\"has_overlap\":false,\"id\":95}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"department_id\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"reason\",\"type\",\"notes\",\"ref_no\",\"status\",\"location_id\",\"schedule_id\",\"type_ids\",\"reason_ids\",\"has_overlap\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:32:46','8a313a3f-91b1-4008-aa6d-d4798b71b8d2',0),(236584,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:32:45.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:32:46\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:32:46','a230b6ae-9511-4a12-b105-9ac697ced8da',1),(236585,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:32:46.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:32:47\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:32:47','988fdc3c-ee4d-40b6-b8c9-a52e79f7997a',1),(236586,195,10,'view','vc_appointment',95,'APT-6A3463FDD0EE3',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/appointments/95','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:34:06','4de6a2ba-4214-4fca-ba4f-daae3b3f757a',1),(236587,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:32:47.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:36:19\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:36:19','098f7519-5552-42dc-9ba2-2bcce01a9ff3',1),(236588,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:36:19.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:36:20\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:36:20','c742cdc5-c613-439a-92ff-132e031a73a7',1),(236589,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:36:20.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:36:21\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-worklist','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:36:21','b36b68eb-6bc5-4b68-86b6-82e7b4a90060',1),(236590,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:36:21.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:37:34\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:37:34','e4659162-2dfc-433d-8b8a-e1cba886a07f',1),(236591,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:37:34.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:37:35\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:37:35','2d18bd0b-f936-4e8e-8bf7-8efbb32fce91',1),(236592,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:37:35.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:37:57\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:37:57','a8c14a82-4c57-4265-93f7-6e73a91a91be',1),(236593,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:37:57.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:37:58\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-worklist','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:37:58','1abf319c-dfdb-40c6-852e-c5af712f85f7',1),(236594,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:37:58.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:38:14\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/lab-sessions/18','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:38:14','2b03f285-3c00-447d-8459-c59b32744e2a',1),(236595,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:38:14.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:38:16\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:38:16','5d664c2f-6c99-4051-aab2-f60fa873877c',1),(236596,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:38:16.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:38:17\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:38:17','9d05c733-8997-4544-811f-0e13de598a10',1),(236597,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:38:17.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:38:18\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/lab-sessions/18','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:38:18','fed827c1-dca6-4e0a-a295-23e13f01fa8a',1),(236598,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:38:18.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:38:24\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:38:24','cab54dbf-4cc9-4c22-95c0-962c1eb7e8b6',1),(236599,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:38:24.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:38:49\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/doctors','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:38:49','370e80aa-aee8-4478-ab5a-e35124888a21',1),(236600,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:38:24.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:38:49\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/wards','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:38:49','17f97ee7-31a8-4f62-aeec-77e26af941f1',1),(236601,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:38:49.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:39:39\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:39:39','d7831287-ab04-4f30-95e1-a11335dd0ac6',1),(236602,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:39:39.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:37\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients?q=','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:37','ba5e04ef-56b5-47cf-b270-a488a04655b8',1),(236603,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:37.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:40\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:40','bedb98f6-3dda-4d0b-9b2b-b99c557875f3',1),(236604,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:40.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:41\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:41','d80d6a6c-0b34-4a4b-9076-317ae34af1b1',1),(236605,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:41.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:43\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/ward-board','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:43','3f051355-89de-4970-b3ee-751e24f1d12a',1),(236606,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:43.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:45\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:45','8306f2bb-f9e6-40d0-bab6-20c8b2272b4b',1),(236607,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:45.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:47\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/alerts','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:47','54e5cddb-27d3-4e6a-9134-222372f46b4f',1),(236608,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:47.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:49\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:49','4293f817-c817-49e6-9eb5-ca14827b83df',1),(236609,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:49.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:40:53\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:40:53','29988068-abfe-4c4e-b79b-0c122d90788d',1),(236610,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:40:53.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:05\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:05','cf5dd2bc-6b96-48dc-bb3e-12c334f60c75',1),(236611,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:05.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:11\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:11','ba6b0d0d-0227-4456-8dd9-cc005509c828',1),(236612,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:11.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:12\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/72/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:12','81a94074-8d24-4410-867c-2d3bf8263b2f',1),(236613,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:12.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:16\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:16','a53522e0-f26e-4c70-9397-ef4291a4dcf2',1),(236614,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:16.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:24\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/fluids','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:24','cbcb73a5-9898-43e6-9783-d48be374002c',1),(236615,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:24.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:38\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/care-log','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:38','32c367d7-2876-4234-a0d6-d98d6b88728e',1),(236616,195,NULL,'create','Modules\\VetAdmission\\Entities\\VaCareLog',16,'#16',NULL,'{\"care_task_type_id\":1,\"status\":\"done\",\"done_at\":\"2026-06-19 00:41:38\",\"done_by\":195,\"admission_id\":21,\"care_plan_id\":10,\"care_date\":\"2026-06-19 00:00:00\",\"slot_index\":0,\"id\":16}','[\"care_task_type_id\",\"status\",\"done_at\",\"done_by\",\"admission_id\",\"care_plan_id\",\"care_date\",\"slot_index\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/care-log','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:38','32c367d7-2876-4234-a0d6-d98d6b88728e',0),(236617,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:38.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:40\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/care-log','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:40','e7dad9ed-a6ed-448a-8f2a-504aefdafc77',1),(236618,195,NULL,'create','Modules\\VetAdmission\\Entities\\VaCareLog',17,'#17',NULL,'{\"care_task_type_id\":1,\"status\":\"done\",\"done_at\":\"2026-06-19 00:41:40\",\"done_by\":195,\"admission_id\":21,\"care_plan_id\":10,\"care_date\":\"2026-06-19 00:00:00\",\"slot_index\":1,\"id\":17}','[\"care_task_type_id\",\"status\",\"done_at\",\"done_by\",\"admission_id\",\"care_plan_id\",\"care_date\",\"slot_index\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/care-log','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:40','e7dad9ed-a6ed-448a-8f2a-504aefdafc77',0),(236619,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:40.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:42\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/care-log','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:42','3a07b429-e1a2-40d9-ae54-fa710efd5469',1),(236620,195,NULL,'create','Modules\\VetAdmission\\Entities\\VaCareLog',18,'#18',NULL,'{\"care_task_type_id\":2,\"status\":\"done\",\"done_at\":\"2026-06-19 00:41:42\",\"done_by\":195,\"admission_id\":21,\"care_plan_id\":11,\"care_date\":\"2026-06-19 00:00:00\",\"slot_index\":0,\"id\":18}','[\"care_task_type_id\",\"status\",\"done_at\",\"done_by\",\"admission_id\",\"care_plan_id\",\"care_date\",\"slot_index\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/care-log','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:43','3a07b429-e1a2-40d9-ae54-fa710efd5469',0),(236621,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:42.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:41:58\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/vitals','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:58','b4138081-b2c5-45e1-97d4-f50466ee6ba0',1),(236622,195,NULL,'create','Modules\\VetAdmission\\Entities\\VaAdmissionVital',4,'#4',NULL,'{\"admission_id\":21,\"recorded_at\":\"2026-06-19 00:41:58\",\"temperature\":22222,\"weight_kg\":4324234,\"heart_rate\":22222222,\"respiratory_rate\":4324234,\"notes\":\"423423\",\"recorded_by\":195,\"id\":4}','[\"admission_id\",\"recorded_at\",\"temperature\",\"weight_kg\",\"heart_rate\",\"respiratory_rate\",\"notes\",\"recorded_by\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/vitals','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:41:58','b4138081-b2c5-45e1-97d4-f50466ee6ba0',0),(236623,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:41:58.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:42:15\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/medication-administrations/26','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:42:15','afd7cb29-f598-4d27-a0c2-b386d8e78f37',1),(236624,195,NULL,'update','Modules\\VetAdmission\\Entities\\VaMedicationAdministration',26,'#26','{\"administered_at\":null,\"status\":\"pending\",\"given_by\":null}','{\"administered_at\":\"2026-06-19 00:42:15\",\"status\":\"refused\",\"given_by\":195}','[\"administered_at\",\"status\",\"given_by\"]','https://localhost/vet-one/public/api/v1/staff/medication-administrations/26','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:42:15','afd7cb29-f598-4d27-a0c2-b386d8e78f37',0),(236625,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:42:15.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:00\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:00','57c5f677-86e8-47b5-8b19-e76ff01c578b',1),(236626,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:00.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:07\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/alerts','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:07','02b5c606-eb2e-4255-997e-59f66d200a23',1),(236627,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:07.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:11\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions?scope=active','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:11','81cc143e-0439-43c5-82dd-9fe0ef451c10',1),(236628,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:11.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:15\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:15','6a5897d7-e2b1-4696-a918-c3b9a02af0f4',1),(236629,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:15.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:17\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:17','d7585a8a-b0a3-48de-9b5c-1e19e9cd2f90',1),(236630,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:17.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:29\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',1),(236631,195,10,'create','App\\Transaction',295361,'ADM-ADM-0003',NULL,'{\"business_id\":10,\"location_id\":31,\"type\":\"sell\",\"status\":\"draft\",\"sub_status\":null,\"invoice_no\":\"ADM-ADM-0003\",\"contact_id\":6094,\"transaction_date\":\"2026-06-18T21:44:29.803295Z\",\"total_before_tax\":0,\"final_total\":0,\"created_by\":195,\"id\":295361}','[\"business_id\",\"location_id\",\"type\",\"status\",\"sub_status\",\"invoice_no\",\"contact_id\",\"transaction_date\",\"total_before_tax\",\"final_total\",\"created_by\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236632,195,10,'update','Modules\\VetAdmission\\Entities\\VaAdmission',21,'#21','{\"erp_sell_id\":null}','{\"erp_sell_id\":295361}','[\"erp_sell_id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236633,195,NULL,'create','App\\TransactionSellLine',366925,'#366925',NULL,'{\"transaction_id\":295361,\"product_id\":15915,\"variation_id\":15899,\"quantity\":1,\"unit_price\":300,\"unit_price_inc_tax\":300,\"id\":366925}','[\"transaction_id\",\"product_id\",\"variation_id\",\"quantity\",\"unit_price\",\"unit_price_inc_tax\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236634,195,10,'update','App\\Transaction',295361,'ADM-ADM-0003','{\"total_before_tax\":\"0.0000\",\"final_total\":\"0.0000\"}','{\"total_before_tax\":\"300.00000000\",\"final_total\":\"300.00000000\"}','[\"total_before_tax\",\"final_total\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236635,195,NULL,'create','App\\TransactionSellLine',366926,'#366926',NULL,'{\"transaction_id\":295361,\"product_id\":15915,\"variation_id\":15899,\"quantity\":1,\"unit_price\":300,\"unit_price_inc_tax\":300,\"id\":366926}','[\"transaction_id\",\"product_id\",\"variation_id\",\"quantity\",\"unit_price\",\"unit_price_inc_tax\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236636,195,10,'update','App\\Transaction',295361,'ADM-ADM-0003','{\"total_before_tax\":\"300.0000\",\"final_total\":\"300.0000\"}','{\"total_before_tax\":\"600.00000000\",\"final_total\":\"600.00000000\"}','[\"total_before_tax\",\"final_total\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236637,195,NULL,'create','App\\TransactionSellLine',366927,'#366927',NULL,'{\"transaction_id\":295361,\"product_id\":15915,\"variation_id\":15899,\"quantity\":1,\"unit_price\":300,\"unit_price_inc_tax\":300,\"id\":366927}','[\"transaction_id\",\"product_id\",\"variation_id\",\"quantity\",\"unit_price\",\"unit_price_inc_tax\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236638,195,10,'update','App\\Transaction',295361,'ADM-ADM-0003','{\"total_before_tax\":\"600.0000\",\"final_total\":\"600.0000\"}','{\"total_before_tax\":\"900.00000000\",\"final_total\":\"900.00000000\"}','[\"total_before_tax\",\"final_total\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236639,195,10,'update','Modules\\VetAdmission\\Entities\\VaAdmission',21,'#21','{\"last_daily_post_date\":null}','{\"last_daily_post_date\":\"2026-06-19\"}','[\"last_daily_post_date\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236640,195,10,'update','Modules\\VetAdmission\\Entities\\VaAdmission',21,'#21','{\"discharged_at\":null,\"status\":\"admitted\"}','{\"discharged_at\":\"2026-06-19 00:44:29\",\"status\":\"discharged\"}','[\"discharged_at\",\"status\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236641,195,10,'update','App\\Transaction',295361,'ADM-ADM-0003','{\"status\":\"draft\",\"transaction_date\":\"2026-06-19 00:44:29\"}','{\"status\":\"final\",\"transaction_date\":\"2026-06-18T21:44:29.000000Z\"}','[\"status\",\"transaction_date\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236642,195,10,'update','App\\Transaction',295361,'ADM-ADM-0003','{\"invoice_token\":null}','{\"invoice_token\":\"ab40378a5ab69822dfda9cf23cd7a402\"}','[\"invoice_token\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236643,195,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',166,'#166',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":61,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83e\\uddfe *VET One*\\n\\nHi Karim Adel, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* ADM-ADM-0003\\n*Total:*  900\\n*Paid:*  0\\n*Balance due:*  900\\n\\n\\ud83d\\udcc4 View or download your invoice:\\nhttps:\\/\\/localhost\\/vet-one\\/public\\/invoice\\/ab40378a5ab69822dfda9cf23cd7a402\\n\\nWe appreciate your business \\u2014 just reply to this message if you have any questions.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"invoice\",\"dedupe_key\":\"invoice:295361\",\"available_at\":\"2026-06-19 00:44:29\",\"created_by\":null,\"id\":166}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236644,195,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',166,'#166','[]','{\"conversation_id\":56}','[\"conversation_id\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236645,195,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 New Cairo\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 21 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Yasmin Fahm...\",\"last_message_at\":\"2026-06-18T21:32:46.000000Z\"}','{\"last_message_excerpt\":\"\\ud83e\\uddfe *VET One*\\n\\nHi Karim Adel, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* ADM-ADM-0003\\n*Total:*  900\\n*Paid:*  0\\n*Balance due:*  900\\n\\n\\ud83d\\udcc4 View or download your invoice:\\nhttps:\\/\\/localh...\",\"last_message_at\":\"2026-06-19 00:44:29\"}','[\"last_message_excerpt\",\"last_message_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/21/discharge','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:29','9735f11b-a47c-4cab-95f4-30790cffc9fc',0),(236646,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:29.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:37\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/ward-board','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:37','50519aa2-7bd8-4b24-b1f2-03beef659f01',1),(236647,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:37.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:44:47\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:44:47','c9deca1c-a50e-4e0c-8fb5-e91374c0b33e',1),(236648,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:44:47.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:59:44\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-18&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:59:44','eddbc4de-8f6e-4d81-8315-2cf08a48bc28',1),(236649,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:59:44.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:59:47\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/19','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:59:47','93b9532f-7fc8-41dc-b200-c5c9421ec295',1),(236650,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:59:47.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:59:50\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/70','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:59:50','ccc6ca62-f494-4ab5-bdb4-84aeeba004c1',1),(236651,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:59:47.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:59:50\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/70/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:59:50','3539f1f5-af6a-4e98-a18d-33d199fd0a4a',1),(236652,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:59:50.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:59:51\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/70/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:59:51','d990b468-33e5-4a05-a551-d3da0b831000',1),(236653,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:59:51.000000Z\"}','{\"last_used_at\":\"2026-06-19 00:59:57\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/lab-sessions/17','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 21:59:57','a7c70ebf-d234-47b0-9771-498563f0d975',1),(236654,195,10,'create','Modules\\VetPortal\\Entities\\VpPortalSetting',3,'#3',NULL,'{\"business_id\":10,\"enabled\":false,\"primary_color\":\"#2563eb\",\"id\":3}','[\"business_id\",\"enabled\",\"primary_color\",\"id\"]','https://localhost/vet-one/public/vet-portal/settings','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:03:05','12f7c54f-d55d-47b1-8cf7-619dbcc25dae',1),(236655,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T21:59:57.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:05:59\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/70/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:05:59','2c6d4593-06cb-474e-afce-5ee3bb5ca477',1),(236656,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:05:59.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:00\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/70/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:00','92c5d80e-0009-4d13-b538-713aa90d89e7',1),(236657,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:00.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:03\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/admissions/19','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:03','a713576d-89fd-440b-8ae9-62b09fd8dd14',1),(236658,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:03.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:07\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:07','e509fba4-631c-43a3-98a7-e5e7c50723bb',1),(236659,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:07.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:08\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:08','4767a746-6e35-413b-a977-d6fbe1682054',1),(236660,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:08.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:17\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/me','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:17','df436c04-410d-4c96-b0b8-085c9524bf68',1),(236661,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:17.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:23\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:23','fa6060e0-d4f8-4751-ad35-ab84afe7c40d',1),(236662,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:23.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:29\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule/counts?from=2026-06-14&scope=mine&to=2026-06-20','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:29','54c25e43-46ef-4de1-96d0-8aeaed0c2283',1),(236663,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:29.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:31\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule/counts?from=2026-05-31&scope=mine&to=2026-07-11','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:31','31e4f696-3a83-454a-9b0e-c13fbe1b2f63',1),(236664,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:31.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:40\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:40','5c87d20f-c9ac-4c34-93e5-2479ff903d50',1),(236665,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:31.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:40\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:40','c0fb3393-6e95-41f2-8598-e9f3779c57aa',1),(236666,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:40.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:42\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-19&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:42','b6c571f6-f05f-455d-9bdf-f766ba0575ab',1),(236667,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:42.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:44\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:44','b4ce5529-c377-436f-8a64-f6601a8cedfe',1),(236668,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:44.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:45\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments/89/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:45','48606e72-e690-42ff-aaec-8793a39f879b',1),(236669,195,10,'update','Modules\\VetClinic\\Entities\\VcAppointment',89,'APT-0007','{\"status\":\"confirmed\",\"arrived_at\":null,\"consultation_started_at\":null}','{\"status\":\"in_progress\",\"arrived_at\":\"2026-06-19 02:06:45\",\"consultation_started_at\":\"2026-06-19 02:06:45\"}','[\"status\",\"arrived_at\",\"consultation_started_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments/89/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:45','48606e72-e690-42ff-aaec-8793a39f879b',0),(236670,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:45.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:48\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:48','0f58d951-e749-441b-a375-d68c1a60bf79',1),(236671,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:48.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:49\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:49','222d97dc-183b-4c30-bd50-0dc5c4dd297b',1),(236672,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:49.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:52\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-19&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:52','96dd6a97-a95f-4474-a2f8-f920995dbc92',1),(236673,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:52.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:54\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:54','59275ca5-2c5a-4b43-acd9-1ad86f7ac6b0',1),(236674,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:54.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:57\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:57','c5a3187f-4a90-4df1-a8f0-7929450babf2',1),(236675,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:57.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:06:58\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/lab-worklist','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:06:58','3d2901a9-5ab8-4068-b92e-7d8ed04bb215',1),(236676,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:06:58.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:07:10\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/meta','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:10','8c67ba91-54a5-4065-8131-1d6997b46611',1),(236677,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:07:10.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:07:13\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/departments?date=2026-06-18&location_id=13','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:13','b806212a-9edf-45e6-b92d-67d479c2306b',1),(236678,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:07:13.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:07:14\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/doctors?date=2026-06-18&department_id=25&location_id=13','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:14','494499c0-f92f-48be-8ace-609a00cee89b',1),(236679,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:07:14.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:07:15\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/booking/slots?date=2026-06-18&department_id=25&doctor_id=21','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:15','3a04ed2c-a477-4173-892d-22013a141496',1),(236680,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:07:15.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:07:28\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:28','6517fb7e-4453-4f9a-b5bd-be342ef71c60',1),(236681,195,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',167,'#167',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":61,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Youssef Nabil, the appointment for *Rocky* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Thu, 18 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram\\n\\ud83d\\udccd VET One \\u2014 Maadi\\nRef: APT-6A347A307C96B\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:96\",\"available_at\":\"2026-06-19 02:07:28\",\"created_by\":null,\"id\":167}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:28','6517fb7e-4453-4f9a-b5bd-be342ef71c60',0),(236682,195,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',167,'#167','[]','{\"conversation_id\":56}','[\"conversation_id\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:28','6517fb7e-4453-4f9a-b5bd-be342ef71c60',0),(236683,195,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56','{\"last_message_excerpt\":\"\\ud83e\\uddfe *VET One*\\n\\nHi Karim Adel, thank you for your purchase! \\ud83d\\ude4f\\n\\n*Invoice:* ADM-ADM-0003\\n*Total:*  900\\n*Paid:*  0\\n*Balance due:*  900\\n\\n\\ud83d\\udcc4 View or download your invoice:\\nhttps:\\/\\/localh...\",\"last_message_at\":\"2026-06-18T21:44:29.000000Z\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Youssef Nabil, the appointment for *Rocky* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Thu, 18 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makra...\",\"last_message_at\":\"2026-06-19 02:07:28\"}','[\"last_message_excerpt\",\"last_message_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:28','6517fb7e-4453-4f9a-b5bd-be342ef71c60',0),(236684,195,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',96,'APT-6A347A307C96B',NULL,'{\"business_id\":10,\"contact_id\":6098,\"pet_id\":76,\"doctor_id\":21,\"department_id\":25,\"appointment_date\":\"2026-06-18 00:00:00\",\"appointment_time\":\"09:00:00\",\"duration_minutes\":60,\"reason\":\"Routine Check-up\",\"type\":\"General Consultation\",\"notes\":null,\"ref_no\":\"APT-6A347A307C96B\",\"status\":\"pending\",\"location_id\":13,\"schedule_id\":80,\"type_ids\":\"\\\"[2,10]\\\"\",\"reason_ids\":\"\\\"[1,8]\\\"\",\"has_overlap\":false,\"id\":96}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"department_id\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"reason\",\"type\",\"notes\",\"ref_no\",\"status\",\"location_id\",\"schedule_id\",\"type_ids\",\"reason_ids\",\"has_overlap\",\"id\"]','https://localhost/vet-one/public/api/v1/staff/appointments','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:28','6517fb7e-4453-4f9a-b5bd-be342ef71c60',0),(236685,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:07:28.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:07:29\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:29','e94077ab-628c-412f-a8a8-d6d6674c172e',1),(236686,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:07:29.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:07:30\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:07:30','1d3a6981-0e45-4ef7-989c-70c7d2c1ea6c',1),(236687,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:07:30.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:09\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/summary','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:09','01bbc039-4be7-4dd2-bd49-4fc480d0aeb7',1),(236688,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:09.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:22\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-19&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:22','60fc3f95-75f9-432c-bf6d-fc5bf0af8021',1),(236689,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:22.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:26\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:26','629f0b5a-0065-4e0f-b790-c3e6da358cea',1),(236690,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:26.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:27\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:27','f9e318bb-aee0-4751-be89-926e884c925a',1),(236691,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:27.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:28\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:28','34d4566a-da68-44ef-9847-45c6821e9a20',1),(236692,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:28.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:29\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-19&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:29','c77cf990-417e-4ce3-8311-52a89a9df1db',1),(236693,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:29.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:31\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:31','6f4a181c-5c65-4e19-ba9f-9c8dd0f35db7',1),(236694,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:31.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:33\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/prescriptions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:33','b0afe44c-29dc-48fc-b06f-591d7a519a81',1),(236695,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:33.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:46:34\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/patients/76/lab-sessions','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:46:34','008f4f4a-2d4e-4756-b7ba-cb427ee9ffe5',1),(236696,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:46:34.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:47:38\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-19&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:47:38','9d44d19b-da97-454f-ae6d-0bc779b09dd7',1),(236697,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:47:38.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:47:41\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:47:41','ced622dc-201a-4ff3-b44c-f2737106ddc4',1),(236698,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:47:41.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:47:44\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments/89/consultation','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:47:44','6921971c-3e17-403a-b60b-4320b15ad1f1',1),(236699,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:47:44.000000Z\"}','{\"last_used_at\":\"2026-06-19 02:47:45\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments/89/exam/templates','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-18 23:47:45','2aa78131-67b1-4c5c-a0e7-3c820671ef07',1),(236700,NULL,5,'create','Modules\\AiCore\\Entities\\AiProvider',8,'default',NULL,'{\"business_id\":5,\"name\":\"default\",\"business_vertical\":\"vet_clinic\",\"provider\":\"anthropic\",\"enabled\":false,\"base_url\":null,\"model\":null,\"temperature\":0.3,\"max_tokens\":1024,\"monthly_token_budget\":null,\"use_separate_transcription\":0,\"t_provider\":null,\"t_base_url\":null,\"t_model\":null,\"t_language_hint\":\"auto\",\"t_silence_limit_sec\":30,\"t_clean_non_medical\":1,\"auto_structure_soap\":1,\"consent_warning\":1,\"id\":8}','[\"business_id\",\"name\",\"business_vertical\",\"provider\",\"enabled\",\"base_url\",\"model\",\"temperature\",\"max_tokens\",\"monthly_token_budget\",\"use_separate_transcription\",\"t_provider\",\"t_base_url\",\"t_model\",\"t_language_hint\",\"t_silence_limit_sec\",\"t_clean_non_medical\",\"auto_structure_soap\",\"consent_warning\",\"id\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-20 01:11:38','b89abf79-6d7e-42ce-a110-fa610eba2265',1),(236701,NULL,10,'update','Modules\\VetSite\\Entities\\VsPage',3,'Home','{\"blocks\":[{\"id\":\"ARWAWVI0\",\"type\":\"hero\",\"data\":{\"eyebrow\":\"Trusted veterinary care\",\"heading\":\"Compassionate care for the pets you love\",\"subheading\":\"Modern medicine, a gentle touch, and a team that treats your companion like family.\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1576201836106-db1758fd1c97?auto=format&fit=crop&w=1400&q=80\",\"primary_label\":\"Book an appointment\",\"primary_url\":\"#contact\",\"secondary_label\":\"Our services\",\"secondary_url\":\"#services\"}},{\"id\":\"OFSgyGWe\",\"type\":\"services\",\"data\":{\"heading\":\"Complete care, under one roof\",\"items\":[{\"icon\":\"fas fa-stethoscope\",\"title\":\"Wellness Exams\",\"text\":\"Routine check-ups and preventive care to keep tails wagging.\"},{\"icon\":\"fas fa-syringe\",\"title\":\"Vaccinations\",\"text\":\"Tailored vaccination plans for lifelong protection.\"},{\"icon\":\"fas fa-tooth\",\"title\":\"Dental Care\",\"text\":\"Cleanings and oral surgery for a healthy smile.\"},{\"icon\":\"fas fa-x-ray\",\"title\":\"Diagnostics\",\"text\":\"On-site lab, digital X-ray and ultrasound.\"},{\"icon\":\"fas fa-heartbeat\",\"title\":\"Surgery\",\"text\":\"Safe, modern surgical suites with full monitoring.\"},{\"icon\":\"fas fa-ambulance\",\"title\":\"Emergency\",\"text\":\"Urgent care when your pet needs it most.\"}]}},{\"id\":\"0WxY3RV5\",\"type\":\"about\",\"data\":{\"heading\":\"Where your pet is family\",\"body\":\"<p>Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.<\\/p><p>From wagging-tail wellness visits to complex surgery, we treat every animal as if they were our own.<\\/p>\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=1000&q=80\"}},{\"id\":\"Y9BwqdEn\",\"type\":\"stats\",\"data\":{\"items\":[{\"value\":\"15k+\",\"label\":\"Happy patients\"},{\"value\":\"20+\",\"label\":\"Years of care\"},{\"value\":\"24\\/7\",\"label\":\"Emergency support\"},{\"value\":\"4.9\",\"label\":\"Average rating\"}]}},{\"id\":\"5TJ3XXry\",\"type\":\"team\",\"data\":{\"heading\":\"Meet our veterinary team\",\"subheading\":\"Caring, certified professionals dedicated to your pet\\u2019s wellbeing.\",\"items\":[{\"name\":\"Dr. Sarah Hill\",\"role\":\"Chief Veterinarian\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1594824476967-48c8b964273f?auto=format&fit=crop&w=500&q=80\"},{\"name\":\"Dr. James Park\",\"role\":\"Surgeon\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=500&q=80\"},{\"name\":\"Dr. Lena Ortiz\",\"role\":\"Internal Medicine\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=500&q=80\"},{\"name\":\"Dr. Omar Aziz\",\"role\":\"Dentistry & Surgery\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1622253692010-333f2da6031d?auto=format&fit=crop&w=500&q=80\"}]}},{\"id\":\"QnZNYwBH\",\"type\":\"testimonials\",\"data\":{\"heading\":\"Loved by pet parents\",\"items\":[{\"quote\":\"They treated my dog like their own. Caring, professional and always available.\",\"name\":\"Emily R.\",\"meta\":\"Max\\u2019s mum\"},{\"quote\":\"Modern facilities and the friendliest staff. Highly recommend!\",\"name\":\"David K.\",\"meta\":\"Luna\\u2019s dad\"}]}},{\"id\":\"dCtuvxnB\",\"type\":\"gallery\",\"data\":{\"heading\":\"Inside our clinic\",\"items\":[{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1518717758536-85ae29035b6d?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Friendly faces\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Gentle handling\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1583337130417-3346a1be7dee?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Modern facilities\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1444212477490-ca407925329e?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Happy patients\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1535930891776-0c2dfb7fda1a?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Expert care\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1425082661705-1834bfd09dca?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Feline friends\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1606425271394-c3ca9ac8d4fb?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Comfortable wards\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1597633425046-08f5110420b5?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Surgical suite\"}]}},{\"id\":\"ZgFNpWWv\",\"type\":\"faq\",\"data\":{\"heading\":\"Frequently asked questions\",\"items\":[{\"q\":\"Do you accept walk-ins?\",\"a\":\"Yes \\u2014 though we recommend booking ahead so we can prepare for your visit.\"},{\"q\":\"Do you offer emergency care?\",\"a\":\"We provide urgent care during clinic hours and can refer for overnight emergencies.\"}]}},{\"id\":\"w2916vCU\",\"type\":\"hours\",\"data\":{\"heading\":\"Opening hours\",\"items\":[{\"day\":\"Mon \\u2013 Fri\",\"time\":\"8:00 AM \\u2013 7:00 PM\"},{\"day\":\"Saturday\",\"time\":\"9:00 AM \\u2013 5:00 PM\"},{\"day\":\"Sunday\",\"time\":\"10:00 AM \\u2013 2:00 PM\"}]}},{\"id\":\"lCwllAUb\",\"type\":\"cta\",\"data\":{\"heading\":\"Ready to give your pet the best care?\",\"text\":\"Book an appointment today \\u2014 our team can\\u2019t wait to meet you.\",\"button_label\":\"Book now\",\"button_url\":\"#contact\"}},{\"id\":\"oGwr1Jrr\",\"type\":\"contact\",\"data\":{\"heading\":\"Get in touch\",\"subheading\":\"Questions, bookings or emergencies \\u2014 we\\u2019re here to help.\",\"show_form\":\"1\"}}]}','{\"blocks\":\"[{\\\"id\\\":\\\"6kqMmwGT\\\",\\\"type\\\":\\\"hero\\\",\\\"data\\\":{\\\"eyebrow\\\":\\\"Trusted veterinary care\\\",\\\"heading\\\":\\\"Compassionate care for the pets you love\\\",\\\"subheading\\\":\\\"Modern medicine, a gentle touch, and a team that treats your companion like family.\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1576201836106-db1758fd1c97?auto=format&fit=crop&w=1400&q=80\\\",\\\"primary_label\\\":\\\"Book an appointment\\\",\\\"primary_url\\\":\\\"#contact\\\",\\\"secondary_label\\\":\\\"Our services\\\",\\\"secondary_url\\\":\\\"#services\\\"}},{\\\"id\\\":\\\"XFBHxS7k\\\",\\\"type\\\":\\\"services\\\",\\\"data\\\":{\\\"heading\\\":\\\"Complete care, under one roof\\\",\\\"items\\\":[{\\\"icon\\\":\\\"fas fa-stethoscope\\\",\\\"title\\\":\\\"Wellness Exams\\\",\\\"text\\\":\\\"Routine check-ups and preventive care to keep tails wagging.\\\"},{\\\"icon\\\":\\\"fas fa-syringe\\\",\\\"title\\\":\\\"Vaccinations\\\",\\\"text\\\":\\\"Tailored vaccination plans for lifelong protection.\\\"},{\\\"icon\\\":\\\"fas fa-tooth\\\",\\\"title\\\":\\\"Dental Care\\\",\\\"text\\\":\\\"Cleanings and oral surgery for a healthy smile.\\\"},{\\\"icon\\\":\\\"fas fa-x-ray\\\",\\\"title\\\":\\\"Diagnostics\\\",\\\"text\\\":\\\"On-site lab, digital X-ray and ultrasound.\\\"},{\\\"icon\\\":\\\"fas fa-heartbeat\\\",\\\"title\\\":\\\"Surgery\\\",\\\"text\\\":\\\"Safe, modern surgical suites with full monitoring.\\\"},{\\\"icon\\\":\\\"fas fa-ambulance\\\",\\\"title\\\":\\\"Emergency\\\",\\\"text\\\":\\\"Urgent care when your pet needs it most.\\\"}]}},{\\\"id\\\":\\\"FE02KR2Y\\\",\\\"type\\\":\\\"about\\\",\\\"data\\\":{\\\"heading\\\":\\\"Where your pet is family\\\",\\\"body\\\":\\\"<p>Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.<\\\\\\/p><p>From wagging-tail wellness visits to complex surgery, we treat every animal as if they were our own.<\\\\\\/p>\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=1000&q=80\\\"}},{\\\"id\\\":\\\"1bTSYVtu\\\",\\\"type\\\":\\\"stats\\\",\\\"data\\\":{\\\"items\\\":[{\\\"value\\\":\\\"15k+\\\",\\\"label\\\":\\\"Happy patients\\\"},{\\\"value\\\":\\\"20+\\\",\\\"label\\\":\\\"Years of care\\\"},{\\\"value\\\":\\\"24\\\\\\/7\\\",\\\"label\\\":\\\"Emergency support\\\"},{\\\"value\\\":\\\"4.9\\\",\\\"label\\\":\\\"Average rating\\\"}]}},{\\\"id\\\":\\\"v9tLkZAO\\\",\\\"type\\\":\\\"products\\\",\\\"data\\\":{\\\"heading\\\":\\\"Best sellers\\\",\\\"subheading\\\":\\\"Quality food, toys and accessories for your best friend.\\\",\\\"items\\\":[{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1589924691995-400dc9ecc119?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Premium Dog Food 5kg\\\",\\\"price\\\":\\\"$39\\\",\\\"old_price\\\":\\\"$49\\\",\\\"badge\\\":\\\"Sale\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1583511655826-05700d52f4d9?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Chew Toy Bundle\\\",\\\"price\\\":\\\"$18\\\",\\\"old_price\\\":\\\"\\\",\\\"badge\\\":\\\"New\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Cozy Pet Bed\\\",\\\"price\\\":\\\"$54\\\",\\\"old_price\\\":\\\"\\\",\\\"badge\\\":\\\"\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1576201836106-db1758fd1c97?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Grooming Kit\\\",\\\"price\\\":\\\"$29\\\",\\\"old_price\\\":\\\"$35\\\",\\\"badge\\\":\\\"Sale\\\"}]}},{\\\"id\\\":\\\"WrAlgHnI\\\",\\\"type\\\":\\\"pricing\\\",\\\"data\\\":{\\\"heading\\\":\\\"Our packages\\\",\\\"subheading\\\":\\\"Transparent pricing with no surprises.\\\",\\\"items\\\":[{\\\"name\\\":\\\"Basic Wash\\\",\\\"price\\\":\\\"$29\\\",\\\"period\\\":\\\"\\\\\\/ visit\\\",\\\"features\\\":\\\"Bath & blow dry\\\\nNail trim\\\\nEar cleaning\\\",\\\"featured\\\":\\\"0\\\"},{\\\"name\\\":\\\"Full Groom\\\",\\\"price\\\":\\\"$59\\\",\\\"period\\\":\\\"\\\\\\/ visit\\\",\\\"features\\\":\\\"Everything in Basic\\\\nHaircut & styling\\\\nTeeth brushing\\\\nPerfume finish\\\",\\\"featured\\\":\\\"1\\\"},{\\\"name\\\":\\\"Spa Deluxe\\\",\\\"price\\\":\\\"$89\\\",\\\"period\\\":\\\"\\\\\\/ visit\\\",\\\"features\\\":\\\"Everything in Full Groom\\\\nDe-shedding treatment\\\\nPaw & nose balm\\\\nMassage\\\",\\\"featured\\\":\\\"0\\\"}]}},{\\\"id\\\":\\\"jeasv4FW\\\",\\\"type\\\":\\\"team\\\",\\\"data\\\":{\\\"heading\\\":\\\"Meet our veterinary team\\\",\\\"subheading\\\":\\\"Caring, certified professionals dedicated to your pet\\\\u2019s wellbeing.\\\",\\\"items\\\":[{\\\"name\\\":\\\"Dr. Sarah Hill\\\",\\\"role\\\":\\\"Chief Veterinarian\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1594824476967-48c8b964273f?auto=format&fit=crop&w=500&q=80\\\"},{\\\"name\\\":\\\"Dr. James Park\\\",\\\"role\\\":\\\"Surgeon\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=500&q=80\\\"},{\\\"name\\\":\\\"Dr. Lena Ortiz\\\",\\\"role\\\":\\\"Internal Medicine\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=500&q=80\\\"},{\\\"name\\\":\\\"Dr. Omar Aziz\\\",\\\"role\\\":\\\"Dentistry & Surgery\\\",\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1622253692010-333f2da6031d?auto=format&fit=crop&w=500&q=80\\\"}]}},{\\\"id\\\":\\\"M8Nehmi6\\\",\\\"type\\\":\\\"pets\\\",\\\"data\\\":{\\\"heading\\\":\\\"Meet our adoptable friends\\\",\\\"subheading\\\":\\\"Every one of them is looking for a loving forever home.\\\",\\\"items\\\":[{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1543466835-00a7907e9de1?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Buddy\\\",\\\"breed\\\":\\\"Golden Retriever\\\",\\\"age\\\":\\\"2 years\\\",\\\"gender\\\":\\\"Male\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1574158622682-e40e69881006?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Mia\\\",\\\"breed\\\":\\\"Tabby Cat\\\",\\\"age\\\":\\\"1 year\\\",\\\"gender\\\":\\\"Female\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1518717758536-85ae29035b6d?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Rocky\\\",\\\"breed\\\":\\\"Labrador Mix\\\",\\\"age\\\":\\\"3 years\\\",\\\"gender\\\":\\\"Male\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1592194996308-7b43878e84a6?auto=format&fit=crop&w=500&q=80\\\",\\\"name\\\":\\\"Luna\\\",\\\"breed\\\":\\\"Siberian Husky\\\",\\\"age\\\":\\\"8 months\\\",\\\"gender\\\":\\\"Female\\\"}]}},{\\\"id\\\":\\\"VF3LHJlb\\\",\\\"type\\\":\\\"testimonials\\\",\\\"data\\\":{\\\"heading\\\":\\\"Loved by pet parents\\\",\\\"items\\\":[{\\\"quote\\\":\\\"They treated my dog like their own. Caring, professional and always available.\\\",\\\"name\\\":\\\"Emily R.\\\",\\\"meta\\\":\\\"Max\\\\u2019s mum\\\"},{\\\"quote\\\":\\\"Modern facilities and the friendliest staff. Highly recommend!\\\",\\\"name\\\":\\\"David K.\\\",\\\"meta\\\":\\\"Luna\\\\u2019s dad\\\"}]}},{\\\"id\\\":\\\"gDLdvK1X\\\",\\\"type\\\":\\\"gallery\\\",\\\"data\\\":{\\\"heading\\\":\\\"Inside our clinic\\\",\\\"items\\\":[{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1518717758536-85ae29035b6d?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Friendly faces\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Gentle handling\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1583337130417-3346a1be7dee?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Modern facilities\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1444212477490-ca407925329e?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Happy patients\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1535930891776-0c2dfb7fda1a?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Expert care\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1425082661705-1834bfd09dca?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Feline friends\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1606425271394-c3ca9ac8d4fb?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Comfortable wards\\\"},{\\\"image\\\":\\\"https:\\\\\\/\\\\\\/images.unsplash.com\\\\\\/photo-1597633425046-08f5110420b5?auto=format&fit=crop&w=700&q=80\\\",\\\"caption\\\":\\\"Surgical suite\\\"}]}},{\\\"id\\\":\\\"S3pQ8Mpz\\\",\\\"type\\\":\\\"faq\\\",\\\"data\\\":{\\\"heading\\\":\\\"Frequently asked questions\\\",\\\"items\\\":[{\\\"q\\\":\\\"Do you accept walk-ins?\\\",\\\"a\\\":\\\"Yes \\\\u2014 though we recommend booking ahead so we can prepare for your visit.\\\"},{\\\"q\\\":\\\"Do you offer emergency care?\\\",\\\"a\\\":\\\"We provide urgent care during clinic hours and can refer for overnight emergencies.\\\"}]}},{\\\"id\\\":\\\"JQ3zywDL\\\",\\\"type\\\":\\\"hours\\\",\\\"data\\\":{\\\"heading\\\":\\\"Opening hours\\\",\\\"items\\\":[{\\\"day\\\":\\\"Mon \\\\u2013 Fri\\\",\\\"time\\\":\\\"8:00 AM \\\\u2013 7:00 PM\\\"},{\\\"day\\\":\\\"Saturday\\\",\\\"time\\\":\\\"9:00 AM \\\\u2013 5:00 PM\\\"},{\\\"day\\\":\\\"Sunday\\\",\\\"time\\\":\\\"10:00 AM \\\\u2013 2:00 PM\\\"}]}},{\\\"id\\\":\\\"e3U267A6\\\",\\\"type\\\":\\\"cta\\\",\\\"data\\\":{\\\"heading\\\":\\\"Ready to give your pet the best care?\\\",\\\"text\\\":\\\"Book an appointment today \\\\u2014 our team can\\\\u2019t wait to meet you.\\\",\\\"button_label\\\":\\\"Book now\\\",\\\"button_url\\\":\\\"#contact\\\"}},{\\\"id\\\":\\\"sFqpSyUL\\\",\\\"type\\\":\\\"contact\\\",\\\"data\\\":{\\\"heading\\\":\\\"Get in touch\\\",\\\"subheading\\\":\\\"Questions, bookings or emergencies \\\\u2014 we\\\\u2019re here to help.\\\",\\\"show_form\\\":\\\"1\\\"}}]\"}','[\"blocks\"]','https://localhost/vet-one/public','GET','127.0.0.1','Symfony','2026-06-20 13:15:00','168f76af-2c08-41e9-8a36-6934569c8d2e',1),(236702,195,10,'login','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 13:40:04',NULL,1),(236703,195,10,'view','vc_appointment',89,'APT-0007',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/appointments/89','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 13:40:46','7a13e7e0-a11c-4719-a892-255bfc1cf442',1),(236704,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-18T23:47:45.000000Z\"}','{\"last_used_at\":\"2026-06-20 17:45:16\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/schedule?date=2026-06-20&scope=mine','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 14:45:16','4096ed82-966e-466f-be17-7c97cec0affc',1),(236705,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-20T14:45:16.000000Z\"}','{\"last_used_at\":\"2026-06-20 17:45:19\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments/89/consultation','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 14:45:19','3d2d2a43-e608-446e-b2fb-e77ebcdcf580',1),(236706,NULL,10,'update','Modules\\VetStaffPortal\\Entities\\VsStaffToken',8,'#8','{\"last_used_at\":\"2026-06-20T14:45:19.000000Z\"}','{\"last_used_at\":\"2026-06-20 17:45:20\"}','[\"last_used_at\"]','https://localhost/vet-one/public/api/v1/staff/appointments/89/exam/findings','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 14:45:20','63b5b0c7-82eb-4779-a5f6-4c698f9d0a84',1),(236707,195,10,'create','Modules\\VetClinic\\Entities\\VcBlockSetting',2,'#2',NULL,'{\"business_id\":10,\"id\":2}','[\"business_id\",\"id\"]','https://localhost/vet-one/public/vet-clinic/owner-blocking','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 15:00:05','ed916073-1352-4fcc-bbe5-e57db5899d99',1),(236708,195,10,'login','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-20 15:32:44',NULL,1),(236709,195,10,'view','vc_appointment',89,'APT-0007',NULL,NULL,'[]','https://localhost/vet-one/public/vet-clinic/appointments/89','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 16:01:56','aea7c431-a514-4646-918a-78cccfd8f8ff',1),(236710,195,10,'login','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 20:50:51',NULL,1),(236711,195,10,'update','Modules\\VetClinic\\Entities\\VcMedicine',479,'Amoxicillin','{\"product_id\":null}','{\"product_id\":\"15887\"}','[\"product_id\"]','https://localhost/vet-one/public/vet-clinic/medicines/479/update','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-20 20:54:04','a0773b6b-437d-4d2d-9717-b69759419ed8',1),(236712,195,10,'login','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/vet-one/public/login','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-20 21:08:52',NULL,1),(236713,195,10,'logout','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/saas-one/public/saas/exit','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 21:15:50',NULL,1),(236714,195,10,'logout','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/saas-one/public/saas/exit','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 21:16:55',NULL,1),(236715,198,10,'logout','auth',198,'Ms Salma Adel',NULL,NULL,'[]','https://localhost/saas-one/public/saas/exit','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 21:41:17',NULL,1),(236716,195,10,'logout','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/saas-one/public/saas/exit','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 22:49:22',NULL,1),(236717,195,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',168,'#168',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":61,\"wa_id\":\"201092288093\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Wed, 24 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram\\n\\ud83d\\udccd VET One \\u2014 Maadi\\nRef: APT-6A3B10E1ED0E9\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:97\",\"available_at\":\"2026-06-24 02:04:02\",\"created_by\":null,\"id\":168}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:02','cbee7864-ace9-488a-a37b-8a1525a6c289',1),(236718,195,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',168,'#168','[]','{\"conversation_id\":56}','[\"conversation_id\"]','https://localhost/saas-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:02','cbee7864-ace9-488a-a37b-8a1525a6c289',0),(236719,195,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',56,'#56','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Youssef Nabil, the appointment for *Rocky* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Thu, 18 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makra...\",\"last_message_at\":\"2026-06-18T23:07:28.000000Z\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One \\u2014 Maadi\\n\\nHi Karim Adel, the appointment for *Bella* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Wed, 24 Jun 2026\\n\\u23f0 *Time:* 09:00\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* Dr. Hossam Makram...\",\"last_message_at\":\"2026-06-24 02:04:02\"}','[\"last_message_excerpt\",\"last_message_at\"]','https://localhost/saas-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:02','cbee7864-ace9-488a-a37b-8a1525a6c289',0),(236720,195,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',97,'APT-6A3B10E1ED0E9',NULL,'{\"contact_id\":\"6094\",\"pet_id\":\"72\",\"doctor_id\":\"21\",\"department_id\":\"25\",\"appointment_date\":\"2026-06-24 00:00:00\",\"appointment_time\":\"09:00\",\"duration_minutes\":\"30\",\"reason\":null,\"type\":\"other\",\"notes\":null,\"business_id\":10,\"ref_no\":\"APT-6A3B10E1ED0E9\",\"status\":\"pending\",\"location_id\":\"13\",\"schedule_id\":\"79\",\"type_ids\":\"[\\\"4\\\"]\",\"reason_ids\":\"[\\\"3\\\"]\",\"has_overlap\":false,\"id\":97}','[\"contact_id\",\"pet_id\",\"doctor_id\",\"department_id\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"reason\",\"type\",\"notes\",\"business_id\",\"ref_no\",\"status\",\"location_id\",\"schedule_id\",\"type_ids\",\"reason_ids\",\"has_overlap\",\"id\"]','https://localhost/saas-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:02','cbee7864-ace9-488a-a37b-8a1525a6c289',0),(236721,195,10,'create','vc_appointment',97,'APT-6A3B10E1ED0E9',NULL,'{\"contact_id\":\"6094\",\"pet_id\":\"72\",\"doctor_id\":\"21\",\"department_id\":\"25\",\"appointment_date\":\"2026-06-24 00:00:00\",\"appointment_time\":\"09:00\",\"duration_minutes\":\"30\",\"reason\":null,\"type\":\"other\",\"notes\":null,\"business_id\":10,\"ref_no\":\"APT-6A3B10E1ED0E9\",\"status\":\"pending\",\"location_id\":\"13\",\"schedule_id\":\"79\",\"type_ids\":\"[\\\"4\\\"]\",\"reason_ids\":\"[\\\"3\\\"]\",\"has_overlap\":false,\"id\":97}','[\"contact_id\",\"pet_id\",\"doctor_id\",\"department_id\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"reason\",\"type\",\"notes\",\"business_id\",\"ref_no\",\"status\",\"location_id\",\"schedule_id\",\"type_ids\",\"reason_ids\",\"has_overlap\",\"id\"]','https://localhost/saas-one/public/vet-clinic/appointments/store','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:02','1e3b425d-42b3-4bfc-9985-247aa632ef61',1),(236722,195,10,'view','vc_appointment',97,'APT-6A3B10E1ED0E9',NULL,NULL,'[]','https://localhost/saas-one/public/vet-clinic/appointments/97','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:04','a8c8a62a-2440-4c4f-ab20-14949f51e06e',1),(236723,195,10,'update','Modules\\VetClinic\\Entities\\VcAppointment',97,'APT-6A3B10E1ED0E9','{\"status\":\"pending\",\"consultation_started_at\":null}','{\"status\":\"in_progress\",\"consultation_started_at\":\"2026-06-24 02:04:15\"}','[\"status\",\"consultation_started_at\"]','https://localhost/saas-one/public/vet-clinic/appointments/97/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:15','f05334ea-7534-4053-b866-00468b2ba7ff',1),(236724,195,10,'create','Modules\\VetClinic\\Entities\\VcAppointmentStatusLog',19,'#19',NULL,'{\"business_id\":10,\"appointment_id\":97,\"from_status\":\"pending\",\"to_status\":\"in_progress\",\"changed_by\":195,\"changed_at\":\"2026-06-24 02:04:15\",\"id\":19}','[\"business_id\",\"appointment_id\",\"from_status\",\"to_status\",\"changed_by\",\"changed_at\",\"id\"]','https://localhost/saas-one/public/vet-clinic/appointments/97/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:15','f05334ea-7534-4053-b866-00468b2ba7ff',0),(236725,195,10,'update','vc_appointment',97,'APT-6A3B10E1ED0E9','{\"status\":\"pending\"}','{\"status\":\"in_progress\",\"consultation_started_at\":\"2026-06-23T23:04:15.445877Z\"}','[\"status\",\"consultation_started_at\"]','https://localhost/saas-one/public/vet-clinic/appointments/97/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:15','f860b035-2dce-4b1a-9b39-68df87d70360',1),(236726,195,10,'update','Modules\\VetClinic\\Entities\\VcAppointment',97,'APT-6A3B10E1ED0E9','{\"ai_subjective_hash\":null,\"ai_exam_suggestions_json\":null,\"ai_symptoms_json\":null,\"ai_advice_updated_at\":null}','{\"ai_subjective_hash\":\"7c77c43698590ac50cf122d44cbf606589d95afa\",\"ai_exam_suggestions_json\":\"{\\\"suggested\\\":[],\\\"reason\\\":\\\"\\\"}\",\"ai_symptoms_json\":\"{\\\"findings\\\":[],\\\"overall_concern\\\":\\\"low\\\"}\",\"ai_advice_updated_at\":\"2026-06-23T23:04:34.082427Z\"}','[\"ai_subjective_hash\",\"ai_exam_suggestions_json\",\"ai_symptoms_json\",\"ai_advice_updated_at\"]','https://localhost/saas-one/public/vet-ai/cache-advice','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:04:34','0d8153f8-8c51-4493-a8dc-361420ae7a37',1),(236727,195,10,'logout','auth',195,'Dr Hossam Makram',NULL,NULL,'[]','https://localhost/saas-one/public/saas/exit','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-23 23:24:59',NULL,1),(236728,NULL,NULL,'update','App\\Business',10,'VET One','[]','{\"module_entitlements\":\"[\\\"VetClinic\\\",\\\"VetAdmission\\\",\\\"VetAI\\\",\\\"VetPortal\\\",\\\"VetSite\\\",\\\"VetStaffPortal\\\",\\\"NX600Lab\\\",\\\"IdexxLab\\\",\\\"AbaxisLab\\\"]\"}','[\"module_entitlements\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-24 08:21:15','79ac3d5b-97af-4a67-a1dd-48b371386fba',0),(236729,NULL,10,'create','App\\User',201,'Admin',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Admin\",\"username\":\"demo_vet_admin\",\"email\":\"demo_vet_admin@demo.local\",\"language\":\"en\",\"business_id\":10,\"status\":\"active\",\"allow_login\":1,\"id\":201}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public/demo/login/vet/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 21:46:15','a4aeeae4-4858-40c1-8134-62f2ba890752',1),(236730,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/login/vet/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 21:46:15',NULL,1),(236731,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/vet/login/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 22:08:54',NULL,1),(236732,201,10,'update','App\\Business',10,'VET One','{\"default_sales_discount\":null,\"stop_selling_before\":0,\"p_exchange_rate\":\"1.000\",\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"pos_settings\":null,\"weighing_scale_setting\":null,\"enabled_modules\":[\"purchases\",\"add_sale\",\"pos_sale\",\"stock_transfers\",\"stock_adjustment\",\"expenses\",\"account\",\"service_staff\",\"types_of_service\",\"booking\",\"subscription\"],\"ref_no_prefixes\":{\"purchase\":\"PO\",\"stock_transfer\":\"ST\",\"stock_adjustment\":\"SA\",\"sell_return\":\"CN\",\"expense\":\"EP\",\"contacts\":\"CO\",\"purchase_payment\":\"PP\",\"sell_payment\":\"SP\",\"business_location\":\"BL\"},\"amount_for_unit_rp\":\"1.0000\",\"min_order_total_for_rp\":\"1.0000\",\"redeem_amount_per_unit_rp\":\"1.0000\",\"min_order_total_for_redeem\":\"1.0000\",\"email_settings\":null,\"sms_settings\":null,\"custom_labels\":null,\"common_settings\":null}','{\"default_sales_discount\":0,\"stop_selling_before\":null,\"p_exchange_rate\":1,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"weighing_scale\\\":null,\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"pos_settings\":\"{\\\"amount_rounding_method\\\":null,\\\"cmmsn_calculation_type\\\":\\\"invoice_value\\\",\\\"razor_pay_key_id\\\":null,\\\"razor_pay_key_secret\\\":null,\\\"stripe_public_key\\\":null,\\\"stripe_secret_key\\\":null,\\\"display_screen_heading\\\":null,\\\"cash_denominations\\\":null,\\\"enable_cash_denomination_on\\\":\\\"pos_screen\\\",\\\"disable_pay_checkout\\\":0,\\\"disable_draft\\\":0,\\\"disable_express_checkout\\\":0,\\\"hide_product_suggestion\\\":0,\\\"hide_recent_trans\\\":0,\\\"disable_discount\\\":0,\\\"disable_order_tax\\\":0,\\\"is_pos_subtotal_editable\\\":0}\",\"weighing_scale_setting\":\"{\\\"label_prefix\\\":null,\\\"product_sku_length\\\":\\\"4\\\",\\\"qty_length\\\":\\\"3\\\",\\\"qty_length_decimal\\\":\\\"2\\\"}\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\",\\\"account\\\",\\\"subscription\\\",\\\"types_of_service\\\"]\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"purchase_return\\\":null,\\\"purchase_requisition\\\":null,\\\"purchase_order\\\":null,\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"expense_payment\\\":null,\\\"business_location\\\":\\\"BL\\\",\\\"username\\\":null,\\\"subscription\\\":null,\\\"draft\\\":null,\\\"sales_order\\\":null}\",\"amount_for_unit_rp\":1,\"min_order_total_for_rp\":1,\"redeem_amount_per_unit_rp\":1,\"min_order_total_for_redeem\":1,\"email_settings\":\"{\\\"mail_driver\\\":\\\"smtp\\\",\\\"mail_host\\\":null,\\\"mail_port\\\":null,\\\"mail_username\\\":null,\\\"mail_password\\\":null,\\\"mail_encryption\\\":null,\\\"mail_from_address\\\":null,\\\"mail_from_name\\\":null}\",\"sms_settings\":\"{\\\"sms_service\\\":\\\"other\\\",\\\"nexmo_key\\\":null,\\\"nexmo_secret\\\":null,\\\"nexmo_from\\\":null,\\\"twilio_sid\\\":null,\\\"twilio_token\\\":null,\\\"twilio_from\\\":null,\\\"url\\\":null,\\\"send_to_param_name\\\":\\\"to\\\",\\\"msg_param_name\\\":\\\"text\\\",\\\"request_method\\\":\\\"post\\\",\\\"header_1\\\":null,\\\"header_val_1\\\":null,\\\"header_2\\\":null,\\\"header_val_2\\\":null,\\\"header_3\\\":null,\\\"header_val_3\\\":null,\\\"param_1\\\":null,\\\"param_val_1\\\":null,\\\"param_2\\\":null,\\\"param_val_2\\\":null,\\\"param_3\\\":null,\\\"param_val_3\\\":null,\\\"param_4\\\":null,\\\"param_val_4\\\":null,\\\"param_5\\\":null,\\\"param_val_5\\\":null,\\\"param_6\\\":null,\\\"param_val_6\\\":null,\\\"param_7\\\":null,\\\"param_val_7\\\":null,\\\"param_8\\\":null,\\\"param_val_8\\\":null,\\\"param_9\\\":null,\\\"param_val_9\\\":null,\\\"param_10\\\":null,\\\"param_val_10\\\":null}\",\"custom_labels\":\"{\\\"payments\\\":{\\\"custom_pay_1\\\":null,\\\"custom_pay_2\\\":null,\\\"custom_pay_3\\\":null,\\\"custom_pay_4\\\":null,\\\"custom_pay_5\\\":null,\\\"custom_pay_6\\\":null,\\\"custom_pay_7\\\":null},\\\"contact\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null,\\\"custom_field_5\\\":null,\\\"custom_field_6\\\":null,\\\"custom_field_7\\\":null,\\\"custom_field_8\\\":null,\\\"custom_field_9\\\":null,\\\"custom_field_10\\\":null},\\\"product\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null,\\\"custom_field_5\\\":null,\\\"custom_field_6\\\":null,\\\"custom_field_7\\\":null,\\\"custom_field_8\\\":null,\\\"custom_field_9\\\":null,\\\"custom_field_10\\\":null,\\\"custom_field_11\\\":null,\\\"custom_field_12\\\":null,\\\"custom_field_13\\\":null,\\\"custom_field_14\\\":null,\\\"custom_field_15\\\":null,\\\"custom_field_16\\\":null,\\\"custom_field_17\\\":null,\\\"custom_field_18\\\":null,\\\"custom_field_19\\\":null,\\\"custom_field_20\\\":null},\\\"product_cf_details\\\":{\\\"1\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"2\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"3\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"4\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"5\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"6\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"7\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"8\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"9\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"10\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"11\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"12\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"13\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"14\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"15\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"16\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"17\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"18\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"19\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null},\\\"20\\\":{\\\"type\\\":null,\\\"dropdown_options\\\":null}},\\\"location\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null},\\\"user\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null},\\\"purchase\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null},\\\"purchase_shipping\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null,\\\"custom_field_5\\\":null},\\\"sell\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null},\\\"shipping\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null,\\\"custom_field_5\\\":null},\\\"types_of_service\\\":{\\\"custom_field_1\\\":null,\\\"custom_field_2\\\":null,\\\"custom_field_3\\\":null,\\\"custom_field_4\\\":null,\\\"custom_field_5\\\":null,\\\"custom_field_6\\\":null}}\",\"common_settings\":\"{\\\"default_credit_limit\\\":null,\\\"default_datatable_page_entries\\\":\\\"25\\\"}\"}','[\"default_sales_discount\",\"stop_selling_before\",\"p_exchange_rate\",\"keyboard_shortcuts\",\"pos_settings\",\"weighing_scale_setting\",\"enabled_modules\",\"ref_no_prefixes\",\"amount_for_unit_rp\",\"min_order_total_for_rp\",\"redeem_amount_per_unit_rp\",\"min_order_total_for_redeem\",\"email_settings\",\"sms_settings\",\"custom_labels\",\"common_settings\"]','https://localhost/saas-one/public/business/update','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 22:21:49','8b93751e-8bd2-4256-9a87-6ffdc7d7aa18',1),(236733,201,10,'view','vc_appointment',91,'APT-0009',NULL,NULL,'[]','https://localhost/saas-one/public/vet-clinic/appointments/91','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 22:24:49','88929cca-5eca-4196-b2a4-cc0d0ba4ca63',1),(236734,201,10,'update','Modules\\VetClinic\\Entities\\VcAppointment',91,'APT-0009','{\"status\":\"pending\",\"consultation_started_at\":null}','{\"status\":\"in_progress\",\"consultation_started_at\":\"2026-06-25 01:31:55\"}','[\"status\",\"consultation_started_at\"]','https://localhost/saas-one/public/vet-clinic/appointments/91/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 22:31:55','8998fc4b-fb58-47b4-bcf9-37138a331302',1),(236735,201,10,'create','Modules\\VetClinic\\Entities\\VcAppointmentStatusLog',20,'#20',NULL,'{\"business_id\":10,\"appointment_id\":91,\"from_status\":\"pending\",\"to_status\":\"in_progress\",\"changed_by\":201,\"changed_at\":\"2026-06-25 01:31:55\",\"id\":20}','[\"business_id\",\"appointment_id\",\"from_status\",\"to_status\",\"changed_by\",\"changed_at\",\"id\"]','https://localhost/saas-one/public/vet-clinic/appointments/91/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 22:31:55','8998fc4b-fb58-47b4-bcf9-37138a331302',0),(236736,201,10,'update','vc_appointment',91,'APT-0009','{\"status\":\"pending\"}','{\"status\":\"in_progress\",\"consultation_started_at\":\"2026-06-24T22:31:55.113714Z\"}','[\"status\",\"consultation_started_at\"]','https://localhost/saas-one/public/vet-clinic/appointments/91/status','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 22:31:55','816f3141-bf49-43f8-bdb1-9d2fc90860e4',1),(236737,201,10,'update','Modules\\VetClinic\\Entities\\VcAppointment',91,'APT-0009','{\"ai_subjective_hash\":null,\"ai_exam_suggestions_json\":null,\"ai_symptoms_json\":null,\"ai_advice_updated_at\":null}','{\"ai_subjective_hash\":\"642409b609908d21f0b6784365a2ae27f53a29a6\",\"ai_exam_suggestions_json\":\"{\\\"suggested\\\":[],\\\"reason\\\":\\\"\\\"}\",\"ai_symptoms_json\":\"{\\\"findings\\\":[],\\\"overall_concern\\\":\\\"low\\\"}\",\"ai_advice_updated_at\":\"2026-06-24T22:32:19.864434Z\"}','[\"ai_subjective_hash\",\"ai_exam_suggestions_json\",\"ai_symptoms_json\",\"ai_advice_updated_at\"]','https://localhost/saas-one/public/vet-ai/cache-advice','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','2026-06-24 22:32:19','95724fa6-1c3e-40ed-bf14-5304d3a64346',1),(236738,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/vet/login/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-24 23:20:04',NULL,1),(236739,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/vet/login/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-24 23:20:30',NULL,1),(236740,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',7,'default','{\"api_key\":null,\"model\":null,\"enabled\":false,\"use_separate_transcription\":false,\"t_provider\":null}','{\"api_key\":\"eyJpdiI6InU3eUkzbGlTTXhaU0Fua1BvYnNmanc9PSIsInZhbHVlIjoiUUo1TkhvQTh0dmJrNmx0R2hMblU4ZTgrL0lYb2tGd3NabVlIQnV3M3V0RTVERWdtZHhJV2RqOUR4UU5YNWM2bUd1cERUWkVpWHJiZlNJWVFUcElIbFE9PSIsIm1hYyI6IjY4MGZjOTk5YmM3OGNiZGJhN2EyMGRmZDI2NDIyY2Y3OTg0MDU3ZmJmMzY3MTk4YzhjOTlkMWE3MDhmY2QzNWUiLCJ0YWciOiIifQ==\",\"model\":\"mistral-large\",\"enabled\":1,\"use_separate_transcription\":1,\"t_provider\":\"webspeech\"}','[\"api_key\",\"model\",\"enabled\",\"use_separate_transcription\",\"t_provider\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:44:35','119ed7e4-e70b-463c-b21d-16feec6bbe56',1),(236741,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',21,'#21',NULL,'{\"business_id\":10,\"module\":\"VetClinic\",\"feature\":\"extract_symptoms\",\"provider\":\"openai_compatible\",\"model\":\"mistral-large\",\"tokens_in\":369,\"tokens_out\":121,\"ok\":true,\"error\":null,\"id\":21}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:44:38','119ed7e4-e70b-463c-b21d-16feec6bbe56',0),(236742,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',22,'#22',NULL,'{\"business_id\":10,\"module\":\"VetClinic\",\"feature\":\"clean_transcript\",\"provider\":\"openai_compatible\",\"model\":\"mistral-large\",\"tokens_in\":342,\"tokens_out\":28,\"ok\":true,\"error\":null,\"id\":22}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:44:40','119ed7e4-e70b-463c-b21d-16feec6bbe56',0),(236743,NULL,10,'create','Modules\\AiCore\\Entities\\AiProvider',9,'fallback',NULL,'{\"business_id\":10,\"name\":\"fallback\",\"provider\":\"openai_compatible\",\"base_url\":\"https:\\/\\/router.bynara.id\\/v1\",\"model\":\"mimo-v2.5-pro-free\",\"api_key\":\"eyJpdiI6IjhXRHNqL0hXdmU5TGFYRTZ6cXNXWkE9PSIsInZhbHVlIjoiaTNjVVhRYitReUxWQmNyRVJwU0dYbVNiVDRkN1BkaTRTVjZhK3JzdTRxOVNzc0JaSVFEZFlkakNXclpOcHJRbkJmUUJBczk5ZUx6dTFnZklhSTc5bVE9PSIsIm1hYyI6IjFhNGQ0OGI3ZDNkNDM1NzAzZTYyOTBhYjE4MzdkMDI0YWFmZTBiZGM1ZjU0MDJkMDc0NzFiYTlmZThkNzUwNmIiLCJ0YWciOiIifQ==\",\"enabled\":1,\"business_vertical\":\"vet_clinic\",\"id\":9}','[\"business_id\",\"name\",\"provider\",\"base_url\",\"model\",\"api_key\",\"enabled\",\"business_vertical\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:49:25','cef1989a-2d5d-43a0-b202-d085ef383b05',1),(236744,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',23,'#23',NULL,'{\"business_id\":10,\"module\":\"test\",\"feature\":\"failover_probe\",\"provider\":\"openai_compatible\",\"model\":\"nonexistent-model-zzz\",\"tokens_in\":0,\"tokens_out\":0,\"ok\":false,\"error\":\"API error 404: The requested model does not exist.\",\"id\":23}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:49:26','cef1989a-2d5d-43a0-b202-d085ef383b05',0),(236745,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',24,'#24',NULL,'{\"business_id\":10,\"module\":\"test\",\"feature\":\"failover_probe:fallback\",\"provider\":\"openai_compatible\",\"model\":\"mimo-v2.5-pro-free\",\"tokens_in\":22,\"tokens_out\":15,\"ok\":true,\"error\":null,\"id\":24}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:49:30','cef1989a-2d5d-43a0-b202-d085ef383b05',0),(236746,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',9,'fallback','{\"base_url\":\"https:\\/\\/router.bynara.id\\/v1\",\"api_key\":\"sk-nry-rcPNgAIbcl-M8CPdDs0BHT-Rlu3zGkLHOyW9Ww439hY\",\"model\":\"mimo-v2.5-pro-free\"}','{\"base_url\":\"https:\\/\\/api.groq.com\\/openai\\/v1\",\"api_key\":\"eyJpdiI6IjN3Y3hCYmFRdEx4SUpqRXRRN3RpSkE9PSIsInZhbHVlIjoiM0xGY0FjWWJTVUZNWXhkQmhDdnR4Y3JreFJ6bmJwTHV5dVJWOE5wL05rQ0VORzZ5SXUxUnY0YzZSaklpbzFwY2NxZkdWNFVtMElRcmwxalUwVElBM1E9PSIsIm1hYyI6IjUxMmVhYzQ4MzM3MjFkNzk4YWQ0YjFkZmZmMjZjMDI5MjYzM2U2N2E3ZmFhMzc2NDlmNTc0ODI3MDkzMGU1ODEiLCJ0YWciOiIifQ==\",\"model\":\"llama-3.3-70b-versatile\"}','[\"base_url\",\"api_key\",\"model\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:59:19','f2592b17-8b6d-4303-8e3e-42dd2efebe8c',1),(236747,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',7,'default','{\"t_provider\":\"webspeech\",\"t_api_key\":null,\"t_model\":null}','{\"t_provider\":\"whisper_groq\",\"t_api_key\":\"eyJpdiI6InlTMFpOWjNPWVBVTnhRR3FJbWdWVVE9PSIsInZhbHVlIjoiUzJ6WUszV3MvN3dpRW8wbGEvTGk0cGQwTlJvcGdqNnM2aDFObkwyL2lRZFg3bHJMeFBsZGVSaDJOTGJWeTNwdmVRM25BU1Y3WFE5TEVlRnpEc3NDUEE9PSIsIm1hYyI6ImMzM2Y0YjRhNTgyNDNiMzI5YWMzODRjZTI1Y2ExY2VmZjBkMGE0MzY2Y2Q0Njg3ZjIyNWU0MWE1ZDdlOWJhMmEiLCJ0YWciOiIifQ==\",\"t_model\":\"whisper-large-v3-turbo\"}','[\"t_provider\",\"t_api_key\",\"t_model\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:59:19','f2592b17-8b6d-4303-8e3e-42dd2efebe8c',0),(236748,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',25,'#25',NULL,'{\"business_id\":10,\"module\":\"test\",\"feature\":\"groq_fb_probe\",\"provider\":\"openai_compatible\",\"model\":\"nonexistent-zzz\",\"tokens_in\":0,\"tokens_out\":0,\"ok\":false,\"error\":\"API error 404: The requested model does not exist.\",\"id\":25}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:59:20','f2592b17-8b6d-4303-8e3e-42dd2efebe8c',0),(236749,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',26,'#26',NULL,'{\"business_id\":10,\"module\":\"test\",\"feature\":\"groq_fb_probe:fallback\",\"provider\":\"openai_compatible\",\"model\":\"llama-3.3-70b-versatile\",\"tokens_in\":45,\"tokens_out\":2,\"ok\":true,\"error\":null,\"id\":26}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 02:59:20','f2592b17-8b6d-4303-8e3e-42dd2efebe8c',0),(236750,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',27,'#27',NULL,'{\"business_id\":10,\"module\":\"VetClinic\",\"feature\":\"clean_transcript\",\"provider\":\"openai_compatible\",\"model\":\"mistral-large\",\"tokens_in\":342,\"tokens_out\":28,\"ok\":true,\"error\":null,\"id\":27}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 03:00:36','82259b3b-72c0-49dd-8566-0de52e3acf17',1),(236751,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',7,'default','{\"base_url\":\"https:\\/\\/router.bynara.id\\/v1\",\"api_key\":\"sk-nry-rcPNgAIbcl-M8CPdDs0BHT-Rlu3zGkLHOyW9Ww439hY\",\"model\":\"mistral-large\"}','{\"base_url\":\"https:\\/\\/api.groq.com\\/openai\\/v1\",\"api_key\":\"eyJpdiI6IjJ5Y0lTT3A1K1pNZmlCaW4xVDRvNUE9PSIsInZhbHVlIjoiZlJ5OC9xTGVXVXY0SHViVTNTa3QvR1F3SlNjenlwUllDUEYxNDBlU0YvcXhNQU5oNHJOSlFyREY4V3ZFQTFoR1RXL3BmNU13MnA1eVh2YWV5N1B4dkE9PSIsIm1hYyI6ImU5YWRkMjZjZTI2OTJiMWY1MjIxZTQzNTcwMDE5N2JkMzAxMzcwMTkyMDlhNWFjYjQ1ZTZkM2NlZTI5NDg3ZTMiLCJ0YWciOiIifQ==\",\"model\":\"llama-3.3-70b-versatile\"}','[\"base_url\",\"api_key\",\"model\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 03:02:54','2ea73159-12f1-40bc-98f1-3f79b5659f1c',1),(236752,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',9,'fallback','{\"base_url\":\"https:\\/\\/api.groq.com\\/openai\\/v1\",\"api_key\":\"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\",\"model\":\"llama-3.3-70b-versatile\"}','{\"base_url\":\"https:\\/\\/router.bynara.id\\/v1\",\"api_key\":\"eyJpdiI6Imt4aTRPV2c1ZU1UWG9CYXhnblYzVXc9PSIsInZhbHVlIjoidUVjODc5OVNoeWxRQVRVQ0Q2Y3FOVmx5TEg1d0hsU24yOUlUNW9veHl1Z0ZuKzVpQ24wMnliY1FhMDZHbk5WWjBYRzRSQ2ptNG8xUzhOWHIwS3J4WFE9PSIsIm1hYyI6ImZhZDgxYmI1NjYyNzhiYmQzMzQ1ZTY0MmY1YTQxZmMwNjAzMDQ0MmEzMzY5ZmVmNjNmM2Q5NTcwODVmNGQxN2YiLCJ0YWciOiIifQ==\",\"model\":\"mistral-large\"}','[\"base_url\",\"api_key\",\"model\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 03:02:54','2ea73159-12f1-40bc-98f1-3f79b5659f1c',0),(236753,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',28,'#28',NULL,'{\"business_id\":10,\"module\":\"test\",\"feature\":\"primary_check\",\"provider\":\"openai_compatible\",\"model\":\"llama-3.3-70b-versatile\",\"tokens_in\":61,\"tokens_out\":30,\"ok\":true,\"error\":null,\"id\":28}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 03:02:55','2ea73159-12f1-40bc-98f1-3f79b5659f1c',0),(236754,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',7,'default','{\"t_provider\":\"whisper_groq\"}','{\"t_provider\":\"webspeech\"}','[\"t_provider\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 03:21:03','43a0edda-11c3-4bb8-9f5a-8cb6cec843bb',0),(236755,NULL,5,'update','Modules\\AiCore\\Entities\\AiProvider',8,'default','{\"provider\":\"anthropic\",\"base_url\":null,\"api_key\":null,\"model\":null,\"enabled\":false,\"use_separate_transcription\":false,\"t_provider\":null}','{\"provider\":\"openai_compatible\",\"base_url\":\"https:\\/\\/api.groq.com\\/openai\\/v1\",\"api_key\":\"eyJpdiI6InZzRUNXTllHZklLNXh4N1BFdWp6bVE9PSIsInZhbHVlIjoiTGVWSU9aSnZqdjhzWSt0NllUMURDTDZEOEE1VjBQMGFuemg1QnVHNjFQakJlYktyWDBpL3RtY0N4ZzJoWnFZdzh0WXdKSjhDNC8vWHpOUDRtQnl5UVE9PSIsIm1hYyI6IjY4NzNiZDJiM2ViYmVkYThkYzYxZmIwNDE4YmZlYWUzMjM0YjUxNDViYTIzNDc3N2Q1YTVkMzQ1ODc2NDQ3YjciLCJ0YWciOiIifQ==\",\"model\":\"llama-3.3-70b-versatile\",\"enabled\":1,\"use_separate_transcription\":1,\"t_provider\":\"webspeech\"}','[\"provider\",\"base_url\",\"api_key\",\"model\",\"enabled\",\"use_separate_transcription\",\"t_provider\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 03:21:03','43a0edda-11c3-4bb8-9f5a-8cb6cec843bb',0),(236756,NULL,5,'create','Modules\\AiCore\\Entities\\AiProvider',10,'fallback',NULL,'{\"business_id\":5,\"name\":\"fallback\",\"business_vertical\":\"vet_clinic\",\"provider\":\"openai_compatible\",\"base_url\":\"https:\\/\\/router.bynara.id\\/v1\",\"model\":\"mistral-large\",\"api_key\":\"eyJpdiI6ImFaT2ZnMGtlMnJ6bitldWFQd1A0K3c9PSIsInZhbHVlIjoiTU1XQXd1eUhmWkx5Y1VxVnlYckovV3hvbUpCQk9SdnQ3NVNRTk5Oc2RzUDVGajU2V3hsdFRzK1VRV0x4WXJOU08wRkZxeW5rR1lYMGJ3U25BbFhtOVE9PSIsIm1hYyI6IjA0OTFkYmUwYWMyNzdlNTYxMzIwNzc3MTdjMTFlM2NiNDdlNWFkOTkxMTkzZDZhZjZkYjViNTBlMGYxMWFkZjUiLCJ0YWciOiIifQ==\",\"enabled\":1,\"id\":10}','[\"business_id\",\"name\",\"business_vertical\",\"provider\",\"base_url\",\"model\",\"api_key\",\"enabled\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 03:21:03','43a0edda-11c3-4bb8-9f5a-8cb6cec843bb',0),(236757,201,10,'view','vc_appointment',97,'APT-6A3B10E1ED0E9',NULL,NULL,'[]','https://localhost/saas-one/public/vet-clinic/appointments/97','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-25 03:22:04','0d3f0eae-a055-4681-97c1-c4c7602a26a2',1),(236758,201,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',29,'#29',NULL,'{\"business_id\":10,\"module\":\"VetClinic\",\"feature\":\"clean_transcript\",\"provider\":\"openai_compatible\",\"model\":\"llama-3.3-70b-versatile\",\"tokens_in\":343,\"tokens_out\":22,\"ok\":true,\"error\":null,\"id\":29}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public/vet-ai/clean-transcript','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-25 03:22:32','31d4ea5b-36f7-4a98-a3d3-af4e32cf7509',1),(236759,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',7,'default','{\"meta\":null}','{\"meta\":\"{\\\"prompts\\\":{\\\"vet.clean\\\":\\\"OVERRIDE TEST\\\"}}\"}','[\"meta\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 15:34:11','58bcb3e4-2375-4080-a7ab-3a581711f565',1),(236760,NULL,10,'update','Modules\\AiCore\\Entities\\AiProvider',7,'default','{\"meta\":{\"prompts\":{\"vet.clean\":\"OVERRIDE TEST\"}}}','{\"meta\":\"{\\\"prompts\\\":[]}\"}','[\"meta\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-25 15:34:11','58bcb3e4-2375-4080-a7ab-3a581711f565',0),(236761,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/vet/login/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-26 01:43:58',NULL,1),(236762,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',30,'#30',NULL,'{\"business_id\":10,\"module\":\"VetClinic\",\"feature\":\"rx_safety_check\",\"provider\":\"openai_compatible\",\"model\":\"llama-3.3-70b-versatile\",\"tokens_in\":0,\"tokens_out\":0,\"ok\":false,\"error\":\"Request failed: cURL error 28: Failed to connect to api.groq.com port 443 after 10008 ms: Timeout was reached (see https:\\/\\/curl.haxx.se\\/libcurl\\/c\\/libcurl-errors.html) for https:\\/\\/api.groq.com\\/openai\\/v1\\/chat\\/completions\",\"id\":30}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 01:48:20','277661ea-f9d4-4307-a315-2a96217a24e5',1),(236763,NULL,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',31,'#31',NULL,'{\"business_id\":10,\"module\":\"VetClinic\",\"feature\":\"rx_safety_check:fallback\",\"provider\":\"openai_compatible\",\"model\":\"mistral-large\",\"tokens_in\":61,\"tokens_out\":199,\"ok\":true,\"error\":null,\"id\":31}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 01:48:31','277661ea-f9d4-4307-a315-2a96217a24e5',0),(236764,201,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',32,'#32',NULL,'{\"business_id\":10,\"module\":\"VetClinic\",\"feature\":\"rx_safety_check\",\"provider\":\"openai_compatible\",\"model\":\"llama-3.3-70b-versatile\",\"tokens_in\":305,\"tokens_out\":63,\"ok\":true,\"error\":null,\"id\":32}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public/vet-clinic/prescriptions/check-safety','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-26 01:51:57','5d6ed3d0-e9a3-41c6-8f8a-542272aca8b2',1),(236765,201,10,'create','Modules\\AiCore\\Entities\\AiUsageLog',33,'#33',NULL,'{\"business_id\":10,\"module\":\"AiCore\",\"feature\":\"lab_interpret\",\"provider\":\"openai_compatible\",\"model\":\"llama-3.3-70b-versatile\",\"tokens_in\":265,\"tokens_out\":109,\"ok\":true,\"error\":null,\"id\":33}','[\"business_id\",\"module\",\"feature\",\"provider\",\"model\",\"tokens_in\",\"tokens_out\",\"ok\",\"error\",\"id\"]','https://localhost/saas-one/public/ai-core/interpret-lab','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-26 02:50:34','6234fd38-5734-4382-8601-4512c6d0498f',1),(236766,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/vet/login/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-26 11:10:13',NULL,1),(236767,201,10,'create','App\\System',39,'#39',NULL,'{\"key\":\"neoskin_theme\",\"value\":\"{\\\"accent\\\":\\\"#a78bfa\\\",\\\"accent2\\\":\\\"#22d3ee\\\",\\\"bg\\\":\\\"#0b1020\\\",\\\"surface\\\":\\\"#121a33\\\",\\\"surface2\\\":\\\"#0e1530\\\",\\\"bg_preset\\\":\\\"midnight\\\"}\",\"id\":39}','[\"key\",\"value\",\"id\"]','https://localhost/saas-one/public/neo-skin/settings','POST','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-26 11:50:58','1f22acd5-b074-466c-b49c-88895f3bdf0a',1),(236768,NULL,10,'create','Modules\\PortalApi\\Entities\\PortalBrand',2,'Guest Test Clinic',NULL,'{\"business_id\":10,\"slug\":\"guesttestab061\",\"name\":\"Guest Test Clinic\",\"is_active\":true,\"public_booking\":true,\"login_methods\":\"[\\\"otp\\\"]\",\"id\":2}','[\"business_id\",\"slug\",\"name\",\"is_active\",\"public_booking\",\"login_methods\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:48','50b38d4f-c84a-4081-b857-6858773fe3e2',1),(236769,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaContact',62,'#62',NULL,'{\"business_id\":10,\"wa_id\":\"201096395880\",\"id\":62}','[\"business_id\",\"wa_id\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:48','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236770,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',169,'#169',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":62,\"wa_id\":\"201096395880\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi Guest Tester, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"contact_welcome\",\"dedupe_key\":\"contact_welcome:6104\",\"available_at\":\"2026-06-26 18:06:48\",\"created_by\":null,\"id\":169}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:48','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236771,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaConversation',57,'#57',NULL,'{\"business_id\":10,\"channel_id\":null,\"wa_id\":\"201096395880\",\"status\":\"open\",\"ai_enabled\":true,\"id\":57}','[\"business_id\",\"channel_id\",\"wa_id\",\"status\",\"ai_enabled\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:48','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236772,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',57,'#57','[]','{\"contact_id\":62}','[\"contact_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:48','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236773,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',169,'#169','[]','{\"conversation_id\":57}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:48','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236774,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',57,'#57','[]','{\"last_direction\":\"out\",\"last_message_excerpt\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi Guest Tester, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered...\",\"last_message_at\":\"2026-06-26 18:06:48\"}','[\"last_direction\",\"last_message_excerpt\",\"last_message_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:48','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236775,NULL,10,'create','App\\Contact',6104,'Guest Tester',NULL,'{\"business_id\":10,\"name\":\"Guest Tester\",\"mobile\":\"+201096395880\",\"email\":null,\"type\":\"customer\",\"contact_status\":\"active\",\"created_by\":195,\"id\":6104}','[\"business_id\",\"name\",\"mobile\",\"email\",\"type\",\"contact_status\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236776,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',170,'#170',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":62,\"wa_id\":\"201096395880\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, TestyPet!*\\n\\nHi Guest Tester, *TestyPet* has been added to your profile at VET One.\\n\\nWe\'ll help you keep TestyPet healthy with timely checkups, vaccinations and reminders.\\nReply anytime to book a visit. \\ud83d\\udc9a\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"pet_welcome\",\"dedupe_key\":\"pet_welcome:84\",\"available_at\":\"2026-06-26 18:06:49\",\"created_by\":null,\"id\":170}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236777,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',170,'#170','[]','{\"conversation_id\":57}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236778,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',57,'#57','{\"last_message_excerpt\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi Guest Tester, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered...\",\"last_message_at\":\"2026-06-26T15:06:48.000000Z\"}','{\"last_message_excerpt\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, TestyPet!*\\n\\nHi Guest Tester, *TestyPet* has been added to your profile at VET One.\\n\\nWe\'ll help you keep TestyPet healthy with timely checkups, vaccinations and remin...\",\"last_message_at\":\"2026-06-26 18:06:49\"}','[\"last_message_excerpt\",\"last_message_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236779,NULL,10,'create','Modules\\VetClinic\\Entities\\VcPet',84,'#84',NULL,'{\"business_id\":10,\"contact_id\":6104,\"petname\":\"TestyPet\",\"species\":\"Dog\",\"status\":\"active\",\"id\":84}','[\"business_id\",\"contact_id\",\"petname\",\"species\",\"status\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236780,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',171,'#171',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":62,\"wa_id\":\"201096395880\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Guest Tester, the appointment for *TestyPet* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sat, 27 Jun 2026\\n\\u23f0 *Time:* 10:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-92931A\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:98\",\"available_at\":\"2026-06-26 18:06:49\",\"created_by\":null,\"id\":171}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236781,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',171,'#171','[]','{\"conversation_id\":57}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236782,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',57,'#57','{\"last_message_excerpt\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, TestyPet!*\\n\\nHi Guest Tester, *TestyPet* has been added to your profile at VET One.\\n\\nWe\'ll help you keep TestyPet healthy with timely checkups, vaccinations and remin...\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Guest Tester, the appointment for *TestyPet* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sat, 27 Jun 2026\\n\\u23f0 *Time:* 10:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-92931A...\"}','[\"last_message_excerpt\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236783,NULL,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',98,'APT-92931A',NULL,'{\"business_id\":10,\"contact_id\":6104,\"pet_id\":84,\"doctor_id\":null,\"ref_no\":\"APT-92931A\",\"appointment_date\":\"2026-06-27 00:00:00\",\"appointment_time\":\"10:30:00\",\"duration_minutes\":30,\"status\":\"pending\",\"reason\":\"Checkup\",\"notes\":\"[Online booking request via the public portal]\",\"id\":98}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"ref_no\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"status\",\"reason\",\"notes\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236784,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',172,'#172',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":62,\"wa_id\":\"201096395880\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Guest Tester, the appointment for *TestyPet* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sat, 27 Jun 2026\\n\\u23f0 *Time:* 11:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-9460C4\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:99\",\"available_at\":\"2026-06-26 18:06:49\",\"created_by\":null,\"id\":172}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236785,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',172,'#172','[]','{\"conversation_id\":57}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236786,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',57,'#57','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Guest Tester, the appointment for *TestyPet* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sat, 27 Jun 2026\\n\\u23f0 *Time:* 10:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-92931A...\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Guest Tester, the appointment for *TestyPet* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sat, 27 Jun 2026\\n\\u23f0 *Time:* 11:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-9460C4...\"}','[\"last_message_excerpt\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236787,NULL,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',99,'APT-9460C4',NULL,'{\"business_id\":10,\"contact_id\":6104,\"pet_id\":84,\"doctor_id\":null,\"ref_no\":\"APT-9460C4\",\"appointment_date\":\"2026-06-27 00:00:00\",\"appointment_time\":\"11:30:00\",\"duration_minutes\":30,\"status\":\"pending\",\"reason\":null,\"notes\":\"[Online booking request via the public portal]\",\"id\":99}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"ref_no\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"status\",\"reason\",\"notes\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236788,NULL,10,'update','Modules\\PortalApi\\Entities\\PortalBrand',2,'Guest Test Clinic','{\"public_booking\":true}','{\"public_booking\":false}','[\"public_booking\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 15:06:49','50b38d4f-c84a-4081-b857-6858773fe3e2',0),(236789,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/vet/login/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-26 18:19:27',NULL,1),(236790,NULL,10,'create','Modules\\PortalApi\\Entities\\PortalBrand',3,'OTP Test',NULL,'{\"business_id\":10,\"slug\":\"otptestb33fb\",\"name\":\"OTP Test\",\"is_active\":true,\"public_booking\":true,\"booking_otp\":true,\"login_methods\":\"[\\\"otp\\\"]\",\"id\":3}','[\"business_id\",\"slug\",\"name\",\"is_active\",\"public_booking\",\"booking_otp\",\"login_methods\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:10:14','fb4493ab-df46-41bb-a07c-10495c044929',1),(236791,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',55,'#55df96c4-0ab6-48d5-86c9-bdf36b4d2911',NULL,'{\"id\":\"55df96c4-0ab6-48d5-86c9-bdf36b4d2911\",\"owner_id\":null,\"phone\":\"+201086386340\",\"code_hash\":\"$2y$10$HpyUYjMSD43EyRLzQ\\/xlQO2tFvLfsylihlLH8vlvmEtJqa\\/2bfa46\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:20:15\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:10:15','fb4493ab-df46-41bb-a07c-10495c044929',0),(236792,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',55,'#55df96c4-0ab6-48d5-86c9-bdf36b4d2911','{\"attempts\":0}','{\"attempts\":1}','[\"attempts\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:10:15','fb4493ab-df46-41bb-a07c-10495c044929',0),(236793,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',54,'#54b32bb0-4f04-4d7f-9652-1d0f7e3cd40c',NULL,'{\"id\":\"54b32bb0-4f04-4d7f-9652-1d0f7e3cd40c\",\"owner_id\":null,\"phone\":\"+201080000001\",\"code_hash\":\"$2y$10$pgcx5uLCl98.yK2V4lurPOq8SX3wh3nRggPfC7.6fcrTEoSlfi.ka\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:21:42\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:11:42','81533fe2-746d-4420-a0e5-4b5826e5158e',1),(236794,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',0,'#f5f8cad3-35ce-41fb-8879-22197663123c',NULL,'{\"id\":\"f5f8cad3-35ce-41fb-8879-22197663123c\",\"owner_id\":null,\"phone\":\"+201080000002\",\"code_hash\":\"$2y$10$.70lX1APlaPnlrRiwZxkdug2AUvmxqV\\/OWL2vgisRFqJ08HwUvhOq\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:22:36\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:12:36','30cf2cce-5a77-4fa6-9e04-d2c71edb9ea3',1),(236795,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',0,'#f5f8cad3-35ce-41fb-8879-22197663123c','{\"used_at\":null}','{\"used_at\":\"2026-06-27 01:12:36\"}','[\"used_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:12:36','30cf2cce-5a77-4fa6-9e04-d2c71edb9ea3',0),(236796,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',0,'#c762e7ab-377b-451a-88da-1c53753d7802',NULL,'{\"id\":\"c762e7ab-377b-451a-88da-1c53753d7802\",\"owner_id\":null,\"phone\":\"+201080000003\",\"code_hash\":\"$2y$10$cDy0GVjiLU0buM6wbaUHy.ZbTM5eW9dJTsPtrkUTmyUU2E.odB2Sa\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:23:32\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:13:33','a1270463-3960-4124-a867-b29f8c08ddb3',1),(236797,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',0,'#c762e7ab-377b-451a-88da-1c53753d7802','{\"attempts\":0}','{\"attempts\":1}','[\"attempts\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:13:33','a1270463-3960-4124-a867-b29f8c08ddb3',0),(236798,NULL,10,'create','Modules\\PortalApi\\Entities\\PortalBrand',4,'R',NULL,'{\"business_id\":10,\"slug\":\"otpr1e0af\",\"name\":\"R\",\"is_active\":true,\"public_booking\":true,\"booking_otp\":true,\"login_methods\":\"[\\\"otp\\\"]\",\"id\":4}','[\"business_id\",\"slug\",\"name\",\"is_active\",\"public_booking\",\"booking_otp\",\"login_methods\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:13:33','a1270463-3960-4124-a867-b29f8c08ddb3',0),(236799,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',0,'#df0c9e22-8ec9-4e09-b4fc-ac2931a1273d',NULL,'{\"id\":\"df0c9e22-8ec9-4e09-b4fc-ac2931a1273d\",\"owner_id\":null,\"phone\":\"+201080000005\",\"code_hash\":\"$2y$10$IQTnzLQr5wzz0J2iReHhi.zC3TNJSo8DyFWBqdyPEfilJ5Z5shBV.\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:24:17\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:14:17','53f75e20-54ac-4312-aad7-ec0e62867d4c',1),(236800,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',0,'#df0c9e22-8ec9-4e09-b4fc-ac2931a1273d','{\"attempts\":0}','{\"attempts\":1}','[\"attempts\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:14:17','53f75e20-54ac-4312-aad7-ec0e62867d4c',0),(236801,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',639,'#639c66fc-8859-4622-9b5f-203ad6ff772d',NULL,'{\"id\":\"639c66fc-8859-4622-9b5f-203ad6ff772d\",\"owner_id\":null,\"phone\":\"+201080000006\",\"code_hash\":\"$2y$10$x.Oc8pivIb1oWv9.indfzeFR5j1ofr8vHl7wJJbzaopkE\\/.2AMnk2\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:25:30\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:15:30','f54ee7a8-7788-4db6-8257-0994c6744693',1),(236802,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',6,'#6fba7ef6-8d14-4674-8e4a-040409522647',NULL,'{\"id\":\"6fba7ef6-8d14-4674-8e4a-040409522647\",\"owner_id\":null,\"phone\":\"+201080000007\",\"code_hash\":\"$2y$10$bOrnTH4fti4Q3Ys3CDtWW.tb1yrSJpWDKggEA6ex2IAGp.kFBmZwS\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:26:15\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:16:15','24d3fab8-0a28-47e1-9583-02ac64b4b215',1),(236803,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',6,'#6fba7ef6-8d14-4674-8e4a-040409522647','{\"attempts\":0}','{\"attempts\":1}','[\"attempts\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:16:15','24d3fab8-0a28-47e1-9583-02ac64b4b215',0),(236804,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',8,'#8d77f81e-f975-465b-b651-6a526b00e504',NULL,'{\"id\":\"8d77f81e-f975-465b-b651-6a526b00e504\",\"owner_id\":null,\"phone\":\"+201080000008\",\"code_hash\":\"$2y$10$SKlKn9.p7nFa.jIGijT0reCM5pg.QM0kVsQpjW9o1KuRZ0JikTEzW\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:26:51\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:16:51','31ce4808-a13d-41ee-9cc3-0d40a1182f91',1),(236805,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',8,'#8d77f81e-f975-465b-b651-6a526b00e504','{\"attempts\":0}','{\"attempts\":1}','[\"attempts\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:16:51','31ce4808-a13d-41ee-9cc3-0d40a1182f91',0),(236806,NULL,10,'create','Modules\\PortalApi\\Entities\\PortalBrand',6,'OTP2 Test',NULL,'{\"business_id\":10,\"slug\":\"otp29833f\",\"name\":\"OTP2 Test\",\"is_active\":true,\"public_booking\":true,\"booking_otp\":true,\"login_methods\":\"[\\\"otp\\\"]\",\"id\":6}','[\"business_id\",\"slug\",\"name\",\"is_active\",\"public_booking\",\"booking_otp\",\"login_methods\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:50','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',1),(236807,NULL,NULL,'create','Modules\\PortalApi\\Entities\\PortalOtpChallenge',6,'#6fb1fafb-2ea4-4b64-a277-305397306f58',NULL,'{\"id\":\"6fb1fafb-2ea4-4b64-a277-305397306f58\",\"owner_id\":null,\"phone\":\"+201082630698\",\"code_hash\":\"$2y$10$0gc.griwRkjOk12z145QrOF7KZf\\/Rv8eFF11xoyIXk27Lp1RZ47f2\",\"attempts\":0,\"expires_at\":\"2026-06-27 01:29:50\"}','[\"id\",\"owner_id\",\"phone\",\"code_hash\",\"attempts\",\"expires_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:50','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236808,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',6,'#6fb1fafb-2ea4-4b64-a277-305397306f58','{\"attempts\":0}','{\"attempts\":1}','[\"attempts\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:50','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236809,NULL,NULL,'update','Modules\\PortalApi\\Entities\\PortalOtpChallenge',6,'#6fb1fafb-2ea4-4b64-a277-305397306f58','{\"used_at\":null}','{\"used_at\":\"2026-06-27 01:19:50\"}','[\"used_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:50','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236810,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaContact',63,'#63',NULL,'{\"business_id\":10,\"wa_id\":\"201082630698\",\"id\":63}','[\"business_id\",\"wa_id\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:50','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236811,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',173,'#173',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":63,\"wa_id\":\"201082630698\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi OTP2, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"contact_welcome\",\"dedupe_key\":\"contact_welcome:6105\",\"available_at\":\"2026-06-27 01:19:50\",\"created_by\":null,\"id\":173}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:50','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236812,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaConversation',58,'#58',NULL,'{\"business_id\":10,\"channel_id\":null,\"wa_id\":\"201082630698\",\"status\":\"open\",\"ai_enabled\":true,\"id\":58}','[\"business_id\",\"channel_id\",\"wa_id\",\"status\",\"ai_enabled\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236813,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',58,'#58','[]','{\"contact_id\":63}','[\"contact_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236814,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',173,'#173','[]','{\"conversation_id\":58}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236815,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',58,'#58','[]','{\"last_direction\":\"out\",\"last_message_excerpt\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi OTP2, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered by TPS_\",\"last_message_at\":\"2026-06-27 01:19:51\"}','[\"last_direction\",\"last_message_excerpt\",\"last_message_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236816,NULL,10,'create','App\\Contact',6105,'OTP2',NULL,'{\"business_id\":10,\"name\":\"OTP2\",\"mobile\":\"+201082630698\",\"email\":null,\"type\":\"customer\",\"contact_status\":\"active\",\"created_by\":195,\"id\":6105}','[\"business_id\",\"name\",\"mobile\",\"email\",\"type\",\"contact_status\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236817,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',174,'#174',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":63,\"wa_id\":\"201082630698\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, P2!*\\n\\nHi OTP2, *P2* has been added to your profile at VET One.\\n\\nWe\'ll help you keep P2 healthy with timely checkups, vaccinations and reminders.\\nReply anytime to book a visit. \\ud83d\\udc9a\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"pet_welcome\",\"dedupe_key\":\"pet_welcome:85\",\"available_at\":\"2026-06-27 01:19:51\",\"created_by\":null,\"id\":174}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236818,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',174,'#174','[]','{\"conversation_id\":58}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236819,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',58,'#58','{\"last_message_excerpt\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi OTP2, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered by TPS_\"}','{\"last_message_excerpt\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, P2!*\\n\\nHi OTP2, *P2* has been added to your profile at VET One.\\n\\nWe\'ll help you keep P2 healthy with timely checkups, vaccinations and reminders.\\nReply anytime to boo...\"}','[\"last_message_excerpt\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236820,NULL,10,'create','Modules\\VetClinic\\Entities\\VcPet',85,'#85',NULL,'{\"business_id\":10,\"contact_id\":6105,\"petname\":\"P2\",\"species\":\"Dog\",\"status\":\"active\",\"id\":85}','[\"business_id\",\"contact_id\",\"petname\",\"species\",\"status\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236821,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',175,'#175',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":63,\"wa_id\":\"201082630698\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi OTP2, the appointment for *P2* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 28 Jun 2026\\n\\u23f0 *Time:* 09:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-72CB92\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:100\",\"available_at\":\"2026-06-27 01:19:51\",\"created_by\":null,\"id\":175}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236822,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',175,'#175','[]','{\"conversation_id\":58}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236823,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',58,'#58','{\"last_message_excerpt\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, P2!*\\n\\nHi OTP2, *P2* has been added to your profile at VET One.\\n\\nWe\'ll help you keep P2 healthy with timely checkups, vaccinations and reminders.\\nReply anytime to boo...\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi OTP2, the appointment for *P2* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 28 Jun 2026\\n\\u23f0 *Time:* 09:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-72CB92\\n\\nPlease arrive...\"}','[\"last_message_excerpt\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236824,NULL,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',100,'APT-72CB92',NULL,'{\"business_id\":10,\"contact_id\":6105,\"pet_id\":85,\"doctor_id\":null,\"ref_no\":\"APT-72CB92\",\"appointment_date\":\"2026-06-28 00:00:00\",\"appointment_time\":\"09:30:00\",\"duration_minutes\":30,\"status\":\"pending\",\"reason\":null,\"notes\":\"[Online booking request via the public portal]\",\"id\":100}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"ref_no\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"status\",\"reason\",\"notes\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 22:19:51','40d0d896-d46b-4caf-93d0-3a4b0baa9f3e',0),(236825,NULL,10,'create','Modules\\PortalApi\\Entities\\PortalBrand',7,'Drv Test',NULL,'{\"business_id\":10,\"slug\":\"drvtesteee97\",\"name\":\"Drv Test\",\"is_active\":true,\"public_booking\":true,\"booking_otp\":false,\"login_methods\":\"[\\\"otp\\\"]\",\"id\":7}','[\"business_id\",\"slug\",\"name\",\"is_active\",\"public_booking\",\"booking_otp\",\"login_methods\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',1),(236826,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaContact',64,'#64',NULL,'{\"business_id\":10,\"wa_id\":\"201090631049\",\"id\":64}','[\"business_id\",\"wa_id\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236827,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',176,'#176',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":64,\"wa_id\":\"201090631049\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi Drv Owner, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"contact_welcome\",\"dedupe_key\":\"contact_welcome:6106\",\"available_at\":\"2026-06-27 02:52:37\",\"created_by\":null,\"id\":176}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236828,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaConversation',59,'#59',NULL,'{\"business_id\":10,\"channel_id\":null,\"wa_id\":\"201090631049\",\"status\":\"open\",\"ai_enabled\":true,\"id\":59}','[\"business_id\",\"channel_id\",\"wa_id\",\"status\",\"ai_enabled\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236829,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',59,'#59','[]','{\"contact_id\":64}','[\"contact_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236830,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',176,'#176','[]','{\"conversation_id\":59}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236831,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',59,'#59','[]','{\"last_direction\":\"out\",\"last_message_excerpt\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi Drv Owner, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered by...\",\"last_message_at\":\"2026-06-27 02:52:37\"}','[\"last_direction\",\"last_message_excerpt\",\"last_message_at\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236832,NULL,10,'create','App\\Contact',6106,'Drv Owner',NULL,'{\"business_id\":10,\"name\":\"Drv Owner\",\"mobile\":\"+201090631049\",\"email\":null,\"type\":\"customer\",\"contact_status\":\"active\",\"created_by\":195,\"id\":6106}','[\"business_id\",\"name\",\"mobile\",\"email\",\"type\",\"contact_status\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236833,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',177,'#177',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":64,\"wa_id\":\"201090631049\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, DrvSubj!*\\n\\nHi Drv Owner, *DrvSubj* has been added to your profile at VET One.\\n\\nWe\'ll help you keep DrvSubj healthy with timely checkups, vaccinations and reminders.\\nReply anytime to book a visit. \\ud83d\\udc9a\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"pet_welcome\",\"dedupe_key\":\"pet_welcome:86\",\"available_at\":\"2026-06-27 02:52:37\",\"created_by\":null,\"id\":177}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236834,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',177,'#177','[]','{\"conversation_id\":59}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236835,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',59,'#59','{\"last_message_excerpt\":\"\\ud83d\\udc4b *Welcome to VET One!*\\n\\nHi Drv Owner, thank you for joining us. We\'re glad to have you!\\n\\nYou can reach us anytime by replying to this message. We\'re here to help. \\ud83d\\ude4c\\n\\n_Powered by...\"}','{\"last_message_excerpt\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, DrvSubj!*\\n\\nHi Drv Owner, *DrvSubj* has been added to your profile at VET One.\\n\\nWe\'ll help you keep DrvSubj healthy with timely checkups, vaccinations and reminders....\"}','[\"last_message_excerpt\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236836,NULL,10,'create','Modules\\VetClinic\\Entities\\VcPet',86,'#86',NULL,'{\"business_id\":10,\"contact_id\":6106,\"petname\":\"DrvSubj\",\"species\":\"Dog\",\"status\":\"active\",\"id\":86}','[\"business_id\",\"contact_id\",\"petname\",\"species\",\"status\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236837,NULL,10,'create','Modules\\WhatsApp\\Entities\\WaMessage',178,'#178',NULL,'{\"business_id\":10,\"channel_id\":null,\"contact_id\":64,\"wa_id\":\"201090631049\",\"direction\":\"out\",\"type\":\"text\",\"template_id\":null,\"body\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Drv Owner, the appointment for *DrvSubj* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 28 Jun 2026\\n\\u23f0 *Time:* 09:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-57CF9B\\n\\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\\n\\n_Powered by TPS_\",\"payload\":\"{\\\"preview_url\\\":false}\",\"status\":\"pending\",\"source\":\"appointment_booked\",\"dedupe_key\":\"appt_booked:101\",\"available_at\":\"2026-06-27 02:52:37\",\"created_by\":null,\"id\":178}','[\"business_id\",\"channel_id\",\"contact_id\",\"wa_id\",\"direction\",\"type\",\"template_id\",\"body\",\"payload\",\"status\",\"source\",\"dedupe_key\",\"available_at\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236838,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaMessage',178,'#178','[]','{\"conversation_id\":59}','[\"conversation_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236839,NULL,10,'update','Modules\\WhatsApp\\Entities\\WaConversation',59,'#59','{\"last_message_excerpt\":\"\\ud83c\\udf89\\ud83d\\udc3e *Welcome, DrvSubj!*\\n\\nHi Drv Owner, *DrvSubj* has been added to your profile at VET One.\\n\\nWe\'ll help you keep DrvSubj healthy with timely checkups, vaccinations and reminders....\"}','{\"last_message_excerpt\":\"\\ud83d\\udcc5 *Appointment confirmed* \\u2014 VET One\\n\\nHi Drv Owner, the appointment for *DrvSubj* is booked:\\n\\n\\ud83d\\uddd3 *Date:* Sun, 28 Jun 2026\\n\\u23f0 *Time:* 09:30\\n\\ud83d\\udc68\\u200d\\u2695\\ufe0f *Doctor:* \\n\\ud83d\\udccd \\nRef: APT-57CF9B\\n\\nPlea...\"}','[\"last_message_excerpt\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236840,NULL,10,'create','Modules\\VetClinic\\Entities\\VcAppointment',101,'APT-57CF9B',NULL,'{\"business_id\":10,\"contact_id\":6106,\"pet_id\":86,\"doctor_id\":null,\"ref_no\":\"APT-57CF9B\",\"appointment_date\":\"2026-06-28 00:00:00\",\"appointment_time\":\"09:30:00\",\"duration_minutes\":30,\"status\":\"pending\",\"reason\":\"Test\",\"notes\":\"[Online booking request via the public portal]\",\"id\":101}','[\"business_id\",\"contact_id\",\"pet_id\",\"doctor_id\",\"ref_no\",\"appointment_date\",\"appointment_time\",\"duration_minutes\",\"status\",\"reason\",\"notes\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-06-26 23:52:37','5be90305-8715-4dda-9fea-a08776a4ca9e',0),(236841,201,10,'login','auth',201,'Demo Admin',NULL,NULL,'[]','https://localhost/saas-one/public/demo/vet/login/admin','GET','::1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-06-28 03:02:04',NULL,1),(236842,NULL,NULL,'create','App\\User',202,'Test Owner',NULL,'{\"surname\":\"\",\"first_name\":\"Test\",\"last_name\":\"Owner\",\"username\":\"happy-paws-1783662055-admin\",\"email\":\"owner1783662055@vetone.local\",\"language\":\"en\",\"id\":202}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',1),(236843,NULL,NULL,'create','App\\Business',11,'Happy Paws Test 1783662055',NULL,'{\"name\":\"Happy Paws Test 1783662055\",\"currency_id\":35,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"owner_id\":202,\"start_date\":\"2026-07-10\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":11}','[\"name\",\"currency_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"owner_id\",\"start_date\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236844,NULL,11,'update','App\\User',202,'Test Owner','[]','{\"business_id\":11}','[\"business_id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236845,NULL,11,'create','App\\ReferenceCount',40,'#40',NULL,'{\"ref_type\":\"contacts\",\"business_id\":11,\"ref_count\":1,\"id\":40}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236846,NULL,11,'create','App\\Contact',6107,'Walk-In Customer',NULL,'{\"business_id\":11,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":202,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6107}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236847,NULL,11,'create','App\\InvoiceScheme',13,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":11,\"id\":13}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236848,NULL,11,'create','App\\InvoiceLayout',13,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":11,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":13}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236849,NULL,11,'create','App\\Unit',11,'#11',NULL,'{\"business_id\":11,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":202,\"id\":11}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236850,NULL,11,'create','App\\NotificationTemplate',100,'#100',NULL,'{\"business_id\":11,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\r\\n                    Total amount: {total_amount}<br \\/>\\r\\n                    Paid amount: {received_amount}<\\/p>\\r\\n\\r\\n                    <p>Thank you for shopping with us.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\\r\\n\\r\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":100}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236851,NULL,11,'create','App\\NotificationTemplate',101,'#101',NULL,'{\"business_id\":11,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                <p>We have received a payment of {received_amount}<\\/p>\\r\\n\\r\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":101}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236852,NULL,11,'create','App\\NotificationTemplate',102,'#102',NULL,'{\"business_id\":11,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":102}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236853,NULL,11,'create','App\\NotificationTemplate',103,'#103',NULL,'{\"business_id\":11,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>Your booking is confirmed<\\/p>\\r\\n\\r\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\r\\n\\r\\n                    <p>Table: {table}<\\/p>\\r\\n\\r\\n                    <p>Location: {location}<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":103}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236854,NULL,11,'create','App\\NotificationTemplate',104,'#104',NULL,'{\"business_id\":11,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":104}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236855,NULL,11,'create','App\\NotificationTemplate',105,'#105',NULL,'{\"business_id\":11,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\r\\n                    Kindly note it down.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\r\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":105}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236856,NULL,11,'create','App\\NotificationTemplate',106,'#106',NULL,'{\"business_id\":11,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":106}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236857,NULL,11,'create','App\\NotificationTemplate',107,'#107',NULL,'{\"business_id\":11,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\r\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":107}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236858,NULL,11,'create','App\\NotificationTemplate',108,'#108',NULL,'{\"business_id\":11,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\r\\n                    Total amount: {total_amount}<\\/p>\\r\\n\\r\\n                    <p>Thank you for shopping with us.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\\r\\n\\r\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":108}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236859,NULL,11,'create','App\\NotificationTemplate',109,'#109',NULL,'{\"business_id\":11,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":109}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236860,NULL,11,'create','App\\ReferenceCount',41,'#41',NULL,'{\"ref_type\":\"business_location\",\"business_id\":11,\"ref_count\":1,\"id\":41}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236861,NULL,11,'create','App\\BusinessLocation',34,'Main Branch',NULL,'{\"business_id\":11,\"name\":\"Main Branch\",\"landmark\":\"Nasr City\",\"city\":\"Cairo\",\"state\":\"Cairo\",\"zip_code\":\"11511\",\"country\":\"Egypt\",\"invoice_scheme_id\":13,\"invoice_layout_id\":13,\"sale_invoice_layout_id\":13,\"mobile\":\"01000000000\",\"alternate_number\":\"01000000000\",\"website\":\"\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":34}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236862,NULL,11,'create','Modules\\PortalApi\\Entities\\PortalBrand',8,'Happy Paws Test 1783662055',NULL,'{\"business_id\":11,\"slug\":\"happy-paws-1783662055\",\"name\":\"Happy Paws Test 1783662055\",\"accent_hex\":\"#7c3aed\",\"logo_url\":null,\"contact_phone\":\"01000000000\",\"contact_email\":\"owner1783662055@vetone.local\",\"address\":\"Nasr City, Cairo, Cairo, Egypt\",\"login_methods\":\"[\\\"otp\\\",\\\"magic\\\",\\\"password\\\",\\\"staff\\\"]\",\"is_active\":true,\"id\":8}','[\"business_id\",\"slug\",\"name\",\"accent_hex\",\"logo_url\",\"contact_phone\",\"contact_email\",\"address\",\"login_methods\",\"is_active\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236863,NULL,11,'create','App\\User',203,'Dr. Sarah',NULL,'{\"user_type\":\"user\",\"surname\":\"Hassan\",\"first_name\":\"Dr. Sarah\",\"username\":\"demo-11-dr1\",\"email\":\"demo-11-dr1@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":203}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:55','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236864,NULL,11,'create','App\\User',204,'Dr. Ahmed',NULL,'{\"user_type\":\"user\",\"surname\":\"Fathy\",\"first_name\":\"Dr. Ahmed\",\"username\":\"demo-11-dr2\",\"email\":\"demo-11-dr2@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":204}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:56','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236865,NULL,11,'create','App\\User',205,'Dr. Mona',NULL,'{\"user_type\":\"user\",\"surname\":\"Adel\",\"first_name\":\"Dr. Mona\",\"username\":\"demo-11-dr3\",\"email\":\"demo-11-dr3@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":205}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:56','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236866,NULL,11,'create','App\\User',206,'Nurse 1',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Nurse 1\",\"username\":\"demo-11-nurse1\",\"email\":\"demo-11-nurse1@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":206}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:56','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236867,NULL,11,'create','App\\User',207,'Nurse 2',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Nurse 2\",\"username\":\"demo-11-nurse2\",\"email\":\"demo-11-nurse2@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":207}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:56','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236868,NULL,11,'create','App\\User',208,'Receptionist 1',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Receptionist 1\",\"username\":\"demo-11-receptionist1\",\"email\":\"demo-11-receptionist1@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":208}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:56','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236869,NULL,11,'create','App\\User',209,'Accounting 1',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Accounting 1\",\"username\":\"demo-11-accounting1\",\"email\":\"demo-11-accounting1@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":209}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:56','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236870,NULL,11,'create','App\\User',210,'HR 1',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"HR 1\",\"username\":\"demo-11-hr1\",\"email\":\"demo-11-hr1@demo.local\",\"language\":\"en\",\"business_id\":11,\"status\":\"active\",\"allow_login\":1,\"id\":210}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:40:56','68091577-ab2b-49f3-bee2-6b69be22bfb6',0),(236871,NULL,NULL,'create','Modules\\ActivityLog\\Entities\\ActivityIncident',1,'#1',NULL,'{\"user_id\":null,\"business_id\":null,\"route\":\"\\/\",\"method\":\"GET\",\"url\":\"https:\\/\\/localhost\\/saas-one\\/public\",\"ip\":\"127.0.0.1\",\"user_agent\":\"Symfony\",\"request_id\":\"c1a892c6-9746-45e0-8c68-ef0159debe7c\",\"type\":\"exception\",\"status_code\":500,\"message\":\"Class \\\"PaymentAccountController\\\" does not exist\",\"exception_class\":\"ReflectionException\",\"file\":\"D:\\\\xampp\\\\htdocs\\\\saas-one-vetone\\\\vendor\\\\laravel\\\\framework\\\\src\\\\Illuminate\\\\Foundation\\\\Console\\\\RouteListCommand.php\",\"line\":234,\"id\":1}','[\"user_id\",\"business_id\",\"route\",\"method\",\"url\",\"ip\",\"user_agent\",\"request_id\",\"type\",\"status_code\",\"message\",\"exception_class\",\"file\",\"line\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:42:33','41d011a4-035a-4a57-b5ce-ca0582b73c77',1),(236872,NULL,NULL,'create','Modules\\ActivityLog\\Entities\\ActivityIncident',2,'#2',NULL,'{\"user_id\":null,\"business_id\":null,\"route\":\"\\/\",\"method\":\"GET\",\"url\":\"https:\\/\\/localhost\\/saas-one\\/public\",\"ip\":\"127.0.0.1\",\"user_agent\":\"Symfony\",\"request_id\":\"54b7087f-39c8-4c21-b0c3-e5bf3465248c\",\"type\":\"exception\",\"status_code\":500,\"message\":\"Class \\\"PaymentAccountController\\\" does not exist\",\"exception_class\":\"ReflectionException\",\"file\":\"D:\\\\xampp\\\\htdocs\\\\saas-one-vetone\\\\vendor\\\\laravel\\\\framework\\\\src\\\\Illuminate\\\\Foundation\\\\Console\\\\RouteListCommand.php\",\"line\":234,\"id\":2}','[\"user_id\",\"business_id\",\"route\",\"method\",\"url\",\"ip\",\"user_agent\",\"request_id\",\"type\",\"status_code\",\"message\",\"exception_class\",\"file\",\"line\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:42:53','30151cf0-184e-4910-ad75-601ca2207af2',1),(236873,NULL,NULL,'create','Modules\\ActivityLog\\Entities\\ActivityIncident',3,'#3',NULL,'{\"user_id\":null,\"business_id\":null,\"route\":\"\\/\",\"method\":\"GET\",\"url\":\"https:\\/\\/localhost\\/saas-one\\/public\",\"ip\":\"127.0.0.1\",\"user_agent\":\"Symfony\",\"request_id\":\"ed68c83a-ae39-4300-9b2e-319d91154e44\",\"type\":\"exception\",\"status_code\":500,\"message\":\"Class \\\"PaymentAccountController\\\" does not exist\",\"exception_class\":\"ReflectionException\",\"file\":\"D:\\\\xampp\\\\htdocs\\\\saas-one-vetone\\\\vendor\\\\laravel\\\\framework\\\\src\\\\Illuminate\\\\Foundation\\\\Console\\\\RouteListCommand.php\",\"line\":234,\"id\":3}','[\"user_id\",\"business_id\",\"route\",\"method\",\"url\",\"ip\",\"user_agent\",\"request_id\",\"type\",\"status_code\",\"message\",\"exception_class\",\"file\",\"line\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:42:54','f3e36135-340b-42b7-a807-67f99b799d50',1),(236874,NULL,NULL,'create','Modules\\ActivityLog\\Entities\\ActivityIncident',4,'#4',NULL,'{\"user_id\":null,\"business_id\":null,\"route\":\"\\/\",\"method\":\"GET\",\"url\":\"https:\\/\\/localhost\\/saas-one\\/public\",\"ip\":\"127.0.0.1\",\"user_agent\":\"Symfony\",\"request_id\":\"eadd7c6e-37cf-4e1f-9a92-b9a23ff2585a\",\"type\":\"exception\",\"status_code\":500,\"message\":\"Class \\\"PaymentAccountController\\\" does not exist\",\"exception_class\":\"ReflectionException\",\"file\":\"D:\\\\xampp\\\\htdocs\\\\saas-one-vetone\\\\vendor\\\\laravel\\\\framework\\\\src\\\\Illuminate\\\\Foundation\\\\Console\\\\RouteListCommand.php\",\"line\":234,\"id\":4}','[\"user_id\",\"business_id\",\"route\",\"method\",\"url\",\"ip\",\"user_agent\",\"request_id\",\"type\",\"status_code\",\"message\",\"exception_class\",\"file\",\"line\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:42:55','1a280127-8535-465e-b7a7-747d631ecc1e',1),(236875,NULL,NULL,'create','Modules\\ActivityLog\\Entities\\ActivityIncident',5,'#5',NULL,'{\"user_id\":null,\"business_id\":null,\"route\":\"\\/\",\"method\":\"GET\",\"url\":\"https:\\/\\/localhost\\/saas-one\\/public\",\"ip\":\"127.0.0.1\",\"user_agent\":\"Symfony\",\"request_id\":\"77608720-eaeb-4fa0-a77d-1f205fc1ab2e\",\"type\":\"exception\",\"status_code\":500,\"message\":\"Class \\\"PaymentAccountController\\\" does not exist\",\"exception_class\":\"ReflectionException\",\"file\":\"D:\\\\xampp\\\\htdocs\\\\saas-one-vetone\\\\vendor\\\\laravel\\\\framework\\\\src\\\\Illuminate\\\\Foundation\\\\Console\\\\RouteListCommand.php\",\"line\":234,\"id\":5}','[\"user_id\",\"business_id\",\"route\",\"method\",\"url\",\"ip\",\"user_agent\",\"request_id\",\"type\",\"status_code\",\"message\",\"exception_class\",\"file\",\"line\",\"id\"]','https://localhost/saas-one/public','GET','127.0.0.1','Symfony','2026-07-10 05:42:56','ff24b2ce-be21-44d1-8986-2ddda105f787',1),(236876,NULL,NULL,'create','App\\User',211,'Ahmed Salah',NULL,'{\"surname\":\"\",\"first_name\":\"Ahmed\",\"last_name\":\"Salah\",\"username\":\"sunrise-vet-clinic-admin\",\"email\":\"ahmed@sunrisevet.test\",\"language\":\"en\",\"id\":211}','[\"surname\",\"first_name\",\"last_name\",\"username\",\"email\",\"language\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',1),(236877,NULL,NULL,'create','App\\Business',12,'Sunrise Vet Clinic',NULL,'{\"name\":\"Sunrise Vet Clinic\",\"currency_id\":35,\"time_zone\":\"Africa\\/Cairo\",\"fy_start_month\":1,\"accounting_method\":\"fifo\",\"owner_id\":211,\"start_date\":\"2026-07-10\",\"enabled_modules\":\"[\\\"purchases\\\",\\\"add_sale\\\",\\\"pos_sale\\\",\\\"stock_transfers\\\",\\\"stock_adjustment\\\",\\\"expenses\\\"]\",\"sell_price_tax\":\"includes\",\"default_profit_percent\":25,\"keyboard_shortcuts\":\"{\\\"pos\\\":{\\\"express_checkout\\\":\\\"shift+e\\\",\\\"pay_n_ckeckout\\\":\\\"shift+p\\\",\\\"draft\\\":\\\"shift+d\\\",\\\"cancel\\\":\\\"shift+c\\\",\\\"edit_discount\\\":\\\"shift+i\\\",\\\"edit_order_tax\\\":\\\"shift+t\\\",\\\"add_payment_row\\\":\\\"shift+r\\\",\\\"finalize_payment\\\":\\\"shift+f\\\",\\\"recent_product_quantity\\\":\\\"f2\\\",\\\"add_new_product\\\":\\\"f4\\\"}}\",\"ref_no_prefixes\":\"{\\\"purchase\\\":\\\"PO\\\",\\\"stock_transfer\\\":\\\"ST\\\",\\\"stock_adjustment\\\":\\\"SA\\\",\\\"sell_return\\\":\\\"CN\\\",\\\"expense\\\":\\\"EP\\\",\\\"contacts\\\":\\\"CO\\\",\\\"purchase_payment\\\":\\\"PP\\\",\\\"sell_payment\\\":\\\"SP\\\",\\\"business_location\\\":\\\"BL\\\"}\",\"enable_inline_tax\":0,\"id\":12}','[\"name\",\"currency_id\",\"time_zone\",\"fy_start_month\",\"accounting_method\",\"owner_id\",\"start_date\",\"enabled_modules\",\"sell_price_tax\",\"default_profit_percent\",\"keyboard_shortcuts\",\"ref_no_prefixes\",\"enable_inline_tax\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236878,NULL,12,'update','App\\User',211,'Ahmed Salah','[]','{\"business_id\":12}','[\"business_id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236879,NULL,12,'create','App\\ReferenceCount',42,'#42',NULL,'{\"ref_type\":\"contacts\",\"business_id\":12,\"ref_count\":1,\"id\":42}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236880,NULL,12,'create','App\\Contact',6110,'Walk-In Customer',NULL,'{\"business_id\":12,\"type\":\"customer\",\"name\":\"Walk-In Customer\",\"created_by\":211,\"is_default\":1,\"contact_id\":\"CO0001\",\"credit_limit\":0,\"id\":6110}','[\"business_id\",\"type\",\"name\",\"created_by\",\"is_default\",\"contact_id\",\"credit_limit\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236881,NULL,12,'create','App\\InvoiceScheme',14,'Default',NULL,'{\"name\":\"Default\",\"scheme_type\":\"blank\",\"prefix\":\"\",\"start_number\":1,\"total_digits\":4,\"is_default\":1,\"business_id\":12,\"id\":14}','[\"name\",\"scheme_type\",\"prefix\",\"start_number\",\"total_digits\",\"is_default\",\"business_id\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236882,NULL,12,'create','App\\InvoiceLayout',14,'Default',NULL,'{\"name\":\"Default\",\"header_text\":null,\"invoice_no_prefix\":\"Invoice No.\",\"invoice_heading\":\"Invoice\",\"sub_total_label\":\"Subtotal\",\"discount_label\":\"Discount\",\"tax_label\":\"Tax\",\"total_label\":\"Total\",\"show_landmark\":1,\"show_city\":1,\"show_state\":1,\"show_zip_code\":1,\"show_country\":1,\"highlight_color\":\"#000000\",\"footer_text\":\"\",\"is_default\":1,\"business_id\":12,\"invoice_heading_not_paid\":\"\",\"invoice_heading_paid\":\"\",\"total_due_label\":\"Total Due\",\"paid_label\":\"Total Paid\",\"show_payments\":1,\"show_customer\":1,\"customer_label\":\"Customer\",\"table_product_label\":\"Product\",\"table_qty_label\":\"Quantity\",\"table_unit_price_label\":\"Unit Price\",\"table_subtotal_label\":\"Subtotal\",\"date_label\":\"Date\",\"id\":14}','[\"name\",\"header_text\",\"invoice_no_prefix\",\"invoice_heading\",\"sub_total_label\",\"discount_label\",\"tax_label\",\"total_label\",\"show_landmark\",\"show_city\",\"show_state\",\"show_zip_code\",\"show_country\",\"highlight_color\",\"footer_text\",\"is_default\",\"business_id\",\"invoice_heading_not_paid\",\"invoice_heading_paid\",\"total_due_label\",\"paid_label\",\"show_payments\",\"show_customer\",\"customer_label\",\"table_product_label\",\"table_qty_label\",\"table_unit_price_label\",\"table_subtotal_label\",\"date_label\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236883,NULL,12,'create','App\\Unit',12,'#12',NULL,'{\"business_id\":12,\"actual_name\":\"Pieces\",\"short_name\":\"Pc(s)\",\"allow_decimal\":0,\"created_by\":211,\"id\":12}','[\"business_id\",\"actual_name\",\"short_name\",\"allow_decimal\",\"created_by\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236884,NULL,12,'create','App\\NotificationTemplate',110,'#110',NULL,'{\"business_id\":12,\"template_for\":\"new_sale\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>Your invoice number is {invoice_number}<br \\/>\\r\\n                    Total amount: {total_amount}<br \\/>\\r\\n                    Paid amount: {received_amount}<\\/p>\\r\\n\\r\\n                    <p>Thank you for shopping with us.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\\r\\n\\r\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":110}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236885,NULL,12,'create','App\\NotificationTemplate',111,'#111',NULL,'{\"business_id\":12,\"template_for\":\"payment_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                <p>We have received a payment of {received_amount}<\\/p>\\r\\n\\r\\n                <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have received a payment of {received_amount}. {business_name}\",\"subject\":\"Payment Received, from {business_name}\",\"auto_send\":\"0\",\"id\":111}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236886,NULL,12,'create','App\\NotificationTemplate',112,'#112',NULL,'{\"business_id\":12,\"template_for\":\"payment_reminder\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}\",\"subject\":\"Payment Reminder, from {business_name}\",\"auto_send\":\"0\",\"id\":112}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236887,NULL,12,'create','App\\NotificationTemplate',113,'#113',NULL,'{\"business_id\":12,\"template_for\":\"new_booking\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>Your booking is confirmed<\\/p>\\r\\n\\r\\n                    <p>Date: {start_time} to {end_time}<\\/p>\\r\\n\\r\\n                    <p>Table: {table}<\\/p>\\r\\n\\r\\n                    <p>Location: {location}<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}\",\"subject\":\"Booking Confirmed - {business_name}\",\"auto_send\":\"0\",\"id\":113}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236888,NULL,12,'create','App\\NotificationTemplate',114,'#114',NULL,'{\"business_id\":12,\"template_for\":\"new_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}\",\"subject\":\"New Order, from {business_name}\",\"auto_send\":\"0\",\"id\":114}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236889,NULL,12,'create','App\\NotificationTemplate',115,'#115',NULL,'{\"business_id\":12,\"template_for\":\"payment_paid\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br \\/>\\r\\n                    Kindly note it down.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have paid amount {paid_amount} again invoice number {order_ref_number}.\\r\\n                    Kindly note it down. {business_name}\",\"subject\":\"Payment Paid, from {business_name}\",\"auto_send\":\"0\",\"id\":115}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236890,NULL,12,'create','App\\NotificationTemplate',116,'#116',NULL,'{\"business_id\":12,\"template_for\":\"items_received\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}\",\"subject\":\"Items received, from {business_name}\",\"auto_send\":\"0\",\"id\":116}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236891,NULL,12,'create','App\\NotificationTemplate',117,'#117',NULL,'{\"business_id\":12,\"template_for\":\"items_pending\",\"email_body\":\"<p>Dear {contact_name},<br \\/>\\r\\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.<\\/p>\\r\\n\\r\\n                    <p>{business_name}<br \\/>\\r\\n                    {business_logo}<\\/p>\",\"sms_body\":\"This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}\",\"subject\":\"Items Pending, from {business_name}\",\"auto_send\":\"0\",\"id\":117}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236892,NULL,12,'create','App\\NotificationTemplate',118,'#118',NULL,'{\"business_id\":12,\"template_for\":\"new_quotation\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>Your quotation number is {invoice_number}<br \\/>\\r\\n                    Total amount: {total_amount}<\\/p>\\r\\n\\r\\n                    <p>Thank you for shopping with us.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\\r\\n\\r\\n                    <p>&nbsp;<\\/p>\",\"sms_body\":\"Dear {contact_name}, Thank you for shopping with us. {business_name}\",\"subject\":\"Thank you from {business_name}\",\"auto_send\":\"0\",\"id\":118}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236893,NULL,12,'create','App\\NotificationTemplate',119,'#119',NULL,'{\"business_id\":12,\"template_for\":\"purchase_order\",\"email_body\":\"<p>Dear {contact_name},<\\/p>\\r\\n\\r\\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.<\\/p>\\r\\n\\r\\n                    <p>{business_logo}<\\/p>\",\"sms_body\":\"We have a new purchase order with reference number {order_ref_number}. {business_name}\",\"subject\":\"New Purchase Order, from {business_name}\",\"auto_send\":\"0\",\"id\":119}','[\"business_id\",\"template_for\",\"email_body\",\"sms_body\",\"subject\",\"auto_send\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236894,NULL,12,'create','App\\ReferenceCount',43,'#43',NULL,'{\"ref_type\":\"business_location\",\"business_id\":12,\"ref_count\":1,\"id\":43}','[\"ref_type\",\"business_id\",\"ref_count\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236895,NULL,12,'create','App\\BusinessLocation',35,'Main Branch',NULL,'{\"business_id\":12,\"name\":\"Main Branch\",\"landmark\":\"12 Pyramids St\",\"city\":\"Giza\",\"state\":\"\",\"zip_code\":\"12511\",\"country\":\"Egypt\",\"invoice_scheme_id\":14,\"invoice_layout_id\":14,\"sale_invoice_layout_id\":14,\"mobile\":\"01011122233\",\"alternate_number\":\"01011122233\",\"website\":\"\",\"email\":\"\",\"location_id\":\"BL0001\",\"default_payment_accounts\":\"{\\\"cash\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"card\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"cheque\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"bank_transfer\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"other\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_1\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_2\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_3\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_4\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_5\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_6\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null},\\\"custom_pay_7\\\":{\\\"is_enabled\\\":1,\\\"account\\\":null}}\",\"id\":35}','[\"business_id\",\"name\",\"landmark\",\"city\",\"state\",\"zip_code\",\"country\",\"invoice_scheme_id\",\"invoice_layout_id\",\"sale_invoice_layout_id\",\"mobile\",\"alternate_number\",\"website\",\"email\",\"location_id\",\"default_payment_accounts\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:14','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236896,NULL,12,'create','Modules\\PortalApi\\Entities\\PortalBrand',9,'Sunrise Vet Clinic',NULL,'{\"business_id\":12,\"slug\":\"sunrise-vet-clinic\",\"name\":\"Sunrise Vet Clinic\",\"accent_hex\":\"#0d9488\",\"logo_url\":null,\"contact_phone\":\"01011122233\",\"contact_email\":\"ahmed@sunrisevet.test\",\"address\":\"12 Pyramids St, Giza, Egypt\",\"login_methods\":\"[\\\"otp\\\",\\\"magic\\\",\\\"password\\\",\\\"staff\\\"]\",\"is_active\":true,\"id\":9}','[\"business_id\",\"slug\",\"name\",\"accent_hex\",\"logo_url\",\"contact_phone\",\"contact_email\",\"address\",\"login_methods\",\"is_active\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236897,NULL,12,'create','App\\User',212,'Dr. Sarah',NULL,'{\"user_type\":\"user\",\"surname\":\"Hassan\",\"first_name\":\"Dr. Sarah\",\"username\":\"demo-12-dr1\",\"email\":\"demo-12-dr1@demo.local\",\"language\":\"en\",\"business_id\":12,\"status\":\"active\",\"allow_login\":1,\"id\":212}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236898,NULL,12,'create','App\\User',213,'Dr. Ahmed',NULL,'{\"user_type\":\"user\",\"surname\":\"Fathy\",\"first_name\":\"Dr. Ahmed\",\"username\":\"demo-12-dr2\",\"email\":\"demo-12-dr2@demo.local\",\"language\":\"en\",\"business_id\":12,\"status\":\"active\",\"allow_login\":1,\"id\":213}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236899,NULL,12,'create','App\\User',214,'Dr. Mona',NULL,'{\"user_type\":\"user\",\"surname\":\"Adel\",\"first_name\":\"Dr. Mona\",\"username\":\"demo-12-dr3\",\"email\":\"demo-12-dr3@demo.local\",\"language\":\"en\",\"business_id\":12,\"status\":\"active\",\"allow_login\":1,\"id\":214}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236900,NULL,12,'create','App\\User',215,'Nurse 1',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Nurse 1\",\"username\":\"demo-12-nurse1\",\"email\":\"demo-12-nurse1@demo.local\",\"language\":\"en\",\"business_id\":12,\"status\":\"active\",\"allow_login\":1,\"id\":215}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236901,NULL,12,'create','App\\User',216,'Nurse 2',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Nurse 2\",\"username\":\"demo-12-nurse2\",\"email\":\"demo-12-nurse2@demo.local\",\"language\":\"en\",\"business_id\":12,\"status\":\"active\",\"allow_login\":1,\"id\":216}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236902,NULL,12,'create','App\\User',217,'Receptionist 1',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Receptionist 1\",\"username\":\"demo-12-receptionist1\",\"email\":\"demo-12-receptionist1@demo.local\",\"language\":\"en\",\"business_id\":12,\"status\":\"active\",\"allow_login\":1,\"id\":217}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236903,NULL,12,'create','App\\User',218,'Accounting 1',NULL,'{\"user_type\":\"user\",\"surname\":\"Demo\",\"first_name\":\"Accounting 1\",\"username\":\"demo-12-accounting1\",\"email\":\"demo-12-accounting1@demo.local\",\"language\":\"en\",\"business_id\":12,\"status\":\"active\",\"allow_login\":1,\"id\":218}','[\"user_type\",\"surname\",\"first_name\",\"username\",\"email\",\"language\",\"business_id\",\"status\",\"allow_login\",\"id\"]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15','b75fce95-1be3-45a5-82ac-ad4c04060f13',0),(236904,211,12,'login','auth',211,'Ahmed Salah',NULL,NULL,'[]','http://127.0.0.1:8899/vetone/register','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:43:15',NULL,1),(236905,211,12,'create','Modules\\AiCore\\Entities\\AiProvider',11,'default',NULL,'{\"business_id\":12,\"name\":\"default\",\"provider\":\"openai_compatible\",\"base_url\":\"https:\\/\\/api.groq.com\\/openai\\/v1\",\"model\":\"llama-3.3-70b-versatile\",\"api_key\":\"eyJpdiI6IkxWOU5uTkx3bnF1NTNhbFdtdUVJNGc9PSIsInZhbHVlIjoiTTZCZ2h4Y3p3SGNIWXMxbWNOazcxOEJFM0M0NkwwVTdHVElNUFVlU2NHVT0iLCJtYWMiOiI4NWI0MjM5NDQ3MzNmZWI5MTVmYWJmODBhNjM3YzBiY2JjZGVhZGE1MDdmYjU4M2Q5NTM0MGU3ZDIwZTU4MjRiIiwidGFnIjoiIn0=\",\"enabled\":1,\"id\":11}','[\"business_id\",\"name\",\"provider\",\"base_url\",\"model\",\"api_key\",\"enabled\",\"id\"]','http://127.0.0.1:8899/vetone/onboarding/groq','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:44:24','8e0ff1d7-f300-4891-8a65-e0b4061a3fc9',1),(236906,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourFlow',1,'VetOne — full walkthrough',NULL,'{\"key\":\"vet-full-tour\",\"title\":\"VetOne \\u2014 full walkthrough\",\"vertical\":\"vet\",\"is_active\":true,\"autostart_once\":true,\"id\":1}','[\"key\",\"title\",\"vertical\",\"is_active\",\"autostart_once\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',1),(236907,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',1,'Welcome to VetOne 👋',NULL,'{\"flow_id\":1,\"sort_order\":0,\"route\":null,\"target_selector\":null,\"title\":\"Welcome to VetOne \\ud83d\\udc4b\",\"body_html\":\"This quick tour walks you through the whole clinic \\u2014 appointments, consultations, prescriptions, your pet-owner app and settings. You can replay it any time with the <b>\\u25b6 Tour<\\/b> button, bottom-right.\",\"media_id\":null,\"placement\":\"auto\",\"id\":1}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236908,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',2,'Your dashboard',NULL,'{\"flow_id\":1,\"sort_order\":1,\"route\":\"\\/home\",\"target_selector\":null,\"title\":\"Your dashboard\",\"body_html\":\"Everything starts here: today\'s appointments, quick stats and shortcuts to every part of the clinic.\",\"media_id\":null,\"placement\":\"auto\",\"id\":2}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236909,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',3,'Appointments &amp; doctor schedules',NULL,'{\"flow_id\":1,\"sort_order\":2,\"route\":\"\\/vet-clinic\\/appointments\",\"target_selector\":null,\"title\":\"Appointments &amp; doctor schedules\",\"body_html\":\"Book and manage appointments on the calendar. Each of your doctors has their own weekly schedule and slot length, so the grid only offers times they actually work.\",\"media_id\":null,\"placement\":\"auto\",\"id\":3}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236910,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',4,'Pets &amp; owners',NULL,'{\"flow_id\":1,\"sort_order\":3,\"route\":\"\\/vet-clinic\\/pets\",\"target_selector\":null,\"title\":\"Pets &amp; owners\",\"body_html\":\"Every pet has a full clinical history linked to its owner \\u2014 species, breed, vaccinations, weight trend and past visits.\",\"media_id\":null,\"placement\":\"auto\",\"id\":4}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236911,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',5,'The SOAP consultation',NULL,'{\"flow_id\":1,\"sort_order\":4,\"route\":null,\"target_selector\":null,\"title\":\"The SOAP consultation\",\"body_html\":\"Open an appointment to run a <b>SOAP<\\/b> consultation \\u2014 Subjective, Objective, Assessment, Plan. Chief-complaint chips, lab tests and exam panels are all pre-loaded for you.\",\"media_id\":null,\"placement\":\"auto\",\"id\":5}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236912,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',6,'AI scribe &amp; suggestions',NULL,'{\"flow_id\":1,\"sort_order\":5,\"route\":null,\"target_selector\":null,\"title\":\"AI scribe &amp; suggestions\",\"body_html\":\"Dictate your notes and the AI scribe cleans them, structures them into SOAP, extracts findings and suggests exam panels. (Add a free Groq key in AI settings to switch this on.)\",\"media_id\":null,\"placement\":\"auto\",\"id\":6}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236913,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',7,'Prescriptions &amp; medicines',NULL,'{\"flow_id\":1,\"sort_order\":6,\"route\":\"\\/vet-clinic\\/prescriptions\",\"target_selector\":null,\"title\":\"Prescriptions &amp; medicines\",\"body_html\":\"Prescribe from a ready-made veterinary formulary \\u2014 dosages, frequencies and dispensing all in one place.\",\"media_id\":null,\"placement\":\"auto\",\"id\":7}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236914,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',8,'Your pet-owner app',NULL,'{\"flow_id\":1,\"sort_order\":7,\"route\":null,\"target_selector\":null,\"title\":\"Your pet-owner app\",\"body_html\":\"Every clinic gets a branded pet-owner PWA \\u2014 your logo, your colours. Owners book appointments, see reminders and their pet\'s records from their phone.\",\"media_id\":null,\"placement\":\"auto\",\"id\":8}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236915,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',9,'WhatsApp &amp; AI setup',NULL,'{\"flow_id\":1,\"sort_order\":8,\"route\":\"\\/whatsapp\\/channels\",\"target_selector\":null,\"title\":\"WhatsApp &amp; AI setup\",\"body_html\":\"Connect a WhatsApp number by scanning a QR code to send reminders and let the AI auto-reply. Both WhatsApp and AI are optional.\",\"media_id\":null,\"placement\":\"auto\",\"id\":9}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236916,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',10,'Settings',NULL,'{\"flow_id\":1,\"sort_order\":9,\"route\":\"\\/ai-core\\/settings\",\"target_selector\":null,\"title\":\"Settings\",\"body_html\":\"Fine-tune everything here \\u2014 AI provider keys, editable AI prompts, clinic preferences and staff roles.\",\"media_id\":null,\"placement\":\"auto\",\"id\":10}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236917,NULL,NULL,'create','Modules\\GuidedTour\\Entities\\TourStep',11,'That\'s the tour! 🎉',NULL,'{\"flow_id\":1,\"sort_order\":10,\"route\":null,\"target_selector\":null,\"title\":\"That\'s the tour! \\ud83c\\udf89\",\"body_html\":\"Your demo is active for <b>48 hours<\\/b>. Explore freely \\u2014 and when you\'re ready to keep your clinic, contact TPS. Replay this tour any time from the <b>\\u25b6 Tour<\\/b> button.\",\"media_id\":null,\"placement\":\"auto\",\"id\":11}','[\"flow_id\",\"sort_order\",\"route\",\"target_selector\",\"title\",\"body_html\",\"media_id\",\"placement\",\"id\"]','http://127.0.0.1:8899','GET','127.0.0.1','Symfony','2026-07-10 06:48:43','94111cfc-a259-40cb-88e2-18a007b88a59',0),(236918,211,12,'create','Modules\\GuidedTour\\Entities\\TourProgress',1,'#1',NULL,'{\"user_id\":211,\"flow_id\":1,\"last_step\":0,\"completed_at\":null,\"id\":1}','[\"user_id\",\"flow_id\",\"last_step\",\"completed_at\",\"id\"]','http://127.0.0.1:8899/tour/progress','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:49:00','542d5cbd-78c0-4d51-afee-8389318ce5cd',1),(236919,211,12,'update','Modules\\GuidedTour\\Entities\\TourProgress',1,'#1','{\"last_step\":0}','{\"last_step\":1}','[\"last_step\"]','http://127.0.0.1:8899/tour/progress','POST','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:49:30','b7119908-7200-45f3-bffb-a9c12605c554',1),(236920,211,12,'logout','auth',211,'Ahmed Salah',NULL,NULL,'[]','http://127.0.0.1:8899/get-total-unread','GET','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','2026-07-10 06:54:03',NULL,1),(236921,211,12,'login','auth',211,'Ahmed Salah',NULL,NULL,'[]','http://127.0.0.1:8899/login','POST','127.0.0.1','curl/8.19.0','2026-07-10 06:57:45',NULL,1),(236922,211,12,'logout','auth',211,'Ahmed Salah',NULL,NULL,'[]','http://127.0.0.1:8899/home','GET','127.0.0.1','curl/8.19.0','2026-07-10 06:58:08',NULL,1);
/*!40000 ALTER TABLE `enhanced_activity_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ent_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ent_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `hearing` varchar(40) DEFAULT NULL,
  `otoscopy` varchar(40) DEFAULT NULL,
  `audiometry` varchar(120) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ent_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `ent_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ent_patient_profiles` WRITE;
/*!40000 ALTER TABLE `ent_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `ent_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_allowances_and_deductions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_allowances_and_deductions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `description` varchar(191) NOT NULL,
  `type` enum('allowance','deduction') NOT NULL,
  `amount` decimal(22,4) NOT NULL,
  `amount_type` enum('fixed','percent') NOT NULL,
  `applicable_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_allowances_and_deductions_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_allowances_and_deductions` WRITE;
/*!40000 ALTER TABLE `essentials_allowances_and_deductions` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_allowances_and_deductions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_attendances`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_attendances` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `business_id` int(11) NOT NULL,
  `clock_in_time` datetime DEFAULT NULL,
  `clock_out_time` datetime DEFAULT NULL,
  `essentials_shift_id` int(11) DEFAULT NULL,
  `ip_address` varchar(191) DEFAULT NULL,
  `clock_in_note` text DEFAULT NULL,
  `clock_out_note` text DEFAULT NULL,
  `clock_in_location` text DEFAULT NULL,
  `clock_out_location` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_attendances_user_id_index` (`user_id`),
  KEY `essentials_attendances_business_id_index` (`business_id`),
  KEY `essentials_attendances_essentials_shift_id_index` (`essentials_shift_id`)
) ENGINE=InnoDB AUTO_INCREMENT=220 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_attendances` WRITE;
/*!40000 ALTER TABLE `essentials_attendances` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_attendances` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_document_shares`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_document_shares` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int(11) NOT NULL,
  `value_type` enum('user','role') NOT NULL,
  `value` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_document_shares_document_id_index` (`document_id`),
  KEY `essentials_document_shares_value_type_index` (`value_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_document_shares` WRITE;
/*!40000 ALTER TABLE `essentials_document_shares` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_document_shares` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `type` varchar(191) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `description` varchar(191) 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 */;

LOCK TABLES `essentials_documents` WRITE;
/*!40000 ALTER TABLE `essentials_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_documents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_holidays`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_holidays` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) DEFAULT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `business_id` int(11) NOT NULL,
  `location_id` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_holidays_business_id_index` (`business_id`),
  KEY `essentials_holidays_location_id_index` (`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_holidays` WRITE;
/*!40000 ALTER TABLE `essentials_holidays` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_holidays` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_kb`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_kb` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` bigint(20) unsigned NOT NULL,
  `title` varchar(191) NOT NULL,
  `content` longtext DEFAULT NULL,
  `status` varchar(191) NOT NULL,
  `kb_type` varchar(191) NOT NULL,
  `parent_id` bigint(20) unsigned DEFAULT NULL COMMENT 'id from essentials_kb table',
  `share_with` varchar(191) DEFAULT NULL COMMENT 'public, private, only_with',
  `created_by` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_kb_business_id_index` (`business_id`),
  KEY `essentials_kb_parent_id_index` (`parent_id`),
  KEY `essentials_kb_created_by_index` (`created_by`),
  CONSTRAINT `essentials_kb_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `essentials_kb` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_kb` WRITE;
/*!40000 ALTER TABLE `essentials_kb` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_kb` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_kb_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_kb_users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `kb_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_kb_users_kb_id_index` (`kb_id`),
  KEY `essentials_kb_users_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_kb_users` WRITE;
/*!40000 ALTER TABLE `essentials_kb_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_kb_users` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_leave_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_leave_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `leave_type` varchar(191) NOT NULL,
  `max_leave_count` int(11) DEFAULT NULL,
  `leave_count_interval` enum('month','year') DEFAULT NULL,
  `business_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_leave_types_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_leave_types` WRITE;
/*!40000 ALTER TABLE `essentials_leave_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_leave_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_leaves`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_leaves` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `essentials_leave_type_id` int(11) DEFAULT NULL,
  `business_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `ref_no` varchar(191) DEFAULT NULL,
  `status` enum('pending','approved','cancelled') DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `status_note` text DEFAULT NULL,
  `is_additional` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_leaves_essentials_leave_type_id_index` (`essentials_leave_type_id`),
  KEY `essentials_leaves_business_id_index` (`business_id`),
  KEY `essentials_leaves_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_leaves` WRITE;
/*!40000 ALTER TABLE `essentials_leaves` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_leaves` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_messages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `message` text NOT NULL,
  `location_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_messages_business_id_index` (`business_id`),
  KEY `essentials_messages_user_id_index` (`user_id`),
  KEY `essentials_messages_location_id_index` (`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_messages` WRITE;
/*!40000 ALTER TABLE `essentials_messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_messages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_payroll_group_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_payroll_group_transactions` (
  `payroll_group_id` bigint(20) unsigned NOT NULL,
  `transaction_id` int(11) NOT NULL,
  KEY `essentials_payroll_group_transactions_payroll_group_id_foreign` (`payroll_group_id`),
  CONSTRAINT `essentials_payroll_group_transactions_payroll_group_id_foreign` FOREIGN KEY (`payroll_group_id`) REFERENCES `essentials_payroll_groups` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_payroll_group_transactions` WRITE;
/*!40000 ALTER TABLE `essentials_payroll_group_transactions` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_payroll_group_transactions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_payroll_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_payroll_groups` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `location_id` int(11) DEFAULT NULL COMMENT 'payroll for work location',
  `name` varchar(191) NOT NULL,
  `status` varchar(191) NOT NULL,
  `payment_status` varchar(191) NOT NULL DEFAULT 'due',
  `gross_total` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `created_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_payroll_groups` WRITE;
/*!40000 ALTER TABLE `essentials_payroll_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_payroll_groups` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_reminders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_reminders` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `name` varchar(191) NOT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `end_time` time DEFAULT NULL,
  `repeat` enum('one_time','every_day','every_week','every_month') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_reminders_business_id_index` (`business_id`),
  KEY `essentials_reminders_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_reminders` WRITE;
/*!40000 ALTER TABLE `essentials_reminders` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_reminders` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_shifts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_shifts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `type` enum('fixed_shift','flexible_shift') NOT NULL DEFAULT 'fixed_shift',
  `business_id` int(11) NOT NULL,
  `start_time` time DEFAULT NULL,
  `end_time` time DEFAULT NULL,
  `is_allowed_auto_clockout` tinyint(1) NOT NULL DEFAULT 0,
  `auto_clockout_time` time DEFAULT NULL,
  `holidays` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_shifts_type_index` (`type`),
  KEY `essentials_shifts_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_shifts` WRITE;
/*!40000 ALTER TABLE `essentials_shifts` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_shifts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_to_dos`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_to_dos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `task` text NOT NULL,
  `date` datetime DEFAULT NULL,
  `end_date` datetime DEFAULT NULL,
  `task_id` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(191) DEFAULT NULL,
  `estimated_hours` varchar(191) DEFAULT NULL,
  `priority` varchar(191) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_to_dos_status_index` (`status`),
  KEY `essentials_to_dos_priority_index` (`priority`),
  KEY `essentials_to_dos_created_by_index` (`created_by`),
  KEY `essentials_to_dos_business_id_index` (`business_id`),
  KEY `essentials_to_dos_task_id_index` (`task_id`)
) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_to_dos` WRITE;
/*!40000 ALTER TABLE `essentials_to_dos` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_to_dos` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_todo_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_todo_comments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `comment` text NOT NULL,
  `task_id` int(11) NOT NULL,
  `comment_by` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_todo_comments_task_id_index` (`task_id`),
  KEY `essentials_todo_comments_comment_by_index` (`comment_by`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_todo_comments` WRITE;
/*!40000 ALTER TABLE `essentials_todo_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_todo_comments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_todos_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_todos_users` (
  `todo_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_todos_users` WRITE;
/*!40000 ALTER TABLE `essentials_todos_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_todos_users` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_user_allowance_and_deductions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_user_allowance_and_deductions` (
  `user_id` int(11) NOT NULL,
  `allowance_deduction_id` int(11) NOT NULL,
  KEY `essentials_user_allowance_and_deductions_user_id_index` (`user_id`),
  KEY `allow_deduct_index` (`allowance_deduction_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_user_allowance_and_deductions` WRITE;
/*!40000 ALTER TABLE `essentials_user_allowance_and_deductions` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_user_allowance_and_deductions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_user_sales_targets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_user_sales_targets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `target_start` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `target_end` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `commission_percent` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `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 */;

LOCK TABLES `essentials_user_sales_targets` WRITE;
/*!40000 ALTER TABLE `essentials_user_sales_targets` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_user_sales_targets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `essentials_user_shifts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `essentials_user_shifts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `essentials_shift_id` int(11) NOT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `essentials_user_shifts_user_id_index` (`user_id`),
  KEY `essentials_user_shifts_essentials_shift_id_index` (`essentials_shift_id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `essentials_user_shifts` WRITE;
/*!40000 ALTER TABLE `essentials_user_shifts` DISABLE KEYS */;
/*!40000 ALTER TABLE `essentials_user_shifts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `expense_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `expense_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `code` varchar(191) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `expense_categories_business_id_foreign` (`business_id`),
  CONSTRAINT `expense_categories_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `expense_categories` WRITE;
/*!40000 ALTER TABLE `expense_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `expense_categories` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `failed_jobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `failed_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(191) 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 */;

LOCK TABLES `failed_jobs` WRITE;
/*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */;
/*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `family_medicine_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `family_medicine_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bmi` decimal(8,2) DEFAULT NULL,
  `family_history` text DEFAULT NULL,
  `risk_factors` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `family_medicine_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `family_medicine_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `family_medicine_patient_profiles` WRITE;
/*!40000 ALTER TABLE `family_medicine_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `family_medicine_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `gastroenterology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gastroenterology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bowel_habit` varchar(40) DEFAULT NULL,
  `endoscopy_findings` text DEFAULT NULL,
  `liver_status` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `gastroenterology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `gastroenterology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `gastroenterology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `gastroenterology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `gastroenterology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `general_practice_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `general_practice_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bmi` decimal(8,2) DEFAULT NULL,
  `smoking` varchar(40) DEFAULT NULL,
  `alcohol` varchar(40) DEFAULT NULL,
  `risk_factors` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `general_practice_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `general_practice_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `general_practice_patient_profiles` WRITE;
/*!40000 ALTER TABLE `general_practice_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `general_practice_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `general_surgery_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `general_surgery_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `surgical_site` varchar(120) DEFAULT NULL,
  `asa_grade` varchar(40) DEFAULT NULL,
  `planned_procedure` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `general_surgery_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `general_surgery_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `general_surgery_patient_profiles` WRITE;
/*!40000 ALTER TABLE `general_surgery_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `general_surgery_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `geriatrics_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `geriatrics_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `adl_status` varchar(40) DEFAULT NULL,
  `falls_risk` varchar(40) DEFAULT NULL,
  `cognition_score` int(11) DEFAULT NULL,
  `frailty` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `geriatrics_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `geriatrics_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `geriatrics_patient_profiles` WRITE;
/*!40000 ALTER TABLE `geriatrics_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `geriatrics_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `group_sub_taxes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `group_sub_taxes` (
  `group_tax_id` int(10) unsigned NOT NULL,
  `tax_id` int(10) unsigned NOT NULL,
  KEY `group_sub_taxes_group_tax_id_foreign` (`group_tax_id`),
  KEY `group_sub_taxes_tax_id_foreign` (`tax_id`),
  CONSTRAINT `group_sub_taxes_group_tax_id_foreign` FOREIGN KEY (`group_tax_id`) REFERENCES `tax_rates` (`id`) ON DELETE CASCADE,
  CONSTRAINT `group_sub_taxes_tax_id_foreign` FOREIGN KEY (`tax_id`) REFERENCES `tax_rates` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `group_sub_taxes` WRITE;
/*!40000 ALTER TABLE `group_sub_taxes` DISABLE KEYS */;
/*!40000 ALTER TABLE `group_sub_taxes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `hematology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hematology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `hemoglobin` decimal(8,2) DEFAULT NULL,
  `wbc` decimal(8,2) DEFAULT NULL,
  `platelets` decimal(8,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `hematology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `hematology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `hematology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `hematology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `hematology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `hepatology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `hepatology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `alt` decimal(8,2) DEFAULT NULL,
  `ast` decimal(8,2) DEFAULT NULL,
  `bilirubin` decimal(8,2) DEFAULT NULL,
  `fibrosis_stage` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `hepatology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `hepatology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `hepatology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `hepatology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `hepatology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `internal_medicine_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `internal_medicine_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bmi` decimal(8,2) DEFAULT NULL,
  `comorbidities` text DEFAULT NULL,
  `active_problems` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `internal_medicine_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `internal_medicine_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `internal_medicine_patient_profiles` WRITE;
/*!40000 ALTER TABLE `internal_medicine_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `internal_medicine_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `invoice_layouts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `invoice_layouts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `header_text` text DEFAULT NULL,
  `invoice_no_prefix` varchar(191) DEFAULT NULL,
  `quotation_no_prefix` varchar(191) DEFAULT NULL,
  `invoice_heading` varchar(191) DEFAULT NULL,
  `sub_heading_line1` varchar(191) DEFAULT NULL,
  `sub_heading_line2` varchar(191) DEFAULT NULL,
  `sub_heading_line3` varchar(191) DEFAULT NULL,
  `sub_heading_line4` varchar(191) DEFAULT NULL,
  `sub_heading_line5` varchar(191) DEFAULT NULL,
  `invoice_heading_not_paid` varchar(191) DEFAULT NULL,
  `invoice_heading_paid` varchar(191) DEFAULT NULL,
  `quotation_heading` varchar(191) DEFAULT NULL,
  `sub_total_label` varchar(191) DEFAULT NULL,
  `discount_label` varchar(191) DEFAULT NULL,
  `tax_label` varchar(191) DEFAULT NULL,
  `total_label` varchar(191) DEFAULT NULL,
  `round_off_label` varchar(191) DEFAULT NULL,
  `total_due_label` varchar(191) DEFAULT NULL,
  `paid_label` varchar(191) DEFAULT NULL,
  `show_client_id` tinyint(1) NOT NULL DEFAULT 0,
  `client_id_label` varchar(191) DEFAULT NULL,
  `client_tax_label` varchar(191) DEFAULT NULL,
  `date_label` varchar(191) DEFAULT NULL,
  `date_time_format` varchar(191) DEFAULT NULL,
  `show_time` tinyint(1) NOT NULL DEFAULT 1,
  `show_brand` tinyint(1) NOT NULL DEFAULT 0,
  `show_sku` tinyint(1) NOT NULL DEFAULT 1,
  `show_cat_code` tinyint(1) NOT NULL DEFAULT 1,
  `show_expiry` tinyint(1) NOT NULL DEFAULT 0,
  `show_lot` tinyint(1) NOT NULL DEFAULT 0,
  `show_image` tinyint(1) NOT NULL DEFAULT 0,
  `show_sale_description` tinyint(1) NOT NULL DEFAULT 0,
  `sales_person_label` varchar(191) DEFAULT NULL,
  `show_sales_person` tinyint(1) NOT NULL DEFAULT 0,
  `table_product_label` varchar(191) DEFAULT NULL,
  `table_qty_label` varchar(191) DEFAULT NULL,
  `table_unit_price_label` varchar(191) DEFAULT NULL,
  `table_subtotal_label` varchar(191) DEFAULT NULL,
  `cat_code_label` varchar(191) DEFAULT NULL,
  `logo` varchar(191) DEFAULT NULL,
  `show_logo` tinyint(1) NOT NULL DEFAULT 0,
  `show_business_name` tinyint(1) NOT NULL DEFAULT 0,
  `show_location_name` tinyint(1) NOT NULL DEFAULT 1,
  `show_landmark` tinyint(1) NOT NULL DEFAULT 1,
  `show_city` tinyint(1) NOT NULL DEFAULT 1,
  `show_state` tinyint(1) NOT NULL DEFAULT 1,
  `show_zip_code` tinyint(1) NOT NULL DEFAULT 1,
  `show_country` tinyint(1) NOT NULL DEFAULT 1,
  `show_mobile_number` tinyint(1) NOT NULL DEFAULT 1,
  `show_alternate_number` tinyint(1) NOT NULL DEFAULT 0,
  `show_email` tinyint(1) NOT NULL DEFAULT 0,
  `show_tax_1` tinyint(1) NOT NULL DEFAULT 1,
  `show_tax_2` tinyint(1) NOT NULL DEFAULT 0,
  `show_barcode` tinyint(1) NOT NULL DEFAULT 0,
  `show_payments` tinyint(1) NOT NULL DEFAULT 0,
  `show_customer` tinyint(1) NOT NULL DEFAULT 0,
  `customer_label` varchar(191) DEFAULT NULL,
  `commission_agent_label` varchar(191) DEFAULT NULL,
  `show_commission_agent` tinyint(1) NOT NULL DEFAULT 0,
  `show_reward_point` tinyint(1) NOT NULL DEFAULT 0,
  `highlight_color` varchar(10) DEFAULT NULL,
  `footer_text` text DEFAULT NULL,
  `module_info` text DEFAULT NULL,
  `common_settings` text DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `business_id` int(10) unsigned NOT NULL,
  `show_letter_head` tinyint(1) NOT NULL DEFAULT 0,
  `letter_head` varchar(191) DEFAULT NULL,
  `show_qr_code` tinyint(1) NOT NULL DEFAULT 0,
  `qr_code_fields` text DEFAULT NULL,
  `design` varchar(190) DEFAULT 'classic',
  `cn_heading` varchar(191) DEFAULT NULL COMMENT 'cn = credit note',
  `cn_no_label` varchar(191) DEFAULT NULL,
  `cn_amount_label` varchar(191) DEFAULT NULL,
  `table_tax_headings` text DEFAULT NULL,
  `show_previous_bal` tinyint(1) NOT NULL DEFAULT 0,
  `prev_bal_label` varchar(191) DEFAULT NULL,
  `change_return_label` varchar(191) DEFAULT NULL,
  `product_custom_fields` text DEFAULT NULL,
  `contact_custom_fields` text DEFAULT NULL,
  `location_custom_fields` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `invoice_layouts_business_id_foreign` (`business_id`),
  CONSTRAINT `invoice_layouts_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `invoice_layouts` WRITE;
/*!40000 ALTER TABLE `invoice_layouts` DISABLE KEYS */;
INSERT INTO `invoice_layouts` VALUES (7,'Default',NULL,'Invoice No.',NULL,'Invoice',NULL,NULL,NULL,NULL,NULL,'','',NULL,'Subtotal','Discount','Tax','Total',NULL,'Total Due','Total Paid',0,NULL,NULL,'Date',NULL,1,0,1,1,0,0,0,0,NULL,0,'Product','Quantity','Unit Price','Subtotal',NULL,NULL,0,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,'Customer',NULL,0,0,'#000000','',NULL,NULL,1,5,0,NULL,0,NULL,'classic',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(8,'Default',NULL,'Invoice No.',NULL,'Invoice',NULL,NULL,NULL,NULL,NULL,'','',NULL,'Subtotal','Discount','Tax','Total',NULL,'Total Due','Total Paid',0,NULL,NULL,'Date',NULL,1,0,1,1,0,0,0,0,NULL,0,'Product','Quantity','Unit Price','Subtotal',NULL,NULL,0,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,'Customer',NULL,0,0,'#000000','',NULL,NULL,1,6,0,NULL,0,NULL,'classic',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(9,'Default',NULL,'Invoice No.',NULL,'Invoice',NULL,NULL,NULL,NULL,NULL,'','',NULL,'Subtotal','Discount','Tax','Total',NULL,'Total Due','Total Paid',0,NULL,NULL,'Date',NULL,1,0,1,1,0,0,0,0,NULL,0,'Product','Quantity','Unit Price','Subtotal',NULL,NULL,0,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,'Customer',NULL,0,0,'#000000','',NULL,NULL,1,7,0,NULL,0,NULL,'classic',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(10,'Default',NULL,'Invoice No.',NULL,'Invoice',NULL,NULL,NULL,NULL,NULL,'','',NULL,'Subtotal','Discount','Tax','Total',NULL,'Total Due','Total Paid',0,NULL,NULL,'Date',NULL,1,0,1,1,0,0,0,0,NULL,0,'Product','Quantity','Unit Price','Subtotal',NULL,NULL,0,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,'Customer',NULL,0,0,'#000000','',NULL,NULL,1,8,0,NULL,0,NULL,'classic',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(11,'Default',NULL,'Invoice No.',NULL,'Invoice',NULL,NULL,NULL,NULL,NULL,'','',NULL,'Subtotal','Discount','Tax','Total',NULL,'Total Due','Total Paid',0,NULL,NULL,'Date',NULL,1,0,1,1,0,0,0,0,NULL,0,'Product','Quantity','Unit Price','Subtotal',NULL,NULL,0,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,'Customer',NULL,0,0,'#000000','',NULL,NULL,1,9,0,NULL,0,NULL,'classic',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(12,'Default',NULL,'Invoice No.',NULL,'Invoice',NULL,NULL,NULL,NULL,NULL,'','',NULL,'Subtotal','Discount','Tax','Total',NULL,'Total Due','Total Paid',0,NULL,NULL,'Date',NULL,1,0,1,1,0,0,0,0,NULL,0,'Product','Quantity','Unit Price','Subtotal',NULL,NULL,0,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,'Customer',NULL,0,0,'#000000','',NULL,NULL,1,10,0,NULL,0,NULL,'classic',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:53','2026-06-17 21:11:53');
/*!40000 ALTER TABLE `invoice_layouts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `invoice_schemes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `invoice_schemes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `scheme_type` enum('blank','year') NOT NULL,
  `number_type` varchar(100) NOT NULL DEFAULT 'sequential',
  `prefix` varchar(191) DEFAULT NULL,
  `start_number` int(11) DEFAULT NULL,
  `invoice_count` int(11) NOT NULL DEFAULT 0,
  `total_digits` int(11) DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `invoice_schemes_business_id_foreign` (`business_id`),
  KEY `invoice_schemes_scheme_type_index` (`scheme_type`),
  KEY `invoice_schemes_number_type_index` (`number_type`),
  CONSTRAINT `invoice_schemes_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `invoice_schemes` WRITE;
/*!40000 ALTER TABLE `invoice_schemes` DISABLE KEYS */;
INSERT INTO `invoice_schemes` VALUES (7,5,'Default','blank','sequential','',1,0,4,1,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(8,6,'Default','blank','sequential','',1,0,4,1,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(9,7,'Default','blank','sequential','',1,0,4,1,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(10,8,'Default','blank','sequential','',1,0,4,1,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(11,9,'Default','blank','sequential','',1,0,4,1,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(12,10,'Default','blank','sequential','',1,0,4,1,'2026-06-17 21:11:53','2026-06-17 21:11:53');
/*!40000 ALTER TABLE `invoice_schemes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ivf_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ivf_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `amh` decimal(8,2) DEFAULT NULL,
  `antral_follicles` int(11) DEFAULT NULL,
  `cycle_day` int(11) DEFAULT NULL,
  `protocol` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ivf_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `ivf_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ivf_patient_profiles` WRITE;
/*!40000 ALTER TABLE `ivf_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `ivf_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `jobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(191) 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 AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `jobs` WRITE;
/*!40000 ALTER TABLE `jobs` DISABLE KEYS */;
INSERT INTO `jobs` VALUES (21,'whatsapp','{\"uuid\":\"934e8558-04bc-4d5e-87d9-5db3da915a49\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:161;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1781617739,1781617739),(22,'whatsapp','{\"uuid\":\"b980c686-807d-4b03-89f7-f9ee93504367\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:162;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1781729989,1781729989),(23,'whatsapp','{\"uuid\":\"0517302b-eb0e-4243-8f78-c21759169130\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:163;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1781742148,1781742148),(24,'whatsapp','{\"uuid\":\"afbf7418-8399-4598-840f-ac0c089e5597\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:164;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1781817990,1781817990),(25,'whatsapp','{\"uuid\":\"5269d56b-9a26-46fd-9bb5-2c4f8f61e031\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:165;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1781818366,1781818366),(26,'whatsapp','{\"uuid\":\"5da36bd5-496c-4899-943e-7427f8592f9b\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:166;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1781819069,1781819069),(27,'whatsapp','{\"uuid\":\"84924bf3-8c2a-448c-8793-6240c5aeea75\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:167;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1781824048,1781824048),(28,'whatsapp','{\"uuid\":\"3fe1d844-d1db-43ba-8731-6189f41cc61c\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:168;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782255842,1782255842),(29,'whatsapp','{\"uuid\":\"52494a48-b25f-4e84-bd8c-fb1498c36f27\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:169;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782486409,1782486409),(30,'whatsapp','{\"uuid\":\"c45fa725-d9c5-4a80-a0ac-b15e1346fb09\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:170;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782486409,1782486409),(31,'whatsapp','{\"uuid\":\"96a30030-6a50-409f-8975-41690e9fcd51\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:171;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782486409,1782486409),(32,'whatsapp','{\"uuid\":\"5c811dda-4bee-420c-9b1a-bac018aa00e1\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:172;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782486409,1782486409),(33,'whatsapp','{\"uuid\":\"ac581366-82cb-46ad-b206-30abf615451d\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:173;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782512391,1782512391),(34,'whatsapp','{\"uuid\":\"e358b5c3-73dd-4c44-8954-36d2a4a94347\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:174;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782512391,1782512391),(35,'whatsapp','{\"uuid\":\"f8f3377f-b0c7-413e-8794-df8ddc964528\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:175;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782512391,1782512391),(36,'whatsapp','{\"uuid\":\"9b212c50-d6ea-40ba-a1d5-b40b419408db\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:176;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782517957,1782517957),(37,'whatsapp','{\"uuid\":\"1bc7bde0-46f7-4dd1-b3de-7a2eda85f109\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:177;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782517957,1782517957),(38,'whatsapp','{\"uuid\":\"6e9c461c-90ab-4c1c-89d3-37bb02f7cb81\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:178;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782517957,1782517957),(39,'whatsapp','{\"uuid\":\"59cce013-04dd-4bea-80bf-2acbd3010bf8\",\"displayName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":1,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":120,\"retryUntil\":null,\"data\":{\"commandName\":\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\",\"command\":\"O:41:\\\"Modules\\\\WhatsApp\\\\Jobs\\\\SendWhatsAppMessage\\\":3:{s:9:\\\"messageId\\\";i:161;s:10:\\\"connection\\\";s:11:\\\"whatsapp_db\\\";s:5:\\\"queue\\\";s:8:\\\"whatsapp\\\";}\"}}',0,NULL,1782517958,1782517958);
/*!40000 ALTER TABLE `jobs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_agents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_agents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(120) NOT NULL COMMENT 'Clinic / site label',
  `code` varchar(60) NOT NULL COMMENT 'Agent slug used by the agent at registration',
  `api_token` varchar(80) NOT NULL COMMENT 'Bearer token the agent authenticates with',
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `agent_version` varchar(20) DEFAULT NULL,
  `last_ip` varchar(45) DEFAULT NULL,
  `last_heartbeat_at` timestamp NULL DEFAULT NULL,
  `queue_depth` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Unsynced items the agent last reported',
  `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 `lab_agents_code_unique` (`code`),
  UNIQUE KEY `lab_agents_api_token_unique` (`api_token`),
  KEY `lab_agents_business_id_status_index` (`business_id`,`status`),
  KEY `lab_agents_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_agents` WRITE;
/*!40000 ALTER TABLE `lab_agents` DISABLE KEYS */;
INSERT INTO `lab_agents` VALUES (5,5,'Lab Simulator','simulator','4y1lPRO0fEghsDSmTSxEpUhi9CjqCd5bYWoaCUPDTyIJOfCgy6ToVf5BapyjFA2k','active',NULL,NULL,NULL,0,NULL,'2026-06-15 19:25:16','2026-06-15 19:25:16');
/*!40000 ALTER TABLE `lab_agents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_analyte_map`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_analyte_map` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL COMMENT 'Null = global default',
  `vendor` varchar(30) NOT NULL,
  `model` varchar(60) DEFAULT NULL,
  `analyte_code` varchar(20) NOT NULL,
  `canonical_name` varchar(60) NOT NULL,
  `display_name` varchar(60) DEFAULT NULL,
  `unit` varchar(16) DEFAULT NULL,
  `species` varchar(40) DEFAULT NULL COMMENT 'Reference ranges are species-specific',
  `ref_lower` varchar(16) DEFAULT NULL,
  `ref_upper` varchar(16) DEFAULT NULL,
  `category` varchar(40) DEFAULT NULL COMMENT 'chemistry, hematology, electrolytes...',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lab_analyte_map_vendor_analyte_code_index` (`vendor`,`analyte_code`),
  KEY `lab_analyte_map_business_id_index` (`business_id`),
  KEY `lab_analyte_map_vendor_index` (`vendor`),
  KEY `lab_analyte_map_analyte_code_index` (`analyte_code`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_analyte_map` WRITE;
/*!40000 ALTER TABLE `lab_analyte_map` DISABLE KEYS */;
INSERT INTO `lab_analyte_map` VALUES (32,NULL,'idexx',NULL,'GLU','Glucose','Glucose','mg/dL',NULL,NULL,NULL,'chemistry',0,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(33,NULL,'idexx',NULL,'BUN','Urea Nitrogen','Urea Nitrogen','mg/dL',NULL,NULL,NULL,'chemistry',1,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(34,NULL,'idexx',NULL,'CREA','Creatinine','Creatinine','mg/dL',NULL,NULL,NULL,'chemistry',2,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(35,NULL,'idexx',NULL,'SDMA','Symmetric Dimethylarginine (IDEXX SDMA)','Symmetric Dimethylarginine (IDEXX SDMA)','µg/dL',NULL,NULL,NULL,'chemistry',3,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(36,NULL,'idexx',NULL,'PHOS','Phosphorus','Phosphorus','mg/dL',NULL,NULL,NULL,'chemistry',4,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(37,NULL,'idexx',NULL,'TP','Total Protein','Total Protein','g/dL',NULL,NULL,NULL,'chemistry',5,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(38,NULL,'idexx',NULL,'ALB','Albumin','Albumin','g/dL',NULL,NULL,NULL,'chemistry',6,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(39,NULL,'idexx',NULL,'GLOB','Globulin','Globulin','g/dL',NULL,NULL,NULL,'chemistry',7,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(40,NULL,'idexx',NULL,'ALT','Alanine Aminotransferase','Alanine Aminotransferase','U/L',NULL,NULL,NULL,'chemistry',8,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(41,NULL,'idexx',NULL,'ALKP','Alkaline Phosphatase','Alkaline Phosphatase','U/L',NULL,NULL,NULL,'chemistry',9,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(42,NULL,'idexx',NULL,'GGT','Gamma-Glutamyl Transferase','Gamma-Glutamyl Transferase','U/L',NULL,NULL,NULL,'chemistry',10,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(43,NULL,'idexx',NULL,'TBIL','Total Bilirubin','Total Bilirubin','mg/dL',NULL,NULL,NULL,'chemistry',11,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(44,NULL,'idexx',NULL,'CHOL','Cholesterol','Cholesterol','mg/dL',NULL,NULL,NULL,'chemistry',12,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(45,NULL,'idexx',NULL,'AMYL','Amylase','Amylase','U/L',NULL,NULL,NULL,'chemistry',13,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(46,NULL,'idexx',NULL,'LIPA','Lipase','Lipase','U/L',NULL,NULL,NULL,'chemistry',14,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(47,NULL,'idexx',NULL,'Ca','Calcium','Calcium','mg/dL',NULL,NULL,NULL,'chemistry',15,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(48,NULL,'idexx',NULL,'TT4','Total Thyroxine','Total Thyroxine','µg/dL',NULL,NULL,NULL,'chemistry',16,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(49,NULL,'idexx',NULL,'Na','Sodium','Sodium','mmol/L',NULL,NULL,NULL,'electrolytes',17,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(50,NULL,'idexx',NULL,'K','Potassium','Potassium','mmol/L',NULL,NULL,NULL,'electrolytes',18,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(51,NULL,'idexx',NULL,'Cl','Chloride','Chloride','mmol/L',NULL,NULL,NULL,'electrolytes',19,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(52,NULL,'idexx',NULL,'tCO2','Total CO2','Total CO2','mmol/L',NULL,NULL,NULL,'electrolytes',20,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(53,NULL,'idexx',NULL,'WBC','White Blood Cells','White Blood Cells','10^9/L',NULL,NULL,NULL,'hematology',21,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(54,NULL,'idexx',NULL,'RBC','Red Blood Cells','Red Blood Cells','10^12/L',NULL,NULL,NULL,'hematology',22,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(55,NULL,'idexx',NULL,'HGB','Hemoglobin','Hemoglobin','g/dL',NULL,NULL,NULL,'hematology',23,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(56,NULL,'idexx',NULL,'HCT','Hematocrit','Hematocrit','%',NULL,NULL,NULL,'hematology',24,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(57,NULL,'idexx',NULL,'MCV','Mean Corpuscular Volume','Mean Corpuscular Volume','fL',NULL,NULL,NULL,'hematology',25,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(58,NULL,'idexx',NULL,'MCH','Mean Corpuscular Hemoglobin','Mean Corpuscular Hemoglobin','pg',NULL,NULL,NULL,'hematology',26,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(59,NULL,'idexx',NULL,'MCHC','Mean Corpuscular Hemoglobin Concentration','Mean Corpuscular Hemoglobin Concentration','g/dL',NULL,NULL,NULL,'hematology',27,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(60,NULL,'idexx',NULL,'RDW','Red Cell Distribution Width','Red Cell Distribution Width','%',NULL,NULL,NULL,'hematology',28,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(61,NULL,'idexx',NULL,'RETIC','Reticulocytes','Reticulocytes','K/µL',NULL,NULL,NULL,'hematology',29,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(62,NULL,'idexx',NULL,'PLT','Platelets','Platelets','10^9/L',NULL,NULL,NULL,'hematology',30,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(63,NULL,'idexx',NULL,'MPV','Mean Platelet Volume','Mean Platelet Volume','fL',NULL,NULL,NULL,'hematology',31,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(64,NULL,'idexx',NULL,'NEU','Neutrophils','Neutrophils','10^9/L',NULL,NULL,NULL,'hematology',32,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(65,NULL,'idexx',NULL,'LYM','Lymphocytes','Lymphocytes','10^9/L',NULL,NULL,NULL,'hematology',33,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(66,NULL,'idexx',NULL,'MONO','Monocytes','Monocytes','10^9/L',NULL,NULL,NULL,'hematology',34,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(67,NULL,'idexx',NULL,'EOS','Eosinophils','Eosinophils','10^9/L',NULL,NULL,NULL,'hematology',35,'2026-06-15 19:06:53','2026-06-15 19:06:53'),(68,NULL,'idexx',NULL,'BASO','Basophils','Basophils','10^9/L',NULL,NULL,NULL,'hematology',36,'2026-06-15 19:06:53','2026-06-15 19:06:53');
/*!40000 ALTER TABLE `lab_analyte_map` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_communication_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_communication_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `device_id` int(10) unsigned DEFAULT NULL,
  `vendor` varchar(30) DEFAULT NULL,
  `level` varchar(10) NOT NULL DEFAULT 'info' COMMENT 'info, success, warning, error',
  `category` varchar(20) NOT NULL DEFAULT 'system' COMMENT 'connection, worklist, result, error, sync, system',
  `direction` enum('in','out') DEFAULT NULL,
  `device_ip` varchar(45) DEFAULT NULL,
  `sample_no` varchar(30) DEFAULT NULL,
  `message` text NOT NULL,
  `raw_message` text DEFAULT NULL COMMENT 'Raw bytes (hex) of the device frame',
  `context` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`context`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lab_communication_logs_created_at_index` (`created_at`),
  KEY `lab_communication_logs_level_index` (`level`),
  KEY `lab_communication_logs_category_index` (`category`),
  KEY `lab_communication_logs_agent_id_index` (`agent_id`),
  KEY `lab_communication_logs_device_id_index` (`device_id`),
  KEY `lab_communication_logs_vendor_index` (`vendor`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_communication_logs` WRITE;
/*!40000 ALTER TABLE `lab_communication_logs` DISABLE KEYS */;
INSERT INTO `lab_communication_logs` VALUES (3,5,NULL,'idexx','info','result','in',NULL,NULL,'Raw result message received from agent','H|\\^&|||IDEXX CatalystOne^1.0|||||||P|1|20260615222544\rP|1|IDX23895|||Simba||20200101|M|Feline\rO|1|IDX23895||^^^CHEM|R|20260615222544\rR|1|^^^GLU|276|mg/dL|74^143|H||F||20260615222544\rR|2|^^^BUN|58|mg/dL|7^27|H||F||20260615222544\rR|3|^^^CREA|3.1|mg/dL|0.5^1.8|H||F||20260615222544\rR|4|^^^SDMA|32|µg/dL|0^14|H||F||20260615222544\rR|5|^^^PHOS|8.9|mg/dL|2.5^6.8|H||F||20260615222544\rR|6|^^^TP|4.6|g/dL|5.2^8.2|L||F||20260615222544\rR|7|^^^ALB|2.0|g/dL|2.3^4.0|L||F||20260615222544\rR|8|^^^ALT|240|U/L|10^125|H||F||20260615222544\rR|9|^^^ALKP|94|U/L|23^212|||F||20260615222544\rL|1|N',NULL,'2026-06-15 19:25:45','2026-06-15 19:25:45',NULL);
/*!40000 ALTER TABLE `lab_communication_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_device_connections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_device_connections` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `device_id` int(10) unsigned DEFAULT NULL,
  `vendor` varchar(30) DEFAULT NULL,
  `device_ip` varchar(45) DEFAULT NULL,
  `device_port` int(10) unsigned DEFAULT NULL,
  `comm_protocol` varchar(40) DEFAULT NULL,
  `status` enum('connected','disconnected') NOT NULL DEFAULT 'connected',
  `connected_at` timestamp NULL DEFAULT NULL,
  `disconnected_at` timestamp NULL DEFAULT NULL,
  `messages_received` int(10) unsigned NOT NULL DEFAULT 0,
  `results_stored` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lab_device_connections_agent_id_index` (`agent_id`),
  KEY `lab_device_connections_device_id_index` (`device_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_device_connections` WRITE;
/*!40000 ALTER TABLE `lab_device_connections` DISABLE KEYS */;
/*!40000 ALTER TABLE `lab_device_connections` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_device_errors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_device_errors` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `device_id` int(10) unsigned DEFAULT NULL,
  `vendor` varchar(30) DEFAULT NULL,
  `error_code` varchar(30) DEFAULT NULL,
  `error_date` date DEFAULT NULL,
  `error_time` time DEFAULT NULL,
  `message` text DEFAULT NULL,
  `added_info` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`added_info`)),
  `device_ip` varchar(45) DEFAULT NULL,
  `acknowledged` tinyint(1) NOT NULL DEFAULT 0,
  `acknowledged_at` timestamp NULL DEFAULT NULL,
  `acknowledged_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lab_device_errors_acknowledged_index` (`acknowledged`),
  KEY `lab_device_errors_agent_id_index` (`agent_id`),
  KEY `lab_device_errors_device_id_index` (`device_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_device_errors` WRITE;
/*!40000 ALTER TABLE `lab_device_errors` DISABLE KEYS */;
/*!40000 ALTER TABLE `lab_device_errors` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_devices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_devices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `agent_id` int(10) unsigned DEFAULT NULL COMMENT 'Hosting LabBridge Agent',
  `vendor` varchar(30) NOT NULL COMMENT 'Driver key: nx600, abaxis, idexx',
  `model` varchar(60) DEFAULT NULL,
  `name` varchar(120) NOT NULL COMMENT 'Display label',
  `connection_type` enum('tcp','serial','serial2eth') NOT NULL DEFAULT 'tcp',
  `comm_protocol` varchar(40) DEFAULT NULL COMMENT 'e.g. astm-e1394, nx600-type-1',
  `host` varchar(45) DEFAULT NULL,
  `port` int(10) unsigned DEFAULT NULL,
  `com_port` varchar(20) DEFAULT NULL COMMENT 'e.g. COM3',
  `baud` int(10) unsigned DEFAULT NULL,
  `parity` varchar(10) DEFAULT NULL,
  `data_bits` tinyint(3) unsigned DEFAULT NULL,
  `stop_bits` tinyint(3) unsigned DEFAULT NULL,
  `status` enum('online','offline','disabled') NOT NULL DEFAULT 'offline',
  `last_seen_at` timestamp NULL DEFAULT NULL,
  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`settings`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lab_devices_business_id_vendor_index` (`business_id`,`vendor`),
  KEY `lab_devices_business_id_index` (`business_id`),
  KEY `lab_devices_agent_id_index` (`agent_id`),
  KEY `lab_devices_vendor_index` (`vendor`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_devices` WRITE;
/*!40000 ALTER TABLE `lab_devices` DISABLE KEYS */;
INSERT INTO `lab_devices` VALUES (14,10,NULL,'nx600','NX600','NX600 Hematology Analyzer','serial','astm',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'online','2026-06-17 21:11:55',NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(15,10,NULL,'abaxis','VetScan VS2','Abaxis VetScan Chemistry Analyzer','serial','astm',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'online','2026-06-17 21:11:55',NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(16,10,NULL,'idexx','CatalystOne','IDEXX Catalyst One Chemistry Analyzer','tcp','astm',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'online','2026-06-17 21:11:55',NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `lab_devices` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `key` varchar(60) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lab_settings_business_id_key_unique` (`business_id`,`key`),
  KEY `lab_settings_business_id_index` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_settings` WRITE;
/*!40000 ALTER TABLE `lab_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `lab_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_test_results`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_test_results` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `test_session_id` int(10) unsigned NOT NULL,
  `analyte_code` varchar(20) NOT NULL COMMENT 'Raw vendor code, e.g. GLU-P',
  `analyte_name` varchar(60) DEFAULT NULL COMMENT 'Canonical name from lab_analyte_map',
  `base_name` varchar(20) DEFAULT NULL,
  `sample_suffix` varchar(5) DEFAULT NULL,
  `equality` varchar(3) NOT NULL DEFAULT '=',
  `value` varchar(30) DEFAULT NULL COMMENT 'Numeric or special (+, -, ****, EXP...)',
  `unit` varchar(16) DEFAULT NULL,
  `dilution_factor` smallint(5) unsigned NOT NULL DEFAULT 1,
  `ref_lower` varchar(16) DEFAULT NULL,
  `ref_upper` varchar(16) DEFAULT NULL,
  `raw_flag` varchar(24) DEFAULT NULL COMMENT 'Raw warning/flag string from the device',
  `flags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Parsed vendor-specific flag set' CHECK (json_valid(`flags`)),
  `is_abnormal` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lab_test_results_test_session_id_analyte_code_index` (`test_session_id`,`analyte_code`),
  KEY `lab_test_results_analyte_code_index` (`analyte_code`),
  CONSTRAINT `lab_test_results_test_session_id_foreign` FOREIGN KEY (`test_session_id`) REFERENCES `lab_test_sessions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_test_results` WRITE;
/*!40000 ALTER TABLE `lab_test_results` DISABLE KEYS */;
INSERT INTO `lab_test_results` VALUES (94,17,'WBC','White Blood Cells',NULL,NULL,'=','12.8','10^9/L',1,'6','17',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(95,17,'RBC','Red Blood Cells',NULL,NULL,'=','5.9','10^12/L',1,'5.5','8.5',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(96,17,'HGB','Hemoglobin',NULL,NULL,'=','11.2','g/dL',1,'12','18','H',NULL,1,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(97,17,'HCT','Hematocrit',NULL,NULL,'=','38','%',1,'37','55',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(98,17,'PLT','Platelets',NULL,NULL,'=','480','10^9/L',1,'200','500',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(99,17,'GLU','Glucose',NULL,NULL,'=','138','mg/dL',1,'70','143',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(100,18,'GLU','Glucose',NULL,NULL,'=','102','mg/dL',1,'74','143',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(101,18,'BUN','Urea Nitrogen',NULL,NULL,'=','24','mg/dL',1,'7','27',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(102,18,'CREA','Creatinine',NULL,NULL,'=','1.4','mg/dL',1,'0.5','1.8',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(103,18,'SDMA','IDEXX SDMA',NULL,NULL,'=','19','µg/dL',1,'0','14','H',NULL,1,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(104,18,'PHOS','Phosphorus',NULL,NULL,'=','5.1','mg/dL',1,'2.5','6.8',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(105,18,'ALT','Alanine Aminotransferase',NULL,NULL,'=','68','U/L',1,'10','125',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(106,18,'ALKP','Alkaline Phosphatase',NULL,NULL,'=','110','U/L',1,'23','212',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `lab_test_results` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_test_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_test_sessions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` char(36) NOT NULL COMMENT 'Agent-generated idempotency key',
  `business_id` int(10) unsigned DEFAULT NULL,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `device_id` int(10) unsigned DEFAULT NULL,
  `vendor` varchar(30) NOT NULL,
  `sample_no` varchar(30) NOT NULL,
  `patient_id` varchar(30) DEFAULT NULL,
  `patient_name` varchar(80) DEFAULT NULL,
  `test_condition` varchar(20) NOT NULL DEFAULT 'NORMAL' COMMENT 'NORMAL / CONTROL',
  `test_date` date DEFAULT NULL,
  `test_time` time DEFAULT NULL,
  `sample_type` varchar(20) DEFAULT NULL,
  `species` varchar(40) DEFAULT NULL,
  `species_code` varchar(10) DEFAULT NULL,
  `sex` varchar(10) DEFAULT NULL,
  `age` smallint(5) unsigned DEFAULT NULL,
  `operator_id` varchar(30) DEFAULT NULL,
  `analyzer_id` varchar(30) DEFAULT NULL,
  `device_ip` varchar(45) DEFAULT NULL,
  `source` enum('agent','manual','api') NOT NULL DEFAULT 'agent',
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Vendor-specific extras (slide lot, comm type, position...)' CHECK (json_valid(`meta`)),
  `contact_id` int(10) unsigned DEFAULT NULL,
  `vc_pet_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `clc_patient_id` int(10) unsigned DEFAULT NULL,
  `clc_appointment_id` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lab_test_sessions_uuid_unique` (`uuid`),
  UNIQUE KEY `lab_session_vendor_sample_date_unique` (`vendor`,`sample_no`,`test_date`),
  KEY `lab_test_sessions_test_date_test_time_index` (`test_date`,`test_time`),
  KEY `lab_test_sessions_business_id_index` (`business_id`),
  KEY `lab_test_sessions_agent_id_index` (`agent_id`),
  KEY `lab_test_sessions_device_id_index` (`device_id`),
  KEY `lab_test_sessions_vendor_index` (`vendor`),
  KEY `lab_test_sessions_sample_no_index` (`sample_no`),
  KEY `lab_test_sessions_patient_id_index` (`patient_id`),
  KEY `lab_test_sessions_contact_id_index` (`contact_id`),
  KEY `lab_test_sessions_vc_pet_id_index` (`vc_pet_id`),
  KEY `lab_test_sessions_clc_patient_id_index` (`clc_patient_id`),
  KEY `lab_test_sessions_clc_appointment_id_index` (`clc_appointment_id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_test_sessions` WRITE;
/*!40000 ALTER TABLE `lab_test_sessions` DISABLE KEYS */;
INSERT INTO `lab_test_sessions` VALUES (17,'e2d838a0-7f6d-4f8e-8256-1d586ff3566d',10,NULL,14,'nx600','S-1001',NULL,'Rex','NORMAL','2026-06-18','00:11:55','whole blood','Dog',NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,6092,70,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(18,'a11f9e28-38d3-425a-883a-aedf8bfefd55',10,NULL,16,'idexx','IDX-2001',NULL,'Bella','NORMAL','2026-06-18','00:11:55','serum','Dog',NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,6094,72,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL);
/*!40000 ALTER TABLE `lab_test_sessions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lab_worklist`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lab_worklist` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `device_id` int(10) unsigned DEFAULT NULL,
  `vendor` varchar(30) NOT NULL,
  `sample_no` varchar(30) NOT NULL,
  `patient_id` varchar(30) DEFAULT NULL,
  `patient_name` varchar(80) DEFAULT NULL,
  `species` varchar(40) DEFAULT NULL,
  `species_code` varchar(10) DEFAULT NULL COMMENT 'Vendor numeric/text species code',
  `sex` varchar(10) DEFAULT NULL,
  `age` smallint(5) unsigned DEFAULT NULL,
  `tests` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Analyte codes / panels to run' CHECK (json_valid(`tests`)),
  `status` enum('pending','sent','completed','cancelled') NOT NULL DEFAULT 'pending',
  `sent_at` timestamp NULL DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `vc_pet_id` int(10) unsigned 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,
  `clc_patient_id` int(10) unsigned DEFAULT NULL,
  `clc_appointment_id` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lab_worklist_vendor_sample_no_index` (`vendor`,`sample_no`),
  KEY `lab_worklist_status_index` (`status`),
  KEY `lab_worklist_business_id_index` (`business_id`),
  KEY `lab_worklist_agent_id_index` (`agent_id`),
  KEY `lab_worklist_device_id_index` (`device_id`),
  KEY `lab_worklist_vendor_index` (`vendor`),
  KEY `lab_worklist_sample_no_index` (`sample_no`),
  KEY `lab_worklist_contact_id_index` (`contact_id`),
  KEY `lab_worklist_vc_pet_id_index` (`vc_pet_id`),
  KEY `lab_worklist_clc_patient_id_index` (`clc_patient_id`),
  KEY `lab_worklist_clc_appointment_id_index` (`clc_appointment_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lab_worklist` WRITE;
/*!40000 ALTER TABLE `lab_worklist` DISABLE KEYS */;
INSERT INTO `lab_worklist` VALUES (7,10,NULL,15,'abaxis','S-1002',NULL,'Luna','Cat',NULL,NULL,NULL,'[\"Chem17\"]','pending',NULL,6093,71,195,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,NULL);
/*!40000 ALTER TABLE `lab_worklist` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lc_cost_snapshots`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lc_cost_snapshots` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `parent_type` varchar(30) NOT NULL,
  `parent_id` int(10) unsigned NOT NULL,
  `purchase_line_id` int(10) unsigned NOT NULL,
  `variation_id` bigint(20) unsigned DEFAULT NULL,
  `orig_purchase_price` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `orig_purchase_price_inc_tax` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `orig_item_tax` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `orig_pp_without_discount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `orig_var_default_purchase_price` decimal(22,4) DEFAULT NULL,
  `orig_var_dpp_inc_tax` decimal(22,4) DEFAULT NULL,
  `orig_var_profit_percent` decimal(22,4) DEFAULT NULL,
  `applied_at` datetime DEFAULT NULL,
  `applied_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lc_cost_snapshots_parent_line_unique` (`parent_type`,`parent_id`,`purchase_line_id`),
  KEY `lc_cost_snapshots_purchase_line_id_foreign` (`purchase_line_id`),
  CONSTRAINT `lc_cost_snapshots_purchase_line_id_foreign` FOREIGN KEY (`purchase_line_id`) REFERENCES `purchase_lines` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lc_cost_snapshots` WRITE;
/*!40000 ALTER TABLE `lc_cost_snapshots` DISABLE KEYS */;
/*!40000 ALTER TABLE `lc_cost_snapshots` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lc_expense_distributions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lc_expense_distributions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `lc_expense_id` int(10) unsigned NOT NULL,
  `purchase_line_id` int(10) unsigned NOT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `distribution_ratio` decimal(10,6) NOT NULL DEFAULT 0.000000,
  `allocated_amount` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `allocated_base_amount` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `is_custom` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lc_expense_distributions_lc_expense_id_foreign` (`lc_expense_id`),
  KEY `lc_expense_distributions_purchase_line_id_foreign` (`purchase_line_id`),
  CONSTRAINT `lc_expense_distributions_lc_expense_id_foreign` FOREIGN KEY (`lc_expense_id`) REFERENCES `lc_expenses` (`id`) ON DELETE CASCADE,
  CONSTRAINT `lc_expense_distributions_purchase_line_id_foreign` FOREIGN KEY (`purchase_line_id`) REFERENCES `purchase_lines` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lc_expense_distributions` WRITE;
/*!40000 ALTER TABLE `lc_expense_distributions` DISABLE KEYS */;
/*!40000 ALTER TABLE `lc_expense_distributions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lc_expenses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lc_expenses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `parent_type` varchar(30) NOT NULL,
  `parent_id` int(10) unsigned NOT NULL,
  `name` varchar(100) NOT NULL,
  `expense_type` enum('shipping','customs','insurance','handling','freight','other') NOT NULL DEFAULT 'other',
  `amount` decimal(15,4) NOT NULL,
  `currency_id` int(10) unsigned DEFAULT NULL,
  `rate_to_base` decimal(15,6) NOT NULL DEFAULT 1.000000,
  `base_amount` decimal(15,4) NOT NULL,
  `distribution_method` enum('equal_qty','equal_value','equal_lines','custom') NOT NULL DEFAULT 'equal_value',
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lc_expenses_parent_type_parent_id_index` (`parent_type`,`parent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lc_expenses` WRITE;
/*!40000 ALTER TABLE `lc_expenses` DISABLE KEYS */;
/*!40000 ALTER TABLE `lc_expenses` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lc_landed_costs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lc_landed_costs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `parent_type` varchar(30) NOT NULL,
  `parent_id` int(10) unsigned NOT NULL,
  `purchase_line_id` int(10) unsigned NOT NULL,
  `base_unit_price` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `landed_unit_cost` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `landed_unit_cost_base` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lc_landed_costs_parent_line_unique` (`parent_type`,`parent_id`,`purchase_line_id`),
  KEY `lc_landed_costs_purchase_line_id_foreign` (`purchase_line_id`),
  CONSTRAINT `lc_landed_costs_purchase_line_id_foreign` FOREIGN KEY (`purchase_line_id`) REFERENCES `purchase_lines` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `lc_landed_costs` WRITE;
/*!40000 ALTER TABLE `lc_landed_costs` DISABLE KEYS */;
/*!40000 ALTER TABLE `lc_landed_costs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `media` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `file_name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `uploaded_by` int(11) DEFAULT NULL,
  `model_type` varchar(191) NOT NULL,
  `model_media_type` varchar(191) DEFAULT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `media_model_type_model_id_index` (`model_type`,`model_id`),
  KEY `media_business_id_index` (`business_id`),
  KEY `media_uploaded_by_index` (`uploaded_by`)
) ENGINE=InnoDB AUTO_INCREMENT=2668 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `media` WRITE;
/*!40000 ALTER TABLE `media` DISABLE KEYS */;
/*!40000 ALTER TABLE `media` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1546 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2017_07_05_071953_create_currencies_table',1),(4,'2017_07_05_073658_create_business_table',1),(5,'2017_07_22_075923_add_business_id_users_table',1),(6,'2017_07_23_113209_create_brands_table',1),(7,'2017_07_26_083429_create_permission_tables',1),(8,'2017_07_26_110000_create_tax_rates_table',1),(9,'2017_07_26_122313_create_units_table',1),(10,'2017_07_27_075706_create_contacts_table',1),(11,'2017_08_04_071038_create_categories_table',1),(12,'2017_08_08_115903_create_products_table',1),(13,'2017_08_09_061616_create_variation_templates_table',1),(14,'2017_08_09_061638_create_variation_value_templates_table',1),(15,'2017_08_10_061146_create_product_variations_table',1),(16,'2017_08_10_061216_create_variations_table',1),(17,'2017_08_19_054827_create_transactions_table',1),(18,'2017_08_31_073533_create_purchase_lines_table',1),(19,'2017_10_15_064638_create_transaction_payments_table',1),(20,'2017_10_31_065621_add_default_sales_tax_to_business_table',1),(21,'2017_11_20_051930_create_table_group_sub_taxes',1),(22,'2017_11_20_063603_create_transaction_sell_lines',1),(23,'2017_11_21_064540_create_barcodes_table',1),(24,'2017_11_23_181237_create_invoice_schemes_table',1),(25,'2017_12_25_122822_create_business_locations_table',1),(26,'2017_12_25_160253_add_location_id_to_transactions_table',1),(27,'2017_12_25_163227_create_variation_location_details_table',1),(28,'2018_01_04_115627_create_sessions_table',1),(29,'2018_01_05_112817_create_invoice_layouts_table',1),(30,'2018_01_06_112303_add_invoice_scheme_id_and_invoice_layout_id_to_business_locations',1),(31,'2018_01_08_104124_create_expense_categories_table',1),(32,'2018_01_08_123327_modify_transactions_table_for_expenses',1),(33,'2018_01_09_111005_modify_payment_status_in_transactions_table',1),(34,'2018_01_09_111109_add_paid_on_column_to_transaction_payments_table',1),(35,'2018_01_25_172439_add_printer_related_fields_to_business_locations_table',1),(36,'2018_01_27_184322_create_printers_table',1),(37,'2018_01_30_181442_create_cash_registers_table',1),(38,'2018_01_31_125836_create_cash_register_transactions_table',1),(39,'2018_02_07_173326_modify_business_table',1),(40,'2018_02_08_105425_add_enable_product_expiry_column_to_business_table',1),(41,'2018_02_08_111027_add_expiry_period_and_expiry_period_type_columns_to_products_table',1),(42,'2018_02_08_131118_add_mfg_date_and_exp_date_purchase_lines_table',1),(43,'2018_02_08_155348_add_exchange_rate_to_transactions_table',1),(44,'2018_02_09_124945_modify_transaction_payments_table_for_contact_payments',1),(45,'2018_02_12_113640_create_transaction_sell_lines_purchase_lines_table',1),(46,'2018_02_12_114605_add_quantity_sold_in_purchase_lines_table',1),(47,'2018_02_13_183323_alter_decimal_fields_size',1),(48,'2018_02_14_161928_add_transaction_edit_days_to_business_table',1),(49,'2018_02_15_161032_add_document_column_to_transactions_table',1),(50,'2018_02_17_124709_add_more_options_to_invoice_layouts',1),(51,'2018_02_19_111517_add_keyboard_shortcut_column_to_business_table',1),(52,'2018_02_19_121537_stock_adjustment_move_to_transaction_table',1),(53,'2018_02_20_165505_add_is_direct_sale_column_to_transactions_table',1),(54,'2018_02_21_105329_create_system_table',1),(55,'2018_02_23_100549_version_1_2',1),(56,'2018_02_23_125648_add_enable_editing_sp_from_purchase_column_to_business_table',1),(57,'2018_02_26_103612_add_sales_commission_agent_column_to_business_table',1),(58,'2018_02_26_130519_modify_users_table_for_sales_cmmsn_agnt',1),(59,'2018_02_26_134500_add_commission_agent_to_transactions_table',1),(60,'2018_02_27_121422_add_item_addition_method_to_business_table',1),(61,'2018_02_27_170232_modify_transactions_table_for_stock_transfer',1),(62,'2018_03_05_153510_add_enable_inline_tax_column_to_business_table',1),(63,'2018_03_06_210206_modify_product_barcode_types',1),(64,'2018_03_13_181541_add_expiry_type_to_business_table',1),(65,'2018_03_16_113446_product_expiry_setting_for_business',1),(66,'2018_03_19_113601_add_business_settings_options',1),(67,'2018_03_26_125334_add_pos_settings_to_business_table',1),(68,'2018_03_26_165350_create_customer_groups_table',1),(69,'2018_03_27_122720_customer_group_related_changes_in_tables',1),(70,'2018_03_29_110138_change_tax_field_to_nullable_in_business_table',1),(71,'2018_03_29_115502_add_changes_for_sr_number_in_products_and_sale_lines_table',1),(72,'2018_03_29_134340_add_inline_discount_fields_in_purchase_lines',1),(73,'2018_03_31_140921_update_transactions_table_exchange_rate',1),(74,'2018_04_03_103037_add_contact_id_to_contacts_table',1),(75,'2018_04_03_122709_add_changes_to_invoice_layouts_table',1),(76,'2018_04_09_135320_change_exchage_rate_size_in_business_table',1),(77,'2018_04_17_123122_add_lot_number_to_business',1),(78,'2018_04_17_160845_add_product_racks_table',1),(79,'2018_04_20_182015_create_res_tables_table',1),(80,'2018_04_24_105246_restaurant_fields_in_transaction_table',1),(81,'2018_04_24_114149_add_enabled_modules_business_table',1),(82,'2018_04_24_133704_add_modules_fields_in_invoice_layout_table',1),(83,'2018_04_27_132653_quotation_related_change',1),(84,'2018_05_02_104439_add_date_format_and_time_format_to_business',1),(85,'2018_05_02_111939_add_sell_return_to_transaction_payments',1),(86,'2018_05_14_114027_add_rows_positions_for_products',1),(87,'2018_05_14_125223_add_weight_to_products_table',1),(88,'2018_05_14_164754_add_opening_stock_permission',1),(89,'2018_05_15_134729_add_design_to_invoice_layouts',1),(90,'2018_05_16_183307_add_tax_fields_invoice_layout',1),(91,'2018_05_18_191956_add_sell_return_to_transaction_table',1),(92,'2018_05_21_131349_add_custom_fileds_to_contacts_table',1),(93,'2018_05_21_131607_invoice_layout_fields_for_sell_return',1),(94,'2018_05_21_131949_add_custom_fileds_and_website_to_business_locations_table',1),(95,'2018_05_22_123527_create_reference_counts_table',1),(96,'2018_05_22_154540_add_ref_no_prefixes_column_to_business_table',1),(97,'2018_05_24_132620_add_ref_no_column_to_transaction_payments_table',1),(98,'2018_05_24_161026_add_location_id_column_to_business_location_table',1),(99,'2018_05_25_180603_create_modifiers_related_table',1),(100,'2018_05_29_121714_add_purchase_line_id_to_stock_adjustment_line_table',1),(101,'2018_05_31_114645_add_res_order_status_column_to_transactions_table',1),(102,'2018_06_05_103530_rename_purchase_line_id_in_stock_adjustment_lines_table',1),(103,'2018_06_05_111905_modify_products_table_for_modifiers',1),(104,'2018_06_06_110524_add_parent_sell_line_id_column_to_transaction_sell_lines_table',1),(105,'2018_06_07_152443_add_is_service_staff_to_roles_table',1),(106,'2018_06_07_182258_add_image_field_to_products_table',1),(107,'2018_06_13_133705_create_bookings_table',1),(108,'2018_06_15_173636_add_email_column_to_contacts_table',1),(109,'2018_06_27_182835_add_superadmin_related_fields_business',1),(110,'2018_07_10_101913_add_custom_fields_to_products_table',1),(111,'2018_07_17_103434_add_sales_person_name_label_to_invoice_layouts_table',1),(112,'2018_07_17_163920_add_theme_skin_color_column_to_business_table',1),(113,'2018_07_24_160319_add_lot_no_line_id_to_transaction_sell_lines_table',1),(114,'2018_07_25_110004_add_show_expiry_and_show_lot_colums_to_invoice_layouts_table',1),(115,'2018_07_25_172004_add_discount_columns_to_transaction_sell_lines_table',1),(116,'2018_07_26_124720_change_design_column_type_in_invoice_layouts_table',1),(117,'2018_07_26_170424_add_unit_price_before_discount_column_to_transaction_sell_line_table',1),(118,'2018_07_28_103614_add_credit_limit_column_to_contacts_table',1),(119,'2018_08_08_110755_add_new_payment_methods_to_transaction_payments_table',1),(120,'2018_08_08_122225_modify_cash_register_transactions_table_for_new_payment_methods',1),(121,'2018_08_14_104036_add_opening_balance_type_to_transactions_table',1),(122,'2018_09_04_155900_create_accounts_table',1),(123,'2018_09_06_114438_create_selling_price_groups_table',1),(124,'2018_09_06_154057_create_variation_group_prices_table',1),(125,'2018_09_07_102413_add_permission_to_access_default_selling_price',1),(126,'2018_09_07_134858_add_selling_price_group_id_to_transactions_table',1),(127,'2018_09_10_112448_update_product_type_to_single_if_null_in_products_table',1),(128,'2018_09_10_152703_create_account_transactions_table',1),(129,'2018_09_10_173656_add_account_id_column_to_transaction_payments_table',1),(130,'2018_09_19_123914_create_notification_templates_table',1),(131,'2018_09_22_110504_add_sms_and_email_settings_columns_to_business_table',1),(132,'2018_09_24_134942_add_lot_no_line_id_to_stock_adjustment_lines_table',1),(133,'2018_09_26_105557_add_transaction_payments_for_existing_expenses',1),(134,'2018_09_27_111609_modify_transactions_table_for_purchase_return',1),(135,'2018_09_27_131154_add_quantity_returned_column_to_purchase_lines_table',1),(136,'2018_10_02_131401_add_return_quantity_column_to_transaction_sell_lines_table',1),(137,'2018_10_03_104918_add_qty_returned_column_to_transaction_sell_lines_purchase_lines_table',1),(138,'2018_10_03_185947_add_default_notification_templates_to_database',1),(139,'2018_10_09_153105_add_business_id_to_transaction_payments_table',1),(140,'2018_10_16_135229_create_permission_for_sells_and_purchase',1),(141,'2018_10_22_114441_add_columns_for_variable_product_modifications',1),(142,'2018_10_22_134428_modify_variable_product_data',1),(143,'2018_10_30_181558_add_table_tax_headings_to_invoice_layout',1),(144,'2018_10_31_122619_add_pay_terms_field_transactions_table',1),(145,'2018_10_31_161328_add_new_permissions_for_pos_screen',1),(146,'2018_10_31_174752_add_access_selected_contacts_only_to_users_table',1),(147,'2018_10_31_175627_add_user_contact_access',1),(148,'2018_10_31_180559_add_auto_send_sms_column_to_notification_templates_table',1),(149,'2018_11_02_171949_change_card_type_column_to_varchar_in_transaction_payments_table',1),(150,'2018_11_08_105621_add_role_permissions',1),(151,'2018_11_26_114135_add_is_suspend_column_to_transactions_table',1),(152,'2018_11_28_104410_modify_units_table_for_multi_unit',1),(153,'2018_11_28_170952_add_sub_unit_id_to_purchase_lines_and_sell_lines',1),(154,'2018_11_29_115918_add_primary_key_in_system_table',1),(155,'2018_12_03_185546_add_product_description_column_to_products_table',1),(156,'2018_12_06_114937_modify_system_table_and_users_table',1),(157,'2018_12_13_160007_add_custom_fields_display_options_to_invoice_layouts_table',1),(158,'2018_12_14_103307_modify_system_table',1),(159,'2018_12_18_133837_add_prev_balance_due_columns_to_invoice_layouts_table',1),(160,'2018_12_18_170656_add_invoice_token_column_to_transaction_table',1),(161,'2018_12_20_133639_add_date_time_format_column_to_invoice_layouts_table',1),(162,'2018_12_21_120659_add_recurring_invoice_fields_to_transactions_table',1),(163,'2018_12_24_154933_create_notifications_table',1),(164,'2019_01_08_112015_add_document_column_to_transaction_payments_table',1),(165,'2019_01_10_124645_add_account_permission',1),(166,'2019_01_16_125825_add_subscription_no_column_to_transactions_table',1),(167,'2019_01_28_111647_add_order_addresses_column_to_transactions_table',1),(168,'2019_02_13_173821_add_is_inactive_column_to_products_table',1),(169,'2019_02_19_103118_create_discounts_table',1),(170,'2019_02_21_120324_add_discount_id_column_to_transaction_sell_lines_table',1),(171,'2019_02_21_134324_add_permission_for_discount',1),(172,'2019_03_04_170832_add_service_staff_columns_to_transaction_sell_lines_table',1),(173,'2019_03_09_102425_add_sub_type_column_to_transactions_table',1),(174,'2019_03_09_124457_add_indexing_transaction_sell_lines_purchase_lines_table',1),(175,'2019_03_12_120336_create_activity_log_table',1),(176,'2019_03_15_132925_create_media_table',1),(177,'2019_05_08_130339_add_indexing_to_parent_id_in_transaction_payments_table',1),(178,'2019_05_10_132311_add_missing_column_indexing',1),(179,'2019_05_14_091812_add_show_image_column_to_invoice_layouts_table',1),(180,'2019_05_25_104922_add_view_purchase_price_permission',1),(181,'2019_06_17_103515_add_profile_informations_columns_to_users_table',1),(182,'2019_06_18_135524_add_permission_to_view_own_sales_only',1),(183,'2019_06_19_112058_add_database_changes_for_reward_points',1),(184,'2019_06_28_133732_change_type_column_to_string_in_transactions_table',1),(185,'2019_07_13_111420_add_is_created_from_api_column_to_transactions_table',1),(186,'2019_07_15_165136_add_fields_for_combo_product',1),(187,'2019_07_19_103446_add_mfg_quantity_used_column_to_purchase_lines_table',1),(188,'2019_07_22_152649_add_not_for_selling_in_product_table',1),(189,'2019_07_29_185351_add_show_reward_point_column_to_invoice_layouts_table',1),(190,'2019_08_08_162302_add_sub_units_related_fields',1),(191,'2019_08_26_133419_update_price_fields_decimal_point',1),(192,'2019_09_02_160054_remove_location_permissions_from_roles',1),(193,'2019_09_03_185259_add_permission_for_pos_screen',1),(194,'2019_09_04_163141_add_location_id_to_cash_registers_table',1),(195,'2019_09_04_184008_create_types_of_services_table',1),(196,'2019_09_06_131445_add_types_of_service_fields_to_transactions_table',1),(197,'2019_09_09_134810_add_default_selling_price_group_id_column_to_business_locations_table',1),(198,'2019_09_12_105616_create_product_locations_table',1),(199,'2019_09_17_122522_add_custom_labels_column_to_business_table',1),(200,'2019_09_18_164319_add_shipping_fields_to_transactions_table',1),(201,'2019_09_19_170927_close_all_active_registers',1),(202,'2019_09_23_161906_add_media_description_cloumn_to_media_table',1),(203,'2019_10_18_155633_create_account_types_table',1),(204,'2019_10_22_163335_add_common_settings_column_to_business_table',1),(205,'2019_10_29_132521_add_update_purchase_status_permission',1),(206,'2019_11_09_110522_add_indexing_to_lot_number',1),(207,'2019_11_19_170824_add_is_active_column_to_business_locations_table',1),(208,'2019_11_21_162913_change_quantity_field_types_to_decimal',1),(209,'2019_11_25_160340_modify_categories_table_for_polymerphic_relationship',1),(210,'2019_12_02_105025_create_warranties_table',1),(211,'2019_12_03_180342_add_common_settings_field_to_invoice_layouts_table',1),(212,'2019_12_05_183955_add_more_fields_to_users_table',1),(213,'2019_12_06_174904_add_change_return_label_column_to_invoice_layouts_table',1),(214,'2019_12_11_121307_add_draft_and_quotation_list_permissions',1),(215,'2019_12_12_180126_copy_expense_total_to_total_before_tax',1),(216,'2019_12_19_181412_make_alert_quantity_field_nullable_on_products_table',1),(217,'2019_12_25_173413_create_dashboard_configurations_table',1),(218,'2020_01_08_133506_create_document_and_notes_table',1),(219,'2020_01_09_113252_add_cc_bcc_column_to_notification_templates_table',1),(220,'2020_01_16_174818_add_round_off_amount_field_to_transactions_table',1),(221,'2020_01_28_162345_add_weighing_scale_settings_in_business_settings_table',1),(222,'2020_02_18_172447_add_import_fields_to_transactions_table',1),(223,'2020_03_13_135844_add_is_active_column_to_selling_price_groups_table',1),(224,'2020_03_16_115449_add_contact_status_field_to_contacts_table',1),(225,'2020_03_26_124736_add_allow_login_column_in_users_table',1),(226,'2020_04_13_154150_add_feature_products_column_to_business_loactions',1),(227,'2020_04_15_151802_add_user_type_to_users_table',1),(228,'2020_04_22_153905_add_subscription_repeat_on_column_to_transactions_table',1),(229,'2020_04_28_111436_add_shipping_address_to_contacts_table',1),(230,'2020_06_01_094654_add_max_sale_discount_column_to_users_table',1),(231,'2020_06_12_162245_modify_contacts_table',2),(232,'2020_06_22_103104_change_recur_interval_default_to_one',2),(233,'2020_07_09_174621_add_balance_field_to_contacts_table',2),(234,'2020_07_23_104933_change_status_column_to_varchar_in_transaction_table',2),(235,'2020_03_19_130231_add_contact_id_to_users_table',3),(236,'2020_03_27_133605_create_schedules_table',3),(237,'2020_03_27_133628_create_schedule_users_table',3),(238,'2020_03_30_112834_create_schedule_logs_table',3),(239,'2020_04_02_182331_add_crm_module_version_to_system_table',3),(240,'2020_04_08_153231_modify_cloumn_in_contacts_table',3),(241,'2020_04_09_101052_create_lead_users_table',3),(242,'2020_04_16_114747_create_crm_campaigns_table',3),(243,'2016_06_01_000001_create_oauth_auth_codes_table',4),(244,'2016_06_01_000002_create_oauth_access_tokens_table',4),(245,'2016_06_01_000003_create_oauth_refresh_tokens_table',4),(246,'2016_06_01_000004_create_oauth_clients_table',4),(247,'2016_06_01_000005_create_oauth_personal_access_clients_table',4),(248,'2020_09_07_171059_change_completed_stock_transfer_status_to_final',4),(249,'2020_09_21_123224_modify_booking_status_column_in_bookings_table',4),(250,'2020_09_22_121639_create_discount_variations_table',4),(251,'2020_10_05_121550_modify_business_location_table_for_invoice_layout',4),(252,'2020_10_16_175726_set_status_as_received_for_opening_stock',4),(253,'2020_10_23_170823_add_for_group_tax_column_to_tax_rates_table',4),(254,'2020_11_04_130940_add_more_custom_fields_to_contacts_table',4),(255,'2020_11_10_152841_add_cash_register_permissions',4),(256,'2020_11_17_164041_modify_type_column_to_varchar_in_contacts_table',4),(257,'2020_12_18_181447_add_shipping_custom_fields_to_transactions_table',5),(258,'2020_12_22_164303_add_sub_status_column_to_transactions_table',5),(259,'2020_12_24_153050_add_custom_fields_to_transactions_table',5),(260,'2020_12_28_105403_add_whatsapp_text_column_to_notification_templates_table',5),(261,'2020_12_29_165925_add_model_document_type_to_media_table',5),(262,'2021_02_08_175632_add_contact_number_fields_to_users_table',5),(263,'2021_02_11_172217_add_indexing_for_multiple_columns',5),(264,'2021_02_23_122043_add_more_columns_to_customer_groups_table',5),(265,'2021_02_24_175551_add_print_invoice_permission_to_all_roles',5),(266,'2021_03_03_162021_add_purchase_order_columns_to_purchase_lines_and_transactions_table',5),(267,'2021_03_11_120229_add_sales_order_columns',5),(268,'2021_03_16_120705_add_business_id_to_activity_log_table',6),(269,'2021_03_16_153427_add_code_columns_to_business_table',6),(270,'2021_03_18_173308_add_account_details_column_to_accounts_table',6),(271,'2021_03_18_183119_add_prefer_payment_account_columns_to_transactions_table',6),(272,'2021_03_22_120810_add_more_types_of_service_custom_fields',6),(273,'2021_03_24_183132_add_shipping_export_custom_field_details_to_contacts_table',6),(274,'2021_03_25_170715_add_export_custom_fields_info_to_transactions_table',6),(275,'2021_04_15_063449_add_denominations_column_to_cash_registers_table',6),(276,'2021_05_22_083426_add_indexing_to_account_transactions_table',7),(277,'2021_07_08_065808_add_additional_expense_columns_to_transaction_table',7),(278,'2021_07_13_082918_add_qr_code_columns_to_invoice_layouts_table',7),(279,'2021_07_21_061615_add_fields_to_show_commission_agent_in_invoice_layout',7),(280,'2021_08_13_105549_add_crm_contact_id_to_users_table',7),(281,'2021_08_25_114932_add_payment_link_fields_to_transaction_payments_table',7),(282,'2021_09_01_063110_add_spg_column_to_discounts_table',7),(283,'2021_09_03_061528_modify_cash_register_transactions_table',7),(284,'2021_01_07_155757_add_followup_additional_info_column_to_crm_schedules_table',8),(285,'2021_02_02_140021_add_additional_info_to_crm_campaigns_table',8),(286,'2021_02_02_173651_add_new_columns_to_contacts_table',8),(287,'2021_02_04_120439_create_call_logs_table',8),(288,'2021_02_08_172047_add_mobile_name_column_to_crm_call_logs_table',8),(289,'2021_02_16_190038_add_crm_module_indexing',8),(290,'2021_02_19_120846_create_crm_followup_invoices',8),(291,'2021_02_22_132125_add_follow_up_by_to_crm_schedules_table',8),(292,'2021_03_24_160736_add_department_and_designation_to_users_table',8),(293,'2021_06_15_152924_create_proposal_templates_table',8),(294,'2021_06_16_114448_add_recursive_fields_to_crm_schedules_table',8),(295,'2021_06_16_125740_create_proposals_table',8),(296,'2020_08_18_123107_add_connector_module_version_to_system_table',9),(297,'2021_10_05_061658_add_source_column_to_transactions_table',10),(298,'2021_09_24_065738_add_crm_settings_column_to_business_table',11),(299,'2021_12_16_121851_add_parent_id_column_to_expense_categories_table',12),(300,'2018_10_01_151252_create_documents_table',13),(301,'2018_10_02_151803_create_document_shares_table',13),(302,'2018_10_09_134558_create_reminders_table',13),(303,'2018_11_16_170756_create_to_dos_table',13),(304,'2019_02_22_120329_essentials_messages',13),(305,'2019_02_22_161513_add_message_permissions',13),(306,'2019_03_29_164339_add_essentials_version_to_system_table',13),(307,'2019_05_17_153306_create_essentials_leave_types_table',13),(308,'2019_05_17_175921_create_essentials_leaves_table',13),(309,'2019_05_21_154517_add_essentials_settings_columns_to_business_table',13),(310,'2019_05_21_181653_create_table_essentials_attendance',13),(311,'2019_05_30_110049_create_essentials_payrolls_table',13),(312,'2019_06_04_105723_create_essentials_holidays_table',13),(313,'2019_06_28_134217_add_payroll_columns_to_transactions_table',13),(314,'2019_08_26_103520_add_approve_leave_permission',13),(315,'2019_08_27_103724_create_essentials_allowance_and_deduction_table',13),(316,'2019_08_27_105236_create_essentials_user_allowances_and_deductions',13),(317,'2019_09_20_115906_add_more_columns_to_essentials_to_dos_table',13),(318,'2019_09_23_120439_create_essentials_todo_comments_table',13),(319,'2019_12_05_170724_add_hrm_columns_to_users_table',13),(320,'2019_12_09_105809_add_allowance_and_deductions_permission',13),(321,'2020_03_28_152838_create_essentials_shift_table',13),(322,'2020_03_30_162029_create_user_shifts_table',13),(323,'2020_03_31_134558_add_shift_id_to_attendance_table',13),(324,'2020_11_05_105157_modify_todos_date_column_type',13),(325,'2020_11_11_174852_add_end_time_column_to_essentials_reminders_table',13),(326,'2020_11_26_170527_create_essentials_kb_table',13),(327,'2020_11_30_112615_create_essentials_kb_users_table',13),(328,'2021_02_12_185514_add_clock_in_location_to_essentials_attendances_table',13),(329,'2021_02_16_190203_add_essentials_module_indexing',13),(330,'2021_02_27_133448_add_columns_to_users_table',13),(331,'2021_03_04_174857_create_payroll_groups_table',13),(332,'2021_03_04_175025_create_payroll_group_transactions_table',13),(333,'2021_03_09_123914_add_auto_clockout_to_essentials_shifts',13),(334,'2021_06_17_121451_add_location_id_to_table',13),(335,'2021_09_28_091541_create_essentials_user_sales_targets_table',13),(336,'2022_02_09_055012_create_crm_marketplaces_table',14),(337,'2022_02_17_113045_add_source_id_to_marketplace',14),(338,'2022_03_02_180929_add_followup_category_id',14),(339,'2022_02_07_204342_add_tps_permissions',15),(340,'2022_02_14_145020_create_nst_prepare_products_table',15),(341,'2022_02_25_020459_create_nst_shipping_table',15),(342,'2022_02_28_0101344_add_shipping_columns_to_prepare_table',15),(343,'2022_03_08_223033_create_nst_settings_table',15),(344,'2022_03_10_161543_add_transaction_id_in_nst_prepare',15),(345,'2022_03_11_184028_create_nst_user_locations_table',15),(346,'2022_04_06_173628_add_ref_num_in_nst_shipping',15),(347,'2022_06_12_050854_create_stock_reports_table',16),(348,'2022_06_15_020511_add_soft_delete_to_stock_reports_table',16),(349,'2022_04_14_075120_add_payment_type_column_to_transaction_payments_table',17),(350,'2022_04_21_083327_create_cash_denominations_table',17),(351,'2022_05_10_055307_add_delivery_date_column_to_transactions_table',17),(352,'2022_06_13_123135_add_currency_precision_and_quantity_precision_fields_to_business_table',17),(353,'2022_06_28_133342_add_secondary_unit_columns_to_products_sell_line_purchase_lines_tables',17),(354,'2022_05_26_061553_create_crm_contact_person_commissions_table',18),(355,'2022_06_06_073006_add_cc_and_bcc_columns_to_crm_proposals_table',18),(356,'2022_07_13_114307_create_purchase_requisition_related_columns',19),(357,'2022_08_25_132707_add_service_staff_timer_fields_to_products_and_users_table',19),(358,'2023_01_28_114255_add_letter_head_column_to_invoice_layouts_table',20),(359,'2023_02_11_161510_add_event_column_to_activity_log_table',20),(360,'2023_02_11_161511_add_batch_uuid_column_to_activity_log_table',20),(361,'2023_03_02_170312_add_provider_to_oauth_clients_table',20),(362,'2023_03_21_122731_add_sale_invoice_scheme_id_business_table',21),(363,'2023_03_21_170446_add_number_type_to_invoice_scheme',21),(364,'2023_04_17_155216_add_custom_fields_to_products',21),(365,'2023_04_28_130247_add_price_type_to_group_price_table',21),(366,'2023_06_21_033923_add_delivery_person_in_transactions',21),(367,'2023_09_13_153555_add_service_staff_pin_columns_in_users',21),(368,'2023_09_15_154404_add_is_kitchen_order_in_transactions',21),(369,'2023_12_06_152840_add_contact_type_in_contacts',21),(370,'2025_03_10_023721_create_product_parts_table',22),(371,'2025_03_10_023745_create_product_compatibles_table',23),(372,'2025_04_01_115858_create_shared_products_table',24),(373,'2024_10_03_151459_modify_transaction_sell_lines_purchase_lines_table',25),(374,'2025_03_07_114637_add_more_addresh_column_in_contact',25),(375,'2024_11_01_105811_add_is_addition_in_leave_table',26),(376,'2026_01_29_000001_create_pr_requests_table',27),(377,'2026_01_29_000002_create_pr_products_table',27),(378,'2026_01_29_000003_create_pr_supplier_responses_table',27),(379,'2026_01_29_000004_create_pr_supplier_products_table',27),(380,'2026_01_29_000005_create_pr_currencies_table',27),(381,'2026_01_29_000006_create_pr_settings_table',27),(382,'2026_01_29_000007_add_pr_permissions',27),(383,'2026_01_29_000008_add_pr_column_to_purchase_lines',27),(384,'2026_01_29_000009_create_pr_user_locations_table',27),(385,'2026_02_09_000001_add_ref_no_to_pr_supplier_responses',27),(386,'2026_02_11_000001_add_purchase_and_sales_columns_to_pr_products',28),(387,'2026_02_12_000001_add_generating_status_and_order_qty',28),(388,'2026_02_24_000001_create_enhanced_activity_logs_table',29),(389,'2026_02_24_000002_add_activity_log_permissions',29),(390,'2026_02_25_000003_add_request_id_to_enhanced_activity_logs',30),(391,'2026_03_01_000001_create_pr_purchase_shares_table',31),(392,'2026_03_07_000001_add_notes_to_pr_purchase_shares',32),(393,'2026_03_07_000002_create_pr_purchase_changes_table',33),(394,'2026_03_10_000001_create_pr_purchase_payments_table',34),(395,'2026_03_10_000002_add_document_to_pr_purchase_payments_table',35),(396,'2026_04_16_000001_create_pr_purchase_expenses_table',36),(397,'2026_04_16_000002_create_pr_expense_distributions_table',37),(398,'2026_04_16_000003_add_landed_cost_to_pr_supplier_products',38),(787,'2026_05_07_000001_add_indexes_to_tps_tables',40),(788,'2026_05_07_000002_add_unique_to_nst_user_locations',40),(789,'2026_05_07_000003_fix_fk_cascades_on_nst_prepare_products',41),(790,'2026_05_07_000004_add_partial_status_to_nst_prepare_products',41),(791,'2026_04_20_000001_create_vc_departments_table',42),(792,'2026_04_20_000002_create_vc_doctors_table',42),(793,'2026_04_20_000003_create_vc_pet_owner_details_table',42),(794,'2026_04_20_000004_create_vc_pets_table',42),(795,'2026_04_20_000005_create_vc_medical_conditions_table',42),(796,'2026_04_20_000006_create_vc_pet_conditions_table',42),(797,'2026_04_20_000007_create_vc_appointments_table',42),(798,'2026_04_20_000008_create_vc_appointment_notes_table',42),(799,'2026_04_20_000009_create_vc_vaccine_types_table',42),(800,'2026_04_20_000010_create_vc_vaccinations_table',42),(801,'2026_04_20_000011_create_vc_prescriptions_table',42),(802,'2026_04_20_000012_create_vc_prescription_items_table',42),(803,'2026_04_20_000013_create_vc_medicine_categories_table',42),(804,'2026_04_20_000014_create_vc_medicines_table',42),(805,'2026_04_20_000015_create_vc_medicine_batches_table',42),(806,'2026_04_20_000016_create_vc_medical_reports_table',42),(807,'2026_04_20_000017_create_vc_birth_death_records_table',42),(808,'2026_04_20_000018_add_vet_clinic_permissions',42),(809,'2026_04_21_000001_add_category_to_vc_vaccine_types',42),(810,'2026_04_22_000001_add_weight_to_vc_appointments',42),(811,'2026_04_22_000002_add_dose_to_vc_vaccinations',42),(812,'2026_04_22_000003_add_vitals_soap_to_vc_appointments',42),(813,'2026_04_24_000001_add_taken_status_to_vc_vaccinations',42),(814,'2026_04_25_000001_create_vc_clinic_locations_table',42),(815,'2026_04_25_000002_add_location_id_to_vc_departments',42),(816,'2026_04_25_000003_create_vc_doctor_departments_table',42),(817,'2026_04_25_000004_create_vc_doctor_schedules_table',42),(818,'2026_04_25_000005_create_vc_appointment_types_table',42),(819,'2026_04_25_000006_create_vc_appointment_reasons_table',42),(820,'2026_04_25_000007_update_vc_appointments_for_new_features',42),(821,'2026_04_25_000008_add_business_location_id_to_vc_clinic_locations',42),(822,'2026_04_25_000008_add_vc_settings_columns',42),(823,'2026_04_25_000009_create_vc_module_settings_table',42),(824,'2026_04_25_000010_make_schedule_department_nullable',42),(825,'2026_04_26_000001_add_soap_investigations_to_vc_appointments',42),(826,'2026_04_26_000001_make_apt_type_reason_business_nullable',42),(827,'2026_04_27_000001_create_vc_appointment_documents_table',42),(828,'2026_04_27_000002_add_soap_lab_exam_to_vc_appointments',42),(829,'2026_04_28_000001_add_soap_plan_meds_json_to_vc_appointments',42),(830,'2026_04_29_000001_create_vc_soap_options_table',42),(831,'2026_04_29_000002_add_group_name_to_vc_soap_options',42),(832,'2026_05_01_000001_add_email_confirmed_to_vc_pet_owner_details',42),(833,'2026_05_01_000002_create_vc_reminder_settings_table',42),(834,'2026_05_01_000003_create_vc_reminder_templates_table',42),(835,'2026_05_01_000004_create_vc_reminder_logs_table',42),(836,'2026_05_02_000001_add_email_confirm_token_to_vc_pet_owner_details',42),(837,'2026_05_02_000002_redesign_vc_medicines_remove_stock',42),(838,'2026_05_03_000001_add_waived_columns_to_vc_vaccinations',42),(839,'2026_05_06_000001_add_color_to_vc_doctors',43),(840,'2026_05_06_000002_add_product_id_to_vc_catalogues',43),(841,'2026_05_06_000003_create_vc_exam_not_done_reasons_table',43),(842,'2026_05_06_000004_add_exam_results_and_next_visit_to_vc_appointments',43),(843,'2026_05_19_000001_add_next_visit_type_reason_ids_to_vc_appointments',44),(844,'2026_05_20_000001_create_vc_evaluation_tables',45),(845,'2026_05_20_000002_seed_default_evaluation_questions',45),(846,'2026_05_21_000001_add_time_tracking_to_vc_appointments',46),(847,'2026_05_21_000002_create_vc_appointment_status_logs_table',46),(848,'2026_05_21_000003_create_vc_appointment_edit_requests_table',46),(849,'2026_05_20_100001_create_nx_patients_table',47),(850,'2026_05_20_100002_create_nx_worklist_table',47),(851,'2026_05_20_100003_create_nx_test_sessions_table',47),(852,'2026_05_20_100004_create_nx_test_results_table',47),(853,'2026_05_20_100005_create_nx_device_errors_table',47),(854,'2026_05_20_100006_create_nx_device_connections_table',47),(855,'2026_05_20_100007_create_nx_communication_logs_table',47),(856,'2026_05_20_100008_create_nx_module_settings_table',47),(857,'2026_05_20_100009_add_nx600_lab_permissions',47),(858,'2026_05_22_000001_add_preferred_doctor_to_owners_and_pets',48),(859,'2026_05_22_000002_create_vc_doctor_change_requests_table',48),(860,'2026_05_22_000003_create_vc_preferred_doctor_history_table',48),(861,'2026_05_22_000004_add_sync_columns_to_vc_medical_reports',48),(862,'2026_05_22_100001_create_va_wards_table',49),(863,'2026_05_22_100002_create_va_care_task_types_table',49),(864,'2026_05_22_100003_create_va_admissions_table',49),(865,'2026_05_22_100004_create_va_admission_care_plan_table',49),(866,'2026_05_22_100005_create_va_care_logs_table',49),(867,'2026_05_22_100006_create_va_admission_vitals_table',49),(868,'2026_05_22_100007_add_vet_admission_permissions',49),(869,'2026_05_23_000001_fix_va_care_task_icons',50),(870,'2026_05_23_100001_create_vai_settings_table',51),(871,'2026_05_23_100002_create_vai_queries_table',51),(872,'2026_05_23_100003_add_vet_ai_permissions',51),(873,'2026_05_24_000001_add_base_url_to_vai_settings',52),(874,'2026_05_25_000001_add_stage_to_vai_queries',53),(875,'2026_05_26_000001_create_vp_portal_settings_table',54),(876,'2026_05_26_000002_create_vp_portal_accounts_table',54),(877,'2026_05_26_000003_add_vet_portal_permissions',54),(878,'2026_05_22_000005_create_vc_consent_tables',55),(879,'2026_05_22_000006_add_signed_file_to_vc_consents',56),(880,'2026_05_22_100001_create_lab_agents_table',57),(881,'2026_05_22_100002_create_lab_devices_table',57),(882,'2026_05_22_100003_create_lab_worklist_table',57),(883,'2026_05_22_100004_create_lab_test_sessions_table',57),(884,'2026_05_22_100005_create_lab_test_results_table',57),(885,'2026_05_22_100006_create_lab_analyte_map_table',57),(886,'2026_05_22_100007_create_lab_communication_logs_table',57),(887,'2026_05_22_100008_create_lab_device_connections_table',57),(888,'2026_05_22_100009_create_lab_device_errors_table',57),(889,'2026_05_22_100010_create_lab_settings_table',57),(890,'2026_05_22_100011_add_lab_core_permissions',57),(891,'2026_05_22_200001_seed_abaxis_analyte_map',58),(892,'2026_05_23_000001_create_vc_role_landing_pages_table',59),(893,'2026_05_23_000002_create_vc_role_settings_table',60),(894,'2026_05_23_000003_create_controlled_drug_register',61),(895,'2026_05_23_000004_create_vc_confidential_notes_table',62),(896,'2026_05_24_000001_create_vc_authorized_vets_table',63),(897,'2026_05_25_000001_add_source_to_controlled_movements',64),(898,'2026_05_26_000001_create_vc_controlled_daily_seals_table',65),(899,'2026_05_26_000001_add_transcription_to_vai_settings',66),(900,'2026_05_28_000001_create_vc_consent_signatures_table',67),(901,'2026_05_28_000002_extend_vc_consent_signatures_for_uploads',67),(902,'2026_05_28_000003_create_vc_controlled_reconciliations_table',67),(903,'2026_05_28_000004_add_cert_verify_token_to_vc_pets',68),(904,'2026_05_29_000001_create_vc_quotation_meta_table',68),(905,'2026_05_29_000002_add_sms_to_vet_reminders',68),(906,'2026_05_29_000003_add_dispense_columns_to_vc_prescription_items',68),(907,'2026_05_29_200001_create_vc_vital_ranges_table',68),(908,'2026_05_29_500001_create_vc_wellness_tables',68),(909,'2026_05_29_700001_create_vc_imaging_tables',68),(910,'2026_05_29_100001_create_va_medications_and_fluids',69),(911,'2026_05_29_200001_create_va_alerts_table',69),(912,'2026_05_29_300001_create_va_protocols',69),(913,'2026_05_29_300002_enrich_default_protocol_descriptions',69),(914,'2026_05_29_400001_create_va_discharge_templates_and_billing',69),(915,'2026_05_29_400002_seed_default_discharge_templates',69),(916,'2026_05_29_600001_create_nx_lab_providers_table',69),(917,'2026_05_30_000001_add_silence_limit_to_vai_settings',70),(918,'2026_05_30_000001_create_portal_owners_table',71),(919,'2026_05_30_000002_create_portal_owner_tokens_table',71),(920,'2026_05_30_000003_create_portal_otp_challenges_table',71),(921,'2026_05_30_000004_create_portal_magic_tokens_table',71),(922,'2026_05_30_000005_create_portal_brands_table',72),(923,'2026_05_31_000001_add_contact_id_to_portal_owners',73),(924,'2026_05_31_000002_create_portal_push_subscriptions_table',74),(925,'2026_05_31_000001_create_vc_exam_tables',75),(926,'2026_05_31_000002_seed_general_exam_template',75),(927,'2026_05_31_000003_seed_orthopedic_exam_template',75),(928,'2026_05_31_000001_add_clean_non_medical_to_vai_settings',76),(929,'2026_05_31_000003_add_location_id_to_vc_doctor_schedules',77),(930,'2026_05_31_000004_add_critical_flags_to_appointments',78),(931,'2026_05_31_000005_create_blocking_policy',79),(932,'2026_05_31_000006_seed_neurological_body_system',80),(933,'2026_05_31_000007_backfill_vital_critical_flags',81),(934,'2026_05_31_000004_create_portal_owner_devices_table',82),(935,'2026_05_31_000008_assign_new_vet_clinic_permissions_to_admin',83),(936,'2026_05_31_000009_seed_default_vet_roles',84),(937,'2026_05_31_000010_create_vc_system_findings_table',85),(938,'2026_06_01_000001_seed_comprehensive_vital_ranges',86),(939,'2026_06_01_100001_create_wa_channels_table',87),(940,'2026_06_01_100002_create_wa_contacts_table',87),(941,'2026_06_01_100003_create_wa_templates_table',87),(942,'2026_06_01_100004_create_wa_messages_table',87),(943,'2026_06_01_100005_create_wa_settings_table',87),(944,'2026_06_01_100006_create_jobs_table_if_missing',87),(945,'2026_06_01_100007_add_whatsapp_permissions',87),(946,'2026_06_01_000002_seed_additional_complaint_chips',88),(947,'2026_06_01_000001_create_lc_expenses_table',89),(948,'2026_06_01_000002_create_lc_expense_distributions_table',89),(949,'2026_06_01_000003_create_lc_landed_costs_table',89),(950,'2026_06_01_000004_add_landed_cost_permissions',89),(951,'2026_06_01_000005_migrate_pr_expenses_to_landed_cost',89),(952,'2026_06_02_000001_add_ai_cache_to_appointments',90),(953,'2026_06_02_000002_add_has_whatsapp_to_contacts',90),(954,'2026_06_02_100001_add_wa_availability_to_wa_contacts',91),(955,'2026_06_02_000001_create_portal_feature_tables',92),(956,'2026_06_02_100002_create_wa_conversations_table',92),(957,'2026_06_02_100003_add_conversation_id_to_wa_messages',92),(958,'2026_06_02_100004_create_wa_auto_replies_table',93),(959,'2026_06_02_100005_add_labels_to_wa_conversations',93),(960,'2026_06_02_000004_create_shared_product_items_table',94),(961,'2026_06_01_000006_create_lc_cost_snapshots_table',95),(962,'2026_06_01_000007_add_landed_cost_apply_permission',95),(963,'2026_06_02_100001_create_ai_providers_table',96),(964,'2026_06_02_100002_create_ai_usage_logs_table',96),(965,'2026_06_02_100003_add_ai_core_permissions',96),(966,'2026_06_02_000001_create_pc_part_numbers_table',97),(967,'2026_06_02_000002_create_pc_device_models_table',97),(968,'2026_06_02_000003_create_pc_device_compat_table',97),(969,'2026_06_02_000004_create_pc_compatibles_table',97),(970,'2026_06_02_000005_create_pc_change_reports_table',97),(971,'2026_06_02_000006_create_pc_product_status_table',97),(972,'2026_06_02_000007_create_pc_enrichment_log_table',97),(973,'2026_06_02_000008_migrate_legacy_product_compatibles',97),(974,'2026_06_02_100006_add_address_jid_to_wa_contacts',98),(1156,'2026_06_02_100000_seed_derma_exam_templates',100),(1256,'2026_06_02_000001_create_ss_settings_table',103),(1257,'2026_06_02_000002_create_ss_files_table',103),(1258,'2026_06_02_000003_create_ss_devices_table',103),(1259,'2026_06_02_000004_create_ss_otp_sessions_table',103),(1260,'2026_06_02_000005_create_ss_access_logs_table',103),(1261,'2026_06_02_000006_add_smart_storage_permissions',103),(1262,'2026_06_03_000001_widen_pc_source_columns',104),(1263,'2026_04_20_000001_create_clc_departments_table',105),(1264,'2026_04_20_000002_create_clc_doctors_table',105),(1265,'2026_04_20_000003_create_clc_patient_contact_details_table',105),(1266,'2026_04_20_000004_create_clc_patients_table',105),(1267,'2026_04_20_000005_create_clc_medical_conditions_table',105),(1268,'2026_04_20_000006_create_clc_patient_conditions_table',105),(1269,'2026_04_20_000007_create_clc_appointments_table',105),(1270,'2026_04_20_000008_create_clc_appointment_notes_table',105),(1271,'2026_04_20_000009_create_clc_vaccine_types_table',105),(1272,'2026_04_20_000010_create_clc_vaccinations_table',105),(1273,'2026_04_20_000011_create_clc_prescriptions_table',105),(1274,'2026_04_20_000012_create_clc_prescription_items_table',105),(1275,'2026_04_20_000013_create_clc_medicine_categories_table',105),(1276,'2026_04_20_000014_create_clc_medicines_table',105),(1277,'2026_04_20_000015_create_clc_medicine_batches_table',105),(1278,'2026_04_20_000016_create_clc_medical_reports_table',105),(1279,'2026_04_20_000017_create_clc_birth_death_records_table',105),(1280,'2026_04_20_000018_add_clinic_core_permissions',106),(1281,'2026_04_21_000001_add_category_to_clc_vaccine_types',106),(1282,'2026_04_22_000001_add_weight_to_clc_appointments',106),(1283,'2026_04_22_000002_add_dose_to_clc_vaccinations',106),(1284,'2026_04_22_000003_add_vitals_soap_to_clc_appointments',106),(1285,'2026_04_24_000001_add_taken_status_to_clc_vaccinations',106),(1286,'2026_04_25_000001_create_clc_clinic_locations_table',106),(1287,'2026_04_25_000002_add_location_id_to_clc_departments',106),(1288,'2026_04_25_000003_create_clc_doctor_departments_table',106),(1289,'2026_04_25_000004_create_clc_doctor_schedules_table',106),(1290,'2026_04_25_000005_create_clc_appointment_types_table',106),(1291,'2026_04_25_000006_create_clc_appointment_reasons_table',106),(1292,'2026_04_25_000007_update_clc_appointments_for_new_features',106),(1293,'2026_04_25_000008_add_business_location_id_to_clc_clinic_locations',106),(1294,'2026_04_25_000008_add_clc_settings_columns',106),(1295,'2026_04_25_000009_create_clc_module_settings_table',106),(1296,'2026_04_25_000010_clc_make_schedule_department_nullable',106),(1297,'2026_04_26_000001_add_soap_investigations_to_clc_appointments',106),(1298,'2026_04_26_000001_clc_make_apt_type_reason_business_nullable',106),(1299,'2026_04_27_000001_create_clc_appointment_documents_table',106),(1300,'2026_04_27_000002_add_soap_lab_exam_to_clc_appointments',106),(1301,'2026_04_28_000001_add_soap_plan_meds_json_to_clc_appointments',106),(1302,'2026_04_29_000001_create_clc_soap_options_table',106),(1303,'2026_04_29_000002_add_group_name_to_clc_soap_options',106),(1304,'2026_05_01_000001_add_email_confirmed_to_clc_patient_contact_details',106),(1305,'2026_05_01_000002_create_clc_reminder_settings_table',106),(1306,'2026_05_01_000003_create_clc_reminder_templates_table',106),(1307,'2026_05_01_000004_create_clc_reminder_logs_table',106),(1308,'2026_05_02_000001_add_email_confirm_token_to_clc_patient_contact_details',106),(1309,'2026_05_02_000002_redesign_clc_medicines_remove_stock',106),(1310,'2026_05_03_000001_add_waived_columns_to_clc_vaccinations',106),(1311,'2026_05_06_000001_add_color_to_clc_doctors',106),(1312,'2026_05_06_000002_add_product_id_to_clc_catalogues',106),(1313,'2026_05_06_000003_create_clc_exam_not_done_reasons_table',106),(1314,'2026_05_06_000004_add_exam_results_and_next_visit_to_clc_appointments',106),(1315,'2026_05_19_000001_add_next_visit_type_reason_ids_to_clc_appointments',106),(1316,'2026_05_20_000001_create_clc_evaluation_tables',106),(1317,'2026_05_20_000002_clc_seed_default_evaluation_questions',106),(1318,'2026_05_21_000001_add_time_tracking_to_clc_appointments',106),(1319,'2026_05_21_000002_create_clc_appointment_status_logs_table',106),(1320,'2026_05_21_000003_create_clc_appointment_edit_requests_table',106),(1321,'2026_05_22_000001_clc_add_preferred_doctor_to_owners_and_pets',106),(1322,'2026_05_22_000002_create_clc_doctor_change_requests_table',106),(1323,'2026_05_22_000003_create_clc_preferred_doctor_history_table',106),(1324,'2026_05_22_000004_add_sync_columns_to_clc_medical_reports',106),(1325,'2026_05_22_000005_create_clc_consent_tables',106),(1326,'2026_05_22_000006_add_signed_file_to_clc_consents',106),(1327,'2026_05_23_000001_create_clc_role_landing_pages_table',106),(1328,'2026_05_23_000002_create_clc_role_settings_table',106),(1329,'2026_05_23_000003_clc_create_controlled_drug_register',106),(1330,'2026_05_23_000004_create_clc_confidential_notes_table',106),(1331,'2026_05_24_000001_create_clc_authorized_vets_table',106),(1332,'2026_05_25_000001_clc_add_source_to_controlled_movements',106),(1333,'2026_05_26_000001_create_clc_controlled_daily_seals_table',106),(1334,'2026_05_28_000001_create_clc_consent_signatures_table',106),(1335,'2026_05_28_000002_extend_clc_consent_signatures_for_uploads',106),(1336,'2026_05_28_000003_create_clc_controlled_reconciliations_table',106),(1337,'2026_05_28_000004_add_cert_verify_token_to_clc_patients',106),(1338,'2026_05_29_000001_create_clc_quotation_meta_table',106),(1339,'2026_05_29_000002_clc_add_sms_to_vet_reminders',106),(1340,'2026_05_29_000003_add_dispense_columns_to_clc_prescription_items',106),(1341,'2026_05_29_200001_create_clc_vital_ranges_table',106),(1342,'2026_05_29_500001_create_clc_wellness_tables',106),(1343,'2026_05_29_700001_create_clc_imaging_tables',106),(1344,'2026_05_31_000001_create_clc_exam_tables',106),(1345,'2026_05_31_000002_clc_seed_general_exam_template',106),(1346,'2026_05_31_000003_clc_seed_orthopedic_exam_template',106),(1347,'2026_05_31_000004_clc_add_critical_flags_to_appointments',106),(1348,'2026_05_31_000005_clc_create_blocking_policy',106),(1349,'2026_05_31_000006_clc_seed_neurological_body_system',106),(1350,'2026_05_31_000007_clc_backfill_vital_critical_flags',106),(1351,'2026_05_31_000008_assign_new_clinic_core_permissions_to_admin',106),(1352,'2026_05_31_000009_clc_seed_default_vet_roles',106),(1353,'2026_05_31_000010_create_clc_system_findings_table',106),(1354,'2026_06_01_000001_clc_seed_comprehensive_vital_ranges',106),(1355,'2026_06_01_000002_clc_seed_additional_complaint_chips',106),(1356,'2026_06_02_000001_clc_add_ai_cache_to_appointments',106),(1357,'2026_06_02_000002_clc_add_has_whatsapp_to_contacts',106),(1359,'2026_06_03_000001_create_clc_specialties_table',106),(1360,'2026_06_03_000002_add_specialty_columns',106),(1361,'2026_06_03_000003_seed_clc_specialties',106),(1362,'2026_06_02_100000_seed_clinic_exam_templates',107),(1363,'2026_06_03_000004_drop_derma_columns_from_clc_patients',108),(1364,'2026_06_03_100001_create_derma_patient_profiles_table',109),(1365,'2026_06_03_000002_create_pc_product_barcodes_table',110),(1366,'2026_06_03_200001_create_dental_specialty_tables',111),(1367,'2026_06_03_000005_add_specialty_id_to_clc_exam_templates',112),(1368,'2026_06_03_100002_seed_derma_exam_templates',113),(1369,'2026_06_03_200002_seed_dental_exam_templates',114),(1370,'2026_06_03_120000_create_clc_clinical_photos_table',115),(1371,'2026_06_04_000001_add_capabilities_to_clc_specialties',115),(1372,'2026_06_03_000006_seed_specialty_exam_templates',116),(1373,'2026_06_04_000002_add_constants_to_clc_appointments',116),(1374,'2026_06_04_000003_add_clinic_ai_permission',116),(1375,'2026_06_03_000003_create_pc_settings_and_jobs_tables',117),(1376,'2026_06_04_000004_add_height_to_clc_patients',118),(1377,'2026_06_04_000005_add_specialty_vital_fields',118),(1378,'2026_06_04_100000_create_clc_treatment_package_tables',119),(1379,'2026_06_04_100001_seed_clc_treatment_packages',119),(1380,'2026_06_04_300001_create_ophth_patient_profiles_table',120),(1381,'2026_06_04_300002_make_ophthalmology_structural',120),(1382,'2026_06_04_400001_create_obgyn_patient_profiles_table',121),(1383,'2026_06_04_400002_make_gynaecology_structural',121),(1384,'2026_06_04_900001_create_allergy_patient_profiles_table',122),(1385,'2026_06_04_900002_make_allergy_structural',122),(1386,'2026_06_04_900001_create_andrology_patient_profiles_table',123),(1387,'2026_06_04_900002_make_andrology_structural',123),(1388,'2026_06_04_900001_create_audiology_patient_profiles_table',124),(1389,'2026_06_04_900002_make_audiology_structural',124),(1390,'2026_06_04_900001_create_bariatric_patient_profiles_table',125),(1391,'2026_06_04_900002_make_bariatric_structural',125),(1392,'2026_06_04_900001_create_cardiology_patient_profiles_table',126),(1393,'2026_06_04_900002_make_cardiology_structural',126),(1394,'2026_06_04_900001_create_cardiothoracic_patient_profiles_table',127),(1395,'2026_06_04_900002_make_cardiothoracic_structural',127),(1396,'2026_06_04_900001_create_emergency_patient_profiles_table',128),(1397,'2026_06_04_900002_make_emergency_structural',128),(1398,'2026_06_04_900001_create_endocrinology_patient_profiles_table',129),(1399,'2026_06_04_900002_make_endocrinology_structural',129),(1400,'2026_06_04_900001_create_ent_patient_profiles_table',130),(1401,'2026_06_04_900002_make_ent_structural',130),(1402,'2026_06_04_900001_create_family_medicine_patient_profiles_table',131),(1403,'2026_06_04_900002_make_family_medicine_structural',131),(1404,'2026_06_04_900001_create_gastroenterology_patient_profiles_table',132),(1405,'2026_06_04_900002_make_gastroenterology_structural',132),(1406,'2026_06_04_900001_create_general_practice_patient_profiles_table',133),(1407,'2026_06_04_900002_make_general_practice_structural',133),(1408,'2026_06_04_900001_create_general_surgery_patient_profiles_table',134),(1409,'2026_06_04_900002_make_general_surgery_structural',134),(1410,'2026_06_04_900001_create_geriatrics_patient_profiles_table',135),(1411,'2026_06_04_900002_make_geriatrics_structural',135),(1412,'2026_06_04_900001_create_hematology_patient_profiles_table',136),(1413,'2026_06_04_900002_make_hematology_structural',136),(1414,'2026_06_04_900001_create_hepatology_patient_profiles_table',137),(1415,'2026_06_04_900002_make_hepatology_structural',137),(1416,'2026_06_04_900001_create_internal_medicine_patient_profiles_table',138),(1417,'2026_06_04_900002_make_internal_medicine_structural',138),(1418,'2026_06_04_900001_create_ivf_patient_profiles_table',139),(1419,'2026_06_04_900002_make_ivf_structural',139),(1420,'2026_06_04_900001_create_nephrology_patient_profiles_table',140),(1421,'2026_06_04_900002_make_nephrology_structural',140),(1422,'2026_06_04_900001_create_neurology_patient_profiles_table',141),(1423,'2026_06_04_900002_make_neurology_structural',141),(1424,'2026_06_04_900001_create_neurosurgery_patient_profiles_table',142),(1425,'2026_06_04_900002_make_neurosurgery_structural',142),(1426,'2026_06_04_900001_create_nutrition_patient_profiles_table',143),(1427,'2026_06_04_900002_make_nutrition_structural',143),(1428,'2026_06_04_900001_create_oncology_patient_profiles_table',144),(1429,'2026_06_04_900002_make_oncology_structural',144),(1430,'2026_06_04_900001_create_oncology_surgery_patient_profiles_table',145),(1431,'2026_06_04_900002_make_oncology_surgery_structural',145),(1432,'2026_06_04_900001_create_orthopedics_patient_profiles_table',146),(1433,'2026_06_04_900002_make_orthopedics_structural',146),(1434,'2026_06_04_900001_create_osteopathy_patient_profiles_table',147),(1435,'2026_06_04_900002_make_osteopathy_structural',147),(1436,'2026_06_04_900001_create_pain_management_patient_profiles_table',148),(1437,'2026_06_04_900002_make_pain_management_structural',148),(1438,'2026_06_04_900001_create_pediatric_surgery_patient_profiles_table',149),(1439,'2026_06_04_900002_make_pediatric_surgery_structural',149),(1440,'2026_06_04_900001_create_pediatrics_patient_profiles_table',150),(1441,'2026_06_04_900002_make_pediatrics_structural',150),(1442,'2026_06_04_900001_create_phoniatrics_patient_profiles_table',151),(1443,'2026_06_04_900002_make_phoniatrics_structural',151),(1444,'2026_06_04_900001_create_physiotherapy_patient_profiles_table',152),(1445,'2026_06_04_900002_make_physiotherapy_structural',152),(1446,'2026_06_04_900001_create_plastic_surgery_patient_profiles_table',153),(1447,'2026_06_04_900002_make_plastic_surgery_structural',153),(1448,'2026_06_04_900001_create_primary_care_patient_profiles_table',154),(1449,'2026_06_04_900002_make_primary_care_structural',154),(1450,'2026_06_04_900001_create_psychiatry_patient_profiles_table',155),(1451,'2026_06_04_900002_make_psychiatry_structural',155),(1452,'2026_06_04_900001_create_pulmonology_patient_profiles_table',156),(1453,'2026_06_04_900002_make_pulmonology_structural',156),(1454,'2026_06_04_900001_create_radiology_patient_profiles_table',157),(1455,'2026_06_04_900002_make_radiology_structural',157),(1456,'2026_06_04_900001_create_rheumatology_patient_profiles_table',158),(1457,'2026_06_04_900002_make_rheumatology_structural',158),(1458,'2026_06_04_900001_create_services_patient_profiles_table',159),(1459,'2026_06_04_900002_make_services_structural',159),(1460,'2026_06_04_900001_create_spinal_surgery_patient_profiles_table',160),(1461,'2026_06_04_900002_make_spinal_surgery_structural',160),(1462,'2026_06_04_900001_create_urology_patient_profiles_table',161),(1463,'2026_06_04_900002_make_urology_structural',161),(1464,'2026_06_04_900001_create_vascular_surgery_patient_profiles_table',162),(1465,'2026_06_04_900002_make_vascular_surgery_structural',162),(1466,'2026_06_04_950001_add_clinic_linkage_to_lab_tables',163),(1467,'2026_06_11_000001_create_bms_venue_tables',164),(1468,'2026_06_11_000002_create_bms_catalog_tables',164),(1469,'2026_06_11_000003_create_bms_matching_tables',164),(1470,'2026_06_11_000004_create_bms_funnel_tables',164),(1471,'2026_06_11_000005_create_bms_booking_tables',164),(1472,'2026_06_11_000006_create_bms_settings_table',164),(1473,'2026_06_11_000007_register_bms_version',165),(1474,'2026_06_11_000008_create_bms_api_tables',166),(1475,'2026_06_12_000001_create_bms_task_tables',167),(1476,'2026_06_12_000002_create_bms_transfer_tables',168),(1477,'2026_06_13_000001_create_bms_asset_tables',169),(1478,'2026_06_13_000002_add_asset_id_to_bms_transfer_items',169),(1479,'2026_06_14_000001_create_bms_maintenance_tables',170),(1480,'2026_06_15_000001_extend_bms_package_items',171),(1481,'2026_06_16_000001_package_customization_and_360',172),(1482,'2026_06_17_000001_hall_managers_and_pricing',173),(1483,'2026_06_18_000001_venue_working_hours',174),(1484,'2026_06_19_000001_add_bms_is_asset_to_products',175),(1485,'2026_06_20_000001_package_builder',176),(1486,'2026_06_20_000002_add_addon_price_to_package_items',177),(1487,'2026_06_21_000001_add_event_type_to_hall_media',178),(1488,'2026_06_22_000001_add_description_ar',179),(1489,'2026_06_23_000001_client_portal_auth',180),(1490,'2026_06_24_000001_package_item_media',181),(1491,'2026_06_25_000001_package_item_options',182),(1492,'2026_06_26_000001_booking_finance_and_lifecycle',183),(1493,'2026_06_27_000001_create_bms_documents_table',184),(1494,'2026_06_28_000001_create_bms_qc_tables',185),(1495,'2026_06_29_000001_create_bms_push_subscriptions_table',186),(1496,'2026_06_30_000001_add_whatsapp_to_leads',187),(1497,'2026_06_30_000002_add_contents_to_package_items',188),(1498,'2026_06_30_000003_create_bms_change_requests_table',189),(1499,'2026_07_01_000001_create_bms_product_extension_tables',190),(1500,'2026_07_02_000001_task_acknowledgment',191),(1501,'2026_07_03_000001_cancel_reason_and_qc_events',192),(1502,'2026_07_04_000001_add_package_items_to_bms_booking_halls',193),(1503,'2026_06_15_000001_seed_idexx_analyte_map',194),(1504,'2026_06_16_000001_create_vet_staff_tokens_table',195),(1505,'2026_06_16_000002_create_vet_staff_push_subscriptions_table',196),(1506,'2026_06_18_000001_create_vs_sites_table',197),(1507,'2026_06_18_000002_create_vs_pages_table',197),(1508,'2026_06_18_000003_create_vs_media_table',197),(1509,'2026_06_18_000004_create_vs_messages_table',197),(1510,'2026_06_19_100001_create_va_catalogs_tables',198),(1511,'2026_06_19_100002_add_deposit_status_and_permission',198),(1512,'2026_06_19_100001_add_transcription_to_ai_providers',199),(1513,'2026_06_19_100002_backfill_transcription_from_vai_settings',200),(1514,'2026_06_20_100001_add_charge_capture_stamps',201),(1515,'2026_06_20_100001_add_charge_capture_stamps_to_vaccinations',201),(1526,'2022_10_31_115725_create_accounting_account_types_table',202),(1527,'2022_11_01_104108_create_accounting_accounts_table',202),(1528,'2022_11_10_135427_create_accounts_transactions_table',202),(1529,'2022_11_14_171948_create_accounting_acc_trans_mapping',202),(1530,'2022_12_02_133536_create_accounting_budgets_table',202),(1531,'2022_12_19_124743_add_accounting_settings_column_to_business_table',202),(1532,'2022_12_26_182821_AddAccountingModuleVersionToSystemTable',202),(1533,'2023_05_25_131005_add_default_map_transactions_fields',202),(1534,'2026_06_24_000001_add_module_entitlements_to_business_table',203),(1535,'2026_06_26_100001_create_ai_feedback_table',204),(1536,'2026_06_26_100002_add_public_booking_to_portal_brands',205),(1537,'2026_06_27_100001_add_booking_otp_to_portal_brands',206),(1538,'2026_06_27_100002_fix_portal_otp_expires_at_autoupdate',207),(1539,'2026_07_09_000001_add_demo_columns_to_business_table',208),(1540,'2026_07_09_000101_create_tour_flows_table',209),(1541,'2026_07_09_000102_create_tour_media_table',209),(1542,'2026_07_09_000103_create_tour_steps_table',209),(1543,'2026_07_09_000104_create_tour_progress_table',209),(1544,'2026_07_09_000201_create_activity_incidents_table',210),(1545,'2026_07_09_000105_install_guidedtour_version',211);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `model_has_permissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `model_has_permissions` (
  `permission_id` int(10) unsigned NOT NULL,
  `model_type` varchar(191) NOT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_type_model_id_index` (`model_type`,`model_id`),
  CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `model_has_permissions` WRITE;
/*!40000 ALTER TABLE `model_has_permissions` DISABLE KEYS */;
INSERT INTO `model_has_permissions` VALUES (567,'App\\User',164),(567,'App\\User',177),(567,'App\\User',183),(567,'App\\User',189),(567,'App\\User',195),(568,'App\\User',164),(568,'App\\User',177),(568,'App\\User',183),(568,'App\\User',189),(568,'App\\User',195),(569,'App\\User',164),(569,'App\\User',177),(569,'App\\User',183),(569,'App\\User',189),(569,'App\\User',195),(570,'App\\User',164),(570,'App\\User',177),(570,'App\\User',183),(570,'App\\User',189),(570,'App\\User',195),(571,'App\\User',164),(571,'App\\User',177),(571,'App\\User',183),(571,'App\\User',189),(571,'App\\User',195),(572,'App\\User',164),(572,'App\\User',177),(572,'App\\User',183),(572,'App\\User',189),(572,'App\\User',195),(573,'App\\User',164),(573,'App\\User',177),(573,'App\\User',183),(573,'App\\User',189),(573,'App\\User',195),(574,'App\\User',164),(574,'App\\User',177),(574,'App\\User',183),(574,'App\\User',189),(574,'App\\User',195);
/*!40000 ALTER TABLE `model_has_permissions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `model_has_roles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `model_has_roles` (
  `role_id` int(10) unsigned NOT NULL,
  `model_type` varchar(191) NOT NULL,
  `model_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_type_model_id_index` (`model_type`,`model_id`),
  CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `model_has_roles` WRITE;
/*!40000 ALTER TABLE `model_has_roles` DISABLE KEYS */;
INSERT INTO `model_has_roles` VALUES (54,'App\\User',164),(55,'App\\User',165),(55,'App\\User',166),(55,'App\\User',167),(55,'App\\User',168),(55,'App\\User',169),(62,'App\\User',171),(63,'App\\User',172),(63,'App\\User',173),(63,'App\\User',174),(63,'App\\User',175),(63,'App\\User',176),(70,'App\\User',177),(71,'App\\User',178),(71,'App\\User',179),(71,'App\\User',180),(71,'App\\User',181),(71,'App\\User',182),(78,'App\\User',183),(79,'App\\User',184),(79,'App\\User',185),(79,'App\\User',186),(79,'App\\User',187),(79,'App\\User',188),(86,'App\\User',189),(87,'App\\User',190),(87,'App\\User',191),(87,'App\\User',192),(87,'App\\User',193),(87,'App\\User',194),(94,'App\\User',195),(94,'App\\User',201),(95,'App\\User',196),(95,'App\\User',197),(95,'App\\User',198),(95,'App\\User',199),(95,'App\\User',200);
/*!40000 ALTER TABLE `model_has_roles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nephrology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nephrology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `egfr` decimal(8,2) DEFAULT NULL,
  `creatinine` decimal(8,2) DEFAULT NULL,
  `ckd_stage` varchar(40) DEFAULT NULL,
  `dialysis` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `nephrology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `nephrology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nephrology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `nephrology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `nephrology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `neurology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `neurology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `gcs` int(11) DEFAULT NULL,
  `motor_deficit` varchar(40) DEFAULT NULL,
  `sensory_deficit` varchar(40) DEFAULT NULL,
  `seizure_history` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `neurology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `neurology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `neurology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `neurology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `neurology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `neurosurgery_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `neurosurgery_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `gcs` int(11) DEFAULT NULL,
  `lesion_site` varchar(120) DEFAULT NULL,
  `planned_procedure` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `neurosurgery_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `neurosurgery_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `neurosurgery_patient_profiles` WRITE;
/*!40000 ALTER TABLE `neurosurgery_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `neurosurgery_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `notification_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `notification_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(11) NOT NULL,
  `template_for` varchar(191) NOT NULL,
  `email_body` text DEFAULT NULL,
  `sms_body` text DEFAULT NULL,
  `whatsapp_text` text DEFAULT NULL,
  `subject` varchar(191) DEFAULT NULL,
  `cc` varchar(191) DEFAULT NULL,
  `bcc` varchar(191) DEFAULT NULL,
  `auto_send` tinyint(1) NOT NULL DEFAULT 0,
  `auto_send_sms` tinyint(1) NOT NULL DEFAULT 0,
  `auto_send_wa_notif` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=120 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `notification_templates` WRITE;
/*!40000 ALTER TABLE `notification_templates` DISABLE KEYS */;
INSERT INTO `notification_templates` VALUES (40,5,'new_sale','<p>Dear {contact_name},</p>\n\n                    <p>Your invoice number is {invoice_number}<br />\n                    Total amount: {total_amount}<br />\n                    Paid amount: {received_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(41,5,'payment_received','<p>Dear {contact_name},</p>\n\n                <p>We have received a payment of {received_amount}</p>\n\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(42,5,'payment_reminder','<p>Dear {contact_name},</p>\n\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(43,5,'new_booking','<p>Dear {contact_name},</p>\n\n                    <p>Your booking is confirmed</p>\n\n                    <p>Date: {start_time} to {end_time}</p>\n\n                    <p>Table: {table}</p>\n\n                    <p>Location: {location}</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(44,5,'new_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(45,5,'payment_paid','<p>Dear {contact_name},</p>\n\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\n                    Kindly note it down.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(46,5,'items_received','<p>Dear {contact_name},</p>\n\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(47,5,'items_pending','<p>Dear {contact_name},<br />\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(48,5,'new_quotation','<p>Dear {contact_name},</p>\n\n                    <p>Your quotation number is {invoice_number}<br />\n                    Total amount: {total_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(49,5,'purchase_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\n\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(50,6,'new_sale','<p>Dear {contact_name},</p>\n\n                    <p>Your invoice number is {invoice_number}<br />\n                    Total amount: {total_amount}<br />\n                    Paid amount: {received_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(51,6,'payment_received','<p>Dear {contact_name},</p>\n\n                <p>We have received a payment of {received_amount}</p>\n\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(52,6,'payment_reminder','<p>Dear {contact_name},</p>\n\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(53,6,'new_booking','<p>Dear {contact_name},</p>\n\n                    <p>Your booking is confirmed</p>\n\n                    <p>Date: {start_time} to {end_time}</p>\n\n                    <p>Table: {table}</p>\n\n                    <p>Location: {location}</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(54,6,'new_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(55,6,'payment_paid','<p>Dear {contact_name},</p>\n\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\n                    Kindly note it down.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(56,6,'items_received','<p>Dear {contact_name},</p>\n\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(57,6,'items_pending','<p>Dear {contact_name},<br />\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(58,6,'new_quotation','<p>Dear {contact_name},</p>\n\n                    <p>Your quotation number is {invoice_number}<br />\n                    Total amount: {total_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(59,6,'purchase_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\n\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(60,7,'new_sale','<p>Dear {contact_name},</p>\n\n                    <p>Your invoice number is {invoice_number}<br />\n                    Total amount: {total_amount}<br />\n                    Paid amount: {received_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(61,7,'payment_received','<p>Dear {contact_name},</p>\n\n                <p>We have received a payment of {received_amount}</p>\n\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(62,7,'payment_reminder','<p>Dear {contact_name},</p>\n\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(63,7,'new_booking','<p>Dear {contact_name},</p>\n\n                    <p>Your booking is confirmed</p>\n\n                    <p>Date: {start_time} to {end_time}</p>\n\n                    <p>Table: {table}</p>\n\n                    <p>Location: {location}</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(64,7,'new_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(65,7,'payment_paid','<p>Dear {contact_name},</p>\n\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\n                    Kindly note it down.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(66,7,'items_received','<p>Dear {contact_name},</p>\n\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(67,7,'items_pending','<p>Dear {contact_name},<br />\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(68,7,'new_quotation','<p>Dear {contact_name},</p>\n\n                    <p>Your quotation number is {invoice_number}<br />\n                    Total amount: {total_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(69,7,'purchase_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\n\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(70,8,'new_sale','<p>Dear {contact_name},</p>\n\n                    <p>Your invoice number is {invoice_number}<br />\n                    Total amount: {total_amount}<br />\n                    Paid amount: {received_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(71,8,'payment_received','<p>Dear {contact_name},</p>\n\n                <p>We have received a payment of {received_amount}</p>\n\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(72,8,'payment_reminder','<p>Dear {contact_name},</p>\n\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(73,8,'new_booking','<p>Dear {contact_name},</p>\n\n                    <p>Your booking is confirmed</p>\n\n                    <p>Date: {start_time} to {end_time}</p>\n\n                    <p>Table: {table}</p>\n\n                    <p>Location: {location}</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(74,8,'new_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(75,8,'payment_paid','<p>Dear {contact_name},</p>\n\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\n                    Kindly note it down.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(76,8,'items_received','<p>Dear {contact_name},</p>\n\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(77,8,'items_pending','<p>Dear {contact_name},<br />\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(78,8,'new_quotation','<p>Dear {contact_name},</p>\n\n                    <p>Your quotation number is {invoice_number}<br />\n                    Total amount: {total_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(79,8,'purchase_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\n\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(80,9,'new_sale','<p>Dear {contact_name},</p>\n\n                    <p>Your invoice number is {invoice_number}<br />\n                    Total amount: {total_amount}<br />\n                    Paid amount: {received_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(81,9,'payment_received','<p>Dear {contact_name},</p>\n\n                <p>We have received a payment of {received_amount}</p>\n\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(82,9,'payment_reminder','<p>Dear {contact_name},</p>\n\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(83,9,'new_booking','<p>Dear {contact_name},</p>\n\n                    <p>Your booking is confirmed</p>\n\n                    <p>Date: {start_time} to {end_time}</p>\n\n                    <p>Table: {table}</p>\n\n                    <p>Location: {location}</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(84,9,'new_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(85,9,'payment_paid','<p>Dear {contact_name},</p>\n\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\n                    Kindly note it down.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(86,9,'items_received','<p>Dear {contact_name},</p>\n\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(87,9,'items_pending','<p>Dear {contact_name},<br />\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(88,9,'new_quotation','<p>Dear {contact_name},</p>\n\n                    <p>Your quotation number is {invoice_number}<br />\n                    Total amount: {total_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(89,9,'purchase_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\n\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(90,10,'new_sale','<p>Dear {contact_name},</p>\n\n                    <p>Your invoice number is {invoice_number}<br />\n                    Total amount: {total_amount}<br />\n                    Paid amount: {received_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(91,10,'payment_received','<p>Dear {contact_name},</p>\n\n                <p>We have received a payment of {received_amount}</p>\n\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(92,10,'payment_reminder','<p>Dear {contact_name},</p>\n\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(93,10,'new_booking','<p>Dear {contact_name},</p>\n\n                    <p>Your booking is confirmed</p>\n\n                    <p>Date: {start_time} to {end_time}</p>\n\n                    <p>Table: {table}</p>\n\n                    <p>Location: {location}</p>\n\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(94,10,'new_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(95,10,'payment_paid','<p>Dear {contact_name},</p>\n\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\n                    Kindly note it down.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(96,10,'items_received','<p>Dear {contact_name},</p>\n\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(97,10,'items_pending','<p>Dear {contact_name},<br />\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\n\n                    <p>{business_name}<br />\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(98,10,'new_quotation','<p>Dear {contact_name},</p>\n\n                    <p>Your quotation number is {invoice_number}<br />\n                    Total amount: {total_amount}</p>\n\n                    <p>Thank you for shopping with us.</p>\n\n                    <p>{business_logo}</p>\n\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(99,10,'purchase_order','<p>Dear {contact_name},</p>\n\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\n\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(100,11,'new_sale','<p>Dear {contact_name},</p>\r\n\r\n                    <p>Your invoice number is {invoice_number}<br />\r\n                    Total amount: {total_amount}<br />\r\n                    Paid amount: {received_amount}</p>\r\n\r\n                    <p>Thank you for shopping with us.</p>\r\n\r\n                    <p>{business_logo}</p>\r\n\r\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(101,11,'payment_received','<p>Dear {contact_name},</p>\r\n\r\n                <p>We have received a payment of {received_amount}</p>\r\n\r\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(102,11,'payment_reminder','<p>Dear {contact_name},</p>\r\n\r\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\r\n\r\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(103,11,'new_booking','<p>Dear {contact_name},</p>\r\n\r\n                    <p>Your booking is confirmed</p>\r\n\r\n                    <p>Date: {start_time} to {end_time}</p>\r\n\r\n                    <p>Table: {table}</p>\r\n\r\n                    <p>Location: {location}</p>\r\n\r\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(104,11,'new_order','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(105,11,'payment_paid','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\r\n                    Kindly note it down.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\r\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(106,11,'items_received','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(107,11,'items_pending','<p>Dear {contact_name},<br />\r\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(108,11,'new_quotation','<p>Dear {contact_name},</p>\r\n\r\n                    <p>Your quotation number is {invoice_number}<br />\r\n                    Total amount: {total_amount}</p>\r\n\r\n                    <p>Thank you for shopping with us.</p>\r\n\r\n                    <p>{business_logo}</p>\r\n\r\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(109,11,'purchase_order','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\r\n\r\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(110,12,'new_sale','<p>Dear {contact_name},</p>\r\n\r\n                    <p>Your invoice number is {invoice_number}<br />\r\n                    Total amount: {total_amount}<br />\r\n                    Paid amount: {received_amount}</p>\r\n\r\n                    <p>Thank you for shopping with us.</p>\r\n\r\n                    <p>{business_logo}</p>\r\n\r\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(111,12,'payment_received','<p>Dear {contact_name},</p>\r\n\r\n                <p>We have received a payment of {received_amount}</p>\r\n\r\n                <p>{business_logo}</p>','Dear {contact_name}, We have received a payment of {received_amount}. {business_name}',NULL,'Payment Received, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(112,12,'payment_reminder','<p>Dear {contact_name},</p>\r\n\r\n                    <p>This is to remind you that you have pending payment of {due_amount}. Kindly pay it as soon as possible.</p>\r\n\r\n                    <p>{business_logo}</p>','Dear {contact_name}, You have pending payment of {due_amount}. Kindly pay it as soon as possible. {business_name}',NULL,'Payment Reminder, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(113,12,'new_booking','<p>Dear {contact_name},</p>\r\n\r\n                    <p>Your booking is confirmed</p>\r\n\r\n                    <p>Date: {start_time} to {end_time}</p>\r\n\r\n                    <p>Table: {table}</p>\r\n\r\n                    <p>Location: {location}</p>\r\n\r\n                    <p>{business_logo}</p>','Dear {contact_name}, Your booking is confirmed. Date: {start_time} to {end_time}, Table: {table}, Location: {location}',NULL,'Booking Confirmed - {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(114,12,'new_order','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','Dear {contact_name}, We have a new order with reference number {order_ref_number}. Kindly process the products as soon as possible. {business_name}',NULL,'New Order, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(115,12,'payment_paid','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have paid amount {paid_amount} again invoice number {order_ref_number}.<br />\r\n                    Kindly note it down.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','We have paid amount {paid_amount} again invoice number {order_ref_number}.\r\n                    Kindly note it down. {business_name}',NULL,'Payment Paid, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(116,12,'items_received','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have received all items from invoice reference number {order_ref_number}. Thank you for processing it.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','We have received all items from invoice reference number {order_ref_number}. Thank you for processing it. {business_name}',NULL,'Items received, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(117,12,'items_pending','<p>Dear {contact_name},<br />\r\n                    This is to remind you that we have not yet received some items from invoice reference number {order_ref_number}. Please process it as soon as possible.</p>\r\n\r\n                    <p>{business_name}<br />\r\n                    {business_logo}</p>','This is to remind you that we have not yet received some items from invoice reference number {order_ref_number} . Please process it as soon as possible.{business_name}',NULL,'Items Pending, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(118,12,'new_quotation','<p>Dear {contact_name},</p>\r\n\r\n                    <p>Your quotation number is {invoice_number}<br />\r\n                    Total amount: {total_amount}</p>\r\n\r\n                    <p>Thank you for shopping with us.</p>\r\n\r\n                    <p>{business_logo}</p>\r\n\r\n                    <p>&nbsp;</p>','Dear {contact_name}, Thank you for shopping with us. {business_name}',NULL,'Thank you from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(119,12,'purchase_order','<p>Dear {contact_name},</p>\r\n\r\n                    <p>We have a new purchase order with reference number {order_ref_number}. The respective invoice is attached here with.</p>\r\n\r\n                    <p>{business_logo}</p>','We have a new purchase order with reference number {order_ref_number}. {business_name}',NULL,'New Purchase Order, from {business_name}',NULL,NULL,0,0,0,'2026-07-10 06:43:14','2026-07-10 06:43:14');
/*!40000 ALTER TABLE `notification_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `notifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `notifications` (
  `id` char(36) NOT NULL,
  `type` varchar(191) NOT NULL,
  `notifiable_type` varchar(191) NOT NULL,
  `notifiable_id` bigint(20) unsigned NOT NULL,
  `data` text NOT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `notifications` WRITE;
/*!40000 ALTER TABLE `notifications` DISABLE KEYS */;
/*!40000 ALTER TABLE `notifications` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nst_prepare_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nst_prepare_products` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `transaction_date` datetime NOT NULL,
  `ref_no` varchar(191) DEFAULT NULL,
  `from_location_id` int(10) unsigned DEFAULT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `variation_id` int(10) unsigned NOT NULL,
  `purchase_lines_id` int(10) unsigned DEFAULT NULL,
  `transfer_quantity` decimal(22,4) NOT NULL,
  `to_location_id` int(10) unsigned DEFAULT NULL,
  `is_important` tinyint(1) NOT NULL DEFAULT 0,
  `shipping_ratio` decimal(5,2) NOT NULL,
  `value_per_unit` decimal(22,4) NOT NULL,
  `unit_price_after_shipping` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `nst_shipping_id` bigint(20) unsigned DEFAULT NULL,
  `is_shipping_calculated` tinyint(1) NOT NULL DEFAULT 0,
  `note` varchar(191) DEFAULT NULL,
  `status` enum('prepare','receive','partial','complete') NOT NULL DEFAULT 'prepare',
  `created_by` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `transaction_id` int(10) unsigned DEFAULT NULL,
  `update_file_path` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nst_prepare_products_business_id_foreign` (`business_id`),
  KEY `nst_prepare_products_from_location_id_foreign` (`from_location_id`),
  KEY `nst_prepare_products_product_id_foreign` (`product_id`),
  KEY `nst_prepare_products_variation_id_foreign` (`variation_id`),
  KEY `nst_prepare_products_purchase_lines_id_foreign` (`purchase_lines_id`),
  KEY `nst_prepare_products_to_location_id_foreign` (`to_location_id`),
  KEY `nst_prepare_products_created_by_foreign` (`created_by`),
  KEY `nst_prepare_products_nst_shipping_id_foreign` (`nst_shipping_id`),
  KEY `nst_prepare_products_transaction_id_foreign` (`transaction_id`),
  KEY `nst_prepare_products_from_location_id_index` (`from_location_id`),
  KEY `nst_prepare_products_to_location_id_index` (`to_location_id`),
  KEY `nst_prepare_products_variation_id_index` (`variation_id`),
  KEY `nst_prepare_products_nst_shipping_id_index` (`nst_shipping_id`),
  KEY `nst_prepare_products_business_id_status_index` (`business_id`,`status`),
  CONSTRAINT `nst_prepare_products_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nst_prepare_products_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nst_prepare_products_from_location_id_foreign` FOREIGN KEY (`from_location_id`) REFERENCES `business_locations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `nst_prepare_products_nst_shipping_id_foreign` FOREIGN KEY (`nst_shipping_id`) REFERENCES `nst_shipping` (`id`) ON DELETE SET NULL,
  CONSTRAINT `nst_prepare_products_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nst_prepare_products_purchase_lines_id_foreign` FOREIGN KEY (`purchase_lines_id`) REFERENCES `purchase_lines` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nst_prepare_products_to_location_id_foreign` FOREIGN KEY (`to_location_id`) REFERENCES `business_locations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `nst_prepare_products_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nst_prepare_products_variation_id_foreign` FOREIGN KEY (`variation_id`) REFERENCES `variations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=87326 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nst_prepare_products` WRITE;
/*!40000 ALTER TABLE `nst_prepare_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `nst_prepare_products` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nst_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nst_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `value` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nst_settings_business_id_foreign` (`business_id`),
  CONSTRAINT `nst_settings_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nst_settings` WRITE;
/*!40000 ALTER TABLE `nst_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `nst_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nst_shipping`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nst_shipping` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `shipping_details` varchar(191) DEFAULT NULL,
  `shipping_method` enum('as_charge','different_ratio','equal_ratio') NOT NULL,
  `shipping_charges` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `additional_expense_key_1` varchar(191) DEFAULT NULL,
  `additional_expense_value_1` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `additional_expense_key_2` varchar(191) DEFAULT NULL,
  `additional_expense_value_2` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `additional_expense_key_3` varchar(191) DEFAULT NULL,
  `additional_expense_value_3` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `additional_expense_key_4` varchar(191) DEFAULT NULL,
  `additional_expense_value_4` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `created_by` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `ref_num` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nst_shipping_business_id_foreign` (`business_id`),
  KEY `nst_shipping_created_by_foreign` (`created_by`),
  CONSTRAINT `nst_shipping_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nst_shipping_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9941 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nst_shipping` WRITE;
/*!40000 ALTER TABLE `nst_shipping` DISABLE KEYS */;
/*!40000 ALTER TABLE `nst_shipping` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nst_user_locations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nst_user_locations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `type` varchar(191) NOT NULL COMMENT 'index - add - prepare - receive',
  `location_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `nst_user_loc_unique` (`business_id`,`user_id`,`type`,`location_id`),
  KEY `nst_user_locations_business_id_foreign` (`business_id`),
  KEY `nst_user_locations_user_id_foreign` (`user_id`),
  KEY `nst_user_locations_location_id_foreign` (`location_id`),
  CONSTRAINT `nst_user_locations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nst_user_locations_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `business_locations` (`id`),
  CONSTRAINT `nst_user_locations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1491 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nst_user_locations` WRITE;
/*!40000 ALTER TABLE `nst_user_locations` DISABLE KEYS */;
/*!40000 ALTER TABLE `nst_user_locations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nutrition_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nutrition_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bmi` decimal(8,2) DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `waist_cm` decimal(8,2) DEFAULT NULL,
  `diet_plan` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `nutrition_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `nutrition_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nutrition_patient_profiles` WRITE;
/*!40000 ALTER TABLE `nutrition_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `nutrition_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_communication_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_communication_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `level` varchar(10) NOT NULL DEFAULT 'info' COMMENT 'info, success, warning, error',
  `category` varchar(20) NOT NULL DEFAULT 'system' COMMENT 'connection, worklist, result, error, system',
  `device_ip` varchar(45) DEFAULT NULL,
  `sample_no` varchar(13) DEFAULT NULL,
  `message` text NOT NULL,
  `context` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`context`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nx_communication_logs_created_at_index` (`created_at`),
  KEY `nx_communication_logs_level_index` (`level`),
  KEY `nx_communication_logs_category_index` (`category`)
) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_communication_logs` WRITE;
/*!40000 ALTER TABLE `nx_communication_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_communication_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_device_connections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_device_connections` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `device_ip` varchar(45) DEFAULT NULL,
  `device_port` smallint(5) unsigned DEFAULT NULL,
  `comm_type` enum('1','2','3','A','B','4','C') NOT NULL,
  `status` enum('connected','disconnected','error') NOT NULL DEFAULT 'disconnected',
  `connected_at` timestamp NULL DEFAULT NULL,
  `disconnected_at` timestamp NULL DEFAULT NULL,
  `messages_received` int(10) unsigned NOT NULL DEFAULT 0,
  `results_stored` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_device_connections` WRITE;
/*!40000 ALTER TABLE `nx_device_connections` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_device_connections` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_device_errors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_device_errors` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `error_date` date NOT NULL,
  `error_time` time NOT NULL,
  `error_number` varchar(5) NOT NULL COMMENT 'Alphanumeric error code e.g. E0110',
  `added_info` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Array of up to 9 additional info fields' CHECK (json_valid(`added_info`)),
  `device_ip` varchar(45) DEFAULT NULL,
  `comm_type` enum('1','2','3','A','B','4','C') DEFAULT NULL,
  `acknowledged` tinyint(1) NOT NULL DEFAULT 0,
  `acknowledged_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nx_device_errors_error_date_error_time_index` (`error_date`,`error_time`),
  KEY `nx_device_errors_error_number_index` (`error_number`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_device_errors` WRITE;
/*!40000 ALTER TABLE `nx_device_errors` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_device_errors` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_lab_providers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_lab_providers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `key` varchar(30) NOT NULL,
  `display_name` varchar(100) NOT NULL,
  `endpoint` text DEFAULT NULL,
  `credentials` text DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `nx_lab_providers_business_id_key_unique` (`business_id`,`key`),
  KEY `nx_lab_providers_business_id_index` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_lab_providers` WRITE;
/*!40000 ALTER TABLE `nx_lab_providers` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_lab_providers` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_module_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_module_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `key` varchar(100) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `nx_module_settings_business_id_key_unique` (`business_id`,`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_module_settings` WRITE;
/*!40000 ALTER TABLE `nx_module_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_module_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_patients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_patients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `patient_id` varchar(13) DEFAULT NULL COMMENT 'External / device patient code',
  `patient_name` varchar(60) DEFAULT NULL,
  `sex` tinyint(4) NOT NULL DEFAULT 9 COMMENT '0=Male, 1=Female, 9=Unknown',
  `age` smallint(5) unsigned NOT NULL DEFAULT 999 COMMENT '999=Unknown',
  `species` tinyint(4) NOT NULL DEFAULT 0 COMMENT '0-99 NX600 species code',
  `contact_id` int(10) unsigned DEFAULT NULL COMMENT 'VetClinic pet owner contact',
  `vc_pet_id` int(10) unsigned DEFAULT NULL COMMENT 'VetClinic pet',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nx_patients_patient_id_index` (`patient_id`),
  KEY `nx_patients_business_id_index` (`business_id`),
  KEY `nx_patients_contact_id_index` (`contact_id`),
  KEY `nx_patients_vc_pet_id_index` (`vc_pet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_patients` WRITE;
/*!40000 ALTER TABLE `nx_patients` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_patients` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_test_results`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_test_results` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `test_session_id` int(10) unsigned NOT NULL,
  `test_name` varchar(10) NOT NULL COMMENT 'e.g. GLU-P, ALB-W',
  `base_name` varchar(8) DEFAULT NULL COMMENT 'Test name without sample type suffix',
  `sample_suffix` varchar(3) DEFAULT NULL COMMENT '-W, -P, -U or empty',
  `equality` varchar(1) NOT NULL DEFAULT '=' COMMENT '= > < *',
  `result` varchar(20) DEFAULT NULL COMMENT 'Numeric or special: +, -, -OR, ****, E, EXP, CHK QC',
  `unit` varchar(8) DEFAULT NULL COMMENT 'e.g. mg/dl',
  `dilution_factor` tinyint(3) unsigned NOT NULL DEFAULT 1,
  `ref_lower` varchar(5) DEFAULT NULL COMMENT 'Reference range lower bound',
  `ref_upper` varchar(5) DEFAULT NULL COMMENT 'Reference range upper bound',
  `warn_high` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'H: above upper reference limit',
  `warn_low` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'L: below lower reference limit',
  `warn_out_of_range` tinyint(1) NOT NULL DEFAULT 0 COMMENT '@: outside determination range',
  `warn_slide_expired` tinyint(1) NOT NULL DEFAULT 0 COMMENT '#: slide valid term expired',
  `warn_temp_error` tinyint(1) NOT NULL DEFAULT 0 COMMENT '$: temperature control error',
  `warn_photometer_error` tinyint(1) NOT NULL DEFAULT 0 COMMENT '*/?',
  `warn_high_value` tinyint(1) NOT NULL DEFAULT 0 COMMENT '&: abnormally high testing value',
  `warn_calc_error` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'E: calculation error',
  `warn_unspotted` tinyint(1) NOT NULL DEFAULT 0 COMMENT '\\: un-spotted slide',
  `raw_warning` varchar(11) DEFAULT NULL COMMENT 'Raw 11-char warning string',
  `is_abnormal` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Any abnormal flag active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nx_test_results_test_session_id_test_name_index` (`test_session_id`,`test_name`),
  KEY `nx_test_results_test_name_index` (`test_name`),
  CONSTRAINT `nx_test_results_test_session_id_foreign` FOREIGN KEY (`test_session_id`) REFERENCES `nx_test_sessions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_test_results` WRITE;
/*!40000 ALTER TABLE `nx_test_results` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_test_results` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_test_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_test_sessions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `sample_no` varchar(13) NOT NULL,
  `patient_id` varchar(13) DEFAULT NULL,
  `patient_name` varchar(60) DEFAULT NULL,
  `test_condition` enum('NORMAL','CONTROL') NOT NULL DEFAULT 'NORMAL',
  `test_date` date NOT NULL,
  `test_time` time NOT NULL,
  `sample_type` varchar(1) DEFAULT NULL COMMENT 'W=Whole blood, P=Plasma/Serum, U=Urine',
  `species` tinyint(4) NOT NULL DEFAULT 0,
  `sex` tinyint(4) NOT NULL DEFAULT 9 COMMENT '0=Male, 1=Female, 9=Unknown',
  `age` smallint(5) unsigned NOT NULL DEFAULT 999,
  `sample_position` varchar(2) NOT NULL DEFAULT '01',
  `operator_id` varchar(13) DEFAULT NULL,
  `emergency_test` tinyint(1) NOT NULL DEFAULT 0,
  `analyzer_id` varchar(8) DEFAULT NULL,
  `slide_lot` varchar(6) DEFAULT NULL,
  `valid_term` varchar(6) DEFAULT NULL COMMENT 'YYYYMM format',
  `comm_type` enum('1','2','3','A','B','4','C') NOT NULL DEFAULT '1',
  `device_ip` varchar(45) DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL COMMENT 'VetClinic pet owner contact',
  `vc_pet_id` int(10) unsigned DEFAULT NULL COMMENT 'VetClinic pet',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `nx_session_sample_date_unique` (`sample_no`,`test_date`),
  KEY `nx_test_sessions_test_date_test_time_index` (`test_date`,`test_time`),
  KEY `nx_test_sessions_business_id_index` (`business_id`),
  KEY `nx_test_sessions_sample_no_index` (`sample_no`),
  KEY `nx_test_sessions_patient_id_index` (`patient_id`),
  KEY `nx_test_sessions_contact_id_index` (`contact_id`),
  KEY `nx_test_sessions_vc_pet_id_index` (`vc_pet_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_test_sessions` WRITE;
/*!40000 ALTER TABLE `nx_test_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_test_sessions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `nx_worklist`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `nx_worklist` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `sample_no` varchar(13) NOT NULL,
  `patient_id` varchar(13) DEFAULT NULL,
  `patient_name` varchar(60) DEFAULT NULL,
  `species` tinyint(4) NOT NULL DEFAULT 0,
  `sex` tinyint(4) NOT NULL DEFAULT 9 COMMENT '0=Male, 1=Female, 9=Unknown',
  `age` smallint(5) unsigned NOT NULL DEFAULT 999,
  `test_names` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Array of test names to run, max 30' CHECK (json_valid(`test_names`)),
  `is_sent` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Whether the device has retrieved this entry',
  `sent_at` timestamp NULL DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL COMMENT 'VetClinic pet owner contact',
  `vc_pet_id` int(10) unsigned DEFAULT NULL COMMENT 'VetClinic pet',
  `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 `nx_worklist_sample_no_unique` (`sample_no`),
  KEY `nx_worklist_sample_no_index` (`sample_no`),
  KEY `nx_worklist_is_sent_index` (`is_sent`),
  KEY `nx_worklist_business_id_index` (`business_id`),
  KEY `nx_worklist_contact_id_index` (`contact_id`),
  KEY `nx_worklist_vc_pet_id_index` (`vc_pet_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `nx_worklist` WRITE;
/*!40000 ALTER TABLE `nx_worklist` DISABLE KEYS */;
/*!40000 ALTER TABLE `nx_worklist` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `oauth_access_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_access_tokens` (
  `id` varchar(100) NOT NULL,
  `user_id` bigint(20) DEFAULT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `name` varchar(191) DEFAULT NULL,
  `scopes` text DEFAULT NULL,
  `revoked` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_access_tokens_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `oauth_access_tokens` WRITE;
/*!40000 ALTER TABLE `oauth_access_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `oauth_access_tokens` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `oauth_auth_codes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_auth_codes` (
  `id` varchar(100) NOT NULL,
  `user_id` bigint(20) NOT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `scopes` text DEFAULT NULL,
  `revoked` tinyint(1) NOT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `oauth_auth_codes` WRITE;
/*!40000 ALTER TABLE `oauth_auth_codes` DISABLE KEYS */;
/*!40000 ALTER TABLE `oauth_auth_codes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `oauth_clients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_clients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `secret` varchar(100) NOT NULL,
  `provider` varchar(191) DEFAULT NULL,
  `redirect` text NOT NULL,
  `personal_access_client` tinyint(1) NOT NULL,
  `password_client` tinyint(1) NOT NULL,
  `revoked` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_clients_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `oauth_clients` WRITE;
/*!40000 ALTER TABLE `oauth_clients` DISABLE KEYS */;
INSERT INTO `oauth_clients` VALUES (21,NULL,'VET One Personal Access','BVJtZzY3oviq1YWFO1j4DYaQienExo2CDCcbTPm9',NULL,'http://localhost',1,0,0,'2026-06-15 17:18:45','2026-06-15 17:18:45');
/*!40000 ALTER TABLE `oauth_clients` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `oauth_personal_access_clients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_personal_access_clients` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `client_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_personal_access_clients_client_id_index` (`client_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `oauth_personal_access_clients` WRITE;
/*!40000 ALTER TABLE `oauth_personal_access_clients` DISABLE KEYS */;
INSERT INTO `oauth_personal_access_clients` VALUES (10,21,'2026-06-15 17:18:45','2026-06-15 17:18:45');
/*!40000 ALTER TABLE `oauth_personal_access_clients` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `oauth_refresh_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oauth_refresh_tokens` (
  `id` varchar(100) NOT NULL,
  `access_token_id` varchar(100) NOT NULL,
  `revoked` tinyint(1) NOT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `oauth_refresh_tokens` WRITE;
/*!40000 ALTER TABLE `oauth_refresh_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `oauth_refresh_tokens` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `obgyn_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `obgyn_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `gravida` smallint(5) unsigned DEFAULT NULL,
  `para` smallint(5) unsigned DEFAULT NULL,
  `abortions` smallint(5) unsigned DEFAULT NULL,
  `living` smallint(5) unsigned DEFAULT NULL,
  `menarche_age` smallint(5) unsigned DEFAULT NULL,
  `lmp_date` date DEFAULT NULL,
  `cycle_length_days` smallint(5) unsigned DEFAULT NULL,
  `cycle_regular` tinyint(1) NOT NULL DEFAULT 1,
  `contraception` varchar(60) DEFAULT NULL,
  `is_pregnant` tinyint(1) NOT NULL DEFAULT 0,
  `menopause` 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`),
  UNIQUE KEY `obgyn_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `obgyn_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `obgyn_patient_profiles` WRITE;
/*!40000 ALTER TABLE `obgyn_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `obgyn_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `oncology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oncology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `tumour_site` varchar(120) DEFAULT NULL,
  `tnm_stage` varchar(120) DEFAULT NULL,
  `ecog` varchar(40) DEFAULT NULL,
  `histology` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `oncology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `oncology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `oncology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `oncology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `oncology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `oncology_surgery_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oncology_surgery_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `tumour_site` varchar(120) DEFAULT NULL,
  `resectability` varchar(40) DEFAULT NULL,
  `planned_procedure` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `oncology_surgery_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `oncology_surgery_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `oncology_surgery_patient_profiles` WRITE;
/*!40000 ALTER TABLE `oncology_surgery_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `oncology_surgery_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ophth_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ophth_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `va_right` varchar(15) DEFAULT NULL,
  `va_left` varchar(15) DEFAULT NULL,
  `sphere_right` decimal(5,2) DEFAULT NULL,
  `cylinder_right` decimal(5,2) DEFAULT NULL,
  `axis_right` smallint(5) unsigned DEFAULT NULL,
  `sphere_left` decimal(5,2) DEFAULT NULL,
  `cylinder_left` decimal(5,2) DEFAULT NULL,
  `axis_left` smallint(5) unsigned DEFAULT NULL,
  `iop_right` decimal(4,1) DEFAULT NULL,
  `iop_left` decimal(4,1) DEFAULT NULL,
  `wears_glasses` 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`),
  UNIQUE KEY `ophth_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `ophth_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ophth_patient_profiles` WRITE;
/*!40000 ALTER TABLE `ophth_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `ophth_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `orthopedics_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `orthopedics_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `affected_joint` varchar(120) DEFAULT NULL,
  `rom` varchar(40) DEFAULT NULL,
  `neurovascular` varchar(40) DEFAULT NULL,
  `imaging` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `orthopedics_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `orthopedics_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `orthopedics_patient_profiles` WRITE;
/*!40000 ALTER TABLE `orthopedics_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `orthopedics_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `osteopathy_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `osteopathy_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `posture` varchar(40) DEFAULT NULL,
  `mobility` varchar(40) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `osteopathy_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `osteopathy_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `osteopathy_patient_profiles` WRITE;
/*!40000 ALTER TABLE `osteopathy_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `osteopathy_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pain_management_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pain_management_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `pain_score` int(11) DEFAULT NULL,
  `pain_site` varchar(120) DEFAULT NULL,
  `pain_type` varchar(40) DEFAULT NULL,
  `duration` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pain_management_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `pain_management_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pain_management_patient_profiles` WRITE;
/*!40000 ALTER TABLE `pain_management_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `pain_management_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `password_resets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `password_resets` (
  `email` varchar(191) NOT NULL,
  `token` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  KEY `password_resets_email_index` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `password_resets` WRITE;
/*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_change_reports`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_change_reports` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `run_id` varchar(191) NOT NULL,
  `action` enum('parse','enrich') NOT NULL DEFAULT 'parse',
  `old_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`old_data`)),
  `new_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`new_data`)),
  `removed_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`removed_data`)),
  `missing_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`missing_data`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pc_change_reports_business_id_product_id_index` (`business_id`,`product_id`),
  KEY `pc_change_reports_run_id_index` (`run_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12770 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_change_reports` WRITE;
/*!40000 ALTER TABLE `pc_change_reports` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_change_reports` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_compatibles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_compatibles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `compatible_product_id` int(10) unsigned NOT NULL,
  `relation_type` enum('compatible','replacement','accessory') NOT NULL DEFAULT 'compatible',
  `source` varchar(32) NOT NULL DEFAULT 'manual',
  `confidence` tinyint(3) unsigned NOT NULL DEFAULT 100,
  `needs_review` tinyint(1) NOT NULL DEFAULT 0,
  `verified_at` timestamp NULL DEFAULT NULL,
  `verified_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pc_compatibles_unique` (`product_id`,`compatible_product_id`,`relation_type`),
  KEY `pc_compatibles_business_id_product_id_index` (`business_id`,`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_compatibles` WRITE;
/*!40000 ALTER TABLE `pc_compatibles` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_compatibles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_device_compat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_device_compat` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `device_model_id` bigint(20) unsigned NOT NULL,
  `source` varchar(32) NOT NULL DEFAULT 'manual',
  `confidence` tinyint(3) unsigned NOT NULL DEFAULT 100,
  `needs_review` tinyint(1) NOT NULL DEFAULT 0,
  `verified_at` timestamp NULL DEFAULT NULL,
  `verified_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pc_device_compat_unique` (`product_id`,`device_model_id`),
  KEY `pc_device_compat_business_id_product_id_index` (`business_id`,`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=25703 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_device_compat` WRITE;
/*!40000 ALTER TABLE `pc_device_compat` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_device_compat` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_device_models`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_device_models` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `brand` varchar(191) DEFAULT NULL,
  `series` varchar(191) DEFAULT NULL,
  `model` varchar(191) NOT NULL,
  `normalized_key` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pc_device_models_unique` (`business_id`,`normalized_key`),
  KEY `pc_device_models_business_id_brand_index` (`business_id`,`brand`)
) ENGINE=InnoDB AUTO_INCREMENT=18778 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_device_models` WRITE;
/*!40000 ALTER TABLE `pc_device_models` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_device_models` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_enrichment_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_enrichment_log` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `provider` varchar(191) DEFAULT NULL,
  `status` varchar(191) NOT NULL DEFAULT 'pending',
  `raw_payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`raw_payload`)),
  `candidates` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`candidates`)),
  `message` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pc_enrichment_log_business_id_product_id_index` (`business_id`,`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9091 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_enrichment_log` WRITE;
/*!40000 ALTER TABLE `pc_enrichment_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_enrichment_log` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_jobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `type` varchar(32) NOT NULL,
  `status` varchar(16) NOT NULL DEFAULT 'running',
  `total` int(10) unsigned NOT NULL DEFAULT 0,
  `processed` int(10) unsigned NOT NULL DEFAULT 0,
  `matched` int(10) unsigned NOT NULL DEFAULT 0,
  `added_parts` int(10) unsigned NOT NULL DEFAULT 0,
  `added_devices` int(10) unsigned NOT NULL DEFAULT 0,
  `added_barcodes` int(10) unsigned NOT NULL DEFAULT 0,
  `cursor` int(10) unsigned NOT NULL DEFAULT 0,
  `trigger` varchar(16) NOT NULL DEFAULT 'ui',
  `message` text DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `finished_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pc_jobs_business_id_type_status_index` (`business_id`,`type`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_jobs` WRITE;
/*!40000 ALTER TABLE `pc_jobs` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_jobs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_part_numbers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_part_numbers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `part_number` varchar(191) NOT NULL,
  `normalized` varchar(191) NOT NULL,
  `type` enum('mpn','oem','model_code','internal','other') NOT NULL DEFAULT 'other',
  `is_primary` tinyint(1) NOT NULL DEFAULT 0,
  `source` varchar(32) NOT NULL DEFAULT 'manual',
  `confidence` tinyint(3) unsigned NOT NULL DEFAULT 100,
  `needs_review` tinyint(1) NOT NULL DEFAULT 0,
  `verified_at` timestamp NULL DEFAULT NULL,
  `verified_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pc_part_numbers_unique` (`business_id`,`product_id`,`normalized`),
  KEY `pc_part_numbers_business_id_normalized_index` (`business_id`,`normalized`),
  KEY `pc_part_numbers_normalized_index` (`normalized`)
) ENGINE=InnoDB AUTO_INCREMENT=46363 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_part_numbers` WRITE;
/*!40000 ALTER TABLE `pc_part_numbers` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_part_numbers` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_product_barcodes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_product_barcodes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `barcode` varchar(64) NOT NULL,
  `type` varchar(16) NOT NULL DEFAULT 'gtin',
  `source` varchar(32) NOT NULL DEFAULT 'manual',
  `confidence` tinyint(3) unsigned NOT NULL DEFAULT 100,
  `needs_review` tinyint(1) NOT NULL DEFAULT 0,
  `verified_at` timestamp NULL DEFAULT NULL,
  `verified_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pc_product_barcodes_unique` (`business_id`,`product_id`,`barcode`),
  KEY `pc_product_barcodes_business_id_barcode_index` (`business_id`,`barcode`)
) ENGINE=InnoDB AUTO_INCREMENT=415 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_product_barcodes` WRITE;
/*!40000 ALTER TABLE `pc_product_barcodes` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_product_barcodes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_product_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_product_status` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `checked_at` timestamp NULL DEFAULT NULL,
  `checked_by` int(10) unsigned DEFAULT NULL,
  `custom_fields_cleared_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pc_product_status_unique` (`business_id`,`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13464 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_product_status` WRITE;
/*!40000 ALTER TABLE `pc_product_status` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_product_status` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pc_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pc_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(64) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pc_settings_key_unique` (`key`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pc_settings` WRITE;
/*!40000 ALTER TABLE `pc_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `pc_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pediatric_surgery_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pediatric_surgery_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `diagnosis` varchar(120) DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `planned_procedure` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pediatric_surgery_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `pediatric_surgery_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pediatric_surgery_patient_profiles` WRITE;
/*!40000 ALTER TABLE `pediatric_surgery_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `pediatric_surgery_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pediatrics_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pediatrics_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `weight_percentile` int(11) DEFAULT NULL,
  `height_percentile` int(11) DEFAULT NULL,
  `head_circ_percentile` int(11) DEFAULT NULL,
  `milestones` varchar(40) DEFAULT NULL,
  `immunisation` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pediatrics_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `pediatrics_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pediatrics_patient_profiles` WRITE;
/*!40000 ALTER TABLE `pediatrics_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `pediatrics_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `permissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `permissions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `guard_name` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=629 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `permissions` WRITE;
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
INSERT INTO `permissions` VALUES (508,'user.view','web','2026-06-15 17:18:41',NULL),(509,'user.create','web','2026-06-15 17:18:41',NULL),(510,'user.update','web','2026-06-15 17:18:41',NULL),(511,'user.delete','web','2026-06-15 17:18:41',NULL),(512,'supplier.view','web','2026-06-15 17:18:41',NULL),(513,'supplier.create','web','2026-06-15 17:18:41',NULL),(514,'supplier.update','web','2026-06-15 17:18:41',NULL),(515,'supplier.delete','web','2026-06-15 17:18:41',NULL),(516,'customer.view','web','2026-06-15 17:18:41',NULL),(517,'customer.create','web','2026-06-15 17:18:41',NULL),(518,'customer.update','web','2026-06-15 17:18:41',NULL),(519,'customer.delete','web','2026-06-15 17:18:41',NULL),(520,'product.view','web','2026-06-15 17:18:41',NULL),(521,'product.create','web','2026-06-15 17:18:41',NULL),(522,'product.update','web','2026-06-15 17:18:41',NULL),(523,'product.delete','web','2026-06-15 17:18:41',NULL),(524,'purchase.view','web','2026-06-15 17:18:41',NULL),(525,'purchase.create','web','2026-06-15 17:18:41',NULL),(526,'purchase.update','web','2026-06-15 17:18:41',NULL),(527,'purchase.delete','web','2026-06-15 17:18:41',NULL),(528,'sell.view','web','2026-06-15 17:18:41',NULL),(529,'sell.create','web','2026-06-15 17:18:41',NULL),(530,'sell.update','web','2026-06-15 17:18:41',NULL),(531,'sell.delete','web','2026-06-15 17:18:41',NULL),(532,'purchase_n_sell_report.view','web','2026-06-15 17:18:41',NULL),(533,'contacts_report.view','web','2026-06-15 17:18:41',NULL),(534,'stock_report.view','web','2026-06-15 17:18:41',NULL),(535,'tax_report.view','web','2026-06-15 17:18:41',NULL),(536,'trending_product_report.view','web','2026-06-15 17:18:41',NULL),(537,'register_report.view','web','2026-06-15 17:18:41',NULL),(538,'sales_representative.view','web','2026-06-15 17:18:41',NULL),(539,'expense_report.view','web','2026-06-15 17:18:41',NULL),(540,'business_settings.access','web','2026-06-15 17:18:41',NULL),(541,'barcode_settings.access','web','2026-06-15 17:18:41',NULL),(542,'invoice_settings.access','web','2026-06-15 17:18:41',NULL),(543,'brand.view','web','2026-06-15 17:18:41',NULL),(544,'brand.create','web','2026-06-15 17:18:41',NULL),(545,'brand.update','web','2026-06-15 17:18:41',NULL),(546,'brand.delete','web','2026-06-15 17:18:41',NULL),(547,'tax_rate.view','web','2026-06-15 17:18:41',NULL),(548,'tax_rate.create','web','2026-06-15 17:18:41',NULL),(549,'tax_rate.update','web','2026-06-15 17:18:41',NULL),(550,'tax_rate.delete','web','2026-06-15 17:18:41',NULL),(551,'unit.view','web','2026-06-15 17:18:41',NULL),(552,'unit.create','web','2026-06-15 17:18:41',NULL),(553,'unit.update','web','2026-06-15 17:18:41',NULL),(554,'unit.delete','web','2026-06-15 17:18:41',NULL),(555,'category.view','web','2026-06-15 17:18:41',NULL),(556,'category.create','web','2026-06-15 17:18:41',NULL),(557,'category.update','web','2026-06-15 17:18:41',NULL),(558,'category.delete','web','2026-06-15 17:18:41',NULL),(559,'expense.access','web','2026-06-15 17:18:41',NULL),(560,'access_all_locations','web','2026-06-15 17:18:41',NULL),(561,'dashboard.data','web','2026-06-15 17:18:41',NULL),(562,'view_cash_register','web','2026-06-15 17:18:42','2026-06-15 17:18:42'),(563,'close_cash_register','web','2026-06-15 17:18:42','2026-06-15 17:18:42'),(564,'location.16','web','2026-06-15 17:18:42','2026-06-15 17:18:42'),(565,'location.17','web','2026-06-15 17:18:42','2026-06-15 17:18:42'),(566,'location.18','web','2026-06-15 17:18:42','2026-06-15 17:18:42'),(567,'tpsTransfer.access_index_stock_transfers','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(568,'tpsTransfer.access_add_stock_transfer','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(569,'tpsTransfer.access_prepare_stock_transfer','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(570,'tpsTransfer.access_received_stock_transfer','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(571,'tpsTransfer.access_transactions_stock_transfers','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(572,'tpsTransfer.access_settings_stock_transfer','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(573,'tpsTransfer.access_all_locations_from','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(574,'tpsTransfer.access_all_locations_to','web','2026-06-15 18:11:46','2026-06-15 18:11:46'),(575,'location.19','web','2026-06-17 20:54:54','2026-06-17 20:54:54'),(576,'location.20','web','2026-06-17 20:54:54','2026-06-17 20:54:54'),(577,'location.21','web','2026-06-17 20:54:54','2026-06-17 20:54:54'),(578,'location.22','web','2026-06-17 20:55:44','2026-06-17 20:55:44'),(579,'location.23','web','2026-06-17 20:55:44','2026-06-17 20:55:44'),(580,'location.24','web','2026-06-17 20:55:44','2026-06-17 20:55:44'),(581,'location.25','web','2026-06-17 20:58:10','2026-06-17 20:58:10'),(582,'location.26','web','2026-06-17 20:58:10','2026-06-17 20:58:10'),(583,'location.27','web','2026-06-17 20:58:10','2026-06-17 20:58:10'),(584,'location.28','web','2026-06-17 21:00:01','2026-06-17 21:00:01'),(585,'location.29','web','2026-06-17 21:00:01','2026-06-17 21:00:01'),(586,'location.30','web','2026-06-17 21:00:01','2026-06-17 21:00:01'),(587,'location.31','web','2026-06-17 21:11:53','2026-06-17 21:11:53'),(588,'location.32','web','2026-06-17 21:11:53','2026-06-17 21:11:53'),(589,'location.33','web','2026-06-17 21:11:53','2026-06-17 21:11:53'),(590,'vet_site.access_module','web','2026-06-18 20:21:57','2026-06-18 20:21:57'),(591,'vet_site.manage_content','web','2026-06-18 20:21:57','2026-06-18 20:21:57'),(592,'vet_site.manage_design','web','2026-06-18 20:21:57','2026-06-18 20:21:57'),(593,'vet_site.manage_settings','web','2026-06-18 20:21:57','2026-06-18 20:21:57'),(594,'vet_admission.bypass_deposit','web','2026-06-18 22:57:08','2026-06-18 22:57:08'),(595,'vet_clinic.access_module','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(596,'vet_clinic.manage_pet_owners','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(597,'vet_clinic.manage_pets','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(598,'vet_clinic.view_appointments','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(599,'vet_clinic.manage_appointments','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(600,'vet_clinic.view_owner_blocking','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(601,'vet_clinic.change_appointment_doctor','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(602,'vet_clinic.manage_prescriptions','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(603,'vet_clinic.dispense_prescriptions','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(604,'vet_clinic.manage_vaccinations','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(605,'vet_clinic.manage_reports','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(606,'vet_clinic.view_reports','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(607,'vet_clinic.view_critical_report','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(608,'vet_clinic.record_exam_findings','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(609,'vet_clinic.view_exam_findings','web','2026-06-24 08:21:15','2026-06-24 08:21:15'),(610,'vet_clinic.evaluate_pet_owner','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(611,'vet_clinic.manage_subject_notes','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(612,'vet_clinic.view_confidential_notes','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(613,'vet_clinic.manage_controlled','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(614,'vet_ai.access_module','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(615,'vet_ai.use_assistant','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(616,'vet_ai.use_transcription','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(617,'vet_clinic.manage_medicines','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(618,'vet_clinic.manage_exam_templates','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(619,'vet_clinic.manage_owner_blocking','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(620,'vet_clinic.manage_evaluation_questions','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(621,'vet_clinic.review_evaluations','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(622,'vet_clinic.evaluate_doctor','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(623,'vet_clinic.approve_edit_requests','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(624,'vet_clinic.approve_doctor_change','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(625,'vet_clinic.manage_settings','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(626,'vet_ai.manage_settings','web','2026-06-24 08:21:16','2026-06-24 08:21:16'),(627,'location.34','web','2026-07-10 05:40:55','2026-07-10 05:40:55'),(628,'location.35','web','2026-07-10 06:43:14','2026-07-10 06:43:14');
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `phoniatrics_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `phoniatrics_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `voice_quality` varchar(40) DEFAULT NULL,
  `laryngoscopy` varchar(40) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `phoniatrics_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `phoniatrics_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `phoniatrics_patient_profiles` WRITE;
/*!40000 ALTER TABLE `phoniatrics_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `phoniatrics_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `physiotherapy_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `physiotherapy_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `affected_region` varchar(120) DEFAULT NULL,
  `rom` varchar(40) DEFAULT NULL,
  `strength` varchar(40) DEFAULT NULL,
  `goal` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `physiotherapy_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `physiotherapy_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `physiotherapy_patient_profiles` WRITE;
/*!40000 ALTER TABLE `physiotherapy_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `physiotherapy_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `plastic_surgery_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `plastic_surgery_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `defect_site` varchar(120) DEFAULT NULL,
  `procedure_type` varchar(40) DEFAULT NULL,
  `planned_procedure` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `plastic_surgery_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `plastic_surgery_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `plastic_surgery_patient_profiles` WRITE;
/*!40000 ALTER TABLE `plastic_surgery_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `plastic_surgery_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_brands`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_brands` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `slug` varchar(64) NOT NULL,
  `custom_domain` varchar(191) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `accent_hex` varchar(9) NOT NULL DEFAULT '#0d9488',
  `logo_url` varchar(191) DEFAULT NULL,
  `contact_phone` varchar(32) DEFAULT NULL,
  `contact_email` varchar(191) DEFAULT NULL,
  `address` varchar(191) DEFAULT NULL,
  `login_methods` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`login_methods`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `public_booking` tinyint(1) NOT NULL DEFAULT 0,
  `booking_otp` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_brands_business_id_unique` (`business_id`),
  UNIQUE KEY `portal_brands_slug_unique` (`slug`),
  UNIQUE KEY `portal_brands_custom_domain_unique` (`custom_domain`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_brands` WRITE;
/*!40000 ALTER TABLE `portal_brands` DISABLE KEYS */;
INSERT INTO `portal_brands` VALUES (8,11,'happy-paws-1783662055',NULL,'Happy Paws Test 1783662055','#7c3aed',NULL,'01000000000','owner1783662055@vetone.local','Nasr City, Cairo, Cairo, Egypt','[\"otp\",\"magic\",\"password\",\"staff\"]',1,0,0,'2026-07-10 05:40:55','2026-07-10 05:40:55');
/*!40000 ALTER TABLE `portal_brands` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_magic_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_magic_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` bigint(20) unsigned NOT NULL,
  `email` varchar(191) NOT NULL,
  `token_hash` varchar(64) NOT NULL,
  `expires_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `used_at` timestamp NULL DEFAULT NULL,
  `user_agent` varchar(191) DEFAULT NULL,
  `ip` varchar(45) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_magic_tokens_token_hash_unique` (`token_hash`),
  KEY `portal_magic_tokens_owner_id_foreign` (`owner_id`),
  KEY `portal_magic_tokens_email_index` (`email`),
  KEY `portal_magic_tokens_expires_at_index` (`expires_at`),
  CONSTRAINT `portal_magic_tokens_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `portal_owners` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_magic_tokens` WRITE;
/*!40000 ALTER TABLE `portal_magic_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_magic_tokens` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_messages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `owner_id` bigint(20) unsigned NOT NULL,
  `sender` enum('owner','clinic') NOT NULL,
  `sender_user_id` bigint(20) unsigned DEFAULT NULL,
  `body` text NOT NULL,
  `attachments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attachments`)),
  `reply_to_id` bigint(20) unsigned DEFAULT NULL,
  `read_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `portal_messages_business_id_owner_id_created_at_index` (`business_id`,`owner_id`,`created_at`),
  KEY `portal_messages_business_id_owner_id_read_at_index` (`business_id`,`owner_id`,`read_at`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_messages` WRITE;
/*!40000 ALTER TABLE `portal_messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_messages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_notifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_notifications` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `owner_id` bigint(20) unsigned NOT NULL,
  `category` varchar(32) NOT NULL,
  `title` varchar(191) NOT NULL,
  `body` varchar(500) NOT NULL,
  `url` varchar(300) DEFAULT NULL,
  `read_at` datetime DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `portal_notifications_business_id_owner_id_created_at_index` (`business_id`,`owner_id`,`created_at`),
  KEY `portal_notifications_created_at_index` (`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_notifications` WRITE;
/*!40000 ALTER TABLE `portal_notifications` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_notifications` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_otp_challenges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_otp_challenges` (
  `id` char(36) NOT NULL,
  `owner_id` bigint(20) unsigned DEFAULT NULL,
  `phone` varchar(32) NOT NULL,
  `code_hash` varchar(191) NOT NULL,
  `attempts` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `expires_at` timestamp NULL DEFAULT NULL,
  `used_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `portal_otp_challenges_owner_id_foreign` (`owner_id`),
  KEY `portal_otp_challenges_phone_index` (`phone`),
  KEY `portal_otp_challenges_expires_at_index` (`expires_at`),
  CONSTRAINT `portal_otp_challenges_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `portal_owners` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_otp_challenges` WRITE;
/*!40000 ALTER TABLE `portal_otp_challenges` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_otp_challenges` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_owner_devices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_owner_devices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` bigint(20) unsigned NOT NULL,
  `device_hash` varchar(64) NOT NULL,
  `platform` varchar(32) DEFAULT NULL,
  `user_agent` varchar(191) DEFAULT NULL,
  `first_seen_at` timestamp NULL DEFAULT NULL,
  `last_seen_at` timestamp NULL DEFAULT NULL,
  `installed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_owner_devices_owner_id_device_hash_unique` (`owner_id`,`device_hash`),
  KEY `portal_owner_devices_installed_at_index` (`installed_at`),
  CONSTRAINT `portal_owner_devices_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `portal_owners` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_owner_devices` WRITE;
/*!40000 ALTER TABLE `portal_owner_devices` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_owner_devices` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_owner_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_owner_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` bigint(20) unsigned NOT NULL,
  `token_hash` varchar(64) NOT NULL,
  `user_agent` varchar(191) DEFAULT NULL,
  `ip` varchar(45) 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 `portal_owner_tokens_token_hash_unique` (`token_hash`),
  KEY `portal_owner_tokens_owner_id_foreign` (`owner_id`),
  KEY `portal_owner_tokens_expires_at_index` (`expires_at`),
  CONSTRAINT `portal_owner_tokens_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `portal_owners` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_owner_tokens` WRITE;
/*!40000 ALTER TABLE `portal_owner_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_owner_tokens` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_owners`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_owners` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `phone` varchar(32) DEFAULT NULL,
  `email` varchar(191) DEFAULT NULL,
  `password` varchar(191) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `last_login_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_owners_phone_unique` (`phone`),
  UNIQUE KEY `portal_owners_email_unique` (`email`),
  KEY `portal_owners_business_id_index` (`business_id`),
  KEY `portal_owners_contact_id_index` (`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_owners` WRITE;
/*!40000 ALTER TABLE `portal_owners` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_owners` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_push_sent_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_push_sent_log` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `kind` varchar(32) NOT NULL,
  `subject_id` bigint(20) unsigned NOT NULL,
  `bucket` varchar(32) NOT NULL,
  `sent_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_push_sent_log_kind_subject_id_bucket_unique` (`kind`,`subject_id`,`bucket`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_push_sent_log` WRITE;
/*!40000 ALTER TABLE `portal_push_sent_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_push_sent_log` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_push_subscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_push_subscriptions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` bigint(20) unsigned NOT NULL,
  `endpoint` varchar(500) NOT NULL,
  `p256dh_key` varchar(191) NOT NULL,
  `auth_key` varchar(64) NOT NULL,
  `user_agent` varchar(191) DEFAULT NULL,
  `categories` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`categories`)),
  `last_used_at` timestamp NULL DEFAULT NULL,
  `last_failed_at` timestamp NULL DEFAULT NULL,
  `consecutive_failures` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `portal_push_subscriptions_owner_id_endpoint_index` (`owner_id`,`endpoint`),
  CONSTRAINT `portal_push_subscriptions_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `portal_owners` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_push_subscriptions` WRITE;
/*!40000 ALTER TABLE `portal_push_subscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_push_subscriptions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_reviews`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_reviews` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `owner_id` bigint(20) unsigned NOT NULL,
  `appointment_id` bigint(20) unsigned NOT NULL,
  `doctor_id` bigint(20) unsigned DEFAULT NULL,
  `rating` tinyint(4) NOT NULL,
  `comments` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_reviews_appointment_id_owner_id_unique` (`appointment_id`,`owner_id`),
  KEY `portal_reviews_business_id_doctor_id_index` (`business_id`,`doctor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_reviews` WRITE;
/*!40000 ALTER TABLE `portal_reviews` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_reviews` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `portal_telehealth_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `portal_telehealth_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `owner_id` bigint(20) unsigned NOT NULL,
  `pet_id` bigint(20) unsigned NOT NULL,
  `question` text NOT NULL,
  `photo_paths` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`photo_paths`)),
  `status` enum('pending','answered','closed') NOT NULL DEFAULT 'pending',
  `replied_by` bigint(20) unsigned DEFAULT NULL,
  `reply_body` text DEFAULT NULL,
  `replied_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `portal_telehealth_requests_business_id_owner_id_created_at_index` (`business_id`,`owner_id`,`created_at`),
  KEY `portal_telehealth_requests_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `portal_telehealth_requests` WRITE;
/*!40000 ALTER TABLE `portal_telehealth_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_telehealth_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_currencies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_currencies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `code` varchar(10) NOT NULL,
  `name` varchar(100) NOT NULL,
  `symbol` varchar(10) NOT NULL,
  `conversion_rate_to_egp` decimal(22,4) NOT NULL DEFAULT 1.0000,
  `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 `pr_currencies_business_id_code_unique` (`business_id`,`code`),
  KEY `pr_currencies_business_id_index` (`business_id`),
  CONSTRAINT `pr_currencies_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_currencies` WRITE;
/*!40000 ALTER TABLE `pr_currencies` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_currencies` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_products` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `pr_request_id` bigint(20) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `variation_id` int(10) unsigned NOT NULL,
  `current_stock` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `required_quantity` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `covered_qty` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `pending_purchase_qty` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `avg_unit_cost` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `last_purchase_price` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `last_purchased_qty` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `last_purchased_adjusted_qty` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `year_ago_sold_qty` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `selling_price` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `notes` text DEFAULT NULL,
  `has_previous_purchase` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pr_products_business_id_foreign` (`business_id`),
  KEY `pr_products_product_id_foreign` (`product_id`),
  KEY `pr_products_pr_request_id_product_id_index` (`pr_request_id`,`product_id`),
  KEY `pr_products_variation_id_index` (`variation_id`),
  CONSTRAINT `pr_products_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_products_pr_request_id_foreign` FOREIGN KEY (`pr_request_id`) REFERENCES `pr_requests` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_products_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_products_variation_id_foreign` FOREIGN KEY (`variation_id`) REFERENCES `variations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1709 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_products` WRITE;
/*!40000 ALTER TABLE `pr_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_products` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_purchase_changes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_purchase_changes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pr_purchase_share_id` int(10) unsigned NOT NULL,
  `purchase_line_id` int(10) unsigned NOT NULL,
  `original_qty` decimal(8,2) NOT NULL,
  `original_price` decimal(15,4) NOT NULL,
  `requested_qty` decimal(8,2) NOT NULL,
  `requested_price` decimal(15,4) NOT NULL,
  `supplier_note` text DEFAULT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `admin_note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pr_purchase_changes_pr_purchase_share_id_foreign` (`pr_purchase_share_id`),
  KEY `pr_purchase_changes_purchase_line_id_foreign` (`purchase_line_id`),
  CONSTRAINT `pr_purchase_changes_pr_purchase_share_id_foreign` FOREIGN KEY (`pr_purchase_share_id`) REFERENCES `pr_purchase_shares` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_purchase_changes_purchase_line_id_foreign` FOREIGN KEY (`purchase_line_id`) REFERENCES `purchase_lines` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_purchase_changes` WRITE;
/*!40000 ALTER TABLE `pr_purchase_changes` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_purchase_changes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_purchase_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_purchase_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pr_purchase_share_id` int(10) unsigned NOT NULL,
  `paid_amount` decimal(15,4) NOT NULL,
  `paid_currency_id` int(10) unsigned DEFAULT NULL,
  `rate_to_egp` decimal(15,6) NOT NULL DEFAULT 1.000000,
  `egp_amount` decimal(15,4) NOT NULL,
  `order_currency_id` int(10) unsigned DEFAULT NULL,
  `rate_to_order_currency` decimal(15,6) NOT NULL DEFAULT 1.000000,
  `order_currency_amount` decimal(15,4) NOT NULL,
  `notes` text DEFAULT NULL,
  `document` varchar(191) DEFAULT NULL,
  `received` tinyint(1) NOT NULL DEFAULT 0,
  `received_note` text DEFAULT NULL,
  `received_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pr_purchase_payments_pr_purchase_share_id_foreign` (`pr_purchase_share_id`),
  KEY `pr_purchase_payments_paid_currency_id_foreign` (`paid_currency_id`),
  KEY `pr_purchase_payments_order_currency_id_foreign` (`order_currency_id`),
  CONSTRAINT `pr_purchase_payments_order_currency_id_foreign` FOREIGN KEY (`order_currency_id`) REFERENCES `pr_currencies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pr_purchase_payments_paid_currency_id_foreign` FOREIGN KEY (`paid_currency_id`) REFERENCES `pr_currencies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pr_purchase_payments_pr_purchase_share_id_foreign` FOREIGN KEY (`pr_purchase_share_id`) REFERENCES `pr_purchase_shares` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_purchase_payments` WRITE;
/*!40000 ALTER TABLE `pr_purchase_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_purchase_payments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_purchase_shares`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_purchase_shares` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `transaction_id` int(10) unsigned NOT NULL,
  `pr_request_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`pr_request_ids`)),
  `share_token` varchar(100) NOT NULL,
  `supplier_order_note` text DEFAULT NULL,
  `row_notes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`row_notes`)),
  `images` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`images`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pr_purchase_shares_transaction_id_unique` (`transaction_id`),
  UNIQUE KEY `pr_purchase_shares_share_token_unique` (`share_token`),
  CONSTRAINT `pr_purchase_shares_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_purchase_shares` WRITE;
/*!40000 ALTER TABLE `pr_purchase_shares` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_purchase_shares` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `ref_no` varchar(191) NOT NULL,
  `transaction_date` datetime NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `status` enum('generating','draft','pending_supplier','pending_approval','approved','completed') DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pr_requests_ref_no_unique` (`ref_no`),
  KEY `pr_requests_location_id_foreign` (`location_id`),
  KEY `pr_requests_created_by_foreign` (`created_by`),
  KEY `pr_requests_business_id_index` (`business_id`),
  KEY `pr_requests_status_index` (`status`),
  KEY `pr_requests_ref_no_index` (`ref_no`),
  CONSTRAINT `pr_requests_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_requests_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_requests_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `business_locations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_requests` WRITE;
/*!40000 ALTER TABLE `pr_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `value` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pr_settings_business_id_index` (`business_id`),
  CONSTRAINT `pr_settings_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_settings` WRITE;
/*!40000 ALTER TABLE `pr_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_supplier_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_supplier_products` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `pr_supplier_response_id` bigint(20) unsigned NOT NULL,
  `pr_product_id` bigint(20) unsigned NOT NULL,
  `available_qty` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `order_qty` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `supplier_price` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `converted_price_egp` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `landed_unit_cost` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `landed_unit_cost_egp` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `supplier_notes` text DEFAULT NULL,
  `approved` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pr_supplier_products_business_id_foreign` (`business_id`),
  KEY `pr_supplier_products_pr_supplier_response_id_index` (`pr_supplier_response_id`),
  KEY `pr_supplier_products_pr_product_id_index` (`pr_product_id`),
  CONSTRAINT `fk_pr_supplier_response` FOREIGN KEY (`pr_supplier_response_id`) REFERENCES `pr_supplier_responses` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_supplier_products_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_supplier_products_pr_product_id_foreign` FOREIGN KEY (`pr_product_id`) REFERENCES `pr_products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1931 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_supplier_products` WRITE;
/*!40000 ALTER TABLE `pr_supplier_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_supplier_products` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_supplier_responses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_supplier_responses` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `pr_request_id` bigint(20) unsigned NOT NULL,
  `supplier_id` int(10) unsigned NOT NULL,
  `ref_no` varchar(50) DEFAULT NULL,
  `share_token` varchar(100) NOT NULL,
  `status` enum('pending','submitted','approved','rejected') NOT NULL DEFAULT 'pending',
  `currency_id` int(10) unsigned DEFAULT NULL,
  `submitted_at` datetime DEFAULT NULL,
  `approved_at` datetime DEFAULT NULL,
  `approved_by` int(10) 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 `pr_supplier_responses_share_token_unique` (`share_token`),
  KEY `pr_supplier_responses_business_id_foreign` (`business_id`),
  KEY `pr_supplier_responses_supplier_id_foreign` (`supplier_id`),
  KEY `pr_supplier_responses_approved_by_foreign` (`approved_by`),
  KEY `pr_supplier_responses_share_token_index` (`share_token`),
  KEY `pr_supplier_responses_pr_request_id_supplier_id_index` (`pr_request_id`,`supplier_id`),
  KEY `pr_supplier_responses_status_index` (`status`),
  KEY `pr_supplier_responses_currency_id_foreign` (`currency_id`),
  KEY `pr_supplier_responses_ref_no_index` (`ref_no`),
  CONSTRAINT `pr_supplier_responses_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pr_supplier_responses_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_supplier_responses_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `pr_currencies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pr_supplier_responses_pr_request_id_foreign` FOREIGN KEY (`pr_request_id`) REFERENCES `pr_requests` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_supplier_responses_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pr_supplier_responses` WRITE;
/*!40000 ALTER TABLE `pr_supplier_responses` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_supplier_responses` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pr_user_locations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pr_user_locations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `type` varchar(191) NOT NULL,
  `location_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pr_user_locations_business_id_foreign` (`business_id`),
  KEY `pr_user_locations_location_id_foreign` (`location_id`),
  KEY `pr_user_locations_user_id_business_id_type_index` (`user_id`,`business_id`,`type`),
  CONSTRAINT `pr_user_locations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_user_locations_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `business_locations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pr_user_locations_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 */;

LOCK TABLES `pr_user_locations` WRITE;
/*!40000 ALTER TABLE `pr_user_locations` DISABLE KEYS */;
/*!40000 ALTER TABLE `pr_user_locations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `primary_care_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `primary_care_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `bmi` decimal(8,2) DEFAULT NULL,
  `chronic_problems` text DEFAULT NULL,
  `screening_due` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `primary_care_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `primary_care_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `primary_care_patient_profiles` WRITE;
/*!40000 ALTER TABLE `primary_care_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `primary_care_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `printers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `printers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `connection_type` enum('network','windows','linux') NOT NULL,
  `capability_profile` enum('default','simple','SP2000','TEP-200M','P822D') NOT NULL DEFAULT 'default',
  `char_per_line` varchar(191) DEFAULT NULL,
  `ip_address` varchar(191) DEFAULT NULL,
  `port` varchar(191) DEFAULT NULL,
  `path` varchar(191) DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `printers_business_id_foreign` (`business_id`),
  CONSTRAINT `printers_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `printers` WRITE;
/*!40000 ALTER TABLE `printers` DISABLE KEYS */;
/*!40000 ALTER TABLE `printers` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `product_compatibles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product_compatibles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint(20) unsigned NOT NULL,
  `compatible_product_id` bigint(20) unsigned NOT NULL,
  `compatible_with` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `product_compatibles` WRITE;
/*!40000 ALTER TABLE `product_compatibles` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_compatibles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `product_locations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product_locations` (
  `product_id` int(11) NOT NULL,
  `location_id` int(11) NOT NULL,
  KEY `product_locations_product_id_index` (`product_id`),
  KEY `product_locations_location_id_index` (`location_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `product_locations` WRITE;
/*!40000 ALTER TABLE `product_locations` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_locations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `product_parts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product_parts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint(20) unsigned NOT NULL,
  `variation_id` bigint(20) unsigned NOT NULL,
  `part_number` text 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 */;

LOCK TABLES `product_parts` WRITE;
/*!40000 ALTER TABLE `product_parts` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_parts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `product_racks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product_racks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `rack` varchar(191) DEFAULT NULL,
  `row` varchar(191) DEFAULT NULL,
  `position` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_racks_business_id_index` (`business_id`),
  KEY `product_racks_location_id_index` (`location_id`),
  KEY `product_racks_product_id_index` (`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=124723 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `product_racks` WRITE;
/*!40000 ALTER TABLE `product_racks` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_racks` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `product_variations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product_variations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `variation_template_id` int(11) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `is_dummy` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_variations_name_index` (`name`),
  KEY `product_variations_product_id_index` (`product_id`),
  CONSTRAINT `product_variations_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15911 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `product_variations` WRITE;
/*!40000 ALTER TABLE `product_variations` DISABLE KEYS */;
INSERT INTO `product_variations` VALUES (15624,NULL,'DUMMY',15648,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15625,NULL,'DUMMY',15649,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15626,NULL,'DUMMY',15650,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15627,NULL,'DUMMY',15651,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15628,NULL,'DUMMY',15652,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15629,NULL,'DUMMY',15653,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15630,NULL,'DUMMY',15654,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15631,NULL,'DUMMY',15655,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15632,NULL,'DUMMY',15656,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15633,NULL,'DUMMY',15657,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15634,NULL,'DUMMY',15658,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15635,NULL,'DUMMY',15659,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15636,NULL,'DUMMY',15660,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15637,NULL,'DUMMY',15661,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15638,NULL,'DUMMY',15662,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15639,NULL,'DUMMY',15663,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15640,NULL,'DUMMY',15664,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15641,NULL,'DUMMY',15665,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15642,NULL,'DUMMY',15666,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15643,NULL,'DUMMY',15667,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15644,NULL,'DUMMY',15668,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15645,NULL,'DUMMY',15669,1,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(15646,NULL,'DUMMY',15670,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15647,NULL,'DUMMY',15671,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15648,NULL,'DUMMY',15672,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15649,NULL,'DUMMY',15673,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15650,NULL,'DUMMY',15674,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15651,NULL,'DUMMY',15675,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15652,NULL,'DUMMY',15676,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15653,NULL,'DUMMY',15677,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15654,NULL,'DUMMY',15678,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15655,NULL,'DUMMY',15679,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15656,NULL,'DUMMY',15680,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15657,NULL,'DUMMY',15681,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15658,NULL,'DUMMY',15682,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15659,NULL,'DUMMY',15683,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15660,NULL,'DUMMY',15684,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15661,NULL,'DUMMY',15685,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15662,NULL,'DUMMY',15686,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15663,NULL,'DUMMY',15687,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15664,NULL,'DUMMY',15688,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15665,NULL,'DUMMY',15689,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15666,NULL,'DUMMY',15690,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15667,NULL,'DUMMY',15691,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15668,NULL,'DUMMY',15692,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15669,NULL,'DUMMY',15693,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15670,NULL,'DUMMY',15694,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15671,NULL,'DUMMY',15695,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15672,NULL,'DUMMY',15696,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15673,NULL,'DUMMY',15697,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15674,NULL,'DUMMY',15698,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15675,NULL,'DUMMY',15699,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15676,NULL,'DUMMY',15700,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15677,NULL,'DUMMY',15701,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15678,NULL,'DUMMY',15702,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15679,NULL,'DUMMY',15703,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15680,NULL,'DUMMY',15704,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15681,NULL,'DUMMY',15705,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15682,NULL,'DUMMY',15706,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15683,NULL,'DUMMY',15707,1,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(15684,NULL,'DUMMY',15708,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15685,NULL,'DUMMY',15709,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15686,NULL,'DUMMY',15710,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15687,NULL,'DUMMY',15711,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15688,NULL,'DUMMY',15712,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15689,NULL,'DUMMY',15713,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15690,NULL,'DUMMY',15714,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15691,NULL,'DUMMY',15715,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15692,NULL,'DUMMY',15716,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15693,NULL,'DUMMY',15717,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15694,NULL,'DUMMY',15718,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15695,NULL,'DUMMY',15719,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15696,NULL,'DUMMY',15720,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15697,NULL,'DUMMY',15721,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15698,NULL,'DUMMY',15722,1,'2026-06-17 20:54:56','2026-06-17 20:54:56'),(15699,NULL,'DUMMY',15723,1,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(15700,NULL,'DUMMY',15724,1,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(15701,NULL,'DUMMY',15725,1,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(15702,NULL,'DUMMY',15726,1,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(15703,NULL,'DUMMY',15727,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15704,NULL,'DUMMY',15728,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15705,NULL,'DUMMY',15729,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15706,NULL,'DUMMY',15730,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15707,NULL,'DUMMY',15731,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15708,NULL,'DUMMY',15732,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15709,NULL,'DUMMY',15733,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15710,NULL,'DUMMY',15734,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15711,NULL,'DUMMY',15735,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15712,NULL,'DUMMY',15736,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15713,NULL,'DUMMY',15737,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15714,NULL,'DUMMY',15738,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15715,NULL,'DUMMY',15739,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15716,NULL,'DUMMY',15740,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15717,NULL,'DUMMY',15741,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15718,NULL,'DUMMY',15742,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15719,NULL,'DUMMY',15743,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15720,NULL,'DUMMY',15744,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15721,NULL,'DUMMY',15745,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15722,NULL,'DUMMY',15746,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15723,NULL,'DUMMY',15747,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15724,NULL,'DUMMY',15748,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15725,NULL,'DUMMY',15749,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15726,NULL,'DUMMY',15750,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15727,NULL,'DUMMY',15751,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15728,NULL,'DUMMY',15752,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15729,NULL,'DUMMY',15753,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15730,NULL,'DUMMY',15754,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15731,NULL,'DUMMY',15755,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15732,NULL,'DUMMY',15756,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15733,NULL,'DUMMY',15757,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15734,NULL,'DUMMY',15758,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15735,NULL,'DUMMY',15759,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15736,NULL,'DUMMY',15760,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15737,NULL,'DUMMY',15761,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15738,NULL,'DUMMY',15762,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15739,NULL,'DUMMY',15763,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15740,NULL,'DUMMY',15764,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15741,NULL,'DUMMY',15765,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15742,NULL,'DUMMY',15766,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15743,NULL,'DUMMY',15767,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15744,NULL,'DUMMY',15768,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15745,NULL,'DUMMY',15769,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15746,NULL,'DUMMY',15770,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15747,NULL,'DUMMY',15771,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15748,NULL,'DUMMY',15772,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15749,NULL,'DUMMY',15773,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15750,NULL,'DUMMY',15774,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15751,NULL,'DUMMY',15775,1,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(15752,NULL,'DUMMY',15776,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15753,NULL,'DUMMY',15777,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15754,NULL,'DUMMY',15778,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15755,NULL,'DUMMY',15779,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15756,NULL,'DUMMY',15780,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15757,NULL,'DUMMY',15781,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15758,NULL,'DUMMY',15782,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15759,NULL,'DUMMY',15783,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15760,NULL,'DUMMY',15784,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15761,NULL,'DUMMY',15785,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15762,NULL,'DUMMY',15786,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15763,NULL,'DUMMY',15787,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15764,NULL,'DUMMY',15788,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15765,NULL,'DUMMY',15789,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15766,NULL,'DUMMY',15790,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15767,NULL,'DUMMY',15791,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15768,NULL,'DUMMY',15792,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15769,NULL,'DUMMY',15793,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15770,NULL,'DUMMY',15794,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15771,NULL,'DUMMY',15795,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15772,NULL,'DUMMY',15796,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15773,NULL,'DUMMY',15797,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15774,NULL,'DUMMY',15798,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15775,NULL,'DUMMY',15799,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15776,NULL,'DUMMY',15800,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15777,NULL,'DUMMY',15801,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15778,NULL,'DUMMY',15802,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15779,NULL,'DUMMY',15803,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15780,NULL,'DUMMY',15804,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15781,NULL,'DUMMY',15805,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15782,NULL,'DUMMY',15806,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15783,NULL,'DUMMY',15807,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15784,NULL,'DUMMY',15808,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15785,NULL,'DUMMY',15809,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15786,NULL,'DUMMY',15810,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15787,NULL,'DUMMY',15811,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15788,NULL,'DUMMY',15812,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15789,NULL,'DUMMY',15813,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15790,NULL,'DUMMY',15814,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15791,NULL,'DUMMY',15815,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15792,NULL,'DUMMY',15816,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15793,NULL,'DUMMY',15817,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15794,NULL,'DUMMY',15818,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15795,NULL,'DUMMY',15819,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15796,NULL,'DUMMY',15820,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15797,NULL,'DUMMY',15821,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15798,NULL,'DUMMY',15822,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15799,NULL,'DUMMY',15823,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15800,NULL,'DUMMY',15824,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15801,NULL,'DUMMY',15825,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15802,NULL,'DUMMY',15826,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15803,NULL,'DUMMY',15827,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15804,NULL,'DUMMY',15828,1,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(15805,NULL,'DUMMY',15829,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15806,NULL,'DUMMY',15830,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15807,NULL,'DUMMY',15831,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15808,NULL,'DUMMY',15832,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15809,NULL,'DUMMY',15833,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15810,NULL,'DUMMY',15834,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15811,NULL,'DUMMY',15835,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15812,NULL,'DUMMY',15836,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15813,NULL,'DUMMY',15837,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15814,NULL,'DUMMY',15838,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15815,NULL,'DUMMY',15839,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15816,NULL,'DUMMY',15840,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15817,NULL,'DUMMY',15841,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15818,NULL,'DUMMY',15842,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15819,NULL,'DUMMY',15843,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15820,NULL,'DUMMY',15844,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15821,NULL,'DUMMY',15845,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15822,NULL,'DUMMY',15846,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15823,NULL,'DUMMY',15847,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15824,NULL,'DUMMY',15848,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15825,NULL,'DUMMY',15849,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15826,NULL,'DUMMY',15850,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15827,NULL,'DUMMY',15851,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15828,NULL,'DUMMY',15852,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15829,NULL,'DUMMY',15853,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15830,NULL,'DUMMY',15854,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15831,NULL,'DUMMY',15855,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15832,NULL,'DUMMY',15856,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15833,NULL,'DUMMY',15857,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15834,NULL,'DUMMY',15858,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15835,NULL,'DUMMY',15859,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15836,NULL,'DUMMY',15860,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15837,NULL,'DUMMY',15861,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15838,NULL,'DUMMY',15862,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15839,NULL,'DUMMY',15863,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15840,NULL,'DUMMY',15864,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15841,NULL,'DUMMY',15865,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15842,NULL,'DUMMY',15866,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15843,NULL,'DUMMY',15867,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15844,NULL,'DUMMY',15868,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15845,NULL,'DUMMY',15869,1,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(15846,NULL,'DUMMY',15870,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15847,NULL,'DUMMY',15871,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15848,NULL,'DUMMY',15872,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15849,NULL,'DUMMY',15873,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15850,NULL,'DUMMY',15874,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15851,NULL,'DUMMY',15875,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15852,NULL,'DUMMY',15876,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15853,NULL,'DUMMY',15877,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15854,NULL,'DUMMY',15878,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15855,NULL,'DUMMY',15879,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15856,NULL,'DUMMY',15880,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15857,NULL,'DUMMY',15881,1,'2026-06-17 21:00:03','2026-06-17 21:00:03'),(15858,NULL,'DUMMY',15882,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15859,NULL,'DUMMY',15883,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15860,NULL,'DUMMY',15884,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15861,NULL,'DUMMY',15885,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15862,NULL,'DUMMY',15886,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15863,NULL,'DUMMY',15887,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15864,NULL,'DUMMY',15888,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15865,NULL,'DUMMY',15889,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15866,NULL,'DUMMY',15890,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15867,NULL,'DUMMY',15891,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15868,NULL,'DUMMY',15892,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15869,NULL,'DUMMY',15893,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15870,NULL,'DUMMY',15894,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15871,NULL,'DUMMY',15895,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15872,NULL,'DUMMY',15896,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15873,NULL,'DUMMY',15897,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15874,NULL,'DUMMY',15898,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15875,NULL,'DUMMY',15899,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15876,NULL,'DUMMY',15900,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15877,NULL,'DUMMY',15901,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15878,NULL,'DUMMY',15902,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15879,NULL,'DUMMY',15903,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15880,NULL,'DUMMY',15904,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15881,NULL,'DUMMY',15905,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15882,NULL,'DUMMY',15906,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15883,NULL,'DUMMY',15907,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15884,NULL,'DUMMY',15908,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15885,NULL,'DUMMY',15909,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15886,NULL,'DUMMY',15910,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15887,NULL,'DUMMY',15911,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15888,NULL,'DUMMY',15912,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15889,NULL,'DUMMY',15913,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15890,NULL,'DUMMY',15914,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15891,NULL,'DUMMY',15915,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15892,NULL,'DUMMY',15916,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15893,NULL,'DUMMY',15917,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15894,NULL,'DUMMY',15918,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15895,NULL,'DUMMY',15919,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15896,NULL,'DUMMY',15920,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15897,NULL,'DUMMY',15921,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15898,NULL,'DUMMY',15922,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15899,NULL,'DUMMY',15923,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15900,NULL,'DUMMY',15924,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15901,NULL,'DUMMY',15925,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15902,NULL,'DUMMY',15926,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15903,NULL,'DUMMY',15927,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15904,NULL,'DUMMY',15928,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15905,NULL,'DUMMY',15929,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15906,NULL,'DUMMY',15930,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15907,NULL,'DUMMY',15931,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15908,NULL,'DUMMY',15932,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15909,NULL,'DUMMY',15933,1,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15910,NULL,'DUMMY',15934,1,'2026-06-17 21:11:54','2026-06-17 21:11:54');
/*!40000 ALTER TABLE `product_variations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `products` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `type` enum('single','variable','modifier','combo') DEFAULT NULL,
  `unit_id` int(11) unsigned DEFAULT NULL,
  `secondary_unit_id` int(11) DEFAULT NULL,
  `sub_unit_ids` text DEFAULT NULL,
  `brand_id` int(10) unsigned DEFAULT NULL,
  `category_id` int(10) unsigned DEFAULT NULL,
  `sub_category_id` int(10) unsigned DEFAULT NULL,
  `tax` int(10) unsigned DEFAULT NULL,
  `tax_type` enum('inclusive','exclusive') NOT NULL,
  `enable_stock` tinyint(1) NOT NULL DEFAULT 0,
  `alert_quantity` decimal(22,4) DEFAULT NULL,
  `sku` varchar(191) NOT NULL,
  `barcode_type` enum('C39','C128','EAN13','EAN8','UPCA','UPCE') DEFAULT 'C128',
  `expiry_period` decimal(4,2) DEFAULT NULL,
  `expiry_period_type` enum('days','months') DEFAULT NULL,
  `enable_sr_no` tinyint(1) NOT NULL DEFAULT 0,
  `weight` varchar(191) DEFAULT NULL,
  `product_custom_field1` varchar(191) DEFAULT NULL,
  `product_custom_field2` varchar(191) DEFAULT NULL,
  `product_custom_field3` longtext DEFAULT NULL,
  `product_custom_field4` varchar(191) DEFAULT NULL,
  `product_custom_field5` varchar(191) DEFAULT NULL,
  `product_custom_field6` varchar(191) DEFAULT NULL,
  `product_custom_field7` varchar(191) DEFAULT NULL,
  `product_custom_field8` varchar(191) DEFAULT NULL,
  `product_custom_field9` varchar(191) DEFAULT NULL,
  `product_custom_field10` varchar(191) DEFAULT NULL,
  `product_custom_field11` varchar(191) DEFAULT NULL,
  `product_custom_field12` varchar(191) DEFAULT NULL,
  `product_custom_field13` varchar(191) DEFAULT NULL,
  `product_custom_field14` varchar(191) DEFAULT NULL,
  `product_custom_field15` varchar(191) DEFAULT NULL,
  `product_custom_field16` varchar(191) DEFAULT NULL,
  `product_custom_field17` varchar(191) DEFAULT NULL,
  `product_custom_field18` varchar(191) DEFAULT NULL,
  `product_custom_field19` varchar(191) DEFAULT NULL,
  `product_custom_field20` varchar(191) DEFAULT NULL,
  `image` varchar(191) DEFAULT NULL,
  `product_description` text DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `preparation_time_in_minutes` int(11) DEFAULT NULL,
  `warranty_id` int(11) DEFAULT NULL,
  `is_inactive` tinyint(1) NOT NULL DEFAULT 0,
  `not_for_selling` tinyint(1) NOT NULL DEFAULT 0,
  `bms_is_asset` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `products_brand_id_foreign` (`brand_id`),
  KEY `products_category_id_foreign` (`category_id`),
  KEY `products_sub_category_id_foreign` (`sub_category_id`),
  KEY `products_tax_foreign` (`tax`),
  KEY `products_name_index` (`name`),
  KEY `products_business_id_index` (`business_id`),
  KEY `products_unit_id_index` (`unit_id`),
  KEY `products_created_by_index` (`created_by`),
  KEY `products_warranty_id_index` (`warranty_id`),
  KEY `products_type_index` (`type`),
  KEY `products_tax_type_index` (`tax_type`),
  KEY `products_barcode_type_index` (`barcode_type`),
  KEY `products_secondary_unit_id_index` (`secondary_unit_id`),
  CONSTRAINT `products_brand_id_foreign` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`) ON DELETE CASCADE,
  CONSTRAINT `products_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `products_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `products_sub_category_id_foreign` FOREIGN KEY (`sub_category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `products_tax_foreign` FOREIGN KEY (`tax`) REFERENCES `tax_rates` (`id`),
  CONSTRAINT `products_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15935 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `products` WRITE;
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
INSERT INTO `products` VALUES (15882,'Rabies Vaccine (1 dose)',10,'single',10,NULL,NULL,NULL,204,NULL,NULL,'exclusive',1,10.0000,'VET8BC533CA','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-vaccines.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15883,'DHPPi Vaccine (1 dose)',10,'single',10,NULL,NULL,NULL,204,NULL,NULL,'exclusive',1,10.0000,'VETF39BC5FE','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-vaccines.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15884,'Tricat Feline Vaccine',10,'single',10,NULL,NULL,NULL,204,NULL,NULL,'exclusive',1,10.0000,'VET5AB5DE58','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-vaccines.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15885,'Leptospirosis Vaccine',10,'single',10,NULL,NULL,NULL,204,NULL,NULL,'exclusive',1,10.0000,'VETD692F911','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-vaccines.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15886,'Kennel Cough (Bordetella)',10,'single',10,NULL,NULL,NULL,204,NULL,NULL,'exclusive',1,10.0000,'VET74258769','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-vaccines.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15887,'Amoxicillin 250mg (10 tabs)',10,'single',10,NULL,NULL,NULL,205,NULL,NULL,'exclusive',1,10.0000,'VET45BD7DC5','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pharmacy.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15888,'Meloxicam Oral Susp 15ml',10,'single',10,NULL,NULL,NULL,205,NULL,NULL,'exclusive',1,10.0000,'VET8B41449E','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pharmacy.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15889,'Flea & Tick Spot-On',10,'single',10,NULL,NULL,NULL,205,NULL,NULL,'exclusive',1,10.0000,'VET92F6564F','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pharmacy.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15890,'Metronidazole 200mg (20 tabs)',10,'single',10,NULL,NULL,NULL,205,NULL,NULL,'exclusive',1,10.0000,'VET8A1D7B77','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pharmacy.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15891,'Enrofloxacin 50mg (10 tabs)',10,'single',10,NULL,NULL,NULL,205,NULL,NULL,'exclusive',1,10.0000,'VETD6828C83','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pharmacy.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15892,'Otic Ear Drops 10ml',10,'single',10,NULL,NULL,NULL,205,NULL,NULL,'exclusive',1,10.0000,'VET39C1EFB7','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pharmacy.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15893,'Premium Dog Food 10kg',10,'single',10,NULL,NULL,NULL,206,NULL,NULL,'exclusive',1,10.0000,'VET1B4A1A43','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pet-food-retail.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15894,'Premium Cat Food 5kg',10,'single',10,NULL,NULL,NULL,206,NULL,NULL,'exclusive',1,10.0000,'VET47C2027A','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pet-food-retail.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15895,'Hypoallergenic Diet 2kg',10,'single',10,NULL,NULL,NULL,206,NULL,NULL,'exclusive',1,10.0000,'VET47377A68','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pet-food-retail.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15896,'Dental Chews (Pack)',10,'single',10,NULL,NULL,NULL,206,NULL,NULL,'exclusive',1,10.0000,'VETD2DCACAA','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-pet-food-retail.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15897,'Surgical Gloves (Box 100)',10,'single',10,NULL,NULL,NULL,207,NULL,NULL,'exclusive',1,10.0000,'VETDD0E52A4','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-surgical-supplies.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15898,'IV Catheter 22G (each)',10,'single',10,NULL,NULL,NULL,207,NULL,NULL,'exclusive',1,10.0000,'VETDBB492E8','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-surgical-supplies.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15899,'Suture Kit (sterile)',10,'single',10,NULL,NULL,NULL,207,NULL,NULL,'exclusive',1,10.0000,'VET946CC775','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-surgical-supplies.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15900,'Surgical Drape (sterile)',10,'single',10,NULL,NULL,NULL,207,NULL,NULL,'exclusive',1,10.0000,'VET6203C2D6','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-surgical-supplies.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15901,'Ketamine 50mg/ml (10ml)',10,'single',10,NULL,NULL,NULL,212,NULL,NULL,'exclusive',1,10.0000,'VET06FC0DA1','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-controlled-drugs.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15902,'Diazepam 5mg/ml (2ml)',10,'single',10,NULL,NULL,NULL,212,NULL,NULL,'exclusive',1,10.0000,'VET65482AF5','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-controlled-drugs.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15903,'Tramadol 50mg (10 caps)',10,'single',10,NULL,NULL,NULL,212,NULL,NULL,'exclusive',1,10.0000,'VET835A9AC5','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-controlled-drugs.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15904,'Phenobarbital 30mg (30 tabs)',10,'single',10,NULL,NULL,NULL,212,NULL,NULL,'exclusive',1,10.0000,'VET66642B87','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-controlled-drugs.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15905,'Buprenorphine 0.3mg/ml (1ml)',10,'single',10,NULL,NULL,NULL,212,NULL,NULL,'exclusive',1,10.0000,'VET0B6753EA','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-controlled-drugs.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15906,'Premium Pet Meal',10,'single',10,NULL,NULL,NULL,208,NULL,NULL,'exclusive',0,0.0000,'VETCD6BB515','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-boarding.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15907,'Kennel Cleaning',10,'single',10,NULL,NULL,NULL,208,NULL,NULL,'exclusive',0,0.0000,'VETB6CAEEF8','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-boarding.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15908,'Daily Walk & Play',10,'single',10,NULL,NULL,NULL,208,NULL,NULL,'exclusive',0,0.0000,'VETCA39442D','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-boarding.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15909,'Boarding Day Package',10,'combo',10,NULL,NULL,NULL,208,NULL,NULL,'exclusive',0,0.0000,'VETBE58BDE0','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-boarding.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15910,'General Consultation',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET9D0FE95F','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15911,'Vaccination Visit',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET5E782BF0','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15912,'Spay / Neuter Surgery',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET60DAC899','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15913,'Dental Cleaning',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET25D275FD','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15914,'Grooming Session',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET4A345959','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15915,'Boarding (per night)',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET69D1DCEF','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15916,'Emergency Triage',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET433850FF','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15917,'Microchipping',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VETC9CCB615','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15918,'Wound Dressing & Bandage',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET4067AE5A','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15919,'Euthanasia & Aftercare',10,'single',10,NULL,NULL,NULL,209,NULL,NULL,'exclusive',0,0.0000,'VET407AF314','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-clinical-services.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15920,'X-Ray / Imaging (per view)',10,'single',10,NULL,NULL,NULL,210,NULL,NULL,'exclusive',0,0.0000,'VET1B148473','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-diagnostic-exams.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15921,'Abdominal Ultrasound',10,'single',10,NULL,NULL,NULL,210,NULL,NULL,'exclusive',0,0.0000,'VET678AEC1C','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-diagnostic-exams.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15922,'Cardiac Ultrasound (Echo)',10,'single',10,NULL,NULL,NULL,210,NULL,NULL,'exclusive',0,0.0000,'VET73DC201A','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-diagnostic-exams.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15923,'ECG / Electrocardiogram',10,'single',10,NULL,NULL,NULL,210,NULL,NULL,'exclusive',0,0.0000,'VETC6E96597','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-diagnostic-exams.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15924,'Ophthalmic Exam',10,'single',10,NULL,NULL,NULL,210,NULL,NULL,'exclusive',0,0.0000,'VETE7D78663','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-diagnostic-exams.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15925,'Dermatology Exam',10,'single',10,NULL,NULL,NULL,210,NULL,NULL,'exclusive',0,0.0000,'VET058C22D3','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-diagnostic-exams.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15926,'Endoscopy',10,'single',10,NULL,NULL,NULL,210,NULL,NULL,'exclusive',0,0.0000,'VETF2A3686D','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-diagnostic-exams.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15927,'CBC / Hematology Panel',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VETF7B7FA9C','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15928,'Biochemistry Panel',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VETBB061D94','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15929,'Urinalysis',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VET2B915559','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15930,'SDMA Renal Test',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VET1D39AD77','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15931,'Thyroid (T4) Test',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VETC2739A54','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15932,'Fecal Float / Parasitology',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VET5AFE50C6','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15933,'Cytology',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VETBBE3DD74','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(15934,'Blood Smear',10,'single',10,NULL,NULL,NULL,211,NULL,NULL,'exclusive',0,0.0000,'VETAFE82EC9','C128',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vet-laboratory-tests.png',NULL,195,NULL,NULL,0,0,0,'2026-06-17 21:11:54','2026-06-17 21:11:54');
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `psychiatry_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `psychiatry_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `mood` varchar(40) DEFAULT NULL,
  `risk_level` varchar(40) DEFAULT NULL,
  `diagnosis` varchar(120) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `psychiatry_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `psychiatry_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `psychiatry_patient_profiles` WRITE;
/*!40000 ALTER TABLE `psychiatry_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `psychiatry_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `pulmonology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pulmonology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `fev1` decimal(8,2) DEFAULT NULL,
  `fvc` decimal(8,2) DEFAULT NULL,
  `spo2` int(11) DEFAULT NULL,
  `mmrc` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pulmonology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `pulmonology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `pulmonology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `pulmonology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `pulmonology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `purchase_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `purchase_lines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `transaction_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `variation_id` int(10) unsigned NOT NULL,
  `quantity` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `secondary_unit_quantity` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `pp_without_discount` decimal(22,4) NOT NULL DEFAULT 0.0000 COMMENT 'Purchase price before inline discounts',
  `discount_percent` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT 'Inline discount percentage',
  `purchase_price` decimal(22,4) NOT NULL,
  `purchase_price_inc_tax` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `item_tax` decimal(22,4) NOT NULL COMMENT 'Tax for one quantity',
  `tax_id` int(10) unsigned DEFAULT NULL,
  `purchase_requisition_line_id` int(11) DEFAULT NULL,
  `purchase_order_line_id` int(11) DEFAULT NULL,
  `quantity_sold` decimal(22,4) NOT NULL DEFAULT 0.0000 COMMENT 'Quanity sold from this purchase line',
  `quantity_adjusted` decimal(22,4) NOT NULL DEFAULT 0.0000 COMMENT 'Quanity adjusted in stock adjustment from this purchase line',
  `quantity_returned` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `po_quantity_purchased` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `mfg_quantity_used` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `mfg_date` date DEFAULT NULL,
  `exp_date` date DEFAULT NULL,
  `lot_number` varchar(191) DEFAULT NULL,
  `sub_unit_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_lines_transaction_id_foreign` (`transaction_id`),
  KEY `purchase_lines_product_id_foreign` (`product_id`),
  KEY `purchase_lines_variation_id_foreign` (`variation_id`),
  KEY `purchase_lines_tax_id_foreign` (`tax_id`),
  KEY `purchase_lines_sub_unit_id_index` (`sub_unit_id`),
  KEY `purchase_lines_lot_number_index` (`lot_number`),
  CONSTRAINT `purchase_lines_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_lines_tax_id_foreign` FOREIGN KEY (`tax_id`) REFERENCES `tax_rates` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_lines_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_lines_variation_id_foreign` FOREIGN KEY (`variation_id`) REFERENCES `variations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=135778 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `purchase_lines` WRITE;
/*!40000 ALTER TABLE `purchase_lines` DISABLE KEYS */;
INSERT INTO `purchase_lines` VALUES (135758,295335,15648,15632,50.0000,0.0000,0.0000,0.00,120.0000,120.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-26 17:18:45','2026-05-26 17:18:45'),(135759,295335,15649,15633,50.0000,0.0000,0.0000,0.00,180.0000,180.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-26 17:18:45','2026-05-26 17:18:45'),(135760,295335,15650,15634,50.0000,0.0000,0.0000,0.00,200.0000,200.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-26 17:18:45','2026-05-26 17:18:45'),(135761,295335,15651,15635,50.0000,0.0000,0.0000,0.00,35.0000,35.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-26 17:18:45','2026-05-26 17:18:45'),(135762,295341,15723,15707,50.0000,0.0000,0.0000,0.00,120.0000,120.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:55:46','2026-05-28 20:55:46'),(135763,295341,15724,15708,50.0000,0.0000,0.0000,0.00,180.0000,180.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:55:46','2026-05-28 20:55:46'),(135764,295341,15725,15709,50.0000,0.0000,0.0000,0.00,200.0000,200.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:55:46','2026-05-28 20:55:46'),(135765,295341,15726,15710,50.0000,0.0000,0.0000,0.00,160.0000,160.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:55:46','2026-05-28 20:55:46'),(135766,295347,15776,15760,50.0000,0.0000,0.0000,0.00,120.0000,120.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:58:13','2026-05-28 20:58:13'),(135767,295347,15777,15761,50.0000,0.0000,0.0000,0.00,180.0000,180.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:58:13','2026-05-28 20:58:13'),(135768,295347,15778,15762,50.0000,0.0000,0.0000,0.00,200.0000,200.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:58:13','2026-05-28 20:58:13'),(135769,295347,15779,15763,50.0000,0.0000,0.0000,0.00,160.0000,160.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 20:58:13','2026-05-28 20:58:13'),(135770,295354,15829,15813,50.0000,0.0000,0.0000,0.00,120.0000,120.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:00:04','2026-05-28 21:00:04'),(135771,295354,15830,15814,50.0000,0.0000,0.0000,0.00,180.0000,180.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:00:04','2026-05-28 21:00:04'),(135772,295354,15831,15815,50.0000,0.0000,0.0000,0.00,200.0000,200.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:00:04','2026-05-28 21:00:04'),(135773,295354,15832,15816,50.0000,0.0000,0.0000,0.00,160.0000,160.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:00:04','2026-05-28 21:00:04'),(135774,295360,15882,15866,50.0000,0.0000,0.0000,0.00,120.0000,120.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:11:55','2026-05-28 21:11:55'),(135775,295360,15883,15867,50.0000,0.0000,0.0000,0.00,180.0000,180.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:11:55','2026-05-28 21:11:55'),(135776,295360,15884,15868,50.0000,0.0000,0.0000,0.00,200.0000,200.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:11:55','2026-05-28 21:11:55'),(135777,295360,15885,15869,50.0000,0.0000,0.0000,0.00,160.0000,160.0000,0.0000,NULL,NULL,NULL,0.0000,0.0000,0.0000,0.0000,0.0000,NULL,NULL,NULL,NULL,'2026-05-28 21:11:55','2026-05-28 21:11:55');
/*!40000 ALTER TABLE `purchase_lines` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `radiology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `radiology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `modality` varchar(40) DEFAULT NULL,
  `region` varchar(120) DEFAULT NULL,
  `contrast` tinyint(1) NOT NULL DEFAULT 0,
  `findings` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `radiology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `radiology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `radiology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `radiology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `radiology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `reference_counts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `reference_counts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ref_type` varchar(191) NOT NULL,
  `ref_count` int(11) NOT NULL,
  `business_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `reference_counts_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `reference_counts` WRITE;
/*!40000 ALTER TABLE `reference_counts` DISABLE KEYS */;
INSERT INTO `reference_counts` VALUES (28,'contacts',16,5,'2026-06-15 17:18:42','2026-06-15 17:18:44'),(29,'business_location',3,5,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(30,'contacts',16,6,'2026-06-17 20:54:54','2026-06-17 20:54:56'),(31,'business_location',3,6,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(32,'contacts',16,7,'2026-06-17 20:55:44','2026-06-17 20:55:45'),(33,'business_location',3,7,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(34,'contacts',16,8,'2026-06-17 20:58:10','2026-06-17 20:58:12'),(35,'business_location',3,8,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(36,'contacts',16,9,'2026-06-17 21:00:01','2026-06-17 21:00:03'),(37,'business_location',3,9,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(38,'contacts',16,10,'2026-06-17 21:11:53','2026-06-17 21:11:54'),(39,'business_location',3,10,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(40,'contacts',1,11,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(41,'business_location',1,11,'2026-07-10 05:40:55','2026-07-10 05:40:55'),(42,'contacts',1,12,'2026-07-10 06:43:14','2026-07-10 06:43:14'),(43,'business_location',1,12,'2026-07-10 06:43:14','2026-07-10 06:43:14');
/*!40000 ALTER TABLE `reference_counts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `res_product_modifier_sets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `res_product_modifier_sets` (
  `modifier_set_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL COMMENT 'Table use to store the modifier sets applicable for a product',
  KEY `res_product_modifier_sets_modifier_set_id_foreign` (`modifier_set_id`),
  CONSTRAINT `res_product_modifier_sets_modifier_set_id_foreign` FOREIGN KEY (`modifier_set_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `res_product_modifier_sets` WRITE;
/*!40000 ALTER TABLE `res_product_modifier_sets` DISABLE KEYS */;
/*!40000 ALTER TABLE `res_product_modifier_sets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `res_tables`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `res_tables` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `res_tables_business_id_foreign` (`business_id`),
  CONSTRAINT `res_tables_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `res_tables` WRITE;
/*!40000 ALTER TABLE `res_tables` DISABLE KEYS */;
/*!40000 ALTER TABLE `res_tables` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `rheumatology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rheumatology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `tender_joints` int(11) DEFAULT NULL,
  `swollen_joints` int(11) DEFAULT NULL,
  `das28` decimal(8,2) DEFAULT NULL,
  `rf_status` varchar(40) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rheumatology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `rheumatology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `rheumatology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `rheumatology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `rheumatology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `role_has_permissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `role_has_permissions` (
  `permission_id` int(10) unsigned NOT NULL,
  `role_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`),
  CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `role_has_permissions` WRITE;
/*!40000 ALTER TABLE `role_has_permissions` DISABLE KEYS */;
INSERT INTO `role_has_permissions` VALUES (516,48),(516,53),(516,56),(516,61),(516,64),(516,69),(516,72),(516,77),(516,80),(516,85),(516,88),(516,93),(517,48),(517,56),(517,64),(517,72),(517,80),(517,88),(528,55),(528,63),(528,71),(528,79),(528,87),(528,95),(529,55),(529,63),(529,71),(529,79),(529,87),(529,95),(530,55),(530,63),(530,71),(530,79),(530,87),(530,95),(531,55),(531,63),(531,71),(531,79),(531,87),(531,95),(560,55),(560,63),(560,71),(560,79),(560,87),(560,95),(562,55),(562,63),(562,71),(562,79),(562,87),(562,95),(563,55),(563,63),(563,71),(563,79),(563,87),(563,95),(567,54),(567,70),(567,78),(567,86),(567,94),(568,54),(568,70),(568,78),(568,86),(568,94),(569,54),(569,70),(569,78),(569,86),(569,94),(570,54),(570,70),(570,78),(570,86),(570,94),(571,54),(571,70),(571,78),(571,86),(571,94),(572,54),(572,70),(572,78),(572,86),(572,94),(573,54),(573,70),(573,78),(573,86),(573,94),(574,54),(574,70),(574,78),(574,86),(574,94),(590,94),(591,94),(592,94),(593,94),(595,88),(595,89),(595,90),(595,91),(595,92),(595,93),(596,88),(596,89),(596,90),(596,91),(596,92),(597,88),(597,89),(597,90),(597,91),(597,92),(598,88),(598,89),(598,90),(598,91),(598,92),(598,93),(599,88),(599,89),(599,90),(599,92),(600,88),(600,92),(600,93),(601,89),(601,92),(602,89),(602,92),(603,89),(603,92),(604,89),(604,90),(604,92),(605,89),(605,92),(606,89),(606,92),(606,93),(607,89),(607,92),(607,93),(608,89),(608,90),(608,92),(609,89),(609,90),(609,91),(609,92),(610,89),(610,92),(611,89),(611,90),(611,92),(612,89),(612,92),(613,89),(613,92),(614,89),(614,92),(615,89),(615,92),(616,89),(616,90),(617,92),(618,92),(619,92),(619,93),(620,92),(621,92),(622,92),(623,92),(624,92),(625,92),(626,92);
/*!40000 ALTER TABLE `role_has_permissions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `roles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `guard_name` varchar(191) NOT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_service_staff` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `roles_business_id_foreign` (`business_id`),
  CONSTRAINT `roles_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=113 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `roles` WRITE;
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
INSERT INTO `roles` VALUES (88,'Receptionist#10','web',10,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(89,'Doctor#10','web',10,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(90,'Nurse#10','web',10,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(91,'Assistant#10','web',10,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(92,'Branch Manager#10','web',10,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(93,'Accounting#10','web',10,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(94,'Admin#10','web',10,1,0,'2026-06-17 21:11:53','2026-06-17 21:11:53'),(95,'Cashier#10','web',10,0,0,'2026-06-17 21:11:53','2026-06-17 21:11:53');
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `sell_line_warranties`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sell_line_warranties` (
  `sell_line_id` int(11) NOT NULL,
  `warranty_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `sell_line_warranties` WRITE;
/*!40000 ALTER TABLE `sell_line_warranties` DISABLE KEYS */;
/*!40000 ALTER TABLE `sell_line_warranties` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `selling_price_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `selling_price_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `selling_price_groups_business_id_foreign` (`business_id`),
  CONSTRAINT `selling_price_groups_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `selling_price_groups` WRITE;
/*!40000 ALTER TABLE `selling_price_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `selling_price_groups` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `services_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `services_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `service_type` varchar(120) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `services_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `services_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `services_patient_profiles` WRITE;
/*!40000 ALTER TABLE `services_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `services_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sessions` (
  `id` varchar(191) NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `payload` text NOT NULL,
  `last_activity` int(11) NOT NULL,
  UNIQUE KEY `sessions_id_unique` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `sessions` WRITE;
/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `shared_product_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `shared_product_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `shared_product_id` bigint(20) unsigned NOT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `sku` varchar(191) DEFAULT NULL,
  `product_name` varchar(255) DEFAULT NULL,
  `category_id` int(10) unsigned DEFAULT NULL,
  `sub_category_id` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `shared_product_items_business_id_category_id_index` (`business_id`,`category_id`),
  KEY `shared_product_items_business_id_sub_category_id_index` (`business_id`,`sub_category_id`),
  KEY `shared_product_items_shared_product_id_index` (`shared_product_id`),
  KEY `shared_product_items_business_id_index` (`business_id`),
  KEY `shared_product_items_product_id_index` (`product_id`),
  KEY `shared_product_items_sku_index` (`sku`)
) ENGINE=InnoDB AUTO_INCREMENT=55528 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `shared_product_items` WRITE;
/*!40000 ALTER TABLE `shared_product_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `shared_product_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `shared_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `shared_products` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `token` varchar(191) NOT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `products_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`products_data`)),
  `expires_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  UNIQUE KEY `shared_products_token_unique` (`token`),
  KEY `shared_products_expires_at_index` (`expires_at`),
  KEY `shared_products_business_id_user_id_index` (`business_id`,`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=30592 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `shared_products` WRITE;
/*!40000 ALTER TABLE `shared_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `shared_products` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `spinal_surgery_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `spinal_surgery_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `spinal_level` varchar(120) DEFAULT NULL,
  `neuro_deficit` varchar(40) DEFAULT NULL,
  `planned_procedure` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `spinal_surgery_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `spinal_surgery_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `spinal_surgery_patient_profiles` WRITE;
/*!40000 ALTER TABLE `spinal_surgery_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `spinal_surgery_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ss_access_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ss_access_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `file_id` bigint(20) unsigned DEFAULT NULL,
  `logical_path` varchar(500) DEFAULT NULL,
  `action` varchar(20) NOT NULL,
  `granted` tinyint(1) NOT NULL DEFAULT 1,
  `reason` varchar(191) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `device_fingerprint` varchar(191) DEFAULT NULL,
  `ip` varchar(64) DEFAULT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `geo_country` varchar(100) DEFAULT NULL,
  `geo_city` varchar(100) DEFAULT NULL,
  `geo_lat` decimal(10,6) DEFAULT NULL,
  `geo_lng` decimal(10,6) DEFAULT NULL,
  `otp_session_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ss_access_logs_business_id_index` (`business_id`),
  KEY `ss_access_logs_file_id_index` (`file_id`),
  KEY `ss_access_logs_action_index` (`action`),
  KEY `ss_access_logs_user_id_index` (`user_id`),
  KEY `ss_access_logs_ip_index` (`ip`),
  KEY `ss_access_logs_created_at_index` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ss_access_logs` WRITE;
/*!40000 ALTER TABLE `ss_access_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `ss_access_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ss_devices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ss_devices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) DEFAULT NULL,
  `fingerprint_hash` varchar(191) NOT NULL,
  `ip_cidr` varchar(64) DEFAULT NULL,
  `approved` tinyint(1) NOT NULL DEFAULT 0,
  `last_ip` varchar(64) DEFAULT NULL,
  `last_user_agent` varchar(255) DEFAULT NULL,
  `last_seen_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ss_devices_business_id_index` (`business_id`),
  KEY `ss_devices_fingerprint_hash_index` (`fingerprint_hash`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ss_devices` WRITE;
/*!40000 ALTER TABLE `ss_devices` DISABLE KEYS */;
/*!40000 ALTER TABLE `ss_devices` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ss_files`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ss_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `logical_path` varchar(500) NOT NULL,
  `backend` varchar(50) NOT NULL,
  `backend_path` varchar(500) NOT NULL,
  `is_encrypted` tinyint(1) NOT NULL DEFAULT 0,
  `enc_algo` varchar(30) DEFAULT NULL,
  `enc_iv` varchar(64) DEFAULT NULL,
  `enc_tag` varchar(64) DEFAULT NULL,
  `mime` varchar(191) DEFAULT NULL,
  `size` bigint(20) unsigned DEFAULT NULL,
  `stored_size` bigint(20) unsigned DEFAULT NULL,
  `checksum` varchar(64) DEFAULT NULL,
  `uploaded_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ss_files_logical_unique` (`logical_path`,`business_id`),
  KEY `ss_files_business_id_index` (`business_id`),
  KEY `ss_files_logical_path_index` (`logical_path`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ss_files` WRITE;
/*!40000 ALTER TABLE `ss_files` DISABLE KEYS */;
/*!40000 ALTER TABLE `ss_files` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ss_otp_sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ss_otp_sessions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `device_fingerprint` varchar(191) DEFAULT NULL,
  `code_hash` varchar(191) NOT NULL,
  `ip` varchar(64) DEFAULT NULL,
  `verified_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `attempts` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ss_otp_sessions_business_id_index` (`business_id`),
  KEY `ss_otp_sessions_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ss_otp_sessions` WRITE;
/*!40000 ALTER TABLE `ss_otp_sessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `ss_otp_sessions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `ss_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ss_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `active_backend` varchar(50) NOT NULL DEFAULT 'laravel-default',
  `encryption_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `otp_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `otp_ttl_minutes` smallint(5) unsigned NOT NULL DEFAULT 15,
  `otp_channel` varchar(20) NOT NULL DEFAULT 'auto',
  `local_submode` varchar(30) NOT NULL DEFAULT 'this_device_only',
  `lan_cidrs` text DEFAULT NULL,
  `bound_device_fingerprint` varchar(191) DEFAULT NULL,
  `tunnel_url` varchar(255) DEFAULT NULL,
  `tunnel_secret` text DEFAULT NULL,
  `geo_provider` varchar(20) NOT NULL DEFAULT 'none',
  `track_reads` tinyint(1) NOT NULL DEFAULT 1,
  `track_writes` tinyint(1) NOT NULL DEFAULT 1,
  `credentials` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ss_settings_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `ss_settings` WRITE;
/*!40000 ALTER TABLE `ss_settings` DISABLE KEYS */;
INSERT INTO `ss_settings` VALUES (2,NULL,'laravel-default',0,0,15,'auto','this_device_only','10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.1/32',NULL,'','','none',1,1,NULL,'2026-06-15 16:53:50','2026-06-15 16:53:50');
/*!40000 ALTER TABLE `ss_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `stock_adjustment_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `stock_adjustment_lines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `transaction_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `variation_id` int(10) unsigned NOT NULL,
  `quantity` decimal(22,4) NOT NULL,
  `secondary_unit_quantity` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `unit_price` decimal(22,4) DEFAULT NULL COMMENT 'Last purchase unit price',
  `removed_purchase_line` int(11) DEFAULT NULL,
  `lot_no_line_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_adjustment_lines_product_id_foreign` (`product_id`),
  KEY `stock_adjustment_lines_variation_id_foreign` (`variation_id`),
  KEY `stock_adjustment_lines_transaction_id_index` (`transaction_id`),
  KEY `stock_adjustment_lines_lot_no_line_id_index` (`lot_no_line_id`),
  CONSTRAINT `stock_adjustment_lines_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `stock_adjustment_lines_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `stock_adjustment_lines_variation_id_foreign` FOREIGN KEY (`variation_id`) REFERENCES `variations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4752 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `stock_adjustment_lines` WRITE;
/*!40000 ALTER TABLE `stock_adjustment_lines` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_adjustment_lines` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `stock_adjustments_temp`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `stock_adjustments_temp` (
  `id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `stock_adjustments_temp` WRITE;
/*!40000 ALTER TABLE `stock_adjustments_temp` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_adjustments_temp` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `stock_reports`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `stock_reports` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_location_id` int(10) unsigned NOT NULL,
  `path` varchar(191) NOT NULL,
  `products_count` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_reports_business_location_id_foreign` (`business_location_id`),
  CONSTRAINT `stock_reports_business_location_id_foreign` FOREIGN KEY (`business_location_id`) REFERENCES `business_locations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `stock_reports` WRITE;
/*!40000 ALTER TABLE `stock_reports` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_reports` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `system`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `system` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(191) NOT NULL,
  `value` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `system` WRITE;
/*!40000 ALTER TABLE `system` DISABLE KEYS */;
INSERT INTO `system` VALUES (1,'db_version','6.7'),(2,'default_business_active_status','1'),(3,'crm_version','3.0'),(4,'connector_version','3.0'),(5,'essentials_version','5.2'),(8,'tpsProduct_version','0.1'),(9,'stockissues_version','1.0.0'),(12,'additional_js','<script>\n$(\"#sku\").prop(\'readonly\',true);\n$(\'.modal\').attr( \'tabIndex\', \"\" );\n</script>'),(13,'TpsTransfer_version','1.1.0'),(14,'PurchaseRequisition_version','1.5.2'),(15,'ActivityLog_version','1.2.0'),(16,'VetClinic_version','2.2.0'),(17,'NX600Lab_version','1.1.0'),(18,'VetAdmission_version','2.0.0'),(19,'VetAI_version','1.1.0'),(20,'VetPortal_version','1.0.0'),(21,'LabCore_version','1.0.0'),(22,'AbaxisLab_version','1.0.0'),(23,'WhatsApp_version','1.0.0'),(24,'landedcost_version','1.2.0'),(25,'AiCore_version','1.0.0'),(26,'productcompat_version','1.0.0'),(27,'DermatologyClinic_version','2.2.0'),(28,'DentalClinic_version','1.0.0'),(29,'SmartStorage_version','1.0.0'),(30,'bms_version','1.0.0'),(31,'AdvancedTransfer_version','1.1.0'),(32,'IdexxLab_version','1.0.0'),(33,'VetSite_version','1.0.0'),(35,'accounting_version','1.0'),(36,'saasswitcher_version','1.0.0'),(37,'neoskin_version','1.0.0'),(38,'neoskin_enabled','1'),(40,'neoskin_theme','{\"accent\":\"#e6b450\",\"accent2\":\"#f0c674\",\"bg\":\"#0a0a12\",\"surface\":\"#15151f\",\"surface2\":\"#0e0e16\",\"bg_preset\":\"obsidian\"}'),(41,'turboboost_version','1.0.0'),(42,'turboboost_enabled','1'),(43,'turboboost_compress','1'),(44,'turboboost_lazy_images','1'),(45,'guidedtour_version','1.0.0');
/*!40000 ALTER TABLE `system` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `tax_rates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tax_rates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `amount` double(22,4) NOT NULL,
  `is_tax_group` tinyint(1) NOT NULL DEFAULT 0,
  `for_tax_group` tinyint(1) NOT NULL DEFAULT 0,
  `created_by` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tax_rates_business_id_foreign` (`business_id`),
  KEY `tax_rates_created_by_foreign` (`created_by`),
  CONSTRAINT `tax_rates_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `tax_rates_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `tax_rates` WRITE;
/*!40000 ALTER TABLE `tax_rates` DISABLE KEYS */;
/*!40000 ALTER TABLE `tax_rates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `temp_transfer_products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `temp_transfer_products` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `variation_id` int(10) NOT NULL,
  `quantity` decimal(22,4) NOT NULL,
  `location_id` int(11) NOT NULL,
  `transfer_location_id` int(11) NOT NULL,
  `lot_no_line_id` int(11) NOT NULL DEFAULT 0,
  `transaction_date` datetime NOT NULL,
  `additional_notes` text DEFAULT NULL,
  `ref_no` varchar(191) DEFAULT NULL,
  `checked` enum('YES','NO') NOT NULL,
  `status` enum('PREPARE','RECEIVED','TRANSFERED') NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1743 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `temp_transfer_products` WRITE;
/*!40000 ALTER TABLE `temp_transfer_products` DISABLE KEYS */;
/*!40000 ALTER TABLE `temp_transfer_products` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `tour_flows`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_flows` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(100) NOT NULL,
  `title` varchar(150) NOT NULL,
  `vertical` varchar(40) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `autostart_once` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tour_flows_key_unique` (`key`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `tour_flows` WRITE;
/*!40000 ALTER TABLE `tour_flows` DISABLE KEYS */;
INSERT INTO `tour_flows` VALUES (1,'vet-full-tour','VetOne — full walkthrough','vet',1,1,'2026-07-10 06:48:43','2026-07-10 06:48:43');
/*!40000 ALTER TABLE `tour_flows` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `tour_media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_media` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `kind` enum('image','video') NOT NULL,
  `disk` varchar(40) NOT NULL DEFAULT 'local',
  `path` varchar(255) NOT NULL,
  `mime` varchar(100) DEFAULT NULL,
  `original_name` varchar(255) DEFAULT NULL,
  `size` 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 */;

LOCK TABLES `tour_media` WRITE;
/*!40000 ALTER TABLE `tour_media` DISABLE KEYS */;
/*!40000 ALTER TABLE `tour_media` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `tour_progress`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_progress` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL,
  `flow_id` int(10) unsigned NOT NULL,
  `last_step` int(10) unsigned NOT NULL DEFAULT 0,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tour_progress_user_id_flow_id_unique` (`user_id`,`flow_id`),
  KEY `tour_progress_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `tour_progress` WRITE;
/*!40000 ALTER TABLE `tour_progress` DISABLE KEYS */;
INSERT INTO `tour_progress` VALUES (1,211,1,1,NULL,'2026-07-10 06:49:00','2026-07-10 06:49:30');
/*!40000 ALTER TABLE `tour_progress` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `tour_steps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_steps` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `flow_id` int(10) unsigned NOT NULL,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `route` varchar(255) DEFAULT NULL,
  `target_selector` varchar(255) DEFAULT NULL,
  `title` varchar(200) NOT NULL,
  `body_html` text DEFAULT NULL,
  `media_id` int(10) unsigned DEFAULT NULL,
  `placement` varchar(20) NOT NULL DEFAULT 'auto',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tour_steps_flow_id_sort_order_index` (`flow_id`,`sort_order`),
  KEY `tour_steps_media_id_foreign` (`media_id`),
  CONSTRAINT `tour_steps_flow_id_foreign` FOREIGN KEY (`flow_id`) REFERENCES `tour_flows` (`id`) ON DELETE CASCADE,
  CONSTRAINT `tour_steps_media_id_foreign` FOREIGN KEY (`media_id`) REFERENCES `tour_media` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `tour_steps` WRITE;
/*!40000 ALTER TABLE `tour_steps` DISABLE KEYS */;
INSERT INTO `tour_steps` VALUES (1,1,0,NULL,NULL,'Welcome to VetOne 👋','This quick tour walks you through the whole clinic — appointments, consultations, prescriptions, your pet-owner app and settings. You can replay it any time with the <b>▶ Tour</b> button, bottom-right.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(2,1,1,'/home',NULL,'Your dashboard','Everything starts here: today\'s appointments, quick stats and shortcuts to every part of the clinic.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(3,1,2,'/vet-clinic/appointments',NULL,'Appointments &amp; doctor schedules','Book and manage appointments on the calendar. Each of your doctors has their own weekly schedule and slot length, so the grid only offers times they actually work.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(4,1,3,'/vet-clinic/pets',NULL,'Pets &amp; owners','Every pet has a full clinical history linked to its owner — species, breed, vaccinations, weight trend and past visits.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(5,1,4,NULL,NULL,'The SOAP consultation','Open an appointment to run a <b>SOAP</b> consultation — Subjective, Objective, Assessment, Plan. Chief-complaint chips, lab tests and exam panels are all pre-loaded for you.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(6,1,5,NULL,NULL,'AI scribe &amp; suggestions','Dictate your notes and the AI scribe cleans them, structures them into SOAP, extracts findings and suggests exam panels. (Add a free Groq key in AI settings to switch this on.)',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(7,1,6,'/vet-clinic/prescriptions',NULL,'Prescriptions &amp; medicines','Prescribe from a ready-made veterinary formulary — dosages, frequencies and dispensing all in one place.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(8,1,7,NULL,NULL,'Your pet-owner app','Every clinic gets a branded pet-owner PWA — your logo, your colours. Owners book appointments, see reminders and their pet\'s records from their phone.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(9,1,8,'/whatsapp/channels',NULL,'WhatsApp &amp; AI setup','Connect a WhatsApp number by scanning a QR code to send reminders and let the AI auto-reply. Both WhatsApp and AI are optional.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(10,1,9,'/ai-core/settings',NULL,'Settings','Fine-tune everything here — AI provider keys, editable AI prompts, clinic preferences and staff roles.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43'),(11,1,10,NULL,NULL,'That\'s the tour! 🎉','Your demo is active for <b>48 hours</b>. Explore freely — and when you\'re ready to keep your clinic, contact TPS. Replay this tour any time from the <b>▶ Tour</b> button.',NULL,'auto','2026-07-10 06:48:43','2026-07-10 06:48:43');
/*!40000 ALTER TABLE `tour_steps` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `transaction_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `transaction_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `transaction_id` int(11) unsigned DEFAULT NULL,
  `business_id` int(11) DEFAULT NULL,
  `is_return` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Used during sales to return the change',
  `amount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `method` varchar(191) DEFAULT NULL,
  `payment_type` varchar(191) DEFAULT NULL,
  `transaction_no` varchar(191) DEFAULT NULL,
  `card_transaction_number` varchar(191) DEFAULT NULL,
  `card_number` varchar(191) DEFAULT NULL,
  `card_type` varchar(191) DEFAULT NULL,
  `card_holder_name` varchar(191) DEFAULT NULL,
  `card_month` varchar(191) DEFAULT NULL,
  `card_year` varchar(191) DEFAULT NULL,
  `card_security` varchar(5) DEFAULT NULL,
  `cheque_number` varchar(191) DEFAULT NULL,
  `bank_account_number` varchar(191) DEFAULT NULL,
  `paid_on` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `paid_through_link` tinyint(1) NOT NULL DEFAULT 0,
  `gateway` varchar(191) DEFAULT NULL,
  `is_advance` tinyint(1) NOT NULL DEFAULT 0,
  `payment_for` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `note` varchar(191) DEFAULT NULL,
  `document` varchar(191) DEFAULT NULL,
  `payment_ref_no` varchar(191) DEFAULT NULL,
  `account_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_payments_transaction_id_foreign` (`transaction_id`),
  KEY `transaction_payments_created_by_index` (`created_by`),
  KEY `transaction_payments_parent_id_index` (`parent_id`),
  KEY `transaction_payments_payment_type_index` (`payment_type`),
  CONSTRAINT `transaction_payments_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=265977 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `transaction_payments` WRITE;
/*!40000 ALTER TABLE `transaction_payments` DISABLE KEYS */;
INSERT INTO `transaction_payments` VALUES (265952,295330,5,0,550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-12 20:18:45',164,0,NULL,0,NULL,NULL,NULL,NULL,'VP-1',NULL,'2026-06-12 17:18:45','2026-06-12 17:18:45'),(265953,295331,5,0,300.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-09 20:18:45',164,0,NULL,0,NULL,NULL,NULL,NULL,'VP-2',NULL,'2026-06-09 17:18:45','2026-06-09 17:18:45'),(265954,295332,5,0,2800.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-06 20:18:45',164,0,NULL,0,NULL,NULL,NULL,NULL,'VP-3',NULL,'2026-06-06 17:18:45','2026-06-06 17:18:45'),(265955,295333,5,0,1850.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-03 20:18:45',164,0,NULL,0,NULL,NULL,NULL,NULL,'VP-4',NULL,'2026-06-03 17:18:45','2026-06-03 17:18:45'),(265956,295335,5,0,26750.0000,'bank_transfer',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-05-26 20:18:45',164,0,NULL,0,NULL,NULL,NULL,NULL,'VPP-1',NULL,'2026-05-26 17:18:45','2026-05-26 17:18:45'),(265957,295336,7,0,550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-14 23:55:46',177,0,NULL,0,NULL,NULL,NULL,NULL,'VP-1',NULL,'2026-06-14 20:55:46','2026-06-14 20:55:46'),(265958,295337,7,0,300.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-11 23:55:46',177,0,NULL,0,NULL,NULL,NULL,NULL,'VP-2',NULL,'2026-06-11 20:55:46','2026-06-11 20:55:46'),(265959,295338,7,0,3100.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-08 23:55:46',177,0,NULL,0,NULL,NULL,NULL,NULL,'VP-3',NULL,'2026-06-08 20:55:46','2026-06-08 20:55:46'),(265960,295339,7,0,1550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-05 23:55:46',177,0,NULL,0,NULL,NULL,NULL,NULL,'VP-4',NULL,'2026-06-05 20:55:46','2026-06-05 20:55:46'),(265961,295341,7,0,33000.0000,'bank_transfer',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-05-28 23:55:46',177,0,NULL,0,NULL,NULL,NULL,NULL,'VPP-1',NULL,'2026-05-28 20:55:46','2026-05-28 20:55:46'),(265962,295342,8,0,550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-14 23:58:12',183,0,NULL,0,NULL,NULL,NULL,NULL,'VP-1',NULL,'2026-06-14 20:58:12','2026-06-14 20:58:12'),(265963,295343,8,0,300.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-11 23:58:12',183,0,NULL,0,NULL,NULL,NULL,NULL,'VP-2',NULL,'2026-06-11 20:58:12','2026-06-11 20:58:12'),(265964,295344,8,0,3100.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-08 23:58:12',183,0,NULL,0,NULL,NULL,NULL,NULL,'VP-3',NULL,'2026-06-08 20:58:12','2026-06-08 20:58:12'),(265965,295345,8,0,1550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-05 23:58:12',183,0,NULL,0,NULL,NULL,NULL,NULL,'VP-4',NULL,'2026-06-05 20:58:12','2026-06-05 20:58:12'),(265966,295347,8,0,33000.0000,'bank_transfer',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-05-28 23:58:13',183,0,NULL,0,NULL,NULL,NULL,NULL,'VPP-1',NULL,'2026-05-28 20:58:13','2026-05-28 20:58:13'),(265967,295349,9,0,550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-15 00:00:04',189,0,NULL,0,NULL,NULL,NULL,NULL,'VP-1',NULL,'2026-06-14 21:00:04','2026-06-14 21:00:04'),(265968,295350,9,0,300.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-12 00:00:04',189,0,NULL,0,NULL,NULL,NULL,NULL,'VP-2',NULL,'2026-06-11 21:00:04','2026-06-11 21:00:04'),(265969,295351,9,0,3100.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-09 00:00:04',189,0,NULL,0,NULL,NULL,NULL,NULL,'VP-3',NULL,'2026-06-08 21:00:04','2026-06-08 21:00:04'),(265970,295352,9,0,1550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-06 00:00:04',189,0,NULL,0,NULL,NULL,NULL,NULL,'VP-4',NULL,'2026-06-05 21:00:04','2026-06-05 21:00:04'),(265971,295354,9,0,33000.0000,'bank_transfer',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-05-29 00:00:04',189,0,NULL,0,NULL,NULL,NULL,NULL,'VPP-1',NULL,'2026-05-28 21:00:04','2026-05-28 21:00:04'),(265972,295355,10,0,550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-15 00:11:55',195,0,NULL,0,NULL,NULL,NULL,NULL,'VP-1',NULL,'2026-06-14 21:11:55','2026-06-14 21:11:55'),(265973,295356,10,0,300.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-12 00:11:55',195,0,NULL,0,NULL,NULL,NULL,NULL,'VP-2',NULL,'2026-06-11 21:11:55','2026-06-11 21:11:55'),(265974,295357,10,0,3100.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-09 00:11:55',195,0,NULL,0,NULL,NULL,NULL,NULL,'VP-3',NULL,'2026-06-08 21:11:55','2026-06-08 21:11:55'),(265975,295358,10,0,1550.0000,'cash',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-06 00:11:55',195,0,NULL,0,NULL,NULL,NULL,NULL,'VP-4',NULL,'2026-06-05 21:11:55','2026-06-05 21:11:55'),(265976,295360,10,0,33000.0000,'bank_transfer',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-05-29 00:11:55',195,0,NULL,0,NULL,NULL,NULL,NULL,'VPP-1',NULL,'2026-05-28 21:11:55','2026-05-28 21:11:55');
/*!40000 ALTER TABLE `transaction_payments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `transaction_sell_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `transaction_sell_lines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `transaction_id` int(10) unsigned NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `variation_id` int(10) unsigned NOT NULL,
  `quantity` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `secondary_unit_quantity` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `quantity_returned` decimal(20,4) NOT NULL DEFAULT 0.0000,
  `unit_price_before_discount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `unit_price` decimal(22,4) DEFAULT NULL COMMENT 'Sell price excluding tax',
  `line_discount_type` enum('fixed','percentage') DEFAULT NULL,
  `line_discount_amount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `unit_price_inc_tax` decimal(22,4) DEFAULT NULL COMMENT 'Sell price including tax',
  `item_tax` decimal(22,4) NOT NULL COMMENT 'Tax for one quantity',
  `tax_id` int(10) unsigned DEFAULT NULL,
  `discount_id` int(11) DEFAULT NULL,
  `lot_no_line_id` int(11) DEFAULT NULL,
  `sell_line_note` text DEFAULT NULL,
  `so_line_id` int(11) DEFAULT NULL,
  `so_quantity_invoiced` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `res_service_staff_id` int(11) DEFAULT NULL,
  `res_line_order_status` varchar(191) DEFAULT NULL,
  `parent_sell_line_id` int(11) DEFAULT NULL,
  `children_type` varchar(191) NOT NULL DEFAULT '' COMMENT 'Type of children for the parent, like modifier or combo',
  `sub_unit_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_sell_lines_transaction_id_foreign` (`transaction_id`),
  KEY `transaction_sell_lines_product_id_foreign` (`product_id`),
  KEY `transaction_sell_lines_variation_id_foreign` (`variation_id`),
  KEY `transaction_sell_lines_tax_id_foreign` (`tax_id`),
  KEY `transaction_sell_lines_children_type_index` (`children_type`),
  KEY `transaction_sell_lines_parent_sell_line_id_index` (`parent_sell_line_id`),
  KEY `transaction_sell_lines_line_discount_type_index` (`line_discount_type`),
  KEY `transaction_sell_lines_discount_id_index` (`discount_id`),
  KEY `transaction_sell_lines_lot_no_line_id_index` (`lot_no_line_id`),
  KEY `transaction_sell_lines_sub_unit_id_index` (`sub_unit_id`),
  CONSTRAINT `transaction_sell_lines_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transaction_sell_lines_tax_id_foreign` FOREIGN KEY (`tax_id`) REFERENCES `tax_rates` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transaction_sell_lines_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transaction_sell_lines_variation_id_foreign` FOREIGN KEY (`variation_id`) REFERENCES `variations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=366928 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `transaction_sell_lines` WRITE;
/*!40000 ALTER TABLE `transaction_sell_lines` DISABLE KEYS */;
INSERT INTO `transaction_sell_lines` VALUES (366883,295330,15662,15646,1.0000,0.0000,0.0000,200.0000,200.0000,NULL,0.0000,200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-12 17:18:45','2026-06-12 17:18:45'),(366884,295330,15666,15650,1.0000,0.0000,0.0000,350.0000,350.0000,NULL,0.0000,350.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-12 17:18:45','2026-06-12 17:18:45'),(366885,295331,15663,15647,2.0000,0.0000,0.0000,150.0000,150.0000,NULL,0.0000,150.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-09 17:18:45','2026-06-09 17:18:45'),(366886,295332,15650,15634,1.0000,0.0000,0.0000,400.0000,400.0000,NULL,0.0000,400.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-06 17:18:45','2026-06-06 17:18:45'),(366887,295332,15665,15649,2.0000,0.0000,0.0000,1200.0000,1200.0000,NULL,0.0000,1200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-06 17:18:45','2026-06-06 17:18:45'),(366888,295333,15664,15648,1.0000,0.0000,0.0000,2500.0000,2500.0000,NULL,0.0000,2500.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-03 17:18:45','2026-06-03 17:18:45'),(366889,295333,15667,15651,2.0000,0.0000,0.0000,600.0000,600.0000,NULL,0.0000,600.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-03 17:18:45','2026-06-03 17:18:45'),(366890,295334,15668,15652,1.0000,0.0000,0.0000,300.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-05-31 17:18:45','2026-05-31 17:18:45'),(366891,295336,15751,15735,1.0000,0.0000,0.0000,200.0000,200.0000,NULL,0.0000,200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 20:55:46','2026-06-14 20:55:46'),(366892,295336,15755,15739,1.0000,0.0000,0.0000,350.0000,350.0000,NULL,0.0000,350.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 20:55:46','2026-06-14 20:55:46'),(366893,295337,15752,15736,2.0000,0.0000,0.0000,150.0000,150.0000,NULL,0.0000,150.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-11 20:55:46','2026-06-11 20:55:46'),(366894,295338,15761,15745,1.0000,0.0000,0.0000,700.0000,700.0000,NULL,0.0000,700.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 20:55:46','2026-06-08 20:55:46'),(366895,295338,15754,15738,2.0000,0.0000,0.0000,1200.0000,1200.0000,NULL,0.0000,1200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 20:55:46','2026-06-08 20:55:46'),(366896,295339,15753,15737,1.0000,0.0000,0.0000,2500.0000,2500.0000,NULL,0.0000,2500.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 20:55:46','2026-06-05 20:55:46'),(366897,295339,15756,15740,2.0000,0.0000,0.0000,300.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 20:55:46','2026-06-05 20:55:46'),(366898,295340,15757,15741,1.0000,0.0000,0.0000,450.0000,450.0000,NULL,0.0000,450.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-02 20:55:46','2026-06-02 20:55:46'),(366899,295342,15804,15788,1.0000,0.0000,0.0000,200.0000,200.0000,NULL,0.0000,200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 20:58:12','2026-06-14 20:58:12'),(366900,295342,15808,15792,1.0000,0.0000,0.0000,350.0000,350.0000,NULL,0.0000,350.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 20:58:12','2026-06-14 20:58:12'),(366901,295343,15805,15789,2.0000,0.0000,0.0000,150.0000,150.0000,NULL,0.0000,150.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-11 20:58:12','2026-06-11 20:58:12'),(366902,295344,15814,15798,1.0000,0.0000,0.0000,700.0000,700.0000,NULL,0.0000,700.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 20:58:12','2026-06-08 20:58:12'),(366903,295344,15807,15791,2.0000,0.0000,0.0000,1200.0000,1200.0000,NULL,0.0000,1200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 20:58:12','2026-06-08 20:58:12'),(366904,295345,15806,15790,1.0000,0.0000,0.0000,2500.0000,2500.0000,NULL,0.0000,2500.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 20:58:12','2026-06-05 20:58:12'),(366905,295345,15809,15793,2.0000,0.0000,0.0000,300.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 20:58:12','2026-06-05 20:58:12'),(366906,295346,15810,15794,1.0000,0.0000,0.0000,450.0000,450.0000,NULL,0.0000,450.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-02 20:58:13','2026-06-02 20:58:13'),(366907,295348,15809,15793,1.0000,0.0000,0.0000,0.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(366908,295348,15809,15793,1.0000,0.0000,0.0000,0.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(366909,295349,15857,15841,1.0000,0.0000,0.0000,200.0000,200.0000,NULL,0.0000,200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 21:00:04','2026-06-14 21:00:04'),(366910,295349,15861,15845,1.0000,0.0000,0.0000,350.0000,350.0000,NULL,0.0000,350.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 21:00:04','2026-06-14 21:00:04'),(366911,295350,15858,15842,2.0000,0.0000,0.0000,150.0000,150.0000,NULL,0.0000,150.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-11 21:00:04','2026-06-11 21:00:04'),(366912,295351,15867,15851,1.0000,0.0000,0.0000,700.0000,700.0000,NULL,0.0000,700.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 21:00:04','2026-06-08 21:00:04'),(366913,295351,15860,15844,2.0000,0.0000,0.0000,1200.0000,1200.0000,NULL,0.0000,1200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 21:00:04','2026-06-08 21:00:04'),(366914,295352,15859,15843,1.0000,0.0000,0.0000,2500.0000,2500.0000,NULL,0.0000,2500.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 21:00:04','2026-06-05 21:00:04'),(366915,295352,15862,15846,2.0000,0.0000,0.0000,300.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 21:00:04','2026-06-05 21:00:04'),(366916,295353,15863,15847,1.0000,0.0000,0.0000,450.0000,450.0000,NULL,0.0000,450.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-02 21:00:04','2026-06-02 21:00:04'),(366917,295355,15910,15894,1.0000,0.0000,0.0000,200.0000,200.0000,NULL,0.0000,200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 21:11:55','2026-06-14 21:11:55'),(366918,295355,15914,15898,1.0000,0.0000,0.0000,350.0000,350.0000,NULL,0.0000,350.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-14 21:11:55','2026-06-14 21:11:55'),(366919,295356,15911,15895,2.0000,0.0000,0.0000,150.0000,150.0000,NULL,0.0000,150.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-11 21:11:55','2026-06-11 21:11:55'),(366920,295357,15920,15904,1.0000,0.0000,0.0000,700.0000,700.0000,NULL,0.0000,700.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 21:11:55','2026-06-08 21:11:55'),(366921,295357,15913,15897,2.0000,0.0000,0.0000,1200.0000,1200.0000,NULL,0.0000,1200.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-08 21:11:55','2026-06-08 21:11:55'),(366922,295358,15912,15896,1.0000,0.0000,0.0000,2500.0000,2500.0000,NULL,0.0000,2500.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 21:11:55','2026-06-05 21:11:55'),(366923,295358,15915,15899,2.0000,0.0000,0.0000,300.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-05 21:11:55','2026-06-05 21:11:55'),(366924,295359,15916,15900,1.0000,0.0000,0.0000,450.0000,450.0000,NULL,0.0000,450.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-02 21:11:55','2026-06-02 21:11:55'),(366925,295361,15915,15899,1.0000,0.0000,0.0000,0.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-18 21:44:29','2026-06-18 21:44:29'),(366926,295361,15915,15899,1.0000,0.0000,0.0000,0.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-18 21:44:29','2026-06-18 21:44:29'),(366927,295361,15915,15899,1.0000,0.0000,0.0000,0.0000,300.0000,NULL,0.0000,300.0000,0.0000,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,'',NULL,'2026-06-18 21:44:29','2026-06-18 21:44:29');
/*!40000 ALTER TABLE `transaction_sell_lines` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `transaction_sell_lines_purchase_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `transaction_sell_lines_purchase_lines` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `sell_line_id` int(10) unsigned DEFAULT NULL COMMENT 'id from transaction_sell_lines',
  `stock_adjustment_line_id` int(10) unsigned DEFAULT NULL COMMENT 'id from stock_adjustment_lines',
  `purchase_line_id` int(10) unsigned NOT NULL COMMENT 'id from purchase_lines',
  `quantity` decimal(22,4) NOT NULL,
  `qty_returned` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sell_line_id` (`sell_line_id`),
  KEY `stock_adjustment_line_id` (`stock_adjustment_line_id`),
  KEY `purchase_line_id` (`purchase_line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=45859681 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `transaction_sell_lines_purchase_lines` WRITE;
/*!40000 ALTER TABLE `transaction_sell_lines_purchase_lines` DISABLE KEYS */;
/*!40000 ALTER TABLE `transaction_sell_lines_purchase_lines` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `transactions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `is_kitchen_order` tinyint(1) NOT NULL DEFAULT 0,
  `res_table_id` int(10) unsigned DEFAULT NULL COMMENT 'fields to restaurant module',
  `res_waiter_id` int(10) unsigned DEFAULT NULL COMMENT 'fields to restaurant module',
  `res_order_status` enum('received','cooked','served') DEFAULT NULL,
  `type` varchar(191) DEFAULT NULL,
  `sub_type` varchar(20) DEFAULT NULL,
  `status` varchar(191) NOT NULL,
  `sub_status` varchar(191) DEFAULT NULL,
  `is_quotation` tinyint(1) NOT NULL DEFAULT 0,
  `payment_status` enum('paid','due','partial') DEFAULT NULL,
  `adjustment_type` enum('normal','abnormal') DEFAULT NULL,
  `contact_id` int(11) unsigned DEFAULT NULL,
  `customer_group_id` int(11) DEFAULT NULL COMMENT 'used to add customer group while selling',
  `invoice_no` varchar(191) DEFAULT NULL,
  `ref_no` varchar(191) DEFAULT NULL,
  `source` varchar(191) DEFAULT NULL,
  `subscription_no` varchar(191) DEFAULT NULL,
  `subscription_repeat_on` varchar(191) DEFAULT NULL,
  `transaction_date` datetime NOT NULL,
  `total_before_tax` decimal(22,4) NOT NULL DEFAULT 0.0000 COMMENT 'Total before the purchase/invoice tax, this includeds the indivisual product tax',
  `tax_id` int(10) unsigned DEFAULT NULL,
  `tax_amount` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `discount_type` enum('fixed','percentage') DEFAULT NULL,
  `discount_amount` decimal(22,4) DEFAULT 0.0000,
  `rp_redeemed` int(11) NOT NULL DEFAULT 0 COMMENT 'rp is the short form of reward points',
  `rp_redeemed_amount` decimal(22,4) NOT NULL DEFAULT 0.0000 COMMENT 'rp is the short form of reward points',
  `shipping_details` varchar(191) DEFAULT NULL,
  `shipping_address` text DEFAULT NULL,
  `delivery_date` datetime DEFAULT NULL,
  `shipping_status` varchar(191) DEFAULT NULL,
  `delivered_to` varchar(191) DEFAULT NULL,
  `delivery_person` bigint(20) DEFAULT NULL,
  `shipping_charges` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `shipping_custom_field_1` varchar(191) DEFAULT NULL,
  `shipping_custom_field_2` varchar(191) DEFAULT NULL,
  `shipping_custom_field_3` varchar(191) DEFAULT NULL,
  `shipping_custom_field_4` varchar(191) DEFAULT NULL,
  `shipping_custom_field_5` varchar(191) DEFAULT NULL,
  `additional_notes` text DEFAULT NULL,
  `staff_note` text DEFAULT NULL,
  `is_export` tinyint(1) NOT NULL DEFAULT 0,
  `export_custom_fields_info` longtext DEFAULT NULL,
  `round_off_amount` decimal(22,4) NOT NULL DEFAULT 0.0000 COMMENT 'Difference of rounded total and actual total',
  `additional_expense_key_1` varchar(191) DEFAULT NULL,
  `additional_expense_value_1` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `additional_expense_key_2` varchar(191) DEFAULT NULL,
  `additional_expense_value_2` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `additional_expense_key_3` varchar(191) DEFAULT NULL,
  `additional_expense_value_3` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `additional_expense_key_4` varchar(191) DEFAULT NULL,
  `additional_expense_value_4` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `final_total` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `expense_category_id` int(10) unsigned DEFAULT NULL,
  `expense_sub_category_id` int(11) DEFAULT NULL,
  `expense_for` int(10) unsigned DEFAULT NULL,
  `commission_agent` int(11) DEFAULT NULL,
  `document` varchar(191) DEFAULT NULL,
  `is_direct_sale` tinyint(1) NOT NULL DEFAULT 0,
  `is_suspend` tinyint(1) NOT NULL DEFAULT 0,
  `exchange_rate` decimal(20,3) NOT NULL DEFAULT 1.000,
  `total_amount_recovered` decimal(22,4) DEFAULT NULL COMMENT 'Used for stock adjustment.',
  `transfer_parent_id` int(11) DEFAULT NULL,
  `return_parent_id` int(11) DEFAULT NULL,
  `opening_stock_product_id` int(11) DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `purchase_requisition_ids` text DEFAULT NULL,
  `essentials_duration` decimal(8,2) NOT NULL,
  `essentials_duration_unit` varchar(20) DEFAULT NULL,
  `essentials_amount_per_unit_duration` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `essentials_allowances` text DEFAULT NULL,
  `essentials_deductions` text DEFAULT NULL,
  `crm_is_order_request` tinyint(1) NOT NULL DEFAULT 0,
  `prefer_payment_method` varchar(191) DEFAULT NULL,
  `prefer_payment_account` int(11) DEFAULT NULL,
  `sales_order_ids` text DEFAULT NULL,
  `purchase_order_ids` text DEFAULT NULL,
  `custom_field_1` varchar(191) DEFAULT NULL,
  `custom_field_2` varchar(191) DEFAULT NULL,
  `custom_field_3` varchar(191) DEFAULT NULL,
  `custom_field_4` varchar(191) DEFAULT NULL,
  `import_batch` int(11) DEFAULT NULL,
  `import_time` datetime DEFAULT NULL,
  `types_of_service_id` int(11) DEFAULT NULL,
  `packing_charge` decimal(22,4) DEFAULT NULL,
  `packing_charge_type` enum('fixed','percent') DEFAULT NULL,
  `service_custom_field_1` text DEFAULT NULL,
  `service_custom_field_2` text DEFAULT NULL,
  `service_custom_field_3` text DEFAULT NULL,
  `service_custom_field_4` text DEFAULT NULL,
  `service_custom_field_5` text DEFAULT NULL,
  `service_custom_field_6` text DEFAULT NULL,
  `is_created_from_api` tinyint(1) NOT NULL DEFAULT 0,
  `rp_earned` int(11) NOT NULL DEFAULT 0 COMMENT 'rp is the short form of reward points',
  `order_addresses` text DEFAULT NULL,
  `is_recurring` tinyint(1) NOT NULL DEFAULT 0,
  `recur_interval` double(22,4) DEFAULT NULL,
  `recur_interval_type` enum('days','months','years') DEFAULT NULL,
  `recur_repetitions` int(11) DEFAULT NULL,
  `recur_stopped_on` datetime DEFAULT NULL,
  `recur_parent_id` int(11) DEFAULT NULL,
  `invoice_token` varchar(191) DEFAULT NULL,
  `pay_term_number` int(11) DEFAULT NULL,
  `pay_term_type` enum('days','months') DEFAULT NULL,
  `selling_price_group_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transactions_tax_id_foreign` (`tax_id`),
  KEY `transactions_business_id_index` (`business_id`),
  KEY `transactions_type_index` (`type`),
  KEY `transactions_contact_id_index` (`contact_id`),
  KEY `transactions_transaction_date_index` (`transaction_date`),
  KEY `transactions_created_by_index` (`created_by`),
  KEY `transactions_location_id_index` (`location_id`),
  KEY `transactions_expense_for_foreign` (`expense_for`),
  KEY `transactions_expense_category_id_index` (`expense_category_id`),
  KEY `transactions_sub_type_index` (`sub_type`),
  KEY `transactions_return_parent_id_index` (`return_parent_id`),
  KEY `type` (`type`),
  KEY `transactions_status_index` (`status`),
  KEY `transactions_sub_status_index` (`sub_status`),
  KEY `transactions_res_table_id_index` (`res_table_id`),
  KEY `transactions_res_waiter_id_index` (`res_waiter_id`),
  KEY `transactions_res_order_status_index` (`res_order_status`),
  KEY `transactions_payment_status_index` (`payment_status`),
  KEY `transactions_discount_type_index` (`discount_type`),
  KEY `transactions_commission_agent_index` (`commission_agent`),
  KEY `transactions_transfer_parent_id_index` (`transfer_parent_id`),
  KEY `transactions_types_of_service_id_index` (`types_of_service_id`),
  KEY `transactions_packing_charge_type_index` (`packing_charge_type`),
  KEY `transactions_recur_parent_id_index` (`recur_parent_id`),
  KEY `transactions_selling_price_group_id_index` (`selling_price_group_id`),
  KEY `transactions_delivery_date_index` (`delivery_date`),
  KEY `transactions_delivery_person_index` (`delivery_person`),
  CONSTRAINT `transactions_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transactions_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transactions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transactions_expense_category_id_foreign` FOREIGN KEY (`expense_category_id`) REFERENCES `expense_categories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transactions_expense_for_foreign` FOREIGN KEY (`expense_for`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `transactions_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `business_locations` (`id`),
  CONSTRAINT `transactions_tax_id_foreign` FOREIGN KEY (`tax_id`) REFERENCES `tax_rates` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=295362 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `transactions` WRITE;
/*!40000 ALTER TABLE `transactions` DISABLE KEYS */;
INSERT INTO `transactions` VALUES (295355,10,31,0,NULL,NULL,NULL,'sell',NULL,'final',NULL,0,'paid',NULL,6092,NULL,'VET-INV-0001',NULL,NULL,NULL,NULL,'2026-06-15 00:11:55',550.0000,NULL,0.0000,NULL,0.0000,0,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,550.0000,NULL,NULL,NULL,NULL,NULL,0,0,1.000,NULL,NULL,NULL,NULL,195,NULL,0.00,NULL,0.0000,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-14 21:11:55','2026-06-14 21:11:55'),(295356,10,31,0,NULL,NULL,NULL,'sell',NULL,'final',NULL,0,'paid',NULL,6093,NULL,'VET-INV-0002',NULL,NULL,NULL,NULL,'2026-06-12 00:11:55',300.0000,NULL,0.0000,NULL,0.0000,0,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,300.0000,NULL,NULL,NULL,NULL,NULL,0,0,1.000,NULL,NULL,NULL,NULL,195,NULL,0.00,NULL,0.0000,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-11 21:11:55','2026-06-11 21:11:55'),(295357,10,31,0,NULL,NULL,NULL,'sell',NULL,'final',NULL,0,'paid',NULL,6094,NULL,'VET-INV-0003',NULL,NULL,NULL,NULL,'2026-06-09 00:11:55',3100.0000,NULL,0.0000,NULL,0.0000,0,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,3100.0000,NULL,NULL,NULL,NULL,NULL,0,0,1.000,NULL,NULL,NULL,NULL,195,NULL,0.00,NULL,0.0000,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-08 21:11:55','2026-06-08 21:11:55'),(295358,10,31,0,NULL,NULL,NULL,'sell',NULL,'final',NULL,0,'partial',NULL,6095,NULL,'VET-INV-0004',NULL,NULL,NULL,NULL,'2026-06-06 00:11:55',3100.0000,NULL,0.0000,NULL,0.0000,0,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,3100.0000,NULL,NULL,NULL,NULL,NULL,0,0,1.000,NULL,NULL,NULL,NULL,195,NULL,0.00,NULL,0.0000,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-05 21:11:55','2026-06-05 21:11:55'),(295359,10,31,0,NULL,NULL,NULL,'sell',NULL,'final',NULL,0,'due',NULL,6096,NULL,'VET-INV-0005',NULL,NULL,NULL,NULL,'2026-06-03 00:11:55',450.0000,NULL,0.0000,NULL,0.0000,0,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,450.0000,NULL,NULL,NULL,NULL,NULL,0,0,1.000,NULL,NULL,NULL,NULL,195,NULL,0.00,NULL,0.0000,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-02 21:11:55','2026-06-02 21:11:55'),(295360,10,33,0,NULL,NULL,NULL,'purchase',NULL,'received',NULL,0,'paid',NULL,6089,NULL,NULL,'VET-PO-0001',NULL,NULL,NULL,'2026-05-29 00:11:55',33000.0000,NULL,0.0000,NULL,0.0000,0,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,33000.0000,NULL,NULL,NULL,NULL,NULL,0,0,1.000,NULL,NULL,NULL,NULL,195,NULL,0.00,NULL,0.0000,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-05-28 21:11:55','2026-05-28 21:11:55'),(295361,10,31,0,NULL,NULL,NULL,'sell',NULL,'final',NULL,0,NULL,NULL,6094,NULL,'ADM-ADM-0003',NULL,NULL,NULL,NULL,'2026-06-19 00:44:29',900.0000,NULL,0.0000,NULL,0.0000,0,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,0.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,NULL,0.0000,900.0000,NULL,NULL,NULL,NULL,NULL,0,0,1.000,NULL,NULL,NULL,NULL,195,NULL,0.00,NULL,0.0000,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,NULL,NULL,NULL,NULL,NULL,'ab40378a5ab69822dfda9cf23cd7a402',NULL,NULL,NULL,'2026-06-18 21:44:29','2026-06-18 21:44:29');
/*!40000 ALTER TABLE `transactions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `types_of_services`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `types_of_services` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `business_id` int(11) NOT NULL,
  `location_price_group` text DEFAULT NULL,
  `packing_charge` decimal(22,4) DEFAULT NULL,
  `packing_charge_type` enum('fixed','percent') DEFAULT NULL,
  `enable_custom_fields` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `types_of_services_business_id_index` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `types_of_services` WRITE;
/*!40000 ALTER TABLE `types_of_services` DISABLE KEYS */;
/*!40000 ALTER TABLE `types_of_services` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `units`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `units` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `actual_name` varchar(191) NOT NULL,
  `short_name` varchar(191) NOT NULL,
  `allow_decimal` tinyint(1) NOT NULL,
  `base_unit_id` int(11) DEFAULT NULL,
  `base_unit_multiplier` decimal(20,4) DEFAULT NULL,
  `created_by` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `units_business_id_foreign` (`business_id`),
  KEY `units_created_by_foreign` (`created_by`),
  KEY `units_base_unit_id_index` (`base_unit_id`),
  CONSTRAINT `units_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `units_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `units` WRITE;
/*!40000 ALTER TABLE `units` DISABLE KEYS */;
INSERT INTO `units` VALUES (5,5,'Pieces','Pc(s)',0,NULL,NULL,164,NULL,'2026-06-15 17:18:42','2026-06-15 17:18:42'),(6,6,'Pieces','Pc(s)',0,NULL,NULL,171,NULL,'2026-06-17 20:54:54','2026-06-17 20:54:54'),(7,7,'Pieces','Pc(s)',0,NULL,NULL,177,NULL,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(8,8,'Pieces','Pc(s)',0,NULL,NULL,183,NULL,'2026-06-17 20:58:10','2026-06-17 20:58:10'),(9,9,'Pieces','Pc(s)',0,NULL,NULL,189,NULL,'2026-06-17 21:00:01','2026-06-17 21:00:01'),(10,10,'Pieces','Pc(s)',0,NULL,NULL,195,NULL,'2026-06-17 21:11:53','2026-06-17 21:11:53');
/*!40000 ALTER TABLE `units` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `urology_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `urology_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `psa` decimal(8,2) DEFAULT NULL,
  `ipss` int(11) DEFAULT NULL,
  `luts` varchar(40) DEFAULT NULL,
  `uroflow` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `urology_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `urology_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `urology_patient_profiles` WRITE;
/*!40000 ALTER TABLE `urology_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `urology_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `user_contact_access`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_contact_access` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_contact_access_user_id_index` (`user_id`),
  KEY `user_contact_access_contact_id_index` (`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2377 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `user_contact_access` WRITE;
/*!40000 ALTER TABLE `user_contact_access` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_contact_access` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_type` varchar(191) NOT NULL DEFAULT 'user',
  `surname` char(10) DEFAULT NULL,
  `first_name` varchar(191) NOT NULL,
  `last_name` varchar(191) DEFAULT NULL,
  `username` varchar(191) DEFAULT NULL,
  `email` varchar(191) DEFAULT NULL,
  `password` varchar(191) DEFAULT NULL,
  `language` char(7) NOT NULL DEFAULT 'en',
  `contact_no` char(15) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `available_at` datetime DEFAULT NULL COMMENT 'Service staff avilable at. Calculated from product preparation_time_in_minutes',
  `paused_at` datetime DEFAULT NULL COMMENT 'Service staff available time paused at, Will be nulled on resume.',
  `essentials_department_id` int(11) DEFAULT NULL,
  `essentials_designation_id` int(11) DEFAULT NULL,
  `essentials_salary` decimal(22,4) DEFAULT NULL,
  `essentials_pay_period` varchar(191) DEFAULT NULL,
  `essentials_pay_cycle` varchar(191) DEFAULT NULL,
  `max_sales_discount_percent` decimal(5,2) DEFAULT NULL,
  `allow_login` tinyint(1) NOT NULL DEFAULT 1,
  `status` enum('active','inactive','terminated') NOT NULL DEFAULT 'active',
  `is_enable_service_staff_pin` tinyint(1) NOT NULL DEFAULT 0,
  `service_staff_pin` text DEFAULT NULL,
  `crm_contact_id` int(10) unsigned DEFAULT NULL,
  `is_cmmsn_agnt` tinyint(1) NOT NULL DEFAULT 0,
  `cmmsn_percent` decimal(4,2) NOT NULL DEFAULT 0.00,
  `selected_contacts` tinyint(1) NOT NULL DEFAULT 0,
  `dob` date DEFAULT NULL,
  `gender` varchar(191) DEFAULT NULL,
  `marital_status` enum('married','unmarried','divorced') DEFAULT NULL,
  `blood_group` char(10) DEFAULT NULL,
  `contact_number` char(20) DEFAULT NULL,
  `alt_number` varchar(191) DEFAULT NULL,
  `family_number` varchar(191) DEFAULT NULL,
  `fb_link` varchar(191) DEFAULT NULL,
  `twitter_link` varchar(191) DEFAULT NULL,
  `social_media_1` varchar(191) DEFAULT NULL,
  `social_media_2` varchar(191) DEFAULT NULL,
  `permanent_address` text DEFAULT NULL,
  `current_address` text DEFAULT NULL,
  `guardian_name` varchar(191) DEFAULT NULL,
  `custom_field_1` varchar(191) DEFAULT NULL,
  `custom_field_2` varchar(191) DEFAULT NULL,
  `custom_field_3` varchar(191) DEFAULT NULL,
  `custom_field_4` varchar(191) DEFAULT NULL,
  `bank_details` longtext DEFAULT NULL,
  `id_proof_name` varchar(191) DEFAULT NULL,
  `id_proof_number` varchar(191) DEFAULT NULL,
  `location_id` int(11) DEFAULT NULL COMMENT 'user primary work location',
  `crm_department` varchar(191) DEFAULT NULL COMMENT 'Contact person''s department',
  `crm_designation` varchar(191) DEFAULT NULL COMMENT 'Contact person''s designation',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `users_username_unique` (`username`),
  KEY `users_business_id_foreign` (`business_id`),
  KEY `users_user_type_index` (`user_type`),
  KEY `users_crm_contact_id_foreign` (`crm_contact_id`),
  KEY `users_crm_contact_id_index` (`crm_contact_id`),
  KEY `users_essentials_department_id_index` (`essentials_department_id`),
  KEY `users_essentials_designation_id_index` (`essentials_designation_id`),
  CONSTRAINT `users_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `users_crm_contact_id_foreign` FOREIGN KEY (`crm_contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=219 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (195,'user','Dr','Hossam','Makram','vetone','owner@vetone.test','$2y$10$O7F4wdYvXK9JXVA9IozFUuHISEt8F0M6FMR5qc1zVJiowcStvtdHW','en',NULL,NULL,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'active',0,NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:53','2026-06-23 22:38:32'),(196,'user','Dr','Yasmin','Fahmy','vet.yasmin','vet1@vetone.test','$2y$10$MqJLqAr1sAj0TAxtsWVVvuBpBuf5/xfHduBsOZFU0T9Sb1J5xVW.q','en',NULL,NULL,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'active',0,NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(197,'user','Dr','Omar','Sherif','vet.omar','vet2@vetone.test','$2y$10$F3WoE4aO/.OdeTUtfFki8uzAe14ebSbONk3pjTHaSMDPPm4Fum08C','en',NULL,NULL,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'active',0,NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(198,'user','Ms','Salma','Adel','reception.vetone','reception@vetone.test','$2y$10$EZ7KiXUIVHPbkf1LlFn5BunHUbEbHYHwvvCEDxMULGiUMIk/jHucy','en',NULL,NULL,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'active',0,NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(199,'user','Mr','Hany','Naguib','pharmacist.vetone','pharmacy@vetone.test','$2y$10$teoAP89KvIp8DXRwmPIEZOr53erdKBHetpvuaP01rOr8ibjZxDnhK','en',NULL,NULL,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'active',0,NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(200,'user','Mr','Tarek','Fouad','accountant.vetone','accountant@vetone.test','$2y$10$Gfsw/iAP8sF14LORK67aLuMclUV5KvbOI3aAqEhEG4g0p/E0566Ci','en',NULL,NULL,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'active',0,NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(201,'user','Demo','Admin',NULL,'demo_vet_admin','demo_vet_admin@demo.local','$2y$10$GtuwdcowxTeMP7a/Ws9Ip.MKjbCDE2IaT0daNWZJ8iAjaDlj3HhN2','en',NULL,NULL,NULL,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'active',0,NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-06-24 21:46:15','2026-06-24 21:46:15');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_admission_care_plan`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_admission_care_plan` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admission_id` int(10) unsigned NOT NULL,
  `care_task_type_id` int(10) unsigned NOT NULL,
  `times_per_day` tinyint(3) unsigned NOT NULL DEFAULT 1,
  `schedule_times` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`schedule_times`)),
  `instructions` varchar(500) DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_admission_care_plan_admission_id_index` (`admission_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_admission_care_plan` WRITE;
/*!40000 ALTER TABLE `va_admission_care_plan` DISABLE KEYS */;
INSERT INTO `va_admission_care_plan` VALUES (8,19,1,3,'[\"08:00\",\"14:00\",\"20:00\"]','Offer food; record intake.',1,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(9,19,2,4,'[\"06:00\",\"12:00\",\"18:00\",\"23:00\"]','Refresh water; check hydration.',1,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(10,21,1,3,'[\"08:00\",\"14:00\",\"20:00\"]','Offer food; record intake.',1,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(11,21,2,4,'[\"06:00\",\"12:00\",\"18:00\",\"23:00\"]','Refresh water; check hydration.',1,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `va_admission_care_plan` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_admission_fluids`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_admission_fluids` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admission_id` int(10) unsigned NOT NULL,
  `fluid_type` varchar(80) NOT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `rate_ml_per_hr` decimal(8,2) NOT NULL,
  `rate_ml_per_kg_per_hr` decimal(6,2) DEFAULT NULL,
  `bag_size_ml` decimal(8,2) NOT NULL,
  `started_at` datetime NOT NULL,
  `estimated_end_at` datetime DEFAULT NULL,
  `ended_at` datetime DEFAULT NULL,
  `total_volume_given_ml` decimal(10,2) NOT NULL DEFAULT 0.00,
  `notes` varchar(500) DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_admission_fluids_admission_id_active_index` (`admission_id`,`active`),
  KEY `va_admission_fluids_admission_id_index` (`admission_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_admission_fluids` WRITE;
/*!40000 ALTER TABLE `va_admission_fluids` DISABLE KEYS */;
INSERT INTO `va_admission_fluids` VALUES (2,19,'Lactated Ringer\'s',NULL,60.00,NULL,1000.00,'2026-06-17 20:11:55','2026-06-18 12:51:55',NULL,0.00,NULL,1,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(3,21,'Lactated Ringer\'s',NULL,60.00,NULL,1000.00,'2026-06-17 20:11:55','2026-06-18 12:51:55',NULL,0.00,NULL,1,195,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `va_admission_fluids` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_admission_medications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_admission_medications` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admission_id` int(10) unsigned NOT NULL,
  `medicine_id` int(10) unsigned DEFAULT NULL,
  `medicine_name` varchar(150) NOT NULL,
  `route` enum('PO','IV','SC','IM','topical','inhalation','PR','other') NOT NULL DEFAULT 'PO',
  `dose_mg_per_kg` decimal(10,4) DEFAULT NULL,
  `dose_total_mg` decimal(10,4) DEFAULT NULL,
  `concentration_mg_per_ml` decimal(10,4) DEFAULT NULL,
  `volume_per_dose_ml` decimal(10,4) DEFAULT NULL,
  `weight_kg_used` decimal(8,2) DEFAULT NULL,
  `frequency_hours` tinyint(3) unsigned NOT NULL DEFAULT 8,
  `duration_hours` smallint(5) unsigned DEFAULT NULL,
  `start_at` datetime NOT NULL,
  `end_at` datetime DEFAULT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_admission_medications_admission_id_active_index` (`admission_id`,`active`),
  KEY `va_admission_medications_admission_id_index` (`admission_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_admission_medications` WRITE;
/*!40000 ALTER TABLE `va_admission_medications` DISABLE KEYS */;
INSERT INTO `va_admission_medications` VALUES (4,19,479,'Amoxicillin','PO',NULL,250.0000,NULL,NULL,NULL,8,NULL,'2026-06-16 00:11:55','2026-06-21 00:11:55',NULL,1,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(5,19,557,'Buprenorphine','IV',NULL,NULL,NULL,0.3000,NULL,8,NULL,'2026-06-16 00:11:55','2026-06-21 00:11:55',NULL,1,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(6,21,479,'Amoxicillin','PO',NULL,250.0000,NULL,NULL,NULL,8,NULL,'2026-06-17 00:11:55','2026-06-22 00:11:55',NULL,1,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(7,21,557,'Buprenorphine','IV',NULL,NULL,NULL,0.3000,NULL,8,NULL,'2026-06-17 00:11:55','2026-06-22 00:11:55',NULL,1,195,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `va_admission_medications` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_admission_reasons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_admission_reasons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_admission_reasons_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_admission_reasons` WRITE;
/*!40000 ALTER TABLE `va_admission_reasons` DISABLE KEYS */;
INSERT INTO `va_admission_reasons` VALUES (1,NULL,'Hospitalization for Observation','active',1,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(2,NULL,'Post-Surgical Recovery','active',2,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(3,NULL,'IV Fluid Therapy','active',3,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(4,NULL,'Severe Dehydration','active',4,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(5,NULL,'Gastrointestinal Upset','active',5,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(6,NULL,'Critical / Emergency Care','active',6,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(7,NULL,'Isolation (Infectious)','active',7,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(8,NULL,'Boarding','active',8,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(9,NULL,'Wound Management','active',9,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(10,NULL,'Seizure Monitoring','active',10,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(11,NULL,'Pain Management','active',11,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(12,NULL,'Nutritional Support','active',12,'2026-06-18 22:57:08','2026-06-18 22:57:08');
/*!40000 ALTER TABLE `va_admission_reasons` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_admission_vitals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_admission_vitals` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admission_id` int(10) unsigned NOT NULL,
  `recorded_at` datetime NOT NULL,
  `temperature` decimal(5,2) DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `heart_rate` smallint(5) unsigned DEFAULT NULL,
  `respiratory_rate` smallint(5) unsigned DEFAULT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `recorded_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_admission_vitals_admission_id_recorded_at_index` (`admission_id`,`recorded_at`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_admission_vitals` WRITE;
/*!40000 ALTER TABLE `va_admission_vitals` DISABLE KEYS */;
INSERT INTO `va_admission_vitals` VALUES (4,21,'2026-06-19 00:41:58',999.99,999999.99,65535,65535,'423423',195,'2026-06-18 21:41:58','2026-06-18 21:41:58');
/*!40000 ALTER TABLE `va_admission_vitals` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_admissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_admissions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `admission_no` varchar(30) NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `ward_id` int(10) unsigned DEFAULT NULL,
  `type` enum('hospitalization','boarding','surgery_recovery','observation','isolation') NOT NULL DEFAULT 'hospitalization',
  `reason` varchar(255) DEFAULT NULL,
  `diagnosis` text DEFAULT NULL,
  `admitting_doctor_id` int(10) unsigned DEFAULT NULL,
  `attending_doctor_id` int(10) unsigned DEFAULT NULL,
  `admitted_at` datetime NOT NULL,
  `expected_discharge_at` datetime DEFAULT NULL,
  `discharged_at` datetime DEFAULT NULL,
  `status` enum('admitted','discharged','transferred','deceased') NOT NULL DEFAULT 'admitted',
  `deposit_amount` decimal(22,4) DEFAULT NULL,
  `deposit_status` enum('pending','paid','waived') NOT NULL DEFAULT 'pending',
  `daily_rate` decimal(22,4) DEFAULT NULL,
  `daily_rate_product_id` int(10) unsigned DEFAULT NULL,
  `last_daily_post_date` date DEFAULT NULL,
  `discharge_summary` text DEFAULT NULL,
  `erp_sell_id` int(10) unsigned DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `va_admissions_admission_no_unique` (`admission_no`),
  KEY `va_admissions_business_id_status_index` (`business_id`,`status`),
  KEY `va_admissions_business_id_pet_id_index` (`business_id`,`pet_id`),
  KEY `va_admissions_ward_id_index` (`ward_id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_admissions` WRITE;
/*!40000 ALTER TABLE `va_admissions` DISABLE KEYS */;
INSERT INTO `va_admissions` VALUES (19,10,'ADM-0001',70,6092,NULL,18,'surgery_recovery','Surgery recovery','Post-operative recovery (spay)',19,19,'2026-06-16 00:11:55','2026-06-19 00:11:55',NULL,'admitted',1000.0000,'pending',300.0000,15915,NULL,NULL,NULL,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(20,10,'ADM-0002',71,6093,NULL,20,'boarding','Boarding','Under observation',19,20,'2026-06-08 00:11:55','2026-06-11 00:11:55','2026-06-13 00:11:55','discharged',1000.0000,'pending',300.0000,15915,NULL,'Recovered well; discharged with home-care instructions.',NULL,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(21,10,'ADM-0003',72,6094,NULL,19,'observation','Observation','Under observation',19,21,'2026-06-17 00:11:55','2026-06-20 00:11:55','2026-06-19 00:44:29','discharged',1000.0000,'pending',300.0000,15915,'2026-06-19',NULL,295361,195,'2026-06-17 21:11:55','2026-06-18 21:44:29');
/*!40000 ALTER TABLE `va_admissions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_alerts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_alerts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `admission_id` int(10) unsigned NOT NULL,
  `severity` enum('info','warn','critical') NOT NULL DEFAULT 'warn',
  `source` varchar(30) NOT NULL,
  `source_ref` varchar(60) DEFAULT NULL,
  `message` varchar(255) NOT NULL,
  `raised_at` datetime NOT NULL,
  `acknowledged_at` datetime DEFAULT NULL,
  `acknowledged_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `va_alerts_dedup` (`admission_id`,`source`,`source_ref`),
  KEY `va_alerts_admission_id_acknowledged_at_index` (`admission_id`,`acknowledged_at`),
  KEY `va_alerts_business_id_index` (`business_id`),
  KEY `va_alerts_admission_id_index` (`admission_id`),
  KEY `va_alerts_severity_index` (`severity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_alerts` WRITE;
/*!40000 ALTER TABLE `va_alerts` DISABLE KEYS */;
/*!40000 ALTER TABLE `va_alerts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_care_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_care_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admission_id` int(10) unsigned NOT NULL,
  `care_plan_id` int(10) unsigned DEFAULT NULL,
  `care_task_type_id` int(10) unsigned NOT NULL,
  `care_date` date NOT NULL,
  `slot_index` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `status` enum('done','skipped') NOT NULL DEFAULT 'done',
  `done_at` datetime DEFAULT NULL,
  `done_by` int(10) unsigned DEFAULT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `billed_sell_line_id` bigint(20) unsigned DEFAULT NULL,
  `billed_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_care_logs_admission_id_care_date_index` (`admission_id`,`care_date`),
  KEY `va_care_logs_care_plan_id_care_date_slot_index_index` (`care_plan_id`,`care_date`,`slot_index`),
  KEY `va_care_logs_billed_sell_line_id_index` (`billed_sell_line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_care_logs` WRITE;
/*!40000 ALTER TABLE `va_care_logs` DISABLE KEYS */;
INSERT INTO `va_care_logs` VALUES (16,21,10,1,'2026-06-19',0,'done','2026-06-19 00:41:38',195,NULL,'2026-06-18 21:41:38','2026-06-18 21:41:38',NULL,NULL),(17,21,10,1,'2026-06-19',1,'done','2026-06-19 00:41:40',195,NULL,'2026-06-18 21:41:40','2026-06-18 21:41:40',NULL,NULL),(18,21,11,2,'2026-06-19',0,'done','2026-06-19 00:41:42',195,NULL,'2026-06-18 21:41:43','2026-06-18 21:41:43',NULL,NULL);
/*!40000 ALTER TABLE `va_care_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_care_task_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_care_task_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `category` enum('feeding','hydration','exercise','medication','hygiene','vitals','observation','other') NOT NULL DEFAULT 'other',
  `icon` varchar(40) NOT NULL DEFAULT 'fa-clipboard-check',
  `color` varchar(20) NOT NULL DEFAULT '#3b82f6',
  `product_id` int(10) unsigned DEFAULT NULL,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_care_task_types_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_care_task_types` WRITE;
/*!40000 ALTER TABLE `va_care_task_types` DISABLE KEYS */;
INSERT INTO `va_care_task_types` VALUES (1,NULL,'Feeding','feeding','fa-utensils','#f59e0b',NULL,1,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(2,NULL,'Water / Hydration','hydration','fa-tint','#0ea5e9',NULL,2,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(3,NULL,'Walk / Exercise','exercise','fa-walking','#22c55e',NULL,3,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(4,NULL,'Cage / Kennel Clean','hygiene','fa-broom','#8b5cf6',NULL,4,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(5,NULL,'Litter Change','hygiene','fa-trash','#a855f7',NULL,5,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(6,NULL,'Medication','medication','fa-pills','#ef4444',NULL,6,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(7,NULL,'Temperature Check','vitals','fa-thermometer-half','#f43f5e',NULL,7,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(8,NULL,'Weight Check','vitals','fa-weight','#06b6d4',NULL,8,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(9,NULL,'Wound Dressing','hygiene','fa-band-aid','#fb923c',NULL,9,'active','2026-05-21 12:29:03','2026-05-21 12:29:03'),(10,NULL,'General Observation','observation','fa-eye','#64748b',NULL,10,'active','2026-05-21 12:29:03','2026-05-21 12:29:03');
/*!40000 ALTER TABLE `va_care_task_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_diagnoses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_diagnoses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_diagnoses_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_diagnoses` WRITE;
/*!40000 ALTER TABLE `va_diagnoses` DISABLE KEYS */;
INSERT INTO `va_diagnoses` VALUES (1,NULL,'Gastroenteritis','active',1,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(2,NULL,'Parvovirus','active',2,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(3,NULL,'Renal Failure','active',3,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(4,NULL,'Pancreatitis','active',4,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(5,NULL,'Diabetic Ketoacidosis','active',5,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(6,NULL,'Pneumonia','active',6,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(7,NULL,'Heatstroke','active',7,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(8,NULL,'Fracture','active',8,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(9,NULL,'Foreign Body Obstruction','active',9,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(10,NULL,'Tick-borne Disease','active',10,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(11,NULL,'Urinary Obstruction','active',11,'2026-06-18 22:57:08','2026-06-18 22:57:08'),(12,NULL,'Toxin Ingestion','active',12,'2026-06-18 22:57:08','2026-06-18 22:57:08');
/*!40000 ALTER TABLE `va_diagnoses` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_discharge_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_discharge_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(120) NOT NULL,
  `species` varchar(40) DEFAULT NULL,
  `body` longtext DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_discharge_templates_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_discharge_templates` WRITE;
/*!40000 ALTER TABLE `va_discharge_templates` DISABLE KEYS */;
INSERT INTO `va_discharge_templates` VALUES (1,NULL,'Standard discharge — general',NULL,'Dear {{owner.name}},\n\n{{pet.name}} was admitted to {{clinic_name}} under reference {{admission_no}} and has now been cleared for discharge.\n\nCLINICAL SUMMARY\n{{discharge_summary}}\n\nMEDICATIONS TO CONTINUE AT HOME\n{{medications_list}}\n\nHOME CARE\n• Rest in a quiet area for the next 48 hours.\n• Offer small, frequent meals and free access to clean water.\n• Monitor appetite, water intake, urination and bowel movements daily.\n• Restrict strenuous activity until cleared by the veterinarian.\n\nWHEN TO CALL US IMMEDIATELY\n• Refusal to eat or drink for more than 24 hours\n• Repeated vomiting or diarrhoea\n• Lethargy, collapse, or laboured breathing\n• Bleeding from any wound or surgical site\n• Sudden change in behaviour\n\nFOLLOW-UP\nA re-check appointment has been scheduled for {{follow_up_date}}.\nPlease call {{clinic_name}} on the number on this discharge sheet if you cannot keep it or have any concerns.\n\nThank you for trusting us with {{pet.name}}\'s care.\n\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(2,NULL,'Post-operative discharge',NULL,'Dear {{owner.name}},\n\n{{pet.name}} has recovered from anaesthesia and is being discharged following the procedure performed today at {{clinic_name}} (admission {{admission_no}}).\n\nWHAT WE DID\n{{discharge_summary}}\n\nMEDICATIONS PRESCRIBED\n{{medications_list}}\n\nWOUND / SURGICAL SITE CARE\n• Check the incision twice daily for redness, swelling, discharge or the wound opening.\n• Keep the area clean and DRY — no bathing for 10 days.\n• Use the e-collar (cone) AT ALL TIMES to prevent licking, including overnight.\n• Do not allow {{pet.name}} to scratch or chew at sutures.\n\nACTIVITY RESTRICTION (10–14 days)\n• Lead-walks only for toilet breaks — no free running, jumping, stairs, or play.\n• Crate or small-room confinement when unsupervised.\n• Use a harness rather than a collar if there are neck/throat sutures.\n\nDIET\n• Offer a small amount of bland food (boiled chicken + rice / prescription recovery diet) this evening.\n• Return to the normal diet tomorrow if there is no vomiting.\n\nCALL US URGENTLY IF YOU SEE\n• The incision opening, bleeding, or discharging pus\n• Persistent vomiting, refusal to eat, or marked lethargy after 24 hours\n• Significant pain not relieved by the prescribed analgesia\n\nSUTURE REMOVAL / RE-CHECK\n{{follow_up_date}} — please bring {{pet.name}} back for wound assessment and suture removal.\n\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(3,NULL,'GI illness recovery (vomiting / diarrhoea)',NULL,'Dear {{owner.name}},\n\n{{pet.name}} has responded well to treatment and is well enough to continue recovery at home (admission {{admission_no}}, {{clinic_name}}).\n\nWHAT WE TREATED\n{{discharge_summary}}\n\nMEDICATIONS TO GIVE\n{{medications_list}}\n\nFEEDING THE NEXT 5 DAYS\n1. TODAY — Offer 1–2 tablespoons of a bland diet (boiled white chicken + plain rice, or the prescription GI diet provided) every 2–3 hours.\n2. TOMORROW — Increase portion size if tolerated; still little and often.\n3. DAYS 3–5 — Gradually mix the normal food back in (25% → 50% → 75% → 100%).\n4. Offer water freely but in small amounts at a time to avoid triggering vomiting.\n\nWATCH OUT FOR\n• More than one vomit in 24 hours after discharge\n• Diarrhoea lasting beyond 48 hours, or containing fresh blood\n• Refusal to drink water\n• Marked lethargy, weakness, or pale gums\n\nCALL THE CLINIC IMMEDIATELY if any of the above appear.\n\nFOLLOW-UP\n{{follow_up_date}} — please bring {{pet.name}} back for a recovery check.\n\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(4,NULL,'In-patient parvovirus / severe infection (canine)','canine','Dear {{owner.name}},\n\n{{pet.name}} has been treated at {{clinic_name}} for a severe infection requiring inpatient support (admission {{admission_no}}) and is now stable enough to recover at home.\n\nWHAT WE TREATED\n{{discharge_summary}}\n\nMEDICATIONS — IMPORTANT\n{{medications_list}}\n\nISOLATION\n• Parvovirus and similar pathogens are shed for several weeks. Keep {{pet.name}} away from other dogs, especially puppies, for the next 4 weeks.\n• Clean food/water bowls and bedding daily with a 1:30 dilution of household bleach.\n• Discard or thoroughly disinfect any toys or fabric items the dog used while sick.\n• Disinfect floors and crates with the same bleach dilution; allow 10 minutes of contact time.\n\nHOME CARE\n• Continue small frequent meals of the prescription recovery diet for 7 days.\n• Offer water but watch for return of vomiting.\n• Crate rest with short, lead-only toilet trips for 5 days.\n\nCALL US IMMEDIATELY IF\n• Vomiting or diarrhoea returns\n• {{pet.name}} stops drinking water\n• Marked lethargy, collapse, or pale gums\n• Blood appears in stool or vomit\n\nFOLLOW-UP\n{{follow_up_date}} — recheck visit. Please also confirm/complete the vaccination schedule once recovery is full.\n\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(5,NULL,'URI / cat-flu recovery (feline)','feline','Dear {{owner.name}},\n\n{{pet.name}} has improved enough to continue recovery at home after treatment for upper respiratory infection at {{clinic_name}} (admission {{admission_no}}).\n\nWHAT WE TREATED\n{{discharge_summary}}\n\nMEDICATIONS\n{{medications_list}}\n\nHOME CARE\n• Keep {{pet.name}} indoors and warm; rest is the most important treatment.\n• Wipe the eyes and nose gently with a soft cloth dampened in warm water two to three times a day.\n• Offer strongly-scented food slightly warmed — cats with blocked noses won\'t eat what they can\'t smell.\n• Provide a quiet, low-traffic spot to rest, away from other cats if possible (URI is contagious to other cats).\n• Encourage water intake — wet food, water fountains, or chicken broth (no onion / garlic).\n\nCALL US IF\n• {{pet.name}} stops eating for more than 24 hours\n• Breathing becomes laboured or noisy\n• Eyes become red, swollen, or have thick discharge\n• Lethargy worsens rather than improves\n\nFOLLOW-UP\n{{follow_up_date}} — recheck and, if applicable, complete the vaccination schedule.\n\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(6,NULL,'Diabetic stabilisation discharge',NULL,'Dear {{owner.name}},\n\n{{pet.name}} has been stabilised on insulin during this admission ({{admission_no}}) and is now ready to continue daily management at home.\n\nWHAT WE DID\n{{discharge_summary}}\n\nINSULIN & MEDICATIONS\n{{medications_list}}\n\nDAILY MANAGEMENT\n• Give insulin AT THE SAME TIMES every day, immediately AFTER {{pet.name}} has eaten the meal we discussed.\n• Always store insulin in the fridge; roll the vial gently before drawing up — do NOT shake.\n• Use a fresh needle every time.\n• Feed the prescribed diet ONLY — no table scraps, no treats unless they are diabetic-safe.\n\nGLUCOSE MONITORING\n• Watch for signs of LOW blood sugar (weakness, wobbliness, drooling, seizure). If you see any: rub honey or syrup on the gums and call the clinic immediately.\n• Watch for signs of HIGH blood sugar (excess thirst, excess urination, weight loss). Call the clinic if these return.\n• Keep a simple log of meals, insulin dose, and any signs noted.\n\nCALL US RIGHT AWAY IF\n• {{pet.name}} refuses food (do NOT give insulin on an empty stomach without checking with us)\n• Any vomiting, diarrhoea, weakness, or collapse\n• Sudden change in behaviour, drinking, or urination\n\nFOLLOW-UP\n{{follow_up_date}} — glucose curve / re-check. Long-term diabetic care requires regular adjustments; please keep this appointment.\n\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(7,NULL,'Boarding stay — courtesy summary',NULL,'Dear {{owner.name}},\n\nThank you for entrusting {{pet.name}} to {{clinic_name}} during their boarding stay ({{admission_no}}).\n\nSTAY SUMMARY\n{{discharge_summary}}\n\nITEMS GOING HOME\n{{medications_list}}\n\nOBSERVATIONS DURING THE STAY\n• Appetite, water intake, urination and bowel movements were monitored daily. No abnormalities were noted unless specifically mentioned above.\n• Any medications given during the stay are listed above. Continue them at home until finished or instructed otherwise.\n\nAT HOME\n• Expect {{pet.name}} to be tired for 24–48 hours after a stay — this is normal.\n• Offer the usual diet in smaller portions tonight and return to the normal routine tomorrow.\n• Watch for any changes in appetite, behaviour or stool over the next 3 days and let us know.\n\nNEXT VISIT\n{{follow_up_date}} — your next planned appointment.\n\nWe look forward to seeing {{pet.name}} again.\n\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(8,NULL,'Deceased pet — condolence letter',NULL,'Dear {{owner.name}},\n\nIt is with great sadness that we write to confirm the passing of {{pet.name}} at {{clinic_name}} (admission {{admission_no}}).\n\nCIRCUMSTANCES\n{{discharge_summary}}\n\nARRANGEMENTS\n• If you have chosen cremation, the practice will contact you when {{pet.name}}\'s ashes are ready for collection.\n• If you have chosen home burial or another arrangement, please follow the instructions provided to you in person at the clinic.\n\nWE ARE HERE FOR YOU\nThe loss of a beloved companion is profoundly painful. Please do not hesitate to contact the clinic if you have any further questions about the care provided, or if there is anything we can do to support you at this time.\n\nWith our deepest condolences,\n{{clinic_name}}\n{{today}}','active','2026-05-29 00:03:52','2026-05-29 00:03:52');
/*!40000 ALTER TABLE `va_discharge_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_fluid_bag_changes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_fluid_bag_changes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `fluid_id` int(10) unsigned NOT NULL,
  `changed_at` datetime NOT NULL,
  `new_bag_size_ml` decimal(8,2) NOT NULL,
  `volume_consumed_ml` decimal(10,2) DEFAULT NULL,
  `given_by` int(10) unsigned DEFAULT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `billed_sell_line_id` bigint(20) unsigned DEFAULT NULL,
  `billed_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_fluid_bag_changes_fluid_id_index` (`fluid_id`),
  KEY `va_fluid_bag_changes_billed_sell_line_id_index` (`billed_sell_line_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_fluid_bag_changes` WRITE;
/*!40000 ALTER TABLE `va_fluid_bag_changes` DISABLE KEYS */;
/*!40000 ALTER TABLE `va_fluid_bag_changes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_medication_administrations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_medication_administrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admission_medication_id` int(10) unsigned NOT NULL,
  `due_at` datetime NOT NULL,
  `administered_at` datetime DEFAULT NULL,
  `actual_volume_ml` decimal(10,4) DEFAULT NULL,
  `actual_dose_mg` decimal(10,4) DEFAULT NULL,
  `status` enum('pending','given','missed','refused','rescheduled') NOT NULL DEFAULT 'pending',
  `given_by` int(10) unsigned DEFAULT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `billed_sell_line_id` bigint(20) unsigned DEFAULT NULL,
  `billed_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_medication_administrations_billed_sell_line_id_index` (`billed_sell_line_id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_medication_administrations` WRITE;
/*!40000 ALTER TABLE `va_medication_administrations` DISABLE KEYS */;
INSERT INTO `va_medication_administrations` VALUES (1,4,'2026-06-16 00:11:55','2026-06-16 00:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(2,4,'2026-06-16 08:11:55','2026-06-16 08:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(3,4,'2026-06-16 16:11:55','2026-06-16 16:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(4,4,'2026-06-17 00:11:55','2026-06-17 00:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(5,4,'2026-06-17 08:11:55','2026-06-17 08:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(6,4,'2026-06-17 16:11:55','2026-06-17 16:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(7,4,'2026-06-18 00:11:55','2026-06-18 00:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(8,4,'2026-06-18 08:11:55',NULL,NULL,NULL,'pending',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(9,5,'2026-06-16 00:11:55','2026-06-16 00:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(10,5,'2026-06-16 08:11:55','2026-06-16 08:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(11,5,'2026-06-16 16:11:55','2026-06-16 16:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(12,5,'2026-06-17 00:11:55','2026-06-17 00:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(13,5,'2026-06-17 08:11:55','2026-06-17 08:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(14,5,'2026-06-17 16:11:55','2026-06-17 16:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(15,5,'2026-06-18 00:11:55','2026-06-18 00:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(16,5,'2026-06-18 08:11:55',NULL,NULL,NULL,'pending',NULL,NULL,'2026-06-17 21:11:55','2026-06-18 00:26:57',NULL,NULL),(17,6,'2026-06-17 00:11:55','2026-06-17 00:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(18,6,'2026-06-17 08:11:55','2026-06-17 08:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(19,6,'2026-06-17 16:11:55','2026-06-17 16:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(20,6,'2026-06-18 00:11:55','2026-06-18 00:16:55',NULL,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(21,6,'2026-06-18 08:11:55',NULL,NULL,NULL,'pending',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(22,7,'2026-06-17 00:11:55','2026-06-17 00:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(23,7,'2026-06-17 08:11:55','2026-06-17 08:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(24,7,'2026-06-17 16:11:55','2026-06-17 16:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(25,7,'2026-06-18 00:11:55','2026-06-18 00:16:55',0.3000,NULL,'given',196,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(26,7,'2026-06-18 08:11:55','2026-06-19 00:42:15',NULL,NULL,'refused',195,NULL,'2026-06-17 21:11:55','2026-06-18 21:42:15',NULL,NULL);
/*!40000 ALTER TABLE `va_medication_administrations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_protocol_applications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_protocol_applications` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `admission_id` int(10) unsigned NOT NULL,
  `protocol_id` int(10) unsigned NOT NULL,
  `expanded_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`expanded_ids`)),
  `applied_by` int(10) unsigned DEFAULT NULL,
  `applied_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_protocol_applications_admission_id_index` (`admission_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_protocol_applications` WRITE;
/*!40000 ALTER TABLE `va_protocol_applications` DISABLE KEYS */;
/*!40000 ALTER TABLE `va_protocol_applications` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_protocol_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_protocol_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `protocol_id` int(10) unsigned NOT NULL,
  `kind` enum('care_task','medication','fluid') NOT NULL,
  `care_task_type_id` int(10) unsigned DEFAULT NULL,
  `medicine_id` int(10) unsigned DEFAULT NULL,
  `label` varchar(150) DEFAULT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payload`)),
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_protocol_items_protocol_id_index` (`protocol_id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_protocol_items` WRITE;
/*!40000 ALTER TABLE `va_protocol_items` DISABLE KEYS */;
INSERT INTO `va_protocol_items` VALUES (1,1,'fluid',NULL,NULL,'LRS bolus + maintenance','{\"fluid_type\":\"LRS\",\"rate_ml_per_hr\":60,\"bag_size_ml\":1000}',1,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(2,1,'medication',NULL,NULL,'Maropitant','{\"medicine_name\":\"Maropitant\",\"route\":\"IV\",\"dose_mg_per_kg\":1,\"concentration_mg_per_ml\":10,\"frequency_hours\":24,\"duration_hours\":96}',2,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(3,1,'medication',NULL,NULL,'Ampicillin','{\"medicine_name\":\"Ampicillin\",\"route\":\"IV\",\"dose_mg_per_kg\":22,\"concentration_mg_per_ml\":250,\"frequency_hours\":8,\"duration_hours\":120}',3,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(4,1,'care_task',NULL,NULL,'Vitals q4h','{\"task_name\":\"Temperature Check\",\"times_per_day\":6,\"schedule_times\":[\"04:00\",\"08:00\",\"12:00\",\"16:00\",\"20:00\",\"00:00\"]}',4,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(5,2,'medication',NULL,NULL,'Doxycycline','{\"medicine_name\":\"Doxycycline\",\"route\":\"PO\",\"dose_mg_per_kg\":5,\"frequency_hours\":24,\"duration_hours\":240}',1,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(6,2,'care_task',NULL,NULL,'Nasal cleaning q8h','{\"task_name\":\"Wound Dressing\",\"times_per_day\":3}',2,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(7,2,'care_task',NULL,NULL,'Appetite check q12h','{\"task_name\":\"General Observation\",\"times_per_day\":2}',3,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(8,3,'medication',NULL,NULL,'Meloxicam','{\"medicine_name\":\"Meloxicam\",\"route\":\"PO\",\"dose_mg_per_kg\":0.1,\"frequency_hours\":24,\"duration_hours\":120}',1,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(9,3,'medication',NULL,NULL,'Cefazolin','{\"medicine_name\":\"Cefazolin\",\"route\":\"IV\",\"dose_mg_per_kg\":22,\"concentration_mg_per_ml\":100,\"frequency_hours\":8,\"duration_hours\":48}',2,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(10,3,'care_task',NULL,NULL,'Wound check q6h','{\"task_name\":\"Wound Dressing\",\"times_per_day\":4}',3,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(11,4,'fluid',NULL,NULL,'NaCl 0.9% maintenance','{\"fluid_type\":\"NaCl 0.9%\",\"rate_ml_per_hr\":50,\"bag_size_ml\":1000}',1,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(12,4,'medication',NULL,NULL,'Regular insulin CRI','{\"medicine_name\":\"Regular insulin\",\"route\":\"IV\",\"dose_mg_per_kg\":0.05,\"concentration_mg_per_ml\":100,\"frequency_hours\":1,\"duration_hours\":24}',2,'2026-05-29 00:03:52','2026-05-29 00:03:52'),(13,4,'care_task',NULL,NULL,'Glucose q2h','{\"task_name\":\"General Observation\",\"times_per_day\":12}',3,'2026-05-29 00:03:52','2026-05-29 00:03:52');
/*!40000 ALTER TABLE `va_protocol_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_protocols`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_protocols` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(120) NOT NULL,
  `species` varchar(40) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_protocols_business_id_index` (`business_id`),
  KEY `va_protocols_species_index` (`species`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_protocols` WRITE;
/*!40000 ALTER TABLE `va_protocols` DISABLE KEYS */;
INSERT INTO `va_protocols` VALUES (1,NULL,'Canine Parvo','canine','Indication: Canine parvovirus enteritis (PCR / SNAP positive, or strongly suspicious history — unvaccinated puppy with severe vomiting / haemorrhagic diarrhoea / leukopenia).\n\nWhat this protocol does:\n• High-rate IV crystalloid (LRS) to correct dehydration and ongoing GI losses\n• Anti-emetic cover (maropitant q24h IV) for nausea + protection from oesophagitis\n• Broad-spectrum IV antibiotic (ampicillin q8h) to cover for bacterial translocation across damaged gut mucosa\n• Round-the-clock temperature monitoring (q4h) — the only one of the system protocols with full 24-hour vitals coverage\n\nMonitoring: temperature q4h, PCV/TS daily, glucose if collapsed.\nEscalate to ICU / extended care if: persistent vomiting after 24h of treatment, sustained hypoglycaemia, sepsis signs (hypothermia, hypotension), or sudden collapse.','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(2,NULL,'Feline URI','feline','Indication: Feline upper respiratory infection (calicivirus / herpesvirus / chlamydophila) presenting with sneezing, oculonasal discharge, anorexia, and mild-to-moderate dehydration in an otherwise stable cat.\n\nWhat this protocol does:\n• Doxycycline PO q24h × 10 days — primary cover for Chlamydophila felis and Mycoplasma\n• Nasal cleaning q8h — keeps the airway patent and improves appetite\n• Appetite check q12h — anorexia is the highest-risk complication of feline URI\n\nNotes: this is the lowest-intensity system protocol — there are no IV fluids and no IV medications. Use it for inpatients well enough to eat with encouragement and stay hydrated voluntarily.\nEscalate if: anorexia > 24 hours, dehydration > 5%, marked dyspnoea, or eye involvement worsens — switch to IV support + ophthalmic care.','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(3,NULL,'Post-op orthopedic',NULL,'Indication: Standard recovery for any orthopedic surgical patient (TPLO, fracture repair, joint surgery, etc.) staying overnight or longer for pain control and observation.\n\nWhat this protocol does:\n• Meloxicam PO q24h × 5 days — NSAID analgesia. Add an opioid (e.g. methadone, buprenorphine) separately for the first 24-48 h if pain is moderate-to-severe.\n• Cefazolin IV q8h × 48 h — perioperative antibiotic prophylaxis only. NOT a treatment of established infection.\n• Wound check q6h — early detection of incision dehiscence, swelling, or discharge\n\nActivity: strict crate rest. No discharge before the orthopedic surgeon clears the post-op films/exam.\nEscalate if: incision opens / bleeds / discharges, lameness sharply worse instead of improving, refusal to eat past 24 h, or vomiting on NSAIDs.','active','2026-05-29 00:03:52','2026-05-29 00:03:52'),(4,NULL,'Diabetic ketoacidosis (DKA)',NULL,'Indication: Diabetic ketoacidosis — hyperglycaemia + ketonuria/ketonaemia + metabolic acidosis. Typically presents with profound depression, dehydration, vomiting, and Kussmaul respiration.\n\nWhat this protocol does:\n• NaCl 0.9% maintenance fluid (NOT LRS — lactate complicates DKA management). Start with rehydration bolus separately; the protocol\'s 50 mL/h is the maintenance rate.\n• Regular insulin CRI 0.05 IU/kg/hr — the most frequent medication interval in any system protocol (q1h dosing rows seeded for 24 h). Adjust the rate (not the dose) based on hourly glucose readings.\n• Glucose monitoring q2h — protocol\'s highest-frequency monitoring task\n\nWatch points:\n• Drop in glucose > 75 mg/dL/hr is too fast — risk of cerebral oedema; halve the rate.\n• Once glucose < 250 mg/dL, switch the maintenance fluid to include dextrose (NaCl + 2.5–5% dextrose) so the CRI can keep resolving the ketoacidosis without inducing hypoglycaemia.\n• Hypokalaemia is the most common life-threatening electrolyte derangement during DKA treatment — supplement KCl in the fluids per the standard sliding scale once urine is being produced.\nEscalate if: refractory acidosis, persistent hypokalaemia, neurological signs, or no improvement in 12 h.','active','2026-05-29 00:03:52','2026-05-29 00:03:52');
/*!40000 ALTER TABLE `va_protocols` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `va_wards`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `va_wards` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `type` enum('cage','kennel','run','icu','ward','isolation') NOT NULL DEFAULT 'cage',
  `capacity` smallint(5) unsigned NOT NULL DEFAULT 1,
  `notes` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `va_wards_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `va_wards` WRITE;
/*!40000 ALTER TABLE `va_wards` DISABLE KEYS */;
INSERT INTO `va_wards` VALUES (18,10,31,'Inpatient Ward A','WRD-A','ward',8,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(19,10,31,'Isolation Ward','ISO-1','isolation',4,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(20,10,31,'Boarding Kennels','BRD-1','kennel',12,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `va_wards` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vai_queries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vai_queries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `query_type` varchar(30) NOT NULL DEFAULT 'general',
  `stage` varchar(30) DEFAULT NULL,
  `prompt` text NOT NULL,
  `response` longtext DEFAULT NULL,
  `model` varchar(100) DEFAULT NULL,
  `tokens_input` int(10) unsigned DEFAULT NULL,
  `tokens_output` int(10) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'success',
  `error` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vai_queries_business_id_created_at_index` (`business_id`,`created_at`),
  KEY `vai_queries_appointment_id_index` (`appointment_id`),
  KEY `vai_queries_stage_index` (`stage`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vai_queries` WRITE;
/*!40000 ALTER TABLE `vai_queries` DISABLE KEYS */;
/*!40000 ALTER TABLE `vai_queries` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vai_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vai_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `provider` varchar(20) NOT NULL DEFAULT 'anthropic',
  `base_url` varchar(255) DEFAULT NULL,
  `api_key` text DEFAULT NULL,
  `model` varchar(100) DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `temperature` decimal(3,2) NOT NULL DEFAULT 0.30,
  `max_tokens` int(10) unsigned NOT NULL DEFAULT 1024,
  `system_prompt` text DEFAULT NULL,
  `monthly_token_budget` int(10) unsigned DEFAULT NULL,
  `use_separate_transcription` tinyint(1) NOT NULL DEFAULT 0,
  `t_provider` varchar(30) DEFAULT NULL,
  `t_base_url` varchar(255) DEFAULT NULL,
  `t_api_key` text DEFAULT NULL,
  `t_model` varchar(100) DEFAULT NULL,
  `t_language_hint` varchar(10) NOT NULL DEFAULT 'auto',
  `t_silence_limit_sec` smallint(5) unsigned NOT NULL DEFAULT 30,
  `t_clean_non_medical` tinyint(1) NOT NULL DEFAULT 1,
  `auto_structure_soap` tinyint(1) NOT NULL DEFAULT 1,
  `consent_warning` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vai_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vai_settings` WRITE;
/*!40000 ALTER TABLE `vai_settings` DISABLE KEYS */;
INSERT INTO `vai_settings` VALUES (2,5,'anthropic',NULL,NULL,NULL,0,0.30,1024,NULL,NULL,0,NULL,NULL,NULL,NULL,'auto',30,1,1,1,'2026-06-15 20:58:09','2026-06-15 20:58:09'),(3,10,'anthropic',NULL,NULL,NULL,0,0.30,1024,NULL,NULL,0,NULL,NULL,NULL,NULL,'auto',30,1,1,1,'2026-06-18 21:04:44','2026-06-18 21:04:44');
/*!40000 ALTER TABLE `vai_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `variation_group_prices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `variation_group_prices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `variation_id` int(10) unsigned NOT NULL,
  `price_group_id` int(10) unsigned NOT NULL,
  `price_inc_tax` decimal(22,4) NOT NULL,
  `price_type` varchar(191) NOT NULL DEFAULT 'fixed',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `variation_group_prices_variation_id_foreign` (`variation_id`),
  KEY `variation_group_prices_price_group_id_foreign` (`price_group_id`),
  CONSTRAINT `variation_group_prices_price_group_id_foreign` FOREIGN KEY (`price_group_id`) REFERENCES `selling_price_groups` (`id`) ON DELETE CASCADE,
  CONSTRAINT `variation_group_prices_variation_id_foreign` FOREIGN KEY (`variation_id`) REFERENCES `variations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `variation_group_prices` WRITE;
/*!40000 ALTER TABLE `variation_group_prices` DISABLE KEYS */;
/*!40000 ALTER TABLE `variation_group_prices` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `variation_location_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `variation_location_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int(10) unsigned NOT NULL,
  `product_variation_id` int(10) unsigned NOT NULL COMMENT 'id from product_variations table',
  `variation_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned NOT NULL,
  `qty_available` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `variation_location_details_location_id_foreign` (`location_id`),
  KEY `variation_location_details_product_id_index` (`product_id`),
  KEY `variation_location_details_product_variation_id_index` (`product_variation_id`),
  KEY `variation_location_details_variation_id_index` (`variation_id`),
  CONSTRAINT `variation_location_details_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `business_locations` (`id`),
  CONSTRAINT `variation_location_details_variation_id_foreign` FOREIGN KEY (`variation_id`) REFERENCES `variations` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=77066 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `variation_location_details` WRITE;
/*!40000 ALTER TABLE `variation_location_details` DISABLE KEYS */;
INSERT INTO `variation_location_details` VALUES (76676,15648,15624,15632,16,200.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76677,15648,15624,15632,17,200.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76678,15648,15624,15632,18,200.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76679,15649,15625,15633,16,150.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76680,15649,15625,15633,17,150.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76681,15649,15625,15633,18,150.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76682,15650,15626,15634,16,120.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76683,15650,15626,15634,17,120.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76684,15650,15626,15634,18,120.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76685,15651,15627,15635,16,400.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76686,15651,15627,15635,17,400.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76687,15651,15627,15635,18,400.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76688,15652,15628,15636,16,250.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76689,15652,15628,15636,17,250.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76690,15652,15628,15636,18,250.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76691,15653,15629,15637,16,300.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76692,15653,15629,15637,17,300.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76693,15653,15629,15637,18,300.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76694,15654,15630,15638,16,80.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76695,15654,15630,15638,17,80.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76696,15654,15630,15638,18,80.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76697,15655,15631,15639,16,90.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76698,15655,15631,15639,17,90.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76699,15655,15631,15639,18,90.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76700,15656,15632,15640,16,120.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76701,15656,15632,15640,17,120.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76702,15656,15632,15640,18,120.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76703,15657,15633,15641,16,500.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76704,15657,15633,15641,17,500.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76705,15657,15633,15641,18,500.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43'),(76706,15670,15646,15654,19,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76707,15670,15646,15654,20,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76708,15670,15646,15654,21,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76709,15671,15647,15655,19,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76710,15671,15647,15655,20,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76711,15671,15647,15655,21,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76712,15672,15648,15656,19,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76713,15672,15648,15656,20,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76714,15672,15648,15656,21,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76715,15673,15649,15657,19,100.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76716,15673,15649,15657,20,100.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76717,15673,15649,15657,21,100.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76718,15674,15650,15658,19,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76719,15674,15650,15658,20,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76720,15674,15650,15658,21,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76721,15675,15651,15659,19,400.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76722,15675,15651,15659,20,400.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76723,15675,15651,15659,21,400.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76724,15676,15652,15660,19,250.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76725,15676,15652,15660,20,250.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76726,15676,15652,15660,21,250.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76727,15677,15653,15661,19,300.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76728,15677,15653,15661,20,300.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76729,15677,15653,15661,21,300.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76730,15678,15654,15662,19,220.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76731,15678,15654,15662,20,220.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76732,15678,15654,15662,21,220.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76733,15679,15655,15663,19,180.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76734,15679,15655,15663,20,180.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76735,15679,15655,15663,21,180.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76736,15680,15656,15664,19,160.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76737,15680,15656,15664,20,160.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76738,15680,15656,15664,21,160.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76739,15681,15657,15665,19,80.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76740,15681,15657,15665,20,80.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76741,15681,15657,15665,21,80.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76742,15682,15658,15666,19,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76743,15682,15658,15666,20,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76744,15682,15658,15666,21,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76745,15683,15659,15667,19,70.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76746,15683,15659,15667,20,70.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76747,15683,15659,15667,21,70.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76748,15684,15660,15668,19,140.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76749,15684,15660,15668,20,140.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76750,15684,15660,15668,21,140.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76751,15685,15661,15669,19,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76752,15685,15661,15669,20,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76753,15685,15661,15669,21,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76754,15686,15662,15670,19,500.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76755,15686,15662,15670,20,500.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76756,15686,15662,15670,21,500.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76757,15687,15663,15671,19,160.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76758,15687,15663,15671,20,160.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76759,15687,15663,15671,21,160.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76760,15688,15664,15672,19,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76761,15688,15664,15672,20,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76762,15688,15664,15672,21,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76763,15689,15665,15673,19,80.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76764,15689,15665,15673,20,80.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76765,15689,15665,15673,21,80.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76766,15690,15666,15674,19,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76767,15690,15666,15674,20,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76768,15690,15666,15674,21,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76769,15691,15667,15675,19,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76770,15691,15667,15675,20,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76771,15691,15667,15675,21,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76772,15692,15668,15676,19,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76773,15692,15668,15676,20,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76774,15692,15668,15676,21,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76775,15693,15669,15677,19,60.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76776,15693,15669,15677,20,60.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76777,15693,15669,15677,21,60.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55'),(76778,15723,15699,15707,22,200.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76779,15723,15699,15707,23,200.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76780,15723,15699,15707,24,200.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76781,15724,15700,15708,22,150.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76782,15724,15700,15708,23,150.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76783,15724,15700,15708,24,150.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76784,15725,15701,15709,22,120.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76785,15725,15701,15709,23,120.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76786,15725,15701,15709,24,120.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44'),(76787,15726,15702,15710,22,100.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76788,15726,15702,15710,23,100.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76789,15726,15702,15710,24,100.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76790,15727,15703,15711,22,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76791,15727,15703,15711,23,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76792,15727,15703,15711,24,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76793,15728,15704,15712,22,400.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76794,15728,15704,15712,23,400.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76795,15728,15704,15712,24,400.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76796,15729,15705,15713,22,250.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76797,15729,15705,15713,23,250.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76798,15729,15705,15713,24,250.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76799,15730,15706,15714,22,300.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76800,15730,15706,15714,23,300.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76801,15730,15706,15714,24,300.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76802,15731,15707,15715,22,220.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76803,15731,15707,15715,23,220.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76804,15731,15707,15715,24,220.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76805,15732,15708,15716,22,180.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76806,15732,15708,15716,23,180.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76807,15732,15708,15716,24,180.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76808,15733,15709,15717,22,160.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76809,15733,15709,15717,23,160.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76810,15733,15709,15717,24,160.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76811,15734,15710,15718,22,80.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76812,15734,15710,15718,23,80.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76813,15734,15710,15718,24,80.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76814,15735,15711,15719,22,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76815,15735,15711,15719,23,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76816,15735,15711,15719,24,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76817,15736,15712,15720,22,70.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76818,15736,15712,15720,23,70.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76819,15736,15712,15720,24,70.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76820,15737,15713,15721,22,140.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76821,15737,15713,15721,23,140.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76822,15737,15713,15721,24,140.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76823,15738,15714,15722,22,120.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76824,15738,15714,15722,23,120.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76825,15738,15714,15722,24,120.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76826,15739,15715,15723,22,500.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76827,15739,15715,15723,23,500.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76828,15739,15715,15723,24,500.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76829,15740,15716,15724,22,160.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76830,15740,15716,15724,23,160.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76831,15740,15716,15724,24,160.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76832,15741,15717,15725,22,200.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76833,15741,15717,15725,23,200.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76834,15741,15717,15725,24,200.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76835,15742,15718,15726,22,80.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76836,15742,15718,15726,23,80.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76837,15742,15718,15726,24,80.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76838,15743,15719,15727,22,120.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76839,15743,15719,15727,23,120.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76840,15743,15719,15727,24,120.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76841,15744,15720,15728,22,150.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76842,15744,15720,15728,23,150.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76843,15744,15720,15728,24,150.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76844,15745,15721,15729,22,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76845,15745,15721,15729,23,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76846,15745,15721,15729,24,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76847,15746,15722,15730,22,60.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76848,15746,15722,15730,23,60.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76849,15746,15722,15730,24,60.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45'),(76850,15776,15752,15760,25,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76851,15776,15752,15760,26,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76852,15776,15752,15760,27,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76853,15777,15753,15761,25,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76854,15777,15753,15761,26,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76855,15777,15753,15761,27,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76856,15778,15754,15762,25,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76857,15778,15754,15762,26,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76858,15778,15754,15762,27,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76859,15779,15755,15763,25,100.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76860,15779,15755,15763,26,100.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76861,15779,15755,15763,27,100.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76862,15780,15756,15764,25,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76863,15780,15756,15764,26,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76864,15780,15756,15764,27,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76865,15781,15757,15765,25,400.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76866,15781,15757,15765,26,400.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76867,15781,15757,15765,27,400.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76868,15782,15758,15766,25,250.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76869,15782,15758,15766,26,250.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76870,15782,15758,15766,27,250.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76871,15783,15759,15767,25,300.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76872,15783,15759,15767,26,300.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76873,15783,15759,15767,27,300.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76874,15784,15760,15768,25,220.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76875,15784,15760,15768,26,220.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76876,15784,15760,15768,27,220.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76877,15785,15761,15769,25,180.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76878,15785,15761,15769,26,180.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76879,15785,15761,15769,27,180.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76880,15786,15762,15770,25,160.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76881,15786,15762,15770,26,160.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76882,15786,15762,15770,27,160.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76883,15787,15763,15771,25,80.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76884,15787,15763,15771,26,80.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76885,15787,15763,15771,27,80.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76886,15788,15764,15772,25,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76887,15788,15764,15772,26,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76888,15788,15764,15772,27,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76889,15789,15765,15773,25,70.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76890,15789,15765,15773,26,70.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76891,15789,15765,15773,27,70.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76892,15790,15766,15774,25,140.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76893,15790,15766,15774,26,140.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76894,15790,15766,15774,27,140.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76895,15791,15767,15775,25,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76896,15791,15767,15775,26,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76897,15791,15767,15775,27,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76898,15792,15768,15776,25,500.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76899,15792,15768,15776,26,500.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76900,15792,15768,15776,27,500.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76901,15793,15769,15777,25,160.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76902,15793,15769,15777,26,160.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76903,15793,15769,15777,27,160.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76904,15794,15770,15778,25,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76905,15794,15770,15778,26,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76906,15794,15770,15778,27,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76907,15795,15771,15779,25,80.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76908,15795,15771,15779,26,80.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76909,15795,15771,15779,27,80.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76910,15796,15772,15780,25,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76911,15796,15772,15780,26,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76912,15796,15772,15780,27,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76913,15797,15773,15781,25,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76914,15797,15773,15781,26,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76915,15797,15773,15781,27,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76916,15798,15774,15782,25,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76917,15798,15774,15782,26,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76918,15798,15774,15782,27,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76919,15799,15775,15783,25,60.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76920,15799,15775,15783,26,60.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76921,15799,15775,15783,27,60.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11'),(76922,15829,15805,15813,28,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76923,15829,15805,15813,29,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76924,15829,15805,15813,30,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76925,15830,15806,15814,28,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76926,15830,15806,15814,29,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76927,15830,15806,15814,30,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76928,15831,15807,15815,28,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76929,15831,15807,15815,29,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76930,15831,15807,15815,30,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76931,15832,15808,15816,28,100.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76932,15832,15808,15816,29,100.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76933,15832,15808,15816,30,100.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76934,15833,15809,15817,28,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76935,15833,15809,15817,29,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76936,15833,15809,15817,30,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76937,15834,15810,15818,28,400.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76938,15834,15810,15818,29,400.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76939,15834,15810,15818,30,400.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76940,15835,15811,15819,28,250.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76941,15835,15811,15819,29,250.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76942,15835,15811,15819,30,250.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76943,15836,15812,15820,28,300.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76944,15836,15812,15820,29,300.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76945,15836,15812,15820,30,300.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76946,15837,15813,15821,28,220.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76947,15837,15813,15821,29,220.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76948,15837,15813,15821,30,220.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76949,15838,15814,15822,28,180.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76950,15838,15814,15822,29,180.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76951,15838,15814,15822,30,180.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76952,15839,15815,15823,28,160.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76953,15839,15815,15823,29,160.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76954,15839,15815,15823,30,160.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76955,15840,15816,15824,28,80.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76956,15840,15816,15824,29,80.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76957,15840,15816,15824,30,80.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76958,15841,15817,15825,28,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76959,15841,15817,15825,29,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76960,15841,15817,15825,30,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76961,15842,15818,15826,28,70.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76962,15842,15818,15826,29,70.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76963,15842,15818,15826,30,70.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76964,15843,15819,15827,28,140.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76965,15843,15819,15827,29,140.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76966,15843,15819,15827,30,140.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76967,15844,15820,15828,28,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76968,15844,15820,15828,29,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76969,15844,15820,15828,30,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76970,15845,15821,15829,28,500.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76971,15845,15821,15829,29,500.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76972,15845,15821,15829,30,500.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76973,15846,15822,15830,28,160.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76974,15846,15822,15830,29,160.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76975,15846,15822,15830,30,160.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76976,15847,15823,15831,28,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76977,15847,15823,15831,29,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76978,15847,15823,15831,30,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76979,15848,15824,15832,28,80.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76980,15848,15824,15832,29,80.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76981,15848,15824,15832,30,80.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76982,15849,15825,15833,28,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76983,15849,15825,15833,29,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76984,15849,15825,15833,30,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76985,15850,15826,15834,28,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76986,15850,15826,15834,29,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76987,15850,15826,15834,30,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76988,15851,15827,15835,28,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76989,15851,15827,15835,29,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76990,15851,15827,15835,30,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76991,15852,15828,15836,28,60.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76992,15852,15828,15836,29,60.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76993,15852,15828,15836,30,60.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02'),(76994,15882,15858,15866,31,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(76995,15882,15858,15866,32,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(76996,15882,15858,15866,33,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(76997,15883,15859,15867,31,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(76998,15883,15859,15867,32,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(76999,15883,15859,15867,33,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77000,15884,15860,15868,31,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77001,15884,15860,15868,32,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77002,15884,15860,15868,33,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77003,15885,15861,15869,31,100.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77004,15885,15861,15869,32,100.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77005,15885,15861,15869,33,100.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77006,15886,15862,15870,31,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77007,15886,15862,15870,32,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77008,15886,15862,15870,33,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77009,15887,15863,15871,31,400.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77010,15887,15863,15871,32,400.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77011,15887,15863,15871,33,400.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77012,15888,15864,15872,31,250.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77013,15888,15864,15872,32,250.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77014,15888,15864,15872,33,250.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77015,15889,15865,15873,31,300.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77016,15889,15865,15873,32,300.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77017,15889,15865,15873,33,300.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77018,15890,15866,15874,31,220.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77019,15890,15866,15874,32,220.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77020,15890,15866,15874,33,220.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77021,15891,15867,15875,31,180.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77022,15891,15867,15875,32,180.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77023,15891,15867,15875,33,180.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77024,15892,15868,15876,31,160.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77025,15892,15868,15876,32,160.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77026,15892,15868,15876,33,160.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77027,15893,15869,15877,31,80.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77028,15893,15869,15877,32,80.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77029,15893,15869,15877,33,80.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77030,15894,15870,15878,31,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77031,15894,15870,15878,32,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77032,15894,15870,15878,33,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77033,15895,15871,15879,31,70.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77034,15895,15871,15879,32,70.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77035,15895,15871,15879,33,70.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77036,15896,15872,15880,31,140.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77037,15896,15872,15880,32,140.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77038,15896,15872,15880,33,140.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77039,15897,15873,15881,31,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77040,15897,15873,15881,32,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77041,15897,15873,15881,33,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77042,15898,15874,15882,31,500.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77043,15898,15874,15882,32,500.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77044,15898,15874,15882,33,500.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77045,15899,15875,15883,31,160.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77046,15899,15875,15883,32,160.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77047,15899,15875,15883,33,160.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77048,15900,15876,15884,31,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77049,15900,15876,15884,32,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77050,15900,15876,15884,33,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77051,15901,15877,15885,31,80.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77052,15901,15877,15885,32,80.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77053,15901,15877,15885,33,80.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77054,15902,15878,15886,31,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77055,15902,15878,15886,32,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77056,15902,15878,15886,33,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77057,15903,15879,15887,31,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77058,15903,15879,15887,32,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77059,15903,15879,15887,33,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77060,15904,15880,15888,31,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77061,15904,15880,15888,32,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77062,15904,15880,15888,33,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77063,15905,15881,15889,31,60.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77064,15905,15881,15889,32,60.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(77065,15905,15881,15889,33,60.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54');
/*!40000 ALTER TABLE `variation_location_details` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `variation_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `variation_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `variation_templates_business_id_foreign` (`business_id`),
  CONSTRAINT `variation_templates_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `variation_templates` WRITE;
/*!40000 ALTER TABLE `variation_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `variation_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `variation_value_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `variation_value_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `variation_template_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `variation_value_templates_name_index` (`name`),
  KEY `variation_value_templates_variation_template_id_index` (`variation_template_id`),
  CONSTRAINT `variation_value_templates_variation_template_id_foreign` FOREIGN KEY (`variation_template_id`) REFERENCES `variation_templates` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `variation_value_templates` WRITE;
/*!40000 ALTER TABLE `variation_value_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `variation_value_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `variations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `variations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `product_id` int(10) unsigned NOT NULL,
  `sub_sku` varchar(191) DEFAULT NULL,
  `product_variation_id` int(10) unsigned NOT NULL,
  `variation_value_id` int(11) DEFAULT NULL,
  `default_purchase_price` decimal(22,4) DEFAULT NULL,
  `dpp_inc_tax` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `profit_percent` decimal(22,4) NOT NULL DEFAULT 0.0000,
  `default_sell_price` decimal(22,4) DEFAULT NULL,
  `sell_price_inc_tax` decimal(22,4) DEFAULT NULL COMMENT 'Sell price including tax',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `combo_variations` text DEFAULT NULL COMMENT 'Contains the combo variation details',
  PRIMARY KEY (`id`),
  KEY `variations_product_id_foreign` (`product_id`),
  KEY `variations_product_variation_id_foreign` (`product_variation_id`),
  KEY `variations_name_index` (`name`),
  KEY `variations_sub_sku_index` (`sub_sku`),
  KEY `variations_variation_value_id_index` (`variation_value_id`),
  CONSTRAINT `variations_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `variations_product_variation_id_foreign` FOREIGN KEY (`product_variation_id`) REFERENCES `product_variations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=15919 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `variations` WRITE;
/*!40000 ALTER TABLE `variations` DISABLE KEYS */;
INSERT INTO `variations` VALUES (15632,'DUMMY',15648,'VETF2224AC9',15624,NULL,120.0000,120.0000,0.0000,250.0000,250.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15633,'DUMMY',15649,'VET06DB9743',15625,NULL,180.0000,180.0000,0.0000,350.0000,350.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15634,'DUMMY',15650,'VET6BD0DC31',15626,NULL,200.0000,200.0000,0.0000,400.0000,400.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15635,'DUMMY',15651,'VET89EB0EDF',15627,NULL,35.0000,35.0000,0.0000,90.0000,90.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15636,'DUMMY',15652,'VETEC709068',15628,NULL,60.0000,60.0000,0.0000,140.0000,140.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15637,'DUMMY',15653,'VETB0E1F087',15629,NULL,90.0000,90.0000,0.0000,220.0000,220.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15638,'DUMMY',15654,'VET78C39866',15630,NULL,480.0000,480.0000,0.0000,850.0000,850.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15639,'DUMMY',15655,'VET14E05E43',15631,NULL,320.0000,320.0000,0.0000,600.0000,600.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15640,'DUMMY',15656,'VETFDC005FA',15632,NULL,110.0000,110.0000,0.0000,200.0000,200.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15641,'DUMMY',15657,'VET7708E6A7',15633,NULL,18.0000,18.0000,0.0000,45.0000,45.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15642,'DUMMY',15658,'VETBF742B4B',15634,NULL,25.0000,25.0000,0.0000,60.0000,60.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15643,'DUMMY',15659,'VET7BE37B12',15635,NULL,15.0000,15.0000,0.0000,40.0000,40.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15644,'DUMMY',15660,'VET89614E40',15636,NULL,20.0000,20.0000,0.0000,50.0000,50.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15645,'DUMMY',15661,'VETF1F60C15',15637,NULL,60.0000,60.0000,0.0000,180.0000,180.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[{\"variation_id\":15642,\"quantity\":2,\"unit_id\":5},{\"variation_id\":15643,\"quantity\":1,\"unit_id\":5},{\"variation_id\":15644,\"quantity\":1,\"unit_id\":5}]'),(15646,'DUMMY',15662,'VET19C59180',15638,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15647,'DUMMY',15663,'VET240A8DCD',15639,NULL,0.0000,0.0000,0.0000,150.0000,150.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15648,'DUMMY',15664,'VETCA0F54AA',15640,NULL,0.0000,0.0000,0.0000,2500.0000,2500.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15649,'DUMMY',15665,'VET1BD2D306',15641,NULL,0.0000,0.0000,0.0000,1200.0000,1200.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15650,'DUMMY',15666,'VETCBBE42A3',15642,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15651,'DUMMY',15667,'VET500ABBF2',15643,NULL,0.0000,0.0000,0.0000,600.0000,600.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15652,'DUMMY',15668,'VETF76C00E9',15644,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15653,'DUMMY',15669,'VET1B1098E1',15645,NULL,0.0000,0.0000,0.0000,700.0000,700.0000,'2026-06-15 17:18:43','2026-06-15 17:18:43',NULL,'[]'),(15654,'DUMMY',15670,'VETB44AEA4B',15646,NULL,120.0000,120.0000,0.0000,250.0000,250.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15655,'DUMMY',15671,'VET58BD3392',15647,NULL,180.0000,180.0000,0.0000,350.0000,350.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15656,'DUMMY',15672,'VET32B10823',15648,NULL,200.0000,200.0000,0.0000,400.0000,400.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15657,'DUMMY',15673,'VET33280A37',15649,NULL,160.0000,160.0000,0.0000,320.0000,320.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15658,'DUMMY',15674,'VET1575B0AA',15650,NULL,140.0000,140.0000,0.0000,280.0000,280.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15659,'DUMMY',15675,'VET597AF11E',15651,NULL,35.0000,35.0000,0.0000,90.0000,90.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15660,'DUMMY',15676,'VET2B756ABB',15652,NULL,60.0000,60.0000,0.0000,140.0000,140.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15661,'DUMMY',15677,'VET34F0DBD0',15653,NULL,90.0000,90.0000,0.0000,220.0000,220.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15662,'DUMMY',15678,'VETFD979C65',15654,NULL,40.0000,40.0000,0.0000,110.0000,110.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15663,'DUMMY',15679,'VET7C7997CF',15655,NULL,55.0000,55.0000,0.0000,130.0000,130.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15664,'DUMMY',15680,'VET67C1A687',15656,NULL,45.0000,45.0000,0.0000,120.0000,120.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15665,'DUMMY',15681,'VETF9EFC367',15657,NULL,480.0000,480.0000,0.0000,850.0000,850.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15666,'DUMMY',15682,'VETF9E6FB6C',15658,NULL,320.0000,320.0000,0.0000,600.0000,600.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15667,'DUMMY',15683,'VET54E4F183',15659,NULL,260.0000,260.0000,0.0000,480.0000,480.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15668,'DUMMY',15684,'VETE48204BE',15660,NULL,70.0000,70.0000,0.0000,150.0000,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15669,'DUMMY',15685,'VET892297C7',15661,NULL,110.0000,110.0000,0.0000,200.0000,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15670,'DUMMY',15686,'VET1AD6DEC9',15662,NULL,18.0000,18.0000,0.0000,45.0000,45.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15671,'DUMMY',15687,'VETB3B5ABA8',15663,NULL,65.0000,65.0000,0.0000,150.0000,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15672,'DUMMY',15688,'VETCB7005AF',15664,NULL,30.0000,30.0000,0.0000,80.0000,80.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15673,'DUMMY',15689,'VETE6887F3C',15665,NULL,180.0000,180.0000,0.0000,400.0000,400.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15674,'DUMMY',15690,'VETCA7F87D9',15666,NULL,60.0000,60.0000,0.0000,160.0000,160.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15675,'DUMMY',15691,'VETE2D9C6A4',15667,NULL,45.0000,45.0000,0.0000,130.0000,130.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15676,'DUMMY',15692,'VET31C4F9C0',15668,NULL,70.0000,70.0000,0.0000,190.0000,190.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15677,'DUMMY',15693,'VETBD8BF737',15669,NULL,220.0000,220.0000,0.0000,520.0000,520.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15678,'DUMMY',15694,'VETFE9D926C',15670,NULL,25.0000,25.0000,0.0000,60.0000,60.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15679,'DUMMY',15695,'VET9908960F',15671,NULL,15.0000,15.0000,0.0000,40.0000,40.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15680,'DUMMY',15696,'VET52447B29',15672,NULL,20.0000,20.0000,0.0000,50.0000,50.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15681,'DUMMY',15697,'VETB8AC9861',15673,NULL,60.0000,60.0000,0.0000,180.0000,180.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[{\"variation_id\":15678,\"quantity\":2,\"unit_id\":6},{\"variation_id\":15679,\"quantity\":1,\"unit_id\":6},{\"variation_id\":15680,\"quantity\":1,\"unit_id\":6}]'),(15682,'DUMMY',15698,'VET67A21B3D',15674,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15683,'DUMMY',15699,'VETFAAD29A6',15675,NULL,0.0000,0.0000,0.0000,150.0000,150.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15684,'DUMMY',15700,'VET2F52C34B',15676,NULL,0.0000,0.0000,0.0000,2500.0000,2500.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15685,'DUMMY',15701,'VET037200EA',15677,NULL,0.0000,0.0000,0.0000,1200.0000,1200.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15686,'DUMMY',15702,'VET3D80C8B2',15678,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15687,'DUMMY',15703,'VET480F8A25',15679,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15688,'DUMMY',15704,'VET33BDBFD6',15680,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15689,'DUMMY',15705,'VET32994225',15681,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15690,'DUMMY',15706,'VETEFD0BCB4',15682,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15691,'DUMMY',15707,'VET6E3DA368',15683,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 20:54:55','2026-06-17 20:54:55',NULL,'[]'),(15692,'DUMMY',15708,'VET8A8FF772',15684,NULL,0.0000,0.0000,0.0000,700.0000,700.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15693,'DUMMY',15709,'VETD0E3E92C',15685,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15694,'DUMMY',15710,'VET9676F827',15686,NULL,0.0000,0.0000,0.0000,1400.0000,1400.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15695,'DUMMY',15711,'VET474F62CA',15687,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15696,'DUMMY',15712,'VET5E951A8A',15688,NULL,0.0000,0.0000,0.0000,400.0000,400.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15697,'DUMMY',15713,'VET3F3F1DF5',15689,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15698,'DUMMY',15714,'VETE25E00E6',15690,NULL,0.0000,0.0000,0.0000,1800.0000,1800.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15699,'DUMMY',15715,'VET5E9C99D3',15691,NULL,0.0000,0.0000,0.0000,600.0000,600.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15700,'DUMMY',15716,'VET91FBF939',15692,NULL,0.0000,0.0000,0.0000,750.0000,750.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15701,'DUMMY',15717,'VETBB32F196',15693,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15702,'DUMMY',15718,'VET28216716',15694,NULL,0.0000,0.0000,0.0000,550.0000,550.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15703,'DUMMY',15719,'VETDD62933A',15695,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15704,'DUMMY',15720,'VETE4FD5DEB',15696,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15705,'DUMMY',15721,'VET9EB9DE14',15697,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15706,'DUMMY',15722,'VET14AB21C9',15698,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 20:54:56','2026-06-17 20:54:56',NULL,'[]'),(15707,'DUMMY',15723,'VET799FF509',15699,NULL,120.0000,120.0000,0.0000,250.0000,250.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44',NULL,'[]'),(15708,'DUMMY',15724,'VET00054F3E',15700,NULL,180.0000,180.0000,0.0000,350.0000,350.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44',NULL,'[]'),(15709,'DUMMY',15725,'VETD6CEB333',15701,NULL,200.0000,200.0000,0.0000,400.0000,400.0000,'2026-06-17 20:55:44','2026-06-17 20:55:44',NULL,'[]'),(15710,'DUMMY',15726,'VET27CFBB91',15702,NULL,160.0000,160.0000,0.0000,320.0000,320.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15711,'DUMMY',15727,'VET8B3B9AC1',15703,NULL,140.0000,140.0000,0.0000,280.0000,280.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15712,'DUMMY',15728,'VET6DF0B38E',15704,NULL,35.0000,35.0000,0.0000,90.0000,90.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15713,'DUMMY',15729,'VET90CD035A',15705,NULL,60.0000,60.0000,0.0000,140.0000,140.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15714,'DUMMY',15730,'VET151E7B3D',15706,NULL,90.0000,90.0000,0.0000,220.0000,220.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15715,'DUMMY',15731,'VET46DD43FB',15707,NULL,40.0000,40.0000,0.0000,110.0000,110.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15716,'DUMMY',15732,'VET4C9EC698',15708,NULL,55.0000,55.0000,0.0000,130.0000,130.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15717,'DUMMY',15733,'VETFE01ED8F',15709,NULL,45.0000,45.0000,0.0000,120.0000,120.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15718,'DUMMY',15734,'VETCE27A3CD',15710,NULL,480.0000,480.0000,0.0000,850.0000,850.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15719,'DUMMY',15735,'VET4ED73519',15711,NULL,320.0000,320.0000,0.0000,600.0000,600.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15720,'DUMMY',15736,'VET0425181E',15712,NULL,260.0000,260.0000,0.0000,480.0000,480.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15721,'DUMMY',15737,'VETDF327C40',15713,NULL,70.0000,70.0000,0.0000,150.0000,150.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15722,'DUMMY',15738,'VETBCE7A679',15714,NULL,110.0000,110.0000,0.0000,200.0000,200.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15723,'DUMMY',15739,'VET074C3E17',15715,NULL,18.0000,18.0000,0.0000,45.0000,45.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15724,'DUMMY',15740,'VET23B72072',15716,NULL,65.0000,65.0000,0.0000,150.0000,150.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15725,'DUMMY',15741,'VET3854ECF3',15717,NULL,30.0000,30.0000,0.0000,80.0000,80.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15726,'DUMMY',15742,'VET8C5BA104',15718,NULL,180.0000,180.0000,0.0000,400.0000,400.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15727,'DUMMY',15743,'VETC24357B9',15719,NULL,60.0000,60.0000,0.0000,160.0000,160.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15728,'DUMMY',15744,'VETD4730D83',15720,NULL,45.0000,45.0000,0.0000,130.0000,130.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15729,'DUMMY',15745,'VETE965FF86',15721,NULL,70.0000,70.0000,0.0000,190.0000,190.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15730,'DUMMY',15746,'VET3DF13EB5',15722,NULL,220.0000,220.0000,0.0000,520.0000,520.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15731,'DUMMY',15747,'VET99DCCEA5',15723,NULL,25.0000,25.0000,0.0000,60.0000,60.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15732,'DUMMY',15748,'VET2B7DD66F',15724,NULL,15.0000,15.0000,0.0000,40.0000,40.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15733,'DUMMY',15749,'VET145DD078',15725,NULL,20.0000,20.0000,0.0000,50.0000,50.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15734,'DUMMY',15750,'VET77D56577',15726,NULL,60.0000,60.0000,0.0000,180.0000,180.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[{\"variation_id\":15731,\"quantity\":2,\"unit_id\":7},{\"variation_id\":15732,\"quantity\":1,\"unit_id\":7},{\"variation_id\":15733,\"quantity\":1,\"unit_id\":7}]'),(15735,'DUMMY',15751,'VET9C744DBE',15727,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15736,'DUMMY',15752,'VETEC996918',15728,NULL,0.0000,0.0000,0.0000,150.0000,150.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15737,'DUMMY',15753,'VET3C58188D',15729,NULL,0.0000,0.0000,0.0000,2500.0000,2500.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15738,'DUMMY',15754,'VET47522B19',15730,NULL,0.0000,0.0000,0.0000,1200.0000,1200.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15739,'DUMMY',15755,'VET633E652B',15731,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15740,'DUMMY',15756,'VETA97A632C',15732,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15741,'DUMMY',15757,'VETD739355A',15733,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15742,'DUMMY',15758,'VET24B75228',15734,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15743,'DUMMY',15759,'VETC4FB9C7C',15735,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15744,'DUMMY',15760,'VET70C2C752',15736,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15745,'DUMMY',15761,'VET2BC62DF1',15737,NULL,0.0000,0.0000,0.0000,700.0000,700.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15746,'DUMMY',15762,'VETB4B0C0A3',15738,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15747,'DUMMY',15763,'VET33B1573C',15739,NULL,0.0000,0.0000,0.0000,1400.0000,1400.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15748,'DUMMY',15764,'VET9B864905',15740,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15749,'DUMMY',15765,'VET1E56ADFC',15741,NULL,0.0000,0.0000,0.0000,400.0000,400.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15750,'DUMMY',15766,'VETDCAC6187',15742,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15751,'DUMMY',15767,'VET8C6D371F',15743,NULL,0.0000,0.0000,0.0000,1800.0000,1800.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15752,'DUMMY',15768,'VET0E62B917',15744,NULL,0.0000,0.0000,0.0000,600.0000,600.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15753,'DUMMY',15769,'VET92AB873E',15745,NULL,0.0000,0.0000,0.0000,750.0000,750.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15754,'DUMMY',15770,'VET714CF357',15746,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15755,'DUMMY',15771,'VET69AAC640',15747,NULL,0.0000,0.0000,0.0000,550.0000,550.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15756,'DUMMY',15772,'VETEE73CDF7',15748,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15757,'DUMMY',15773,'VET0BB0EBA2',15749,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15758,'DUMMY',15774,'VETED4FD4C9',15750,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15759,'DUMMY',15775,'VETAF4CC5FD',15751,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 20:55:45','2026-06-17 20:55:45',NULL,'[]'),(15760,'DUMMY',15776,'VETA8E77114',15752,NULL,120.0000,120.0000,0.0000,250.0000,250.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15761,'DUMMY',15777,'VET20A9A1D6',15753,NULL,180.0000,180.0000,0.0000,350.0000,350.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15762,'DUMMY',15778,'VETDA9A6867',15754,NULL,200.0000,200.0000,0.0000,400.0000,400.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15763,'DUMMY',15779,'VET91883948',15755,NULL,160.0000,160.0000,0.0000,320.0000,320.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15764,'DUMMY',15780,'VET091C364C',15756,NULL,140.0000,140.0000,0.0000,280.0000,280.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15765,'DUMMY',15781,'VET420A0A83',15757,NULL,35.0000,35.0000,0.0000,90.0000,90.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15766,'DUMMY',15782,'VET287FA857',15758,NULL,60.0000,60.0000,0.0000,140.0000,140.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15767,'DUMMY',15783,'VET35525099',15759,NULL,90.0000,90.0000,0.0000,220.0000,220.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15768,'DUMMY',15784,'VET106B34C6',15760,NULL,40.0000,40.0000,0.0000,110.0000,110.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15769,'DUMMY',15785,'VETA0417E03',15761,NULL,55.0000,55.0000,0.0000,130.0000,130.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15770,'DUMMY',15786,'VET8C949046',15762,NULL,45.0000,45.0000,0.0000,120.0000,120.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15771,'DUMMY',15787,'VETC32E9B6A',15763,NULL,480.0000,480.0000,0.0000,850.0000,850.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15772,'DUMMY',15788,'VETC7FE0E20',15764,NULL,320.0000,320.0000,0.0000,600.0000,600.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15773,'DUMMY',15789,'VET0EF3C66A',15765,NULL,260.0000,260.0000,0.0000,480.0000,480.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15774,'DUMMY',15790,'VET6215F79E',15766,NULL,70.0000,70.0000,0.0000,150.0000,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15775,'DUMMY',15791,'VETCF674759',15767,NULL,110.0000,110.0000,0.0000,200.0000,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15776,'DUMMY',15792,'VET89BDB6B9',15768,NULL,18.0000,18.0000,0.0000,45.0000,45.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15777,'DUMMY',15793,'VET4F2B46FE',15769,NULL,65.0000,65.0000,0.0000,150.0000,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15778,'DUMMY',15794,'VET110CE71B',15770,NULL,30.0000,30.0000,0.0000,80.0000,80.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15779,'DUMMY',15795,'VET94206A12',15771,NULL,180.0000,180.0000,0.0000,400.0000,400.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15780,'DUMMY',15796,'VETE52A5D2D',15772,NULL,60.0000,60.0000,0.0000,160.0000,160.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15781,'DUMMY',15797,'VETF5CC28E2',15773,NULL,45.0000,45.0000,0.0000,130.0000,130.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15782,'DUMMY',15798,'VETCEEAD250',15774,NULL,70.0000,70.0000,0.0000,190.0000,190.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15783,'DUMMY',15799,'VET1A520D2D',15775,NULL,220.0000,220.0000,0.0000,520.0000,520.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15784,'DUMMY',15800,'VETF332C56A',15776,NULL,25.0000,25.0000,0.0000,60.0000,60.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15785,'DUMMY',15801,'VET4FE8DDAF',15777,NULL,15.0000,15.0000,0.0000,40.0000,40.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15786,'DUMMY',15802,'VET671097FA',15778,NULL,20.0000,20.0000,0.0000,50.0000,50.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15787,'DUMMY',15803,'VET65405095',15779,NULL,60.0000,60.0000,0.0000,180.0000,180.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[{\"variation_id\":15784,\"quantity\":2,\"unit_id\":8},{\"variation_id\":15785,\"quantity\":1,\"unit_id\":8},{\"variation_id\":15786,\"quantity\":1,\"unit_id\":8}]'),(15788,'DUMMY',15804,'VET0BD3DCF6',15780,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15789,'DUMMY',15805,'VETC21AB723',15781,NULL,0.0000,0.0000,0.0000,150.0000,150.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15790,'DUMMY',15806,'VET0AC9E022',15782,NULL,0.0000,0.0000,0.0000,2500.0000,2500.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15791,'DUMMY',15807,'VETB82A3503',15783,NULL,0.0000,0.0000,0.0000,1200.0000,1200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15792,'DUMMY',15808,'VET238DBF57',15784,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15793,'DUMMY',15809,'VETA60B5042',15785,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15794,'DUMMY',15810,'VET1C8008DF',15786,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15795,'DUMMY',15811,'VET0E483770',15787,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15796,'DUMMY',15812,'VET91685290',15788,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15797,'DUMMY',15813,'VETAA192DDB',15789,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15798,'DUMMY',15814,'VETB2DA2C0B',15790,NULL,0.0000,0.0000,0.0000,700.0000,700.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15799,'DUMMY',15815,'VETA9420096',15791,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15800,'DUMMY',15816,'VETC1F1792E',15792,NULL,0.0000,0.0000,0.0000,1400.0000,1400.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15801,'DUMMY',15817,'VETF839A300',15793,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15802,'DUMMY',15818,'VETADF0B16F',15794,NULL,0.0000,0.0000,0.0000,400.0000,400.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15803,'DUMMY',15819,'VET621399EA',15795,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15804,'DUMMY',15820,'VET55764787',15796,NULL,0.0000,0.0000,0.0000,1800.0000,1800.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15805,'DUMMY',15821,'VETC6A68E1C',15797,NULL,0.0000,0.0000,0.0000,600.0000,600.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15806,'DUMMY',15822,'VETBDBB2942',15798,NULL,0.0000,0.0000,0.0000,750.0000,750.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15807,'DUMMY',15823,'VET14C95EE3',15799,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15808,'DUMMY',15824,'VET0A35F4C7',15800,NULL,0.0000,0.0000,0.0000,550.0000,550.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15809,'DUMMY',15825,'VET061B23CD',15801,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15810,'DUMMY',15826,'VETA1C7E54B',15802,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15811,'DUMMY',15827,'VET351101B4',15803,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15812,'DUMMY',15828,'VETFEF3AF19',15804,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 20:58:11','2026-06-17 20:58:11',NULL,'[]'),(15813,'DUMMY',15829,'VET6EC7A828',15805,NULL,120.0000,120.0000,0.0000,250.0000,250.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15814,'DUMMY',15830,'VET781050F7',15806,NULL,180.0000,180.0000,0.0000,350.0000,350.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15815,'DUMMY',15831,'VET89FA9899',15807,NULL,200.0000,200.0000,0.0000,400.0000,400.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15816,'DUMMY',15832,'VETCB785FD7',15808,NULL,160.0000,160.0000,0.0000,320.0000,320.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15817,'DUMMY',15833,'VET5BA4002A',15809,NULL,140.0000,140.0000,0.0000,280.0000,280.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15818,'DUMMY',15834,'VET8EEB324A',15810,NULL,35.0000,35.0000,0.0000,90.0000,90.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15819,'DUMMY',15835,'VET3416D48E',15811,NULL,60.0000,60.0000,0.0000,140.0000,140.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15820,'DUMMY',15836,'VET93A30414',15812,NULL,90.0000,90.0000,0.0000,220.0000,220.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15821,'DUMMY',15837,'VETB4FA8429',15813,NULL,40.0000,40.0000,0.0000,110.0000,110.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15822,'DUMMY',15838,'VET8B91F56E',15814,NULL,55.0000,55.0000,0.0000,130.0000,130.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15823,'DUMMY',15839,'VET0DC44472',15815,NULL,45.0000,45.0000,0.0000,120.0000,120.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15824,'DUMMY',15840,'VET2CB16FD3',15816,NULL,480.0000,480.0000,0.0000,850.0000,850.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15825,'DUMMY',15841,'VET7285D017',15817,NULL,320.0000,320.0000,0.0000,600.0000,600.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15826,'DUMMY',15842,'VET06A7AFC3',15818,NULL,260.0000,260.0000,0.0000,480.0000,480.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15827,'DUMMY',15843,'VET307EF40E',15819,NULL,70.0000,70.0000,0.0000,150.0000,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15828,'DUMMY',15844,'VETAFA91AD6',15820,NULL,110.0000,110.0000,0.0000,200.0000,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15829,'DUMMY',15845,'VET10851280',15821,NULL,18.0000,18.0000,0.0000,45.0000,45.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15830,'DUMMY',15846,'VET91E76E6C',15822,NULL,65.0000,65.0000,0.0000,150.0000,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15831,'DUMMY',15847,'VETDE1DAEBE',15823,NULL,30.0000,30.0000,0.0000,80.0000,80.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15832,'DUMMY',15848,'VET7E338C54',15824,NULL,180.0000,180.0000,0.0000,400.0000,400.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15833,'DUMMY',15849,'VET86E9E427',15825,NULL,60.0000,60.0000,0.0000,160.0000,160.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15834,'DUMMY',15850,'VET9139E8C4',15826,NULL,45.0000,45.0000,0.0000,130.0000,130.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15835,'DUMMY',15851,'VETE157D6D1',15827,NULL,70.0000,70.0000,0.0000,190.0000,190.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15836,'DUMMY',15852,'VET391C64ED',15828,NULL,220.0000,220.0000,0.0000,520.0000,520.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15837,'DUMMY',15853,'VET3AB6945A',15829,NULL,25.0000,25.0000,0.0000,60.0000,60.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15838,'DUMMY',15854,'VET19EFE98D',15830,NULL,15.0000,15.0000,0.0000,40.0000,40.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15839,'DUMMY',15855,'VETE9CF3C38',15831,NULL,20.0000,20.0000,0.0000,50.0000,50.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15840,'DUMMY',15856,'VET8D160103',15832,NULL,60.0000,60.0000,0.0000,180.0000,180.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[{\"variation_id\":15837,\"quantity\":2,\"unit_id\":9},{\"variation_id\":15838,\"quantity\":1,\"unit_id\":9},{\"variation_id\":15839,\"quantity\":1,\"unit_id\":9}]'),(15841,'DUMMY',15857,'VET5523F59D',15833,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15842,'DUMMY',15858,'VETAD41CB38',15834,NULL,0.0000,0.0000,0.0000,150.0000,150.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15843,'DUMMY',15859,'VETE689F5ED',15835,NULL,0.0000,0.0000,0.0000,2500.0000,2500.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15844,'DUMMY',15860,'VETC9C06E95',15836,NULL,0.0000,0.0000,0.0000,1200.0000,1200.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15845,'DUMMY',15861,'VET56EA4A7A',15837,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15846,'DUMMY',15862,'VETF23A7EDD',15838,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15847,'DUMMY',15863,'VETD66F1FC5',15839,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15848,'DUMMY',15864,'VET301CDBD3',15840,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15849,'DUMMY',15865,'VET94628DA5',15841,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15850,'DUMMY',15866,'VETABC0712D',15842,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15851,'DUMMY',15867,'VET94CD010B',15843,NULL,0.0000,0.0000,0.0000,700.0000,700.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15852,'DUMMY',15868,'VET2D7B31E2',15844,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 21:00:02','2026-06-17 21:00:02',NULL,'[]'),(15853,'DUMMY',15869,'VET27EC203D',15845,NULL,0.0000,0.0000,0.0000,1400.0000,1400.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15854,'DUMMY',15870,'VETEC4A3FE0',15846,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15855,'DUMMY',15871,'VETCF4FBF8C',15847,NULL,0.0000,0.0000,0.0000,400.0000,400.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15856,'DUMMY',15872,'VETF8017E6A',15848,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15857,'DUMMY',15873,'VET0C714614',15849,NULL,0.0000,0.0000,0.0000,1800.0000,1800.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15858,'DUMMY',15874,'VET31453136',15850,NULL,0.0000,0.0000,0.0000,600.0000,600.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15859,'DUMMY',15875,'VET0AEE0074',15851,NULL,0.0000,0.0000,0.0000,750.0000,750.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15860,'DUMMY',15876,'VET2815C42B',15852,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15861,'DUMMY',15877,'VET553EAE38',15853,NULL,0.0000,0.0000,0.0000,550.0000,550.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15862,'DUMMY',15878,'VET9C3951F6',15854,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15863,'DUMMY',15879,'VETDFF829AD',15855,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15864,'DUMMY',15880,'VET2617F5EA',15856,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15865,'DUMMY',15881,'VET362CBE55',15857,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 21:00:03','2026-06-17 21:00:03',NULL,'[]'),(15866,'DUMMY',15882,'VETED341C56',15858,NULL,120.0000,120.0000,0.0000,250.0000,250.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15867,'DUMMY',15883,'VET36F01AD3',15859,NULL,180.0000,180.0000,0.0000,350.0000,350.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15868,'DUMMY',15884,'VETFC21A7E1',15860,NULL,200.0000,200.0000,0.0000,400.0000,400.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15869,'DUMMY',15885,'VET9B29857D',15861,NULL,160.0000,160.0000,0.0000,320.0000,320.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15870,'DUMMY',15886,'VET33526AC0',15862,NULL,140.0000,140.0000,0.0000,280.0000,280.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15871,'DUMMY',15887,'VET7C0808C3',15863,NULL,35.0000,35.0000,0.0000,90.0000,90.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15872,'DUMMY',15888,'VET52EF6CEA',15864,NULL,60.0000,60.0000,0.0000,140.0000,140.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15873,'DUMMY',15889,'VETDE76AC48',15865,NULL,90.0000,90.0000,0.0000,220.0000,220.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15874,'DUMMY',15890,'VETA779E80A',15866,NULL,40.0000,40.0000,0.0000,110.0000,110.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15875,'DUMMY',15891,'VET207E67AB',15867,NULL,55.0000,55.0000,0.0000,130.0000,130.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15876,'DUMMY',15892,'VETA234C67A',15868,NULL,45.0000,45.0000,0.0000,120.0000,120.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15877,'DUMMY',15893,'VET165AB18D',15869,NULL,480.0000,480.0000,0.0000,850.0000,850.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15878,'DUMMY',15894,'VET1C177096',15870,NULL,320.0000,320.0000,0.0000,600.0000,600.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15879,'DUMMY',15895,'VETF35AD6F1',15871,NULL,260.0000,260.0000,0.0000,480.0000,480.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15880,'DUMMY',15896,'VET9A858815',15872,NULL,70.0000,70.0000,0.0000,150.0000,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15881,'DUMMY',15897,'VET1752D138',15873,NULL,110.0000,110.0000,0.0000,200.0000,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15882,'DUMMY',15898,'VET0137FDEC',15874,NULL,18.0000,18.0000,0.0000,45.0000,45.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15883,'DUMMY',15899,'VETD2E2CA78',15875,NULL,65.0000,65.0000,0.0000,150.0000,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15884,'DUMMY',15900,'VETC21B60B3',15876,NULL,30.0000,30.0000,0.0000,80.0000,80.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15885,'DUMMY',15901,'VET308C94A7',15877,NULL,180.0000,180.0000,0.0000,400.0000,400.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15886,'DUMMY',15902,'VET694BE764',15878,NULL,60.0000,60.0000,0.0000,160.0000,160.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15887,'DUMMY',15903,'VETC7470A17',15879,NULL,45.0000,45.0000,0.0000,130.0000,130.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15888,'DUMMY',15904,'VET7EB9C1A7',15880,NULL,70.0000,70.0000,0.0000,190.0000,190.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15889,'DUMMY',15905,'VET12622885',15881,NULL,220.0000,220.0000,0.0000,520.0000,520.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15890,'DUMMY',15906,'VET41A3934C',15882,NULL,25.0000,25.0000,0.0000,60.0000,60.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15891,'DUMMY',15907,'VET87F8335E',15883,NULL,15.0000,15.0000,0.0000,40.0000,40.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15892,'DUMMY',15908,'VETC2252FF2',15884,NULL,20.0000,20.0000,0.0000,50.0000,50.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15893,'DUMMY',15909,'VET9BA8C00B',15885,NULL,60.0000,60.0000,0.0000,180.0000,180.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[{\"variation_id\":15890,\"quantity\":2,\"unit_id\":10},{\"variation_id\":15891,\"quantity\":1,\"unit_id\":10},{\"variation_id\":15892,\"quantity\":1,\"unit_id\":10}]'),(15894,'DUMMY',15910,'VETB39AED26',15886,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15895,'DUMMY',15911,'VET4E5EA464',15887,NULL,0.0000,0.0000,0.0000,150.0000,150.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15896,'DUMMY',15912,'VET8F5A3934',15888,NULL,0.0000,0.0000,0.0000,2500.0000,2500.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15897,'DUMMY',15913,'VET8B2ED3E0',15889,NULL,0.0000,0.0000,0.0000,1200.0000,1200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15898,'DUMMY',15914,'VETCF146481',15890,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15899,'DUMMY',15915,'VETB2FE6E82',15891,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15900,'DUMMY',15916,'VETF1AB440F',15892,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15901,'DUMMY',15917,'VET93EDD1C2',15893,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15902,'DUMMY',15918,'VETF3A806E6',15894,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15903,'DUMMY',15919,'VET9B4C1878',15895,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15904,'DUMMY',15920,'VET0DD0D571',15896,NULL,0.0000,0.0000,0.0000,700.0000,700.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15905,'DUMMY',15921,'VETF20577F1',15897,NULL,0.0000,0.0000,0.0000,900.0000,900.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15906,'DUMMY',15922,'VET617BF126',15898,NULL,0.0000,0.0000,0.0000,1400.0000,1400.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15907,'DUMMY',15923,'VET10B23077',15899,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15908,'DUMMY',15924,'VETA280F722',15900,NULL,0.0000,0.0000,0.0000,400.0000,400.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15909,'DUMMY',15925,'VET3520BC99',15901,NULL,0.0000,0.0000,0.0000,350.0000,350.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15910,'DUMMY',15926,'VET15E5ABFE',15902,NULL,0.0000,0.0000,0.0000,1800.0000,1800.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15911,'DUMMY',15927,'VETD10C587F',15903,NULL,0.0000,0.0000,0.0000,600.0000,600.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15912,'DUMMY',15928,'VET35AD2C05',15904,NULL,0.0000,0.0000,0.0000,750.0000,750.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15913,'DUMMY',15929,'VETB4DAB0DA',15905,NULL,0.0000,0.0000,0.0000,300.0000,300.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15914,'DUMMY',15930,'VETC7B45F2C',15906,NULL,0.0000,0.0000,0.0000,550.0000,550.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15915,'DUMMY',15931,'VETCEF63B6D',15907,NULL,0.0000,0.0000,0.0000,500.0000,500.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15916,'DUMMY',15932,'VET79950AF4',15908,NULL,0.0000,0.0000,0.0000,250.0000,250.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15917,'DUMMY',15933,'VET4BE3FA04',15909,NULL,0.0000,0.0000,0.0000,450.0000,450.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]'),(15918,'DUMMY',15934,'VET1CB6AB79',15910,NULL,0.0000,0.0000,0.0000,200.0000,200.0000,'2026-06-17 21:11:54','2026-06-17 21:11:54',NULL,'[]');
/*!40000 ALTER TABLE `variations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vascular_surgery_patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vascular_surgery_patient_profiles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `clc_patient_id` int(10) unsigned NOT NULL,
  `abi_right` decimal(8,2) DEFAULT NULL,
  `abi_left` decimal(8,2) DEFAULT NULL,
  `affected_vessel` varchar(120) DEFAULT NULL,
  `planned_procedure` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vascular_surgery_patient_profiles_clc_patient_id_unique` (`clc_patient_id`),
  CONSTRAINT `vascular_surgery_patient_profiles_clc_patient_id_foreign` FOREIGN KEY (`clc_patient_id`) REFERENCES `clc_patients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vascular_surgery_patient_profiles` WRITE;
/*!40000 ALTER TABLE `vascular_surgery_patient_profiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `vascular_surgery_patient_profiles` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointment_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointment_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` bigint(20) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `document_name` varchar(191) NOT NULL,
  `document_type` enum('lab_report','xray','prescription','consent_form','discharge_summary','other') NOT NULL DEFAULT 'other',
  `description` text DEFAULT NULL,
  `file_name` varchar(191) NOT NULL,
  `file_path` varchar(500) NOT NULL,
  `file_size` bigint(20) unsigned DEFAULT NULL,
  `mime_type` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointment_documents` WRITE;
/*!40000 ALTER TABLE `vc_appointment_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_appointment_documents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointment_edit_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointment_edit_requests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `requested_by` int(10) unsigned NOT NULL,
  `reason` text NOT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `reviewed_by` int(10) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_notes` text DEFAULT NULL,
  `consumed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_appointment_edit_requests_business_id_index` (`business_id`),
  KEY `vc_appointment_edit_requests_appointment_id_index` (`appointment_id`),
  KEY `vc_appointment_edit_requests_requested_by_index` (`requested_by`),
  KEY `vc_appointment_edit_requests_status_index` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointment_edit_requests` WRITE;
/*!40000 ALTER TABLE `vc_appointment_edit_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_appointment_edit_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointment_exam_findings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointment_exam_findings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `template_id` int(10) unsigned NOT NULL,
  `template_item_id` int(10) unsigned NOT NULL,
  `region_snapshot` varchar(80) DEFAULT NULL,
  `item_label_snapshot` varchar(200) NOT NULL,
  `side` varchar(8) DEFAULT NULL,
  `value` text DEFAULT NULL,
  `numeric_value` decimal(10,3) DEFAULT NULL,
  `values_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`values_json`)),
  `free_text` text DEFAULT NULL,
  `severity` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `is_critical` tinyint(1) NOT NULL DEFAULT 0,
  `recorded_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_exam_finding_unique` (`appointment_id`,`template_item_id`,`side`),
  KEY `vc_exam_finding_critical` (`appointment_id`,`is_critical`),
  KEY `vc_appointment_exam_findings_business_id_index` (`business_id`),
  KEY `vc_appointment_exam_findings_appointment_id_index` (`appointment_id`),
  KEY `vc_appointment_exam_findings_template_id_index` (`template_id`),
  KEY `vc_appointment_exam_findings_template_item_id_index` (`template_item_id`),
  KEY `vc_appointment_exam_findings_severity_index` (`severity`),
  KEY `vc_appointment_exam_findings_is_critical_index` (`is_critical`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointment_exam_findings` WRITE;
/*!40000 ALTER TABLE `vc_appointment_exam_findings` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_appointment_exam_findings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointment_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointment_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `appointment_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `title` varchar(150) DEFAULT NULL,
  `notes` text NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_appointment_notes_appointment_id_index` (`appointment_id`),
  CONSTRAINT `vc_appointment_notes_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `vc_appointments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointment_notes` WRITE;
/*!40000 ALTER TABLE `vc_appointment_notes` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_appointment_notes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointment_reasons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointment_reasons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_appointment_reasons_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointment_reasons` WRITE;
/*!40000 ALTER TABLE `vc_appointment_reasons` DISABLE KEYS */;
INSERT INTO `vc_appointment_reasons` VALUES (1,NULL,'Routine Check-up','active',1,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(2,NULL,'Vaccination Due','active',2,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(3,NULL,'Sick Visit','active',3,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(4,NULL,'Follow-Up Visit','active',4,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(5,NULL,'Pre-Surgery Consultation','active',5,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(6,NULL,'Post-Surgery Follow-Up','active',6,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(7,NULL,'Parasite Prevention','active',7,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(8,NULL,'Dental Cleaning','active',8,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(9,NULL,'Wound / Injury','active',9,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(10,NULL,'Nutrition Consultation','active',10,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(11,NULL,'Behavioral Concern','active',11,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(12,NULL,'Eye / Ear Problem','active',12,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(13,NULL,'Skin / Coat Problem','active',13,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(14,NULL,'Vomiting / Diarrhea','active',14,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(15,NULL,'Lethargy / Not Eating','active',15,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(16,NULL,'Pregnancy / Reproductive','active',16,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(17,NULL,'Spay / Neuter Consultation','active',17,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(18,NULL,'Microchip Registration','active',18,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(19,NULL,'Certificate / Documentation','active',19,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(20,NULL,'Emergency','active',20,'2026-04-25 23:14:00','2026-04-25 23:14:00');
/*!40000 ALTER TABLE `vc_appointment_reasons` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointment_status_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointment_status_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `from_status` varchar(30) DEFAULT NULL,
  `to_status` varchar(30) NOT NULL,
  `changed_by` int(10) unsigned DEFAULT NULL,
  `changed_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_appointment_status_logs_business_id_index` (`business_id`),
  KEY `vc_appointment_status_logs_appointment_id_index` (`appointment_id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointment_status_logs` WRITE;
/*!40000 ALTER TABLE `vc_appointment_status_logs` DISABLE KEYS */;
INSERT INTO `vc_appointment_status_logs` VALUES (17,5,50,'pending','waiting',164,'2026-06-16 16:33:06','2026-06-16 16:33:06','2026-06-16 16:33:06'),(18,5,50,'','in_progress',164,'2026-06-16 16:33:28','2026-06-16 16:33:28','2026-06-16 16:33:28'),(19,10,97,'pending','in_progress',195,'2026-06-23 23:04:15','2026-06-23 23:04:15','2026-06-23 23:04:15'),(20,10,91,'pending','in_progress',201,'2026-06-24 22:31:55','2026-06-24 22:31:55','2026-06-24 22:31:55');
/*!40000 ALTER TABLE `vc_appointment_status_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointment_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointment_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `color` varchar(20) NOT NULL DEFAULT '#2980b9',
  `icon` varchar(50) NOT NULL DEFAULT 'fa-calendar-check',
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_appointment_types_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointment_types` WRITE;
/*!40000 ALTER TABLE `vc_appointment_types` DISABLE KEYS */;
INSERT INTO `vc_appointment_types` VALUES (2,NULL,'General Consultation','#2980b9','fa-stethoscope','active',1,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(3,NULL,'Vaccination','#27ae60','fa-syringe','active',2,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(4,NULL,'Surgery','#c0392b','fa-scalpel','active',3,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(5,NULL,'Grooming','#8e44ad','fa-cut','active',4,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(6,NULL,'Dental','#16a085','fa-tooth','active',5,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(7,NULL,'Dermatology','#d35400','fa-band-aid','active',6,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(8,NULL,'X-Ray / Imaging','#2c3e50','fa-x-ray','active',7,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(9,NULL,'Lab / Blood Work','#922b21','fa-vial','active',8,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(10,NULL,'Follow-Up','#3498db','fa-redo','active',9,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(11,NULL,'Emergency','#e67e22','fa-ambulance','active',10,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(12,NULL,'Wellness / Checkup','#1abc9c','fa-heart','active',11,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(13,NULL,'Ophthalmology','#6c3483','fa-eye','active',12,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(14,NULL,'Orthopedics','#7f8c8d','fa-bone','active',13,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(15,NULL,'Microchipping','#2980b9','fa-microchip','active',14,'2026-04-25 23:14:00','2026-04-25 23:14:00'),(16,NULL,'Spay / Neuter','#e74c3c','fa-cut','active',15,'2026-04-25 23:14:00','2026-04-25 23:14:00');
/*!40000 ALTER TABLE `vc_appointment_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_appointments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_appointments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `department_id` int(10) unsigned DEFAULT NULL,
  `schedule_id` int(10) unsigned DEFAULT NULL,
  `ref_no` varchar(30) NOT NULL,
  `appointment_date` date NOT NULL,
  `appointment_time` time NOT NULL,
  `duration_minutes` smallint(5) unsigned NOT NULL DEFAULT 30,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `temperature` decimal(4,1) DEFAULT NULL,
  `heart_rate` smallint(5) unsigned DEFAULT NULL,
  `respiratory_rate` smallint(5) unsigned DEFAULT NULL,
  `soap_subjective` text DEFAULT NULL,
  `soap_objective` text DEFAULT NULL,
  `soap_assessment` text DEFAULT NULL,
  `soap_investigations` text DEFAULT NULL,
  `soap_lab_investigations` text DEFAULT NULL,
  `soap_exam_investigations` text DEFAULT NULL,
  `exam_results` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`exam_results`)),
  `next_visit_date` date DEFAULT NULL,
  `next_visit_time` time DEFAULT NULL,
  `next_visit_doctor_id` int(10) unsigned DEFAULT NULL,
  `next_visit_department_id` int(10) unsigned DEFAULT NULL,
  `next_visit_reason` varchar(255) DEFAULT NULL,
  `next_visit_type_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`next_visit_type_ids`)),
  `next_visit_reason_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`next_visit_reason_ids`)),
  `next_visit_notes` text DEFAULT NULL,
  `next_appointment_id` int(10) unsigned DEFAULT NULL,
  `soap_plan` text DEFAULT NULL,
  `soap_plan_meds_json` text DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `reason_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`reason_ids`)),
  `type` enum('checkup','vaccination','surgery','grooming','emergency','other') NOT NULL DEFAULT 'checkup',
  `type_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`type_ids`)),
  `status` enum('pending','confirmed','in_progress','completed','cancelled','no_show') NOT NULL DEFAULT 'pending',
  `arrived_at` timestamp NULL DEFAULT NULL,
  `consultation_started_at` timestamp NULL DEFAULT NULL,
  `consultation_ended_at` timestamp NULL DEFAULT NULL,
  `waiting_minutes` int(10) unsigned DEFAULT NULL,
  `consultation_minutes` int(10) unsigned DEFAULT NULL,
  `has_overlap` tinyint(1) NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `doctor_notes` text DEFAULT NULL,
  `erp_sell_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `vitals_critical_count` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `vitals_abnormal_count` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `vitals_critical_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`vitals_critical_json`)),
  `findings_critical_count` smallint(5) unsigned NOT NULL DEFAULT 0,
  `last_critical_check_at` timestamp NULL DEFAULT NULL,
  `ai_subjective_hash` varchar(40) DEFAULT NULL,
  `ai_exam_suggestions_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`ai_exam_suggestions_json`)),
  `ai_symptoms_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`ai_symptoms_json`)),
  `ai_advice_updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_appointments_ref_no_unique` (`ref_no`),
  KEY `vc_appointments_contact_id_foreign` (`contact_id`),
  KEY `vc_appointments_pet_id_foreign` (`pet_id`),
  KEY `vc_appointments_doctor_id_foreign` (`doctor_id`),
  KEY `vc_appointments_department_id_foreign` (`department_id`),
  KEY `vc_appointments_business_id_appointment_date_index` (`business_id`,`appointment_date`),
  KEY `vc_appointments_business_id_status_index` (`business_id`,`status`),
  KEY `vc_appointments_location_id_foreign` (`location_id`),
  KEY `vc_appointments_schedule_id_foreign` (`schedule_id`),
  KEY `vc_appointments_next_visit_doctor_id_index` (`next_visit_doctor_id`),
  KEY `vc_appointments_next_visit_department_id_index` (`next_visit_department_id`),
  KEY `vc_appointments_next_appointment_id_index` (`next_appointment_id`),
  KEY `vc_appointments_vitals_critical_count_index` (`vitals_critical_count`),
  KEY `vc_appointments_findings_critical_count_index` (`findings_critical_count`),
  KEY `vc_appointments_ai_subjective_hash_index` (`ai_subjective_hash`),
  CONSTRAINT `vc_appointments_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_appointments_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_appointments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `vc_departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_appointments_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `vc_doctors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_appointments_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `vc_clinic_locations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_appointments_pet_id_foreign` FOREIGN KEY (`pet_id`) REFERENCES `vc_pets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_appointments_schedule_id_foreign` FOREIGN KEY (`schedule_id`) REFERENCES `vc_doctor_schedules` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_appointments` WRITE;
/*!40000 ALTER TABLE `vc_appointments` DISABLE KEYS */;
INSERT INTO `vc_appointments` VALUES (83,10,31,6092,70,19,NULL,NULL,'APT-0001','2026-05-24','09:00:00',30,12.50,38.6,90,NULL,'Owner reports reduced appetite and mild lethargy over 3 days.','BAR, mild dehydration, temp 38.6°C, HR 90 bpm.','Suspected mild gastroenteritis.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Supportive care + bland diet; recheck in 1 week.',NULL,'General Consultation','[1]','','[2]','completed',NULL,'2026-05-24 06:05:00','2026-05-24 06:35:00',NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(84,10,31,6093,71,20,NULL,NULL,'APT-0002','2026-05-31','10:00:00',30,12.50,38.6,90,NULL,'Owner reports reduced appetite and mild lethargy over 3 days.','BAR, mild dehydration, temp 38.6°C, HR 90 bpm.','Suspected mild gastroenteritis.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Supportive care + bland diet; recheck in 1 week.',NULL,'Vaccination','[2]','vaccination','[3]','completed',NULL,'2026-05-31 06:05:00','2026-05-31 06:35:00',NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(85,10,31,6094,72,21,NULL,NULL,'APT-0003','2026-06-06','11:00:00',30,12.50,38.6,90,NULL,'Owner reports reduced appetite and mild lethargy over 3 days.','BAR, mild dehydration, temp 38.6°C, HR 90 bpm.','Suspected mild gastroenteritis.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Supportive care + bland diet; recheck in 1 week.',NULL,'Dental','[3]','','[6]','completed',NULL,'2026-06-06 06:05:00','2026-06-06 06:35:00',NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(86,10,31,6095,73,19,NULL,NULL,'APT-0004','2026-06-12','12:00:00',30,12.50,38.6,90,NULL,'Owner reports reduced appetite and mild lethargy over 3 days.','BAR, mild dehydration, temp 38.6°C, HR 90 bpm.','Suspected mild gastroenteritis.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Supportive care + bland diet; recheck in 1 week.',NULL,'Lab / Blood Work','[4]','','[9]','completed',NULL,'2026-06-12 06:05:00','2026-06-12 06:35:00',NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(87,10,31,6096,74,20,NULL,NULL,'APT-0005','2026-06-14','13:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Follow-Up','[5]','','[10]','no_show',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(88,10,31,6097,75,21,NULL,NULL,'APT-0006','2026-06-16','14:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Grooming','[6]','grooming','[5]','cancelled',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(89,10,31,6098,76,19,NULL,NULL,'APT-0007','2026-06-20','15:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Wellness / Checkup','[7]','','[12]','in_progress','2026-06-18 23:06:45','2026-06-18 23:06:45',NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-18 23:06:45',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(90,10,31,6099,77,20,NULL,NULL,'APT-0008','2026-06-22','09:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Surgery','[8]','surgery','[4]','confirmed',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(91,10,31,6100,78,21,NULL,NULL,'APT-0009','2026-06-25','10:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Vaccination','[9]','vaccination','[3]','in_progress',NULL,'2026-06-24 22:31:55',NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-24 22:32:19',0,0,NULL,0,NULL,'642409b609908d21f0b6784365a2ae27f53a29a6','{\"suggested\":[],\"reason\":\"\"}','{\"findings\":[],\"overall_concern\":\"low\"}','2026-06-24 22:32:19'),(92,10,31,6101,79,19,NULL,NULL,'APT-0010','2026-06-28','11:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'X-Ray / Imaging','[10]','','[8]','pending',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(94,10,13,6094,72,21,25,76,'APT-6A346285E05DC','2026-06-21','09:30:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[\"1\"]','other','[\"2\"]','pending',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-18 21:26:29','2026-06-18 21:26:29',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(95,10,12,6094,72,19,22,66,'APT-6A3463FDD0EE3','2026-06-21','09:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'\"[5]\"','','\"[6]\"','pending',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-18 21:32:45','2026-06-18 21:32:45',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(96,10,13,6098,76,21,25,80,'APT-6A347A307C96B','2026-06-18','09:00:00',60,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Routine Check-up','\"[1,8]\"','','\"[2,10]\"','pending',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-18 23:07:28','2026-06-18 23:07:28',0,0,NULL,0,NULL,NULL,NULL,NULL,NULL),(97,10,13,6094,72,21,25,79,'APT-6A3B10E1ED0E9','2026-06-24','09:00:00',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'[\"3\"]','other','[\"4\"]','in_progress',NULL,'2026-06-23 23:04:15',NULL,NULL,NULL,0,NULL,NULL,NULL,'2026-06-23 23:04:01','2026-06-23 23:04:34',0,0,NULL,0,NULL,'7c77c43698590ac50cf122d44cbf606589d95afa','{\"suggested\":[],\"reason\":\"\"}','{\"findings\":[],\"overall_concern\":\"low\"}','2026-06-23 23:04:34');
/*!40000 ALTER TABLE `vc_appointments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_authorized_vets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_authorized_vets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned NOT NULL,
  `schedules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`schedules`)),
  `permit_no` varchar(80) DEFAULT NULL,
  `valid_until` date DEFAULT NULL,
  `document_path` varchar(191) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_authorized_vets_business_id_doctor_id_unique` (`business_id`,`doctor_id`),
  KEY `vc_authorized_vets_business_id_index` (`business_id`),
  KEY `vc_authorized_vets_doctor_id_index` (`doctor_id`),
  KEY `vc_authorized_vets_valid_until_index` (`valid_until`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_authorized_vets` WRITE;
/*!40000 ALTER TABLE `vc_authorized_vets` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_authorized_vets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_birth_death_records`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_birth_death_records` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `record_type` enum('birth','death') NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `event_date` date NOT NULL,
  `event_time` time DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_birth_death_records_pet_id_foreign` (`pet_id`),
  KEY `vc_birth_death_records_business_id_record_type_index` (`business_id`,`record_type`),
  CONSTRAINT `vc_birth_death_records_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_birth_death_records_pet_id_foreign` FOREIGN KEY (`pet_id`) REFERENCES `vc_pets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_birth_death_records` WRITE;
/*!40000 ALTER TABLE `vc_birth_death_records` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_birth_death_records` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_block_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_block_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `enable_auto_block` tinyint(1) NOT NULL DEFAULT 0,
  `block_rating_threshold` tinyint(3) unsigned NOT NULL DEFAULT 25,
  `min_ratings_to_evaluate` tinyint(3) unsigned NOT NULL DEFAULT 3,
  `block_zero_credit_limit` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_block_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_block_settings` WRITE;
/*!40000 ALTER TABLE `vc_block_settings` DISABLE KEYS */;
INSERT INTO `vc_block_settings` VALUES (2,10,0,25,3,1,'2026-06-20 15:00:05','2026-06-20 15:00:05');
/*!40000 ALTER TABLE `vc_block_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_clinic_locations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_clinic_locations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `business_location_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `email` varchar(150) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_clinic_locations_business_id_status_index` (`business_id`,`status`),
  KEY `vc_clinic_locations_business_location_id_foreign` (`business_location_id`),
  CONSTRAINT `vc_clinic_locations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_clinic_locations_business_location_id_foreign` FOREIGN KEY (`business_location_id`) REFERENCES `business_locations` (`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 */;

LOCK TABLES `vc_clinic_locations` WRITE;
/*!40000 ALTER TABLE `vc_clinic_locations` DISABLE KEYS */;
INSERT INTO `vc_clinic_locations` VALUES (12,10,NULL,'VET One — New Cairo','90th Street, New Cairo','+201092288093','clinic@vetone.test',NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(13,10,NULL,'VET One — Maadi','Road 9, Maadi','+201092288093','clinic@vetone.test',NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_clinic_locations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_confidential_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_confidential_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `subject_type` varchar(20) NOT NULL,
  `subject_id` bigint(20) unsigned NOT NULL,
  `visibility` enum('normal','confidential') NOT NULL DEFAULT 'normal',
  `title` varchar(191) DEFAULT NULL,
  `body` text NOT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `updated_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_confidential_notes_subject_type_subject_id_index` (`subject_type`,`subject_id`),
  KEY `vc_confidential_notes_business_id_index` (`business_id`),
  KEY `vc_confidential_notes_visibility_index` (`visibility`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_confidential_notes` WRITE;
/*!40000 ALTER TABLE `vc_confidential_notes` DISABLE KEYS */;
INSERT INTO `vc_confidential_notes` VALUES (3,5,'pet',14,'normal','gdsgdsfgfdsgsdg','sgdfgdfg',164,164,'2026-06-16 16:15:20','2026-06-16 16:15:20');
/*!40000 ALTER TABLE `vc_confidential_notes` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_consent_signatures`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_consent_signatures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consent_id` int(10) unsigned NOT NULL,
  `method` varchar(20) NOT NULL DEFAULT 'canvas',
  `signed_by_name` varchar(191) NOT NULL,
  `signed_by_relation` varchar(60) DEFAULT NULL,
  `png_path` varchar(255) NOT NULL,
  `file_mime` varchar(100) DEFAULT NULL,
  `file_size` int(10) unsigned DEFAULT NULL,
  `original_filename` varchar(191) DEFAULT NULL,
  `png_hash_sha256` char(64) NOT NULL,
  `ip` varchar(45) DEFAULT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `signed_at` timestamp NULL DEFAULT NULL,
  `superseded_at` timestamp NULL DEFAULT NULL,
  `captured_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_consent_signatures_png_hash_sha256_index` (`png_hash_sha256`),
  KEY `vc_consent_signatures_consent_id_superseded_at_index` (`consent_id`,`superseded_at`),
  KEY `vc_consent_signatures_consent_id_index` (`consent_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_consent_signatures` WRITE;
/*!40000 ALTER TABLE `vc_consent_signatures` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_consent_signatures` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_consent_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_consent_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(60) NOT NULL,
  `category` varchar(40) NOT NULL DEFAULT 'general',
  `name_en` varchar(191) NOT NULL,
  `name_ar` varchar(191) DEFAULT NULL,
  `body_en` longtext DEFAULT NULL,
  `body_ar` longtext DEFAULT NULL,
  `requires_witness` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_consent_templates_business_id_index` (`business_id`),
  KEY `vc_consent_templates_code_index` (`code`),
  KEY `vc_consent_templates_category_index` (`category`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_consent_templates` WRITE;
/*!40000 ALTER TABLE `vc_consent_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_consent_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_consents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_consents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `consent_template_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(60) DEFAULT NULL,
  `category` varchar(40) DEFAULT NULL,
  `title` varchar(191) NOT NULL,
  `language` enum('en','ar','both') NOT NULL DEFAULT 'both',
  `body_en` longtext DEFAULT NULL,
  `body_ar` longtext DEFAULT NULL,
  `signatory_name` varchar(191) DEFAULT NULL,
  `signatory_relationship` varchar(60) DEFAULT NULL,
  `witness_name` varchar(191) DEFAULT NULL,
  `issued_by` int(10) unsigned DEFAULT NULL,
  `issued_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `signed_file_path` varchar(191) DEFAULT NULL,
  `signed_file_name` varchar(191) DEFAULT NULL,
  `signed_file_size` int(10) unsigned DEFAULT NULL,
  `signed_mime_type` varchar(100) DEFAULT NULL,
  `signed_uploaded_at` timestamp NULL DEFAULT NULL,
  `signed_uploaded_by` int(10) unsigned DEFAULT NULL,
  `archived_at` timestamp NULL DEFAULT NULL,
  `archived_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_consents_business_id_index` (`business_id`),
  KEY `vc_consents_consent_template_id_index` (`consent_template_id`),
  KEY `vc_consents_appointment_id_index` (`appointment_id`),
  KEY `vc_consents_pet_id_index` (`pet_id`),
  KEY `vc_consents_contact_id_index` (`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_consents` WRITE;
/*!40000 ALTER TABLE `vc_consents` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_consents` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_controlled_daily_seals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_controlled_daily_seals` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `seal_date` date NOT NULL,
  `movement_count` int(10) unsigned NOT NULL DEFAULT 0,
  `first_movement_id` int(10) unsigned DEFAULT NULL,
  `last_movement_id` int(10) unsigned DEFAULT NULL,
  `prev_hash` varchar(64) DEFAULT NULL,
  `hash` varchar(64) NOT NULL,
  `sealed_at` timestamp NULL DEFAULT NULL,
  `sealed_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_controlled_daily_seals_business_id_seal_date_unique` (`business_id`,`seal_date`),
  KEY `vc_controlled_daily_seals_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_controlled_daily_seals` WRITE;
/*!40000 ALTER TABLE `vc_controlled_daily_seals` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_controlled_daily_seals` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_controlled_reconciliations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_controlled_reconciliations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `reference` varchar(30) NOT NULL,
  `medicine_id` int(10) unsigned NOT NULL,
  `batch_no` varchar(60) DEFAULT NULL,
  `expected_qty` decimal(14,3) NOT NULL,
  `counted_qty` decimal(14,3) NOT NULL,
  `variance` decimal(14,3) NOT NULL,
  `unit` varchar(30) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `stocktake_at` datetime NOT NULL,
  `witnessed_by` int(10) unsigned DEFAULT NULL,
  `movement_id` int(10) unsigned DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_controlled_reconciliations_reference_unique` (`reference`),
  KEY `vc_controlled_reconciliations_business_id_medicine_id_index` (`business_id`,`medicine_id`),
  KEY `vc_controlled_reconciliations_business_id_index` (`business_id`),
  KEY `vc_controlled_reconciliations_medicine_id_index` (`medicine_id`),
  KEY `vc_controlled_reconciliations_batch_no_index` (`batch_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_controlled_reconciliations` WRITE;
/*!40000 ALTER TABLE `vc_controlled_reconciliations` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_controlled_reconciliations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_controlled_stock_movements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_controlled_stock_movements` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `serial_no` varchar(30) NOT NULL,
  `medicine_id` int(10) unsigned NOT NULL,
  `direction` enum('in','out','adjust') NOT NULL,
  `qty` decimal(12,3) NOT NULL,
  `unit` varchar(30) DEFAULT NULL,
  `batch_no` varchar(60) DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `balance_after` decimal(14,3) NOT NULL DEFAULT 0.000,
  `reason_code` varchar(30) NOT NULL,
  `source_type` varchar(40) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `source_line_id` bigint(20) unsigned DEFAULT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `prescription_id` int(10) unsigned DEFAULT NULL,
  `stocktake_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `witness_user_id` int(10) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_controlled_stock_movements_serial_no_unique` (`serial_no`),
  UNIQUE KEY `vc_cm_source_unique` (`business_id`,`source_type`,`source_id`,`source_line_id`),
  KEY `vc_controlled_stock_movements_business_id_index` (`business_id`),
  KEY `vc_controlled_stock_movements_medicine_id_index` (`medicine_id`),
  KEY `vc_controlled_stock_movements_batch_no_index` (`batch_no`),
  KEY `vc_controlled_stock_movements_reason_code_index` (`reason_code`),
  KEY `vc_controlled_stock_movements_pet_id_index` (`pet_id`),
  KEY `vc_controlled_stock_movements_contact_id_index` (`contact_id`),
  KEY `vc_controlled_stock_movements_appointment_id_index` (`appointment_id`),
  KEY `vc_controlled_stock_movements_prescription_id_index` (`prescription_id`),
  KEY `vc_controlled_stock_movements_source_type_index` (`source_type`),
  KEY `vc_controlled_stock_movements_stocktake_id_index` (`stocktake_id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_controlled_stock_movements` WRITE;
/*!40000 ALTER TABLE `vc_controlled_stock_movements` DISABLE KEYS */;
INSERT INTO `vc_controlled_stock_movements` VALUES (23,10,'CR-10-0000001',544,'in',200.000,'ml','KET-2406','2028-06-18',200.000,'receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Opening stock received into controlled register.',195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(24,10,'CR-10-0000002',555,'in',120.000,'ml','DZP-2405','2028-06-18',120.000,'receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Opening stock received into controlled register.',195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(25,10,'CR-10-0000003',507,'in',300.000,'mg','TRM-2404','2028-06-18',300.000,'receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Opening stock received into controlled register.',195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(26,10,'CR-10-0000004',556,'in',150.000,'mg','PHB-2403','2028-06-18',150.000,'receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Opening stock received into controlled register.',195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(27,10,'CR-10-0000005',557,'in',60.000,'ml','BUP-2406','2028-06-18',60.000,'receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Opening stock received into controlled register.',195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(28,10,'CR-10-0000006',558,'in',90.000,'mg','MOR-2402','2028-06-18',90.000,'receive',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Opening stock received into controlled register.',195,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_controlled_stock_movements` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_departments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_departments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `icon` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_departments_business_id_index` (`business_id`),
  KEY `vc_departments_location_id_foreign` (`location_id`),
  CONSTRAINT `vc_departments_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_departments_location_id_foreign` FOREIGN KEY (`location_id`) REFERENCES `vc_clinic_locations` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_departments` WRITE;
/*!40000 ALTER TABLE `vc_departments` DISABLE KEYS */;
INSERT INTO `vc_departments` VALUES (22,10,12,'General Practice',NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(23,10,12,'Surgery',NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(24,10,12,'Dentistry',NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(25,10,13,'Diagnostics & Lab',NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_departments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_doctor_change_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_doctor_change_requests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `requested_by` int(10) unsigned NOT NULL,
  `current_doctor_id` int(10) unsigned DEFAULT NULL,
  `requested_doctor_id` int(10) unsigned NOT NULL,
  `scope` enum('this_appointment','set_preferred') NOT NULL DEFAULT 'this_appointment',
  `reason` text NOT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `reviewed_by` int(10) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_notes` text DEFAULT NULL,
  `consumed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_doctor_change_requests_business_id_index` (`business_id`),
  KEY `vc_doctor_change_requests_appointment_id_index` (`appointment_id`),
  KEY `vc_doctor_change_requests_requested_by_index` (`requested_by`),
  KEY `vc_doctor_change_requests_status_index` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_doctor_change_requests` WRITE;
/*!40000 ALTER TABLE `vc_doctor_change_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_doctor_change_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_doctor_departments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_doctor_departments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doctor_id` int(10) unsigned NOT NULL,
  `department_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_doctor_departments_doctor_id_department_id_unique` (`doctor_id`,`department_id`),
  KEY `vc_doctor_departments_department_id_foreign` (`department_id`),
  CONSTRAINT `vc_doctor_departments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `vc_departments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_doctor_departments_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `vc_doctors` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_doctor_departments` WRITE;
/*!40000 ALTER TABLE `vc_doctor_departments` DISABLE KEYS */;
INSERT INTO `vc_doctor_departments` VALUES (24,19,22,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(25,20,23,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(26,21,25,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_doctor_departments` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_doctor_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_doctor_schedules` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `doctor_id` int(10) unsigned NOT NULL,
  `department_id` int(10) unsigned DEFAULT NULL,
  `location_id` bigint(20) unsigned DEFAULT NULL,
  `day_of_week` tinyint(3) unsigned NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `slot_duration_minutes` smallint(5) unsigned NOT NULL DEFAULT 30,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_doctor_schedules_doctor_id_department_id_day_of_week_index` (`doctor_id`,`department_id`,`day_of_week`),
  KEY `vc_doctor_schedules_department_id_foreign` (`department_id`),
  KEY `vc_doctor_schedules_location_id_index` (`location_id`),
  CONSTRAINT `vc_doctor_schedules_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `vc_departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_doctor_schedules_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `vc_doctors` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_doctor_schedules` WRITE;
/*!40000 ALTER TABLE `vc_doctor_schedules` DISABLE KEYS */;
INSERT INTO `vc_doctor_schedules` VALUES (66,19,22,NULL,0,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(67,19,22,NULL,1,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(68,19,22,NULL,2,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(69,19,22,NULL,3,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(70,19,22,NULL,4,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(71,20,23,NULL,0,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(72,20,23,NULL,1,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(73,20,23,NULL,2,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(74,20,23,NULL,3,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(75,20,23,NULL,4,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(76,21,25,NULL,0,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(77,21,25,NULL,1,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(78,21,25,NULL,2,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(79,21,25,NULL,3,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(80,21,25,NULL,4,'09:00:00','17:00:00',30,'active','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_doctor_schedules` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_doctors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_doctors` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `department_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `email` varchar(150) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `specialization` varchar(150) DEFAULT NULL,
  `about` text DEFAULT NULL,
  `consultation_fee` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `product_id` int(10) unsigned DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `color` varchar(9) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_doctors_user_id_foreign` (`user_id`),
  KEY `vc_doctors_department_id_foreign` (`department_id`),
  KEY `vc_doctors_business_id_status_index` (`business_id`,`status`),
  KEY `vc_doctors_product_id_index` (`product_id`),
  CONSTRAINT `vc_doctors_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_doctors_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `vc_departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_doctors_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_doctors` WRITE;
/*!40000 ALTER TABLE `vc_doctors` DISABLE KEYS */;
INSERT INTO `vc_doctors` VALUES (19,10,196,22,'Dr. Yasmin Fahmy',NULL,'+201092288093','Internal Medicine',NULL,200.0000,15910,'active','#27ae60','2026-06-17 21:11:55','2026-06-17 21:11:55'),(20,10,197,23,'Dr. Omar Sherif',NULL,'+201092288093','Soft-Tissue Surgery',NULL,350.0000,15910,'active','#c0392b','2026-06-17 21:11:55','2026-06-17 21:11:55'),(21,10,195,25,'Dr. Hossam Makram',NULL,'+201092288093','Diagnostic Imaging',NULL,250.0000,15910,'active','#2980b9','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_doctors` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_evaluation_questions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_evaluation_questions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `category` enum('pet_owner','clinic') NOT NULL,
  `question_text` text NOT NULL,
  `response_type` enum('rating','text','yes_no') NOT NULL DEFAULT 'rating',
  `is_required` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_evaluation_questions_business_id_index` (`business_id`),
  KEY `vc_evaluation_questions_category_index` (`category`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_evaluation_questions` WRITE;
/*!40000 ALTER TABLE `vc_evaluation_questions` DISABLE KEYS */;
INSERT INTO `vc_evaluation_questions` VALUES (1,NULL,'pet_owner','How cooperative was the pet owner during the visit?','rating',1,10,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(2,NULL,'pet_owner','How well did the owner follow previous instructions?','rating',1,20,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(3,NULL,'pet_owner','How attentive was the owner to the pet\'s condition?','rating',1,30,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(4,NULL,'pet_owner','Did the owner provide a complete medical history?','yes_no',1,40,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(5,NULL,'pet_owner','Owner\'s overall responsibility level','rating',1,50,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(6,NULL,'pet_owner','Additional notes about the owner','text',0,60,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(7,NULL,'clinic','How would you rate the doctor\'s communication?','rating',1,10,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(8,NULL,'clinic','How would you rate the quality of medical care?','rating',1,20,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(9,NULL,'clinic','How would you rate the cleanliness of the clinic?','rating',1,30,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(10,NULL,'clinic','How would you rate the reception / staff service?','rating',1,40,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(11,NULL,'clinic','How would you rate the wait time?','rating',1,50,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(12,NULL,'clinic','Overall satisfaction with the visit','rating',1,60,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(13,NULL,'clinic','Would you recommend our clinic to others?','yes_no',1,70,'active','2026-05-20 02:25:13','2026-05-20 02:25:13'),(14,NULL,'clinic','Any suggestions or comments','text',0,80,'active','2026-05-20 02:25:13','2026-05-20 02:25:13');
/*!40000 ALTER TABLE `vc_evaluation_questions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_evaluation_responses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_evaluation_responses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `evaluation_id` int(10) unsigned NOT NULL,
  `question_id` int(10) unsigned DEFAULT NULL,
  `question_text_snapshot` text NOT NULL,
  `response_type` enum('rating','text','yes_no') NOT NULL,
  `rating` tinyint(3) unsigned DEFAULT NULL,
  `text_answer` text DEFAULT NULL,
  `yes_no_answer` tinyint(1) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_evaluation_responses_evaluation_id_index` (`evaluation_id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_evaluation_responses` WRITE;
/*!40000 ALTER TABLE `vc_evaluation_responses` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_evaluation_responses` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_evaluations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_evaluations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned NOT NULL,
  `category` enum('pet_owner','clinic') NOT NULL,
  `evaluator_user_id` int(10) unsigned DEFAULT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `avg_rating` decimal(3,2) DEFAULT NULL,
  `flagged_for_review` tinyint(1) NOT NULL DEFAULT 0,
  `reviewed_by` int(10) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_notes` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_eval_apt_cat_unique` (`appointment_id`,`category`),
  KEY `vc_evaluations_business_id_index` (`business_id`),
  KEY `vc_evaluations_appointment_id_index` (`appointment_id`),
  KEY `vc_evaluations_category_index` (`category`),
  KEY `vc_evaluations_evaluator_user_id_index` (`evaluator_user_id`),
  KEY `vc_evaluations_doctor_id_index` (`doctor_id`),
  KEY `vc_evaluations_pet_id_index` (`pet_id`),
  KEY `vc_evaluations_contact_id_index` (`contact_id`),
  KEY `vc_evaluations_flagged_for_review_index` (`flagged_for_review`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_evaluations` WRITE;
/*!40000 ALTER TABLE `vc_evaluations` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_evaluations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_exam_not_done_reasons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_exam_not_done_reasons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_exam_not_done_reasons_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_exam_not_done_reasons` WRITE;
/*!40000 ALTER TABLE `vc_exam_not_done_reasons` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_exam_not_done_reasons` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_exam_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_exam_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `active_general_template_id` int(10) unsigned DEFAULT NULL,
  `visible_specialist_template_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`visible_specialist_template_ids`)),
  `enable_ai_suggest` tinyint(1) NOT NULL DEFAULT 0,
  `enable_comparison_with_previous` tinyint(1) NOT NULL DEFAULT 1,
  `enable_voice_fill` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_exam_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_exam_settings` WRITE;
/*!40000 ALTER TABLE `vc_exam_settings` DISABLE KEYS */;
INSERT INTO `vc_exam_settings` VALUES (2,10,NULL,NULL,0,1,1,'2026-06-18 00:24:52','2026-06-18 00:24:52');
/*!40000 ALTER TABLE `vc_exam_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_exam_template_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_exam_template_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `template_id` int(10) unsigned NOT NULL,
  `region` varchar(80) NOT NULL,
  `item_label` varchar(200) NOT NULL,
  `response_type` enum('select','multi_select','grade','measurement','text','yes_no','body_map') NOT NULL DEFAULT 'select',
  `options_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options_json`)),
  `unit` varchar(20) DEFAULT NULL,
  `normal_low` decimal(10,3) DEFAULT NULL,
  `normal_high` decimal(10,3) DEFAULT NULL,
  `critical_low` decimal(10,3) DEFAULT NULL,
  `critical_high` decimal(10,3) DEFAULT NULL,
  `lateralisation` varchar(12) NOT NULL DEFAULT 'none',
  `is_required` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `help_text` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_exam_tpl_item_order` (`template_id`,`region`,`sort_order`),
  KEY `vc_exam_template_items_template_id_index` (`template_id`),
  KEY `vc_exam_template_items_region_index` (`region`)
) ENGINE=InnoDB AUTO_INCREMENT=94 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_exam_template_items` WRITE;
/*!40000 ALTER TABLE `vc_exam_template_items` DISABLE KEYS */;
INSERT INTO `vc_exam_template_items` VALUES (1,1,'General','Body condition score (1-9)','grade','[{\"value\":\"1\",\"label\":\"1 - Emaciated\",\"severity\":3,\"is_critical\":true},{\"value\":\"2\",\"label\":\"2 - Very thin\",\"severity\":3,\"is_critical\":true},{\"value\":\"3\",\"label\":\"3 - Thin\",\"severity\":2,\"is_critical\":false},{\"value\":\"4\",\"label\":\"4 - Underweight\",\"severity\":1,\"is_critical\":false},{\"value\":\"5\",\"label\":\"5 - Ideal\",\"severity\":0,\"is_critical\":false},{\"value\":\"6\",\"label\":\"6 - Slightly overweight\",\"severity\":1,\"is_critical\":false},{\"value\":\"7\",\"label\":\"7 - Overweight\",\"severity\":2,\"is_critical\":false},{\"value\":\"8\",\"label\":\"8 - Obese\",\"severity\":3,\"is_critical\":false},{\"value\":\"9\",\"label\":\"9 - Severely obese\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,0,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(2,1,'General','Demeanour','select','[{\"value\":\"bar\",\"label\":\"BAR - Bright, alert, responsive\",\"severity\":0,\"is_critical\":false},{\"value\":\"qar\",\"label\":\"QAR - Quiet, alert, responsive\",\"severity\":1,\"is_critical\":false},{\"value\":\"dull\",\"label\":\"Dull \\/ lethargic\",\"severity\":2,\"is_critical\":false},{\"value\":\"depressed\",\"label\":\"Depressed\",\"severity\":3,\"is_critical\":true},{\"value\":\"collapsed\",\"label\":\"Collapsed \\/ unresponsive\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,1,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(3,1,'General','Hydration status','select','[{\"value\":\"hydrated\",\"label\":\"Hydrated (<5%)\",\"severity\":0,\"is_critical\":false},{\"value\":\"mild\",\"label\":\"Mild dehydration 5-7%\",\"severity\":2,\"is_critical\":false},{\"value\":\"moderate\",\"label\":\"Moderate 8-10%\",\"severity\":3,\"is_critical\":true},{\"value\":\"severe\",\"label\":\"Severe 10-12%\",\"severity\":3,\"is_critical\":true},{\"value\":\"shock\",\"label\":\"Shock >12%\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,2,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(4,1,'Mucous Membranes','Colour','select','[{\"value\":\"pink\",\"label\":\"Pink\",\"severity\":0,\"is_critical\":false},{\"value\":\"pale\",\"label\":\"Pale\",\"severity\":3,\"is_critical\":true},{\"value\":\"cyanotic\",\"label\":\"Cyanotic\",\"severity\":3,\"is_critical\":true},{\"value\":\"icteric\",\"label\":\"Icteric (yellow)\",\"severity\":3,\"is_critical\":true},{\"value\":\"injected\",\"label\":\"Injected \\/ hyperemic\",\"severity\":2,\"is_critical\":false},{\"value\":\"muddy\",\"label\":\"Muddy \\/ grey\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,3,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(5,1,'Mucous Membranes','Capillary refill time','select','[{\"value\":\"lt2\",\"label\":\"< 2 seconds (normal)\",\"severity\":0,\"is_critical\":false},{\"value\":\"2-3\",\"label\":\"2-3 seconds (borderline)\",\"severity\":2,\"is_critical\":false},{\"value\":\"gt3\",\"label\":\"> 3 seconds\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,4,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(6,1,'Lymph Nodes','Mandibular','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,5,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(7,1,'Lymph Nodes','Prescapular','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,6,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(8,1,'Lymph Nodes','Popliteal','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,7,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(9,1,'Lymph Nodes','Inguinal','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,8,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(10,1,'Lymph Nodes','Enlarged node details','text',NULL,NULL,NULL,NULL,NULL,NULL,'none',0,9,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(11,1,'Eyes','Conjunctiva','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'od_os',0,10,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(12,1,'Eyes','Discharge','select','[{\"value\":\"none\",\"label\":\"None\",\"severity\":0,\"is_critical\":false},{\"value\":\"serous\",\"label\":\"Serous\",\"severity\":1,\"is_critical\":false},{\"value\":\"mucoid\",\"label\":\"Mucoid\",\"severity\":2,\"is_critical\":false},{\"value\":\"purulent\",\"label\":\"Purulent\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'od_os',0,11,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(13,1,'Eyes','Cornea','select','[{\"value\":\"clear\",\"label\":\"Clear\",\"severity\":0,\"is_critical\":false},{\"value\":\"opacity\",\"label\":\"Opacity\",\"severity\":2,\"is_critical\":false},{\"value\":\"ulcer\",\"label\":\"Ulcer\",\"severity\":3,\"is_critical\":true},{\"value\":\"edema\",\"label\":\"Edema\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'od_os',0,12,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(14,1,'Eyes','Pupil response','select','[{\"value\":\"plr_normal\",\"label\":\"PLR normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"miosis\",\"label\":\"Miosis\",\"severity\":2,\"is_critical\":false},{\"value\":\"mydriasis\",\"label\":\"Mydriasis\",\"severity\":2,\"is_critical\":false},{\"value\":\"anisocoria\",\"label\":\"Anisocoria\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'od_os',0,13,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(15,1,'Ears','Pinna / canal','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'ad_as',0,14,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(16,1,'Ears','Exudate','select','[{\"value\":\"none\",\"label\":\"None\",\"severity\":0,\"is_critical\":false},{\"value\":\"ceruminous\",\"label\":\"Ceruminous (waxy)\",\"severity\":1,\"is_critical\":false},{\"value\":\"purulent\",\"label\":\"Purulent\",\"severity\":3,\"is_critical\":false},{\"value\":\"hemorrhagic\",\"label\":\"Hemorrhagic\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'ad_as',0,15,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(17,1,'Ears','Pain on palpation','yes_no','[{\"value\":\"no\",\"label\":\"No pain\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'ad_as',0,16,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(18,1,'Oral Cavity','Dental grade (0-4)','grade','[{\"value\":\"0\",\"label\":\"0 - No tartar \\/ gingivitis\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild tartar, marginal gingivitis\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Moderate tartar, gingivitis\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Heavy tartar, periodontitis\",\"severity\":3,\"is_critical\":false},{\"value\":\"4\",\"label\":\"4 - Severe \\/ loose teeth, abscess\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,17,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(19,1,'Oral Cavity','Mucosa','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,18,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(20,1,'Oral Cavity','Halitosis','yes_no','[{\"value\":\"no\",\"label\":\"None \\/ mild\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Significant\",\"severity\":1,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,19,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(21,1,'Oral Cavity','Mass / ulcer noted','text',NULL,NULL,NULL,NULL,NULL,NULL,'none',0,20,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(22,1,'Cardiovascular','Heart rate (bpm)','measurement',NULL,'bpm',60.000,140.000,30.000,300.000,'none',0,21,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(23,1,'Cardiovascular','Rhythm','select','[{\"value\":\"sinus\",\"label\":\"Sinus rhythm\",\"severity\":0,\"is_critical\":false},{\"value\":\"sinus_arrhyth\",\"label\":\"Sinus arrhythmia (normal)\",\"severity\":0,\"is_critical\":false},{\"value\":\"arrhythmia\",\"label\":\"Arrhythmia\",\"severity\":3,\"is_critical\":true},{\"value\":\"gallop\",\"label\":\"Gallop rhythm\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,22,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(24,1,'Cardiovascular','Murmur grade (I-VI)','grade','[{\"value\":\"none\",\"label\":\"None\",\"severity\":0,\"is_critical\":false},{\"value\":\"I\",\"label\":\"I - Faint, barely audible\",\"severity\":1,\"is_critical\":false},{\"value\":\"II\",\"label\":\"II - Soft but easily heard\",\"severity\":2,\"is_critical\":false},{\"value\":\"III\",\"label\":\"III - Moderate intensity\",\"severity\":2,\"is_critical\":false},{\"value\":\"IV\",\"label\":\"IV - Loud, no thrill\",\"severity\":3,\"is_critical\":true},{\"value\":\"V\",\"label\":\"V - Loud with palpable thrill\",\"severity\":3,\"is_critical\":true},{\"value\":\"VI\",\"label\":\"VI - Audible with stethoscope off chest\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,23,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(25,1,'Cardiovascular','Pulse character','select','[{\"value\":\"strong_synch\",\"label\":\"Strong, synchronous\",\"severity\":0,\"is_critical\":false},{\"value\":\"weak\",\"label\":\"Weak \\/ thready\",\"severity\":3,\"is_critical\":true},{\"value\":\"bounding\",\"label\":\"Bounding \\/ water-hammer\",\"severity\":2,\"is_critical\":false},{\"value\":\"asynch\",\"label\":\"Asynchronous \\/ pulse deficit\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,24,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(26,1,'Respiratory','Respiratory rate (/min)','measurement',NULL,'/min',10.000,30.000,5.000,80.000,'none',0,25,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(27,1,'Respiratory','Respiratory effort','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"increased\",\"label\":\"Increased effort\",\"severity\":2,\"is_critical\":false},{\"value\":\"dyspnea\",\"label\":\"Dyspnea\",\"severity\":3,\"is_critical\":true},{\"value\":\"orthopnea\",\"label\":\"Orthopnea\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,26,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(28,1,'Respiratory','Lung sounds','select','[{\"value\":\"clear\",\"label\":\"Clear\",\"severity\":0,\"is_critical\":false},{\"value\":\"harsh\",\"label\":\"Harsh\",\"severity\":1,\"is_critical\":false},{\"value\":\"crackles\",\"label\":\"Crackles\",\"severity\":3,\"is_critical\":true},{\"value\":\"wheezes\",\"label\":\"Wheezes\",\"severity\":3,\"is_critical\":false},{\"value\":\"absent\",\"label\":\"Absent \\/ muffled\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,27,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(29,1,'Abdomen','Palpation','select','[{\"value\":\"soft\",\"label\":\"Soft, non-painful\",\"severity\":0,\"is_critical\":false},{\"value\":\"tense\",\"label\":\"Tense\",\"severity\":2,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":3,\"is_critical\":true},{\"value\":\"mass\",\"label\":\"Mass palpated\",\"severity\":3,\"is_critical\":true},{\"value\":\"fluid\",\"label\":\"Fluid wave\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,28,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(30,1,'Abdomen','Organomegaly','select','[{\"value\":\"none\",\"label\":\"None\",\"severity\":0,\"is_critical\":false},{\"value\":\"hepatomegaly\",\"label\":\"Hepatomegaly\",\"severity\":2,\"is_critical\":false},{\"value\":\"splenomegaly\",\"label\":\"Splenomegaly\",\"severity\":2,\"is_critical\":false},{\"value\":\"renal\",\"label\":\"Renomegaly\",\"severity\":2,\"is_critical\":false},{\"value\":\"bladder\",\"label\":\"Bladder distention \\/ pain\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,29,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(31,1,'Abdomen','Findings note','text',NULL,NULL,NULL,NULL,NULL,NULL,'none',0,30,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(32,1,'Musculoskeletal','Gait','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"stiff\",\"label\":\"Stiff\",\"severity\":1,\"is_critical\":false},{\"value\":\"lame\",\"label\":\"Lame\",\"severity\":2,\"is_critical\":false},{\"value\":\"nwb\",\"label\":\"Non-weight-bearing\",\"severity\":3,\"is_critical\":true},{\"value\":\"ataxic\",\"label\":\"Ataxic\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,31,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(33,1,'Musculoskeletal','Lameness grade (0-4)','grade','[{\"value\":\"0\",\"label\":\"0 - Sound\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild, intermittent\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Mild, consistent\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Obvious lameness\",\"severity\":3,\"is_critical\":false},{\"value\":\"4\",\"label\":\"4 - Non-weight-bearing\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,32,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(34,1,'Musculoskeletal','Affected limb','multi_select','[{\"value\":\"lf\",\"label\":\"Left fore\",\"severity\":2,\"is_critical\":false},{\"value\":\"rf\",\"label\":\"Right fore\",\"severity\":2,\"is_critical\":false},{\"value\":\"lh\",\"label\":\"Left hind\",\"severity\":2,\"is_critical\":false},{\"value\":\"rh\",\"label\":\"Right hind\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,33,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(35,1,'Musculoskeletal','Muscle mass','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,34,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(36,1,'Neurological','Mentation','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"dull\",\"label\":\"Dull\",\"severity\":2,\"is_critical\":false},{\"value\":\"obtunded\",\"label\":\"Obtunded\",\"severity\":3,\"is_critical\":true},{\"value\":\"stupor\",\"label\":\"Stupor\",\"severity\":3,\"is_critical\":true},{\"value\":\"coma\",\"label\":\"Coma\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,35,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(37,1,'Neurological','Postural reactions','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,36,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(38,1,'Neurological','Spinal palpation pain','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,37,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(39,1,'Skin / Coat','Coat condition','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"dry\",\"label\":\"Dry \\/ dull\",\"severity\":1,\"is_critical\":false},{\"value\":\"alopecia\",\"label\":\"Alopecia\",\"severity\":2,\"is_critical\":false},{\"value\":\"greasy\",\"label\":\"Greasy \\/ oily\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,38,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(40,1,'Skin / Coat','Pruritus 0-10','grade','[{\"value\":\"0\",\"label\":\"0 - None\",\"severity\":0,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Mild\",\"severity\":1,\"is_critical\":false},{\"value\":\"5\",\"label\":\"5 - Moderate\",\"severity\":2,\"is_critical\":false},{\"value\":\"8\",\"label\":\"8 - Severe\",\"severity\":3,\"is_critical\":false},{\"value\":\"10\",\"label\":\"10 - Self-mutilating\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,39,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(41,1,'Skin / Coat','Parasites','multi_select','[{\"value\":\"none\",\"label\":\"None seen\",\"severity\":0,\"is_critical\":false},{\"value\":\"fleas\",\"label\":\"Fleas\",\"severity\":2,\"is_critical\":false},{\"value\":\"ticks\",\"label\":\"Ticks\",\"severity\":2,\"is_critical\":false},{\"value\":\"mites\",\"label\":\"Mites\",\"severity\":2,\"is_critical\":false},{\"value\":\"lice\",\"label\":\"Lice\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,40,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(42,1,'Skin / Coat','Lesion description','text',NULL,NULL,NULL,NULL,NULL,NULL,'none',0,41,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(43,1,'Urogenital','External exam','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,42,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(44,1,'Urogenital','Discharge','select','[{\"value\":\"none\",\"label\":\"None\",\"severity\":0,\"is_critical\":false},{\"value\":\"serous\",\"label\":\"Serous\",\"severity\":1,\"is_critical\":false},{\"value\":\"mucoid\",\"label\":\"Mucoid\",\"severity\":2,\"is_critical\":false},{\"value\":\"purulent\",\"label\":\"Purulent\",\"severity\":3,\"is_critical\":true},{\"value\":\"bloody\",\"label\":\"Sanguineous\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,43,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(45,1,'Urogenital','Mammary chain (F)','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,44,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(46,1,'Urogenital','Prostate (M, on rectal)','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'none',0,45,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(47,2,'Gait & Posture','Stance','select','[{\"value\":\"square\",\"label\":\"Square \\/ symmetric\",\"severity\":0,\"is_critical\":false},{\"value\":\"shifted_weight\",\"label\":\"Shifted weight off limb\",\"severity\":2,\"is_critical\":false},{\"value\":\"non_weight\",\"label\":\"Non-weight-bearing on limb\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,0,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(48,2,'Gait & Posture','Gait at walk','select','[{\"value\":\"sound\",\"label\":\"Sound\",\"severity\":0,\"is_critical\":false},{\"value\":\"stiff\",\"label\":\"Stiff \\/ shortened stride\",\"severity\":1,\"is_critical\":false},{\"value\":\"mild\",\"label\":\"Mild lameness\",\"severity\":2,\"is_critical\":false},{\"value\":\"marked\",\"label\":\"Marked lameness\",\"severity\":3,\"is_critical\":false},{\"value\":\"nwb\",\"label\":\"Non-weight-bearing\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,1,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(49,2,'Gait & Posture','Lameness grade (0-5)','grade','[{\"value\":\"0\",\"label\":\"0 - Sound\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Visible only at trot\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Visible at walk, intermittent\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Visible at walk, consistent\",\"severity\":2,\"is_critical\":false},{\"value\":\"4\",\"label\":\"4 - Severe, partial weight bearing\",\"severity\":3,\"is_critical\":false},{\"value\":\"5\",\"label\":\"5 - Non-weight-bearing\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,2,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(50,2,'Shoulder','Flexion','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,3,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(51,2,'Shoulder','Extension','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,4,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(52,2,'Shoulder','Pain on manipulation','select','[{\"value\":\"0\",\"label\":\"0 - None\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Moderate\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Severe\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,5,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(53,2,'Shoulder','Instability','select','[{\"value\":\"stable\",\"label\":\"Stable\",\"severity\":0,\"is_critical\":false},{\"value\":\"mild_laxity\",\"label\":\"Mild laxity\",\"severity\":1,\"is_critical\":false},{\"value\":\"moderate_laxity\",\"label\":\"Moderate laxity\",\"severity\":2,\"is_critical\":false},{\"value\":\"gross_laxity\",\"label\":\"Gross \\/ pathological laxity\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,6,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(54,2,'Shoulder','Crepitus','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,7,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(55,2,'Shoulder','Effusion','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,8,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(56,2,'Elbow','Flexion','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,9,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(57,2,'Elbow','Extension','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,10,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(58,2,'Elbow','Pain on manipulation','select','[{\"value\":\"0\",\"label\":\"0 - None\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Moderate\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Severe\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,11,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(59,2,'Elbow','Instability','select','[{\"value\":\"stable\",\"label\":\"Stable\",\"severity\":0,\"is_critical\":false},{\"value\":\"mild_laxity\",\"label\":\"Mild laxity\",\"severity\":1,\"is_critical\":false},{\"value\":\"moderate_laxity\",\"label\":\"Moderate laxity\",\"severity\":2,\"is_critical\":false},{\"value\":\"gross_laxity\",\"label\":\"Gross \\/ pathological laxity\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,12,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(60,2,'Elbow','Crepitus','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,13,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(61,2,'Elbow','Effusion','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,14,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(62,2,'Carpus','Flexion','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,15,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(63,2,'Carpus','Extension','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,16,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(64,2,'Carpus','Pain on manipulation','select','[{\"value\":\"0\",\"label\":\"0 - None\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Moderate\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Severe\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,17,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(65,2,'Carpus','Instability','select','[{\"value\":\"stable\",\"label\":\"Stable\",\"severity\":0,\"is_critical\":false},{\"value\":\"mild_laxity\",\"label\":\"Mild laxity\",\"severity\":1,\"is_critical\":false},{\"value\":\"moderate_laxity\",\"label\":\"Moderate laxity\",\"severity\":2,\"is_critical\":false},{\"value\":\"gross_laxity\",\"label\":\"Gross \\/ pathological laxity\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,18,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(66,2,'Carpus','Crepitus','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,19,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(67,2,'Carpus','Effusion','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,20,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(68,2,'Hip','Flexion','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,21,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(69,2,'Hip','Extension','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,22,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(70,2,'Hip','Pain on manipulation','select','[{\"value\":\"0\",\"label\":\"0 - None\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Moderate\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Severe\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,23,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(71,2,'Hip','Instability','select','[{\"value\":\"stable\",\"label\":\"Stable\",\"severity\":0,\"is_critical\":false},{\"value\":\"mild_laxity\",\"label\":\"Mild laxity\",\"severity\":1,\"is_critical\":false},{\"value\":\"moderate_laxity\",\"label\":\"Moderate laxity\",\"severity\":2,\"is_critical\":false},{\"value\":\"gross_laxity\",\"label\":\"Gross \\/ pathological laxity\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,24,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(72,2,'Hip','Crepitus','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,25,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(73,2,'Hip','Effusion','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,26,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(74,2,'Stifle','Flexion','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,27,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(75,2,'Stifle','Extension','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,28,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(76,2,'Stifle','Pain on manipulation','select','[{\"value\":\"0\",\"label\":\"0 - None\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Moderate\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Severe\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,29,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(77,2,'Stifle','Instability','select','[{\"value\":\"stable\",\"label\":\"Stable\",\"severity\":0,\"is_critical\":false},{\"value\":\"mild_laxity\",\"label\":\"Mild laxity\",\"severity\":1,\"is_critical\":false},{\"value\":\"moderate_laxity\",\"label\":\"Moderate laxity\",\"severity\":2,\"is_critical\":false},{\"value\":\"gross_laxity\",\"label\":\"Gross \\/ pathological laxity\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,30,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(78,2,'Stifle','Crepitus','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,31,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(79,2,'Stifle','Effusion','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,32,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(80,2,'Hock','Flexion','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,33,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(81,2,'Hock','Extension','select','[{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"reduced\",\"label\":\"Reduced\",\"severity\":1,\"is_critical\":false},{\"value\":\"painful\",\"label\":\"Painful\",\"severity\":2,\"is_critical\":false},{\"value\":\"severe\",\"label\":\"Severely abnormal\",\"severity\":3,\"is_critical\":true},{\"value\":\"ne\",\"label\":\"Not examined\",\"severity\":0,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,34,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(82,2,'Hock','Pain on manipulation','select','[{\"value\":\"0\",\"label\":\"0 - None\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Mild\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Moderate\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Severe\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,35,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(83,2,'Hock','Instability','select','[{\"value\":\"stable\",\"label\":\"Stable\",\"severity\":0,\"is_critical\":false},{\"value\":\"mild_laxity\",\"label\":\"Mild laxity\",\"severity\":1,\"is_critical\":false},{\"value\":\"moderate_laxity\",\"label\":\"Moderate laxity\",\"severity\":2,\"is_critical\":false},{\"value\":\"gross_laxity\",\"label\":\"Gross \\/ pathological laxity\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,36,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(84,2,'Hock','Crepitus','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,37,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(85,2,'Hock','Effusion','yes_no','[{\"value\":\"no\",\"label\":\"No\",\"severity\":0,\"is_critical\":false},{\"value\":\"yes\",\"label\":\"Yes\",\"severity\":2,\"is_critical\":false}]',NULL,NULL,NULL,NULL,NULL,'lr',0,38,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(86,2,'Special Tests','Cranial drawer (stifle)','select','[{\"value\":\"negative\",\"label\":\"Negative\",\"severity\":0,\"is_critical\":false},{\"value\":\"partial\",\"label\":\"Partial (mild)\",\"severity\":2,\"is_critical\":false},{\"value\":\"positive\",\"label\":\"Positive\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,39,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(87,2,'Special Tests','Tibial thrust (stifle)','select','[{\"value\":\"negative\",\"label\":\"Negative\",\"severity\":0,\"is_critical\":false},{\"value\":\"positive\",\"label\":\"Positive\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,40,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(88,2,'Special Tests','Ortolani sign (hip)','select','[{\"value\":\"negative\",\"label\":\"Negative\",\"severity\":0,\"is_critical\":false},{\"value\":\"positive\",\"label\":\"Positive (subluxation)\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,41,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(89,2,'Special Tests','Patellar luxation grade','grade','[{\"value\":\"0\",\"label\":\"0 - Stable\",\"severity\":0,\"is_critical\":false},{\"value\":\"1\",\"label\":\"1 - Manual luxation, spontaneous reduction\",\"severity\":1,\"is_critical\":false},{\"value\":\"2\",\"label\":\"2 - Spontaneous luxation, manual reduction\",\"severity\":2,\"is_critical\":false},{\"value\":\"3\",\"label\":\"3 - Permanently luxated, manually reducible\",\"severity\":3,\"is_critical\":false},{\"value\":\"4\",\"label\":\"4 - Permanently luxated, not reducible\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'lr',0,42,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(90,2,'Measurements','Thigh circumference (cm)','measurement',NULL,'cm',NULL,NULL,NULL,NULL,'lr',0,43,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(91,2,'Measurements','Range of motion (degrees)','measurement',NULL,'deg',NULL,NULL,NULL,NULL,'lr',0,44,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(92,2,'Notes','Radiographs reviewed','select','[{\"value\":\"not_done\",\"label\":\"Not done\",\"severity\":0,\"is_critical\":false},{\"value\":\"normal\",\"label\":\"Normal\",\"severity\":0,\"is_critical\":false},{\"value\":\"abnormal\",\"label\":\"Abnormal\",\"severity\":2,\"is_critical\":false},{\"value\":\"fracture\",\"label\":\"Fracture\",\"severity\":3,\"is_critical\":true}]',NULL,NULL,NULL,NULL,NULL,'none',0,45,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(93,2,'Notes','Findings summary','text',NULL,NULL,NULL,NULL,NULL,NULL,'none',0,46,NULL,'2026-05-31 00:35:09','2026-05-31 00:35:09');
/*!40000 ALTER TABLE `vc_exam_template_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_exam_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_exam_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(120) NOT NULL,
  `kind` enum('general','specialist','breed') NOT NULL,
  `species_scope` varchar(30) NOT NULL DEFAULT 'all',
  `display_label` varchar(140) DEFAULT NULL,
  `icon` varchar(60) DEFAULT NULL,
  `colour` varchar(12) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_exam_tpl_lookup` (`business_id`,`kind`,`is_active`),
  KEY `vc_exam_templates_business_id_index` (`business_id`),
  KEY `vc_exam_templates_kind_index` (`kind`),
  KEY `vc_exam_templates_species_scope_index` (`species_scope`),
  KEY `vc_exam_templates_is_active_index` (`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_exam_templates` WRITE;
/*!40000 ALTER TABLE `vc_exam_templates` DISABLE KEYS */;
INSERT INTO `vc_exam_templates` VALUES (1,NULL,'Standard General Exam','general','all','General Exam','fa-stethoscope','2980b9','Always-on head-to-tail physical exam template.',1,0,'2026-05-31 00:35:09','2026-05-31 00:35:09'),(2,NULL,'Orthopedic Exam','specialist','all','Orthopedic Exam','fa-bone','c0392b','Joint-by-joint orthopedic assessment with special tests.',1,10,'2026-05-31 00:35:09','2026-05-31 00:35:09');
/*!40000 ALTER TABLE `vc_exam_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_imaging_modalities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_imaging_modalities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(10) NOT NULL,
  `name` varchar(80) NOT NULL,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_imaging_modalities_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_imaging_modalities` WRITE;
/*!40000 ALTER TABLE `vc_imaging_modalities` DISABLE KEYS */;
INSERT INTO `vc_imaging_modalities` VALUES (1,NULL,'XR','X-Ray',1,'active','2026-05-28 23:57:42','2026-05-28 23:57:42'),(2,NULL,'US','Ultrasound',2,'active','2026-05-28 23:57:42','2026-05-28 23:57:42'),(3,NULL,'CT','CT scan',3,'active','2026-05-28 23:57:42','2026-05-28 23:57:42'),(4,NULL,'MR','MRI',4,'active','2026-05-28 23:57:42','2026-05-28 23:57:42'),(5,NULL,'ENDO','Endoscopy',5,'active','2026-05-28 23:57:42','2026-05-28 23:57:42');
/*!40000 ALTER TABLE `vc_imaging_modalities` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_imaging_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_imaging_requests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `ref_no` varchar(30) NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `modality_id` int(10) unsigned NOT NULL,
  `body_region` varchar(120) DEFAULT NULL,
  `indication` text DEFAULT NULL,
  `priority` enum('routine','urgent','stat') NOT NULL DEFAULT 'routine',
  `status` enum('requested','in_progress','reported','cancelled') NOT NULL DEFAULT 'requested',
  `report` text DEFAULT NULL,
  `requested_by` int(10) unsigned DEFAULT NULL,
  `reported_by` int(10) unsigned DEFAULT NULL,
  `requested_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `reported_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_imaging_requests_ref_no_unique` (`ref_no`),
  KEY `vc_imaging_requests_business_id_index` (`business_id`),
  KEY `vc_imaging_requests_pet_id_index` (`pet_id`),
  KEY `vc_imaging_requests_appointment_id_index` (`appointment_id`),
  KEY `vc_imaging_requests_status_index` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_imaging_requests` WRITE;
/*!40000 ALTER TABLE `vc_imaging_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_imaging_requests` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_imaging_studies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_imaging_studies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `imaging_request_id` int(10) unsigned NOT NULL,
  `study_uid` varchar(80) DEFAULT NULL,
  `file_path` varchar(255) NOT NULL,
  `original_name` varchar(191) DEFAULT NULL,
  `file_mime` varchar(100) DEFAULT NULL,
  `file_size` int(10) unsigned DEFAULT NULL,
  `thumb_path` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `uploaded_by` int(10) unsigned DEFAULT NULL,
  `uploaded_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_imaging_studies_imaging_request_id_index` (`imaging_request_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_imaging_studies` WRITE;
/*!40000 ALTER TABLE `vc_imaging_studies` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_imaging_studies` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_medical_conditions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_medical_conditions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `category` varchar(100) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `icd_code` varchar(20) DEFAULT NULL,
  `is_chronic` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_medical_conditions_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_medical_conditions` WRITE;
/*!40000 ALTER TABLE `vc_medical_conditions` DISABLE KEYS */;
INSERT INTO `vc_medical_conditions` VALUES (1,NULL,'Parvovirus','Infectious',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(2,NULL,'Distemper','Infectious',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(3,NULL,'Rabies','Infectious',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(4,NULL,'Kennel Cough','Respiratory',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(5,NULL,'Feline Leukemia','Infectious',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(6,NULL,'Diabetes Mellitus','Metabolic',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(7,NULL,'Obesity','Metabolic',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(8,NULL,'Arthritis','Musculoskeletal',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(9,NULL,'Hip Dysplasia','Musculoskeletal',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(10,NULL,'Dermatitis','Dermatology',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(11,NULL,'Mange','Dermatology',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(12,NULL,'Conjunctivitis','Ophthalmology',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(13,NULL,'Cataracts','Ophthalmology',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(14,NULL,'Urinary Tract Infection','Urinary',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(15,NULL,'Kidney Disease','Urinary',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(16,NULL,'Ear Infection','ENT',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(17,NULL,'Dental Disease','Dental',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(18,NULL,'Heartworm','Parasitic',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(19,NULL,'Ringworm','Parasitic',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(20,NULL,'Hypothyroidism','Endocrine',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(21,NULL,'Hyperthyroidism','Endocrine',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(22,NULL,'Epilepsy','Neurological',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(23,NULL,'Anemia','Hematological',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(24,NULL,'Liver Disease','Gastrointestinal',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(25,NULL,'Pancreatitis','Gastrointestinal',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(26,NULL,'Gastroenteritis','Gastrointestinal',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(27,NULL,'Allergies','Immunological',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(28,NULL,'Heart Disease','Cardiovascular',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(29,NULL,'Respiratory Infection','Respiratory',NULL,NULL,0,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(30,NULL,'Cancer / Tumor','Oncology',NULL,NULL,1,'active','2026-04-21 00:20:15','2026-04-21 00:20:15');
/*!40000 ALTER TABLE `vc_medical_conditions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_medical_reports`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_medical_reports` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `report_type` enum('lab','xray','ultrasound','ecg','other') NOT NULL DEFAULT 'lab',
  `source` varchar(30) NOT NULL DEFAULT 'manual',
  `exam_key` varchar(100) DEFAULT NULL,
  `report_title` varchar(200) NOT NULL,
  `findings` text DEFAULT NULL,
  `attachments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attachments`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_medical_reports_pet_id_foreign` (`pet_id`),
  KEY `vc_medical_reports_business_id_pet_id_index` (`business_id`,`pet_id`),
  KEY `vc_medrep_apt_examkey_idx` (`appointment_id`,`exam_key`),
  CONSTRAINT `vc_medical_reports_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_medical_reports_pet_id_foreign` FOREIGN KEY (`pet_id`) REFERENCES `vc_pets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_medical_reports` WRITE;
/*!40000 ALTER TABLE `vc_medical_reports` DISABLE KEYS */;
INSERT INTO `vc_medical_reports` VALUES (17,10,NULL,70,6092,19,'','consultation',NULL,'Rex — Health Summary','Overall good body condition. Vaccinations up to date. Recommend annual wellness checkup.',NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(18,10,NULL,71,6093,20,'','consultation',NULL,'Luna — Health Summary','Overall good body condition. Vaccinations up to date. Recommend annual wellness checkup.',NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(19,10,NULL,72,6094,21,'','consultation',NULL,'Bella — Health Summary','Overall good body condition. Vaccinations up to date. Recommend annual wellness checkup.',NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_medical_reports` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_medicine_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_medicine_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_medicine_categories_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_medicine_categories` WRITE;
/*!40000 ALTER TABLE `vc_medicine_categories` DISABLE KEYS */;
INSERT INTO `vc_medicine_categories` VALUES (1,NULL,'Antibiotics',NULL,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(2,NULL,'Antiparasitic',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(3,NULL,'Vaccines',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(4,NULL,'Analgesics',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(5,NULL,'Anti-inflammatory',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(6,NULL,'Vitamins & Supplements',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(7,NULL,'Dermatology',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(8,NULL,'Ophthalmology',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(9,NULL,'Dental',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(10,NULL,'Cardiac',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(11,NULL,'Hormonal',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(12,NULL,'Gastrointestinal',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(13,NULL,'Respiratory',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(14,NULL,'Anesthetics',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(15,NULL,'Antifungal',NULL,'active','2026-04-21 00:20:16','2026-04-21 00:20:16'),(16,NULL,'Dewormers','Intestinal parasites','active','2026-05-02 11:55:39','2026-05-02 11:55:39'),(17,NULL,'NSAIDs & Analgesics','Pain relief and anti-inflammation','active','2026-05-02 11:55:39','2026-05-02 11:55:39'),(18,NULL,'Corticosteroids','Immune suppression and allergy','active','2026-05-02 11:55:39','2026-05-02 11:55:39'),(19,NULL,'Cardiac & Diuretics','Heart and fluid management','active','2026-05-02 11:55:39','2026-05-02 11:55:39'),(20,NULL,'Anaesthesia & Sedation','Surgical and procedural sedation','active','2026-05-02 11:55:39','2026-05-02 11:55:39');
/*!40000 ALTER TABLE `vc_medicine_categories` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_medicines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_medicines` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `category_id` int(10) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `generic_name` varchar(150) DEFAULT NULL,
  `company` varchar(100) DEFAULT NULL,
  `unit` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `controlled_schedule` varchar(30) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_medicines_category_id_foreign` (`category_id`),
  KEY `vc_medicines_business_id_status_index` (`business_id`,`status`),
  KEY `vc_medicines_controlled_schedule_index` (`controlled_schedule`),
  CONSTRAINT `vc_medicines_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_medicines_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `vc_medicine_categories` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=719 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_medicines` WRITE;
/*!40000 ALTER TABLE `vc_medicines` DISABLE KEYS */;
INSERT INTO `vc_medicines` VALUES (479,10,1,15887,'Amoxicillin','Amoxicillin Trihydrate','Norbrook / Vétoquinol','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-20 20:54:04'),(480,10,1,NULL,'Amoxicillin + Clavulanate','Amoxicillin-Clavulanate','GSK / Zoetis','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(481,10,1,NULL,'Enrofloxacin','Enrofloxacin','Bayer (Baytril)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(482,10,1,NULL,'Metronidazole','Metronidazole','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(483,10,1,NULL,'Doxycycline','Doxycycline Hyclate','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(484,10,1,NULL,'Tylosin','Tylosin Tartrate','Elanco','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(485,10,1,NULL,'Oxytetracycline','Oxytetracycline HCl','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(486,10,1,NULL,'Ampicillin','Ampicillin Trihydrate','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(487,10,1,NULL,'Gentamicin','Gentamicin Sulfate','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(488,10,1,NULL,'Clindamycin','Clindamycin HCl','Pharmacia (Antirobe)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(489,10,1,NULL,'Trimethoprim-Sulfamethoxazole','TMP-SMX','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(490,10,1,NULL,'Chloramphenicol','Chloramphenicol','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(491,10,2,NULL,'Ivermectin','Ivermectin','MSD (Ivomec)','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(492,10,2,NULL,'Doramectin','Doramectin','Zoetis (Dectomax)','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(493,10,2,NULL,'Selamectin','Selamectin','Zoetis (Revolution)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(494,10,2,NULL,'Moxidectin','Moxidectin','Bayer (Advantage Multi)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(495,10,2,NULL,'Imidacloprid','Imidacloprid','Bayer (Advantage)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(496,10,2,NULL,'Fipronil','Fipronil','Merial (Frontline)','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(497,10,2,NULL,'Milbemycin Oxime','Milbemycin Oxime','Elanco (Sentinel)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(498,10,16,NULL,'Praziquantel','Praziquantel','Bayer (Droncit / Caniquantel)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(499,10,16,NULL,'Fenbendazole','Fenbendazole','MSD (Panacur)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(500,10,16,NULL,'Albendazole','Albendazole','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(501,10,16,NULL,'Pyrantel Pamoate','Pyrantel Pamoate','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(502,10,16,NULL,'Toltrazuril','Toltrazuril','Bayer (Baycox)','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(503,10,17,NULL,'Meloxicam','Meloxicam','Boehringer (Metacam)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(504,10,17,NULL,'Carprofen','Carprofen','Zoetis (Rimadyl)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(505,10,17,NULL,'Ketoprofen','Ketoprofen','Merial (Ketofen)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(506,10,17,NULL,'Flunixin Meglumine','Flunixin Meglumine','MSD (Finadyne)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(507,10,17,NULL,'Tramadol','Tramadol HCl','Generic','mg',NULL,'active','Schedule IV','2026-06-17 21:11:54','2026-06-17 21:11:55'),(508,10,17,NULL,'Butorphanol','Butorphanol Tartrate','Zoetis (Torbugesic)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(509,10,18,NULL,'Dexamethasone','Dexamethasone Sodium Phosphate','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(510,10,18,NULL,'Prednisolone','Prednisolone','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(511,10,18,NULL,'Methylprednisolone','Methylprednisolone','Pfizer (Depo-Medrol)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(512,10,18,NULL,'Betamethasone','Betamethasone','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(513,10,6,NULL,'Vitamin B Complex','Vitamin B1/B6/B12','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(514,10,6,NULL,'Vitamin C','Ascorbic Acid','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(515,10,6,NULL,'Vitamin D3','Cholecalciferol','Generic','IU',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(516,10,6,NULL,'Calcium Gluconate','Calcium Gluconate','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(517,10,6,NULL,'Iron Dextran','Iron Dextran','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(518,10,6,NULL,'Multivitamin Supplement','Multi-mineral + vitamins','Various','tab',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(519,10,12,NULL,'Metoclopramide','Metoclopramide HCl','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(520,10,12,NULL,'Maropitant','Maropitant Citrate','Zoetis (Cerenia)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(521,10,12,NULL,'Famotidine','Famotidine','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(522,10,12,NULL,'Omeprazole','Omeprazole','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(523,10,12,NULL,'Atropine Sulfate','Atropine Sulfate','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(524,10,12,NULL,'Kaolin-Pectin','Kaolin + Pectin','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(525,10,12,NULL,'Sucralfate','Sucralfate','Generic','tab',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(526,10,19,NULL,'Furosemide','Furosemide','Sanofi (Lasix)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(527,10,19,NULL,'Atenolol','Atenolol','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(528,10,19,NULL,'Digoxin','Digoxin','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(529,10,19,NULL,'Spironolactone','Spironolactone','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(530,10,19,NULL,'Pimobendan','Pimobendan','Boehringer (Vetmedin)','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(531,10,19,NULL,'Enalapril','Enalapril Maleate','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(532,10,7,NULL,'Chlorhexidine Solution','Chlorhexidine Gluconate 4%','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(533,10,7,NULL,'Miconazole Cream','Miconazole Nitrate 2%','Generic','g',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(534,10,7,NULL,'Betadine Solution','Povidone-Iodine 10%','Mundipharma','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(535,10,7,NULL,'Zinc Oxide Ointment','Zinc Oxide','Generic','g',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(536,10,15,NULL,'Ketoconazole','Ketoconazole','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(537,10,15,NULL,'Itraconazole','Itraconazole','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(538,10,15,NULL,'Fluconazole','Fluconazole','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(539,10,8,NULL,'Tobramycin Eye Drops','Tobramycin 0.3%','Alcon','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(540,10,8,NULL,'Chloramphenicol Eye Drops','Chloramphenicol 0.5%','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(541,10,8,NULL,'Atropine Eye Drops','Atropine Sulfate 1%','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(542,10,8,NULL,'Dexamethasone Eye Drops','Dexamethasone 0.1%','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(543,10,8,NULL,'Sodium Hyaluronate Drops','Sodium Hyaluronate 0.18%','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(544,10,20,NULL,'Ketamine','Ketamine HCl','Generic','ml',NULL,'active','Schedule III','2026-06-17 21:11:54','2026-06-17 21:11:55'),(545,10,20,NULL,'Xylazine','Xylazine HCl','Bayer (Rompun)','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(546,10,20,NULL,'Propofol','Propofol','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(547,10,20,NULL,'Lidocaine 2%','Lidocaine HCl','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(548,10,20,NULL,'Medetomidine','Medetomidine HCl','Orion (Domitor)','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(549,10,20,NULL,'Midazolam','Midazolam HCl','Generic','ml',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(550,10,11,NULL,'Oxytocin','Oxytocin','Generic','IU',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(551,10,11,NULL,'Progesterone','Progesterone','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(552,10,11,NULL,'Insulin (Bovine)','Bovine Insulin','Generic','IU',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(553,10,11,NULL,'Levothyroxine','Levothyroxine Sodium','Generic','mcg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(554,10,11,NULL,'Methimazole','Methimazole','Generic','mg',NULL,'active',NULL,'2026-06-17 21:11:54','2026-06-17 21:11:54'),(555,10,20,NULL,'Diazepam','Diazepam','Controlled / Restricted','ml','Controlled substance — register-tracked; store in locked cabinet.','active','Schedule IV','2026-06-17 21:11:55','2026-06-17 21:11:55'),(556,10,20,NULL,'Phenobarbital','Phenobarbital','Controlled / Restricted','mg','Controlled substance — register-tracked; store in locked cabinet.','active','Schedule IV','2026-06-17 21:11:55','2026-06-17 21:11:55'),(557,10,20,NULL,'Buprenorphine','Buprenorphine','Controlled / Restricted','ml','Controlled substance — register-tracked; store in locked cabinet.','active','Schedule III','2026-06-17 21:11:55','2026-06-17 21:11:55'),(558,10,20,NULL,'Morphine','Morphine Sulfate','Controlled / Restricted','mg','Controlled substance — register-tracked; store in locked cabinet.','active','Schedule II','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_medicines` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_module_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_module_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `key` varchar(100) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_module_settings_business_id_key_unique` (`business_id`,`key`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_module_settings` WRITE;
/*!40000 ALTER TABLE `vc_module_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_module_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_pet_conditions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_pet_conditions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `condition_id` int(10) unsigned NOT NULL,
  `diagnosed_date` date DEFAULT NULL,
  `diagnosed_by` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `severity` enum('mild','moderate','severe') DEFAULT NULL,
  `status` enum('active','resolved','chronic') NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_pet_conditions_condition_id_foreign` (`condition_id`),
  KEY `vc_pet_conditions_pet_id_index` (`pet_id`),
  CONSTRAINT `vc_pet_conditions_condition_id_foreign` FOREIGN KEY (`condition_id`) REFERENCES `vc_medical_conditions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_pet_conditions_pet_id_foreign` FOREIGN KEY (`pet_id`) REFERENCES `vc_pets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_pet_conditions` WRITE;
/*!40000 ALTER TABLE `vc_pet_conditions` DISABLE KEYS */;
INSERT INTO `vc_pet_conditions` VALUES (8,14,30,'2026-06-16',NULL,NULL,'severe','chronic',NULL,'2026-06-16 15:56:04','2026-06-16 15:56:04');
/*!40000 ALTER TABLE `vc_pet_conditions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_pet_owner_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_pet_owner_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `emergency_contact_name` varchar(100) DEFAULT NULL,
  `emergency_contact_phone` varchar(30) DEFAULT NULL,
  `emergency_contact_relation` varchar(50) DEFAULT NULL,
  `occupation` varchar(100) DEFAULT NULL,
  `referred_by` varchar(100) DEFAULT NULL,
  `preferred_doctor_id` int(10) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `email_confirmed` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `email_confirm_token` varchar(100) DEFAULT NULL,
  `email_confirm_sent_at` timestamp NULL DEFAULT NULL,
  `is_blocked` tinyint(1) NOT NULL DEFAULT 0,
  `blocked_at` timestamp NULL DEFAULT NULL,
  `blocked_reason` text DEFAULT NULL,
  `blocked_by` int(10) unsigned DEFAULT NULL,
  `credit_limit_backup` decimal(14,2) DEFAULT NULL,
  `block_avg_rating` decimal(3,2) DEFAULT NULL,
  `block_rating_count` smallint(5) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_pet_owner_details_contact_id_unique` (`contact_id`),
  KEY `vc_pet_owner_details_business_id_index` (`business_id`),
  KEY `vc_pet_owner_details_preferred_doctor_id_index` (`preferred_doctor_id`),
  KEY `vc_pet_owner_details_is_blocked_index` (`is_blocked`),
  CONSTRAINT `vc_pet_owner_details_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_pet_owner_details_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_pet_owner_details` WRITE;
/*!40000 ALTER TABLE `vc_pet_owner_details` DISABLE KEYS */;
INSERT INTO `vc_pet_owner_details` VALUES (53,10,6092,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(54,10,6093,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(55,10,6094,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(56,10,6095,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(57,10,6096,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(58,10,6097,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(59,10,6098,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(60,10,6099,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(61,10,6100,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(62,10,6101,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(63,10,6102,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL),(64,10,6103,'Family Contact','+201092288093','Relative',NULL,'Walk-in',NULL,NULL,0,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `vc_pet_owner_details` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_pet_symptoms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_pet_symptoms` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `pet_id` bigint(20) unsigned NOT NULL,
  `contact_id` bigint(20) unsigned DEFAULT NULL,
  `recorded_at` datetime NOT NULL,
  `body` text NOT NULL,
  `severity` enum('low','moderate','high','urgent') NOT NULL DEFAULT 'low',
  `photo_paths` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`photo_paths`)),
  `reply_by` bigint(20) unsigned DEFAULT NULL,
  `reply_body` text DEFAULT NULL,
  `replied_at` datetime DEFAULT NULL,
  `status` enum('open','answered','closed') NOT NULL DEFAULT 'open',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_pet_symptoms_business_id_pet_id_recorded_at_index` (`business_id`,`pet_id`,`recorded_at`),
  KEY `vc_pet_symptoms_business_id_status_index` (`business_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_pet_symptoms` WRITE;
/*!40000 ALTER TABLE `vc_pet_symptoms` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_pet_symptoms` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_pet_weights`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_pet_weights` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `pet_id` bigint(20) unsigned NOT NULL,
  `weight_kg` decimal(6,2) NOT NULL,
  `recorded_at` datetime NOT NULL,
  `source` enum('owner','clinic') NOT NULL DEFAULT 'owner',
  `recorded_by` bigint(20) unsigned DEFAULT NULL,
  `notes` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_pet_weights_business_id_pet_id_recorded_at_index` (`business_id`,`pet_id`,`recorded_at`)
) ENGINE=InnoDB AUTO_INCREMENT=142 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_pet_weights` WRITE;
/*!40000 ALTER TABLE `vc_pet_weights` DISABLE KEYS */;
INSERT INTO `vc_pet_weights` VALUES (114,10,70,29.58,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(115,10,70,31.53,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(116,10,71,3.82,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(117,10,71,4.07,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(118,10,72,25.48,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(119,10,72,27.16,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(120,10,73,6.19,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(121,10,73,6.60,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(122,10,74,10.92,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(123,10,74,11.64,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(124,10,75,0.41,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(125,10,75,0.44,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(126,10,76,40.95,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(127,10,76,43.65,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(128,10,77,3.55,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(129,10,77,3.78,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(130,10,78,27.30,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(131,10,78,29.10,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(132,10,79,1.64,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(133,10,79,1.75,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(134,10,80,5.01,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(135,10,80,5.34,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(136,10,81,28.21,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(137,10,81,30.07,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(138,10,82,0.08,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(139,10,82,0.09,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(140,10,83,6.55,'2026-03-20 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(141,10,83,6.98,'2026-05-19 00:11:55','owner',NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_pet_weights` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_pets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_pets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `petname` varchar(100) NOT NULL,
  `species` varchar(50) DEFAULT NULL,
  `breed` varchar(100) DEFAULT NULL,
  `color` varchar(50) DEFAULT NULL,
  `gender` enum('male','female','unknown') NOT NULL DEFAULT 'unknown',
  `dob` date DEFAULT NULL,
  `weight_kg` decimal(8,2) DEFAULT NULL,
  `bloodgroup` varchar(20) DEFAULT NULL,
  `microchip_no` varchar(50) DEFAULT NULL,
  `serial_no` varchar(50) DEFAULT NULL,
  `preferred_doctor_id` int(10) unsigned DEFAULT NULL,
  `neutered` tinyint(1) NOT NULL DEFAULT 0,
  `deceased` tinyint(1) NOT NULL DEFAULT 0,
  `deceased_date` date DEFAULT NULL,
  `photo_path` varchar(255) DEFAULT NULL,
  `cert_verify_token` varchar(64) 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 `vc_pets_cert_verify_token_unique` (`cert_verify_token`),
  KEY `vc_pets_contact_id_foreign` (`contact_id`),
  KEY `vc_pets_business_id_contact_id_index` (`business_id`,`contact_id`),
  KEY `vc_pets_business_id_status_index` (`business_id`,`status`),
  KEY `vc_pets_preferred_doctor_id_index` (`preferred_doctor_id`),
  CONSTRAINT `vc_pets_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_pets_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_pets` WRITE;
/*!40000 ALTER TABLE `vc_pets` DISABLE KEYS */;
INSERT INTO `vc_pets` VALUES (70,10,6092,'Rex','Dog','German Shepherd',NULL,'male','2025-06-18',32.50,NULL,'CHIP001000',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(71,10,6093,'Luna','Cat','Persian',NULL,'female','2024-05-18',4.20,NULL,'CHIP001001',NULL,NULL,1,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(72,10,6094,'Bella','Dog','Labrador',NULL,'female','2023-04-18',28.00,NULL,'CHIP001002',NULL,NULL,1,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(73,10,6095,'Simba','Cat','Maine Coon',NULL,'male','2022-03-18',6.80,NULL,'CHIP001003',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(74,10,6096,'Max','Dog','Beagle',NULL,'male','2021-02-18',12.00,NULL,'CHIP001004',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(75,10,6097,'Coco','Bird','African Grey Parrot',NULL,'female','2020-01-18',0.45,NULL,'CHIP001005',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(76,10,6098,'Rocky','Dog','Rottweiler',NULL,'male','2018-12-18',45.00,NULL,'CHIP001006',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(77,10,6099,'Misty','Cat','Siamese',NULL,'female','2017-11-18',3.90,NULL,'CHIP001007',NULL,NULL,1,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(78,10,6100,'Charlie','Dog','Golden Retriever',NULL,'male','2024-10-18',30.00,NULL,'CHIP001008',NULL,NULL,1,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(79,10,6101,'Daisy','Rabbit','Holland Lop',NULL,'female','2023-09-18',1.80,NULL,'CHIP001009',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(80,10,6102,'Shadow','Cat','British Shorthair',NULL,'male','2022-08-18',5.50,NULL,'CHIP001010',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(81,10,6103,'Bruno','Dog','Boxer',NULL,'male','2022-06-18',31.00,NULL,'CHIP001011',NULL,NULL,0,1,'2026-04-18',NULL,NULL,'inactive','2026-06-17 21:11:55','2026-06-17 21:11:55'),(82,10,6092,'Kiwi','Bird','Cockatiel',NULL,'male','2021-05-18',0.09,NULL,'CHIP001012',NULL,NULL,0,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(83,10,6093,'Nala','Dog','Poodle',NULL,'female','2020-04-18',7.20,NULL,'CHIP001013',NULL,NULL,1,0,NULL,NULL,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_pets` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_preferred_doctor_history`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_preferred_doctor_history` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `old_doctor_id` int(10) unsigned DEFAULT NULL,
  `new_doctor_id` int(10) unsigned DEFAULT NULL,
  `changed_by` int(10) unsigned DEFAULT NULL,
  `source` enum('manual','doctor_change_request') NOT NULL DEFAULT 'manual',
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `reason` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_preferred_doctor_history_business_id_index` (`business_id`),
  KEY `vc_preferred_doctor_history_contact_id_index` (`contact_id`),
  KEY `vc_preferred_doctor_history_pet_id_index` (`pet_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_preferred_doctor_history` WRITE;
/*!40000 ALTER TABLE `vc_preferred_doctor_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_preferred_doctor_history` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_prescription_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_prescription_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `prescription_id` int(10) unsigned NOT NULL,
  `medicine_id` int(10) unsigned DEFAULT NULL,
  `medicine_name` varchar(150) NOT NULL,
  `dosage` varchar(100) DEFAULT NULL,
  `frequency` varchar(100) DEFAULT NULL,
  `duration_days` smallint(5) unsigned DEFAULT NULL,
  `instructions` text DEFAULT NULL,
  `quantity` smallint(5) unsigned NOT NULL DEFAULT 1,
  `purchase_line_id` int(10) unsigned DEFAULT NULL,
  `dispensed_qty` decimal(22,4) DEFAULT NULL,
  `dispensed_at` timestamp NULL DEFAULT NULL,
  `dispensed_by` int(10) unsigned DEFAULT NULL,
  `location_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_prescription_items_prescription_id_index` (`prescription_id`),
  CONSTRAINT `vc_prescription_items_prescription_id_foreign` FOREIGN KEY (`prescription_id`) REFERENCES `vc_prescriptions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_prescription_items` WRITE;
/*!40000 ALTER TABLE `vc_prescription_items` DISABLE KEYS */;
INSERT INTO `vc_prescription_items` VALUES (47,24,479,'Amoxicillin','1 tablet','BID',7,'After meals',14,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(48,24,480,'Amoxicillin + Clavulanate','0.5 ml/kg','SID',7,'After meals',14,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(49,25,479,'Amoxicillin','1 tablet','BID',7,'After meals',14,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(50,25,480,'Amoxicillin + Clavulanate','0.5 ml/kg','SID',7,'After meals',14,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(51,26,479,'Amoxicillin','1 tablet','BID',7,'After meals',14,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(52,26,480,'Amoxicillin + Clavulanate','0.5 ml/kg','SID',7,'After meals',14,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_prescription_items` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_prescriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_prescriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `ref_no` varchar(30) NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `doctor_id` int(10) unsigned DEFAULT NULL,
  `prescribed_date` date NOT NULL,
  `valid_until` date DEFAULT NULL,
  `diagnosis` text DEFAULT NULL,
  `status` enum('active','completed','cancelled') 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 `vc_prescriptions_ref_no_unique` (`ref_no`),
  KEY `vc_prescriptions_appointment_id_foreign` (`appointment_id`),
  KEY `vc_prescriptions_contact_id_foreign` (`contact_id`),
  KEY `vc_prescriptions_pet_id_foreign` (`pet_id`),
  KEY `vc_prescriptions_doctor_id_foreign` (`doctor_id`),
  KEY `vc_prescriptions_business_id_pet_id_index` (`business_id`,`pet_id`),
  CONSTRAINT `vc_prescriptions_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `vc_appointments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_prescriptions_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_prescriptions_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_prescriptions_doctor_id_foreign` FOREIGN KEY (`doctor_id`) REFERENCES `vc_doctors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_prescriptions_pet_id_foreign` FOREIGN KEY (`pet_id`) REFERENCES `vc_pets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_prescriptions` WRITE;
/*!40000 ALTER TABLE `vc_prescriptions` DISABLE KEYS */;
INSERT INTO `vc_prescriptions` VALUES (24,10,'RX-0001',83,6092,70,19,'2026-05-24','2026-06-23','Gastroenteritis (mild)','active','Give with food. Complete the full course.','2026-06-17 21:11:55','2026-06-17 21:11:55'),(25,10,'RX-0003',85,6094,72,21,'2026-06-06','2026-07-06','Gastroenteritis (mild)','active','Give with food. Complete the full course.','2026-06-17 21:11:55','2026-06-17 21:11:55'),(26,10,'RX-0004',86,6095,73,19,'2026-06-12','2026-07-12','Gastroenteritis (mild)','active','Give with food. Complete the full course.','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_prescriptions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_quotation_meta`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_quotation_meta` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `transaction_id` int(10) unsigned NOT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `approval_token` varchar(64) DEFAULT NULL,
  `status` enum('draft','sent','viewed','approved','rejected','expired') NOT NULL DEFAULT 'draft',
  `sent_at` timestamp NULL DEFAULT NULL,
  `viewed_at` timestamp NULL DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `approved_by_name` varchar(191) DEFAULT NULL,
  `approval_ip` varchar(45) DEFAULT NULL,
  `approval_signature_path` varchar(255) DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `expires_at` date DEFAULT NULL,
  `converted_sell_id` int(10) unsigned DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_quotation_meta_transaction_id_unique` (`transaction_id`),
  UNIQUE KEY `vc_quotation_meta_approval_token_unique` (`approval_token`),
  KEY `vc_quotation_meta_business_id_index` (`business_id`),
  KEY `vc_quotation_meta_appointment_id_index` (`appointment_id`),
  KEY `vc_quotation_meta_pet_id_index` (`pet_id`),
  KEY `vc_quotation_meta_status_index` (`status`),
  KEY `vc_quotation_meta_converted_sell_id_index` (`converted_sell_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_quotation_meta` WRITE;
/*!40000 ALTER TABLE `vc_quotation_meta` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_quotation_meta` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_reminder_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_reminder_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `vaccination_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `channel` enum('email','wa') NOT NULL DEFAULT 'email',
  `template_type` enum('email_due','email_overdue','wa_due','wa_overdue') NOT NULL,
  `sent_to` varchar(255) DEFAULT NULL COMMENT 'Email or phone number used',
  `status` enum('sent','failed') NOT NULL DEFAULT 'sent',
  `error_message` text DEFAULT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_reminder_logs_vaccination_id_channel_template_type_index` (`vaccination_id`,`channel`,`template_type`),
  KEY `vc_reminder_logs_business_id_sent_at_index` (`business_id`,`sent_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_reminder_logs` WRITE;
/*!40000 ALTER TABLE `vc_reminder_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_reminder_logs` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_reminder_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_reminder_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `is_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `days_before_due` tinyint(3) unsigned NOT NULL DEFAULT 7 COMMENT 'Send reminder X days before the scheduled vaccine date',
  `send_overdue` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Also send reminders for overdue vaccinations',
  `overdue_reminder_interval` tinyint(3) unsigned NOT NULL DEFAULT 7 COMMENT 'Re-send overdue reminder every X days (0 = only once)',
  `max_reminders_per_vaccine` tinyint(3) unsigned NOT NULL DEFAULT 3 COMMENT 'Maximum reminder emails per vaccination record',
  `email_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `sms_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `wa_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `schedule_time` varchar(5) NOT NULL DEFAULT '08:00' COMMENT 'Preferred time to run daily reminders (HH:MM, display only)',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_reminder_settings_business_id_unique` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_reminder_settings` WRITE;
/*!40000 ALTER TABLE `vc_reminder_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_reminder_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_reminder_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_reminder_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL COMMENT 'NULL = system default, set to business_id for customised copy',
  `type` enum('email_due','email_overdue','wa_due','wa_overdue','sms_due','sms_overdue') NOT NULL,
  `name` varchar(100) NOT NULL,
  `subject` varchar(255) DEFAULT NULL COMMENT 'Email subject (null for WA)',
  `body` text NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_system_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_reminder_templates` WRITE;
/*!40000 ALTER TABLE `vc_reminder_templates` DISABLE KEYS */;
INSERT INTO `vc_reminder_templates` VALUES (1,NULL,'email_due','Default — Vaccination Due Soon','Vaccination Reminder for {{pet_name}} — {{vaccine_name}}','Dear {{owner_name}},\n\nThis is a friendly reminder that your pet {{pet_name}} ({{pet_species}}) is due for the {{vaccine_name}} vaccination on {{due_date}}.\n\nThat\'s in {{days_until_due}} — please contact us to schedule an appointment at your earliest convenience.\n\nClinic: {{clinic_name}}\nPhone: {{clinic_phone}}\nEmail: {{clinic_email}}\n\nThank you for keeping {{pet_name}} healthy!\n\nBest regards,\n{{clinic_name}}',1,1,'2026-05-02 01:27:50','2026-05-02 01:27:50'),(2,NULL,'email_overdue','Default — Vaccination Overdue','OVERDUE: {{pet_name}} missed their {{vaccine_name}} vaccination','Dear {{owner_name}},\n\nWe noticed that {{pet_name}} ({{pet_species}}) missed their {{vaccine_name}} vaccination that was due on {{due_date}} ({{days_until_due}}).\n\nDelayed vaccinations can put your pet at risk. Please contact us as soon as possible to reschedule.\n\nClinic: {{clinic_name}}\nPhone: {{clinic_phone}}\nEmail: {{clinic_email}}\n\nBest regards,\n{{clinic_name}}',1,1,'2026-05-02 01:27:50','2026-05-02 01:27:50'),(3,NULL,'wa_due','Default WhatsApp — Vaccination Due Soon',NULL,'Hello {{owner_name}} 👋\n\nThis is a reminder from {{clinic_name}} that your pet *{{pet_name}}* is due for the *{{vaccine_name}}* vaccination on *{{due_date}}* (in {{days_until_due}}).\n\nPlease call us on {{clinic_phone}} to book an appointment.\n\nThank you! 🐾',1,1,'2026-05-02 01:27:50','2026-05-02 01:27:50'),(4,NULL,'wa_overdue','Default WhatsApp — Vaccination Overdue',NULL,'Hello {{owner_name}} 👋\n\n⚠️ *Important:* Your pet *{{pet_name}}* missed their *{{vaccine_name}}* vaccination (was due {{due_date}} — {{days_until_due}}).\n\nPlease contact {{clinic_name}} urgently to reschedule.\n📞 {{clinic_phone}}\n\nThank you for keeping {{pet_name}} safe! 🐾',1,1,'2026-05-02 01:27:50','2026-05-02 01:27:50'),(5,NULL,'sms_due','SMS — Vaccine due',NULL,'Hi {{owner_name}}, this is a reminder that {{pet_name}}\'s {{vaccine_name}} is due on {{due_date}}. Please book at {{clinic_name}} on {{clinic_phone}}.',1,1,'2026-05-28 23:57:42','2026-05-28 23:57:42'),(6,NULL,'sms_overdue','SMS — Vaccine overdue',NULL,'Hi {{owner_name}}, {{pet_name}}\'s {{vaccine_name}} is now {{days_until_due}}. Please call {{clinic_name}} on {{clinic_phone}} to schedule.',1,1,'2026-05-28 23:57:42','2026-05-28 23:57:42');
/*!40000 ALTER TABLE `vc_reminder_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_role_landing_pages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_role_landing_pages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `role_id` bigint(20) unsigned NOT NULL,
  `landing_url` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_role_landing_pages_business_id_role_id_unique` (`business_id`,`role_id`),
  KEY `vc_role_landing_pages_business_id_index` (`business_id`),
  KEY `vc_role_landing_pages_role_id_index` (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_role_landing_pages` WRITE;
/*!40000 ALTER TABLE `vc_role_landing_pages` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_role_landing_pages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_role_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_role_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `role_id` bigint(20) unsigned NOT NULL,
  `key` varchar(60) NOT NULL,
  `value` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vc_role_settings_business_id_role_id_key_unique` (`business_id`,`role_id`,`key`),
  KEY `vc_role_settings_business_id_index` (`business_id`),
  KEY `vc_role_settings_role_id_index` (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_role_settings` WRITE;
/*!40000 ALTER TABLE `vc_role_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_role_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_soap_options`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_soap_options` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `section` enum('complaint','lab_test','exam_test','frequency','body_system') NOT NULL,
  `species` varchar(20) NOT NULL DEFAULT 'all',
  `group_name` varchar(60) DEFAULT NULL,
  `label` varchar(120) NOT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_soap_options_business_id_index` (`business_id`),
  KEY `vc_soap_options_product_id_index` (`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=154 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_soap_options` WRITE;
/*!40000 ALTER TABLE `vc_soap_options` DISABLE KEYS */;
INSERT INTO `vc_soap_options` VALUES (1,NULL,'complaint','all',NULL,'Vomiting',NULL,0,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(2,NULL,'complaint','all',NULL,'Diarrhea',NULL,1,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(3,NULL,'complaint','all',NULL,'Not eating',NULL,2,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(4,NULL,'complaint','all',NULL,'Lethargy',NULL,3,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(5,NULL,'complaint','all',NULL,'Weight loss',NULL,4,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(6,NULL,'complaint','all',NULL,'Limping',NULL,5,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(7,NULL,'complaint','all',NULL,'Itching',NULL,6,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(8,NULL,'complaint','all',NULL,'Coughing',NULL,7,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(9,NULL,'complaint','all',NULL,'Sneezing',NULL,8,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(10,NULL,'complaint','all',NULL,'Eye discharge',NULL,9,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(11,NULL,'complaint','all',NULL,'Nasal discharge',NULL,10,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(12,NULL,'complaint','all',NULL,'Breathing difficulty',NULL,11,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(13,NULL,'complaint','all',NULL,'Seizure',NULL,12,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(14,NULL,'complaint','all',NULL,'Bloody stool',NULL,13,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(15,NULL,'complaint','all',NULL,'Excessive thirst',NULL,14,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(16,NULL,'complaint','dog',NULL,'Excessive barking',NULL,15,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(17,NULL,'complaint','dog',NULL,'Pawing at ears',NULL,16,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(18,NULL,'complaint','dog',NULL,'Dragging hindquarters',NULL,17,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(19,NULL,'complaint','dog',NULL,'Licking paws',NULL,18,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(20,NULL,'complaint','dog',NULL,'Collar rubbing',NULL,19,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(21,NULL,'complaint','dog',NULL,'Anal scooting',NULL,20,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(22,NULL,'complaint','cat',NULL,'Hiding',NULL,21,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(23,NULL,'complaint','cat',NULL,'Over-grooming',NULL,22,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(24,NULL,'complaint','cat',NULL,'Straining to urinate',NULL,23,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(25,NULL,'complaint','cat',NULL,'Hairballs',NULL,24,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(26,NULL,'complaint','cat',NULL,'Chin acne',NULL,25,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(27,NULL,'complaint','cat',NULL,'Drooling',NULL,26,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(28,NULL,'complaint','rabbit',NULL,'GI stasis',NULL,27,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(29,NULL,'complaint','rabbit',NULL,'Head tilt',NULL,28,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(30,NULL,'complaint','rabbit',NULL,'Dental issues',NULL,29,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(31,NULL,'complaint','rabbit',NULL,'Hair loss',NULL,30,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(32,NULL,'complaint','rabbit',NULL,'Myiasis',NULL,31,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(33,NULL,'complaint','rabbit',NULL,'Anorexia',NULL,32,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(34,NULL,'complaint','bird',NULL,'Feather plucking',NULL,33,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(35,NULL,'complaint','bird',NULL,'Fluffed feathers',NULL,34,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(36,NULL,'complaint','bird',NULL,'Regurgitation',NULL,35,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(37,NULL,'complaint','bird',NULL,'Tail bobbing',NULL,36,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(38,NULL,'complaint','bird',NULL,'Voice change',NULL,37,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(39,NULL,'complaint','bird',NULL,'Beak malformation',NULL,38,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(40,NULL,'lab_test','all',NULL,'CBC (Complete Blood Count)',NULL,0,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(41,NULL,'lab_test','all',NULL,'Blood Glucose',NULL,1,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(42,NULL,'lab_test','all',NULL,'Urinalysis',NULL,2,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(43,NULL,'lab_test','all',NULL,'Liver Panel (ALT/AST/ALP)',NULL,3,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(44,NULL,'lab_test','all',NULL,'Kidney Panel (BUN/Creatinine)',NULL,4,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(45,NULL,'lab_test','all',NULL,'Thyroid (T4)',NULL,5,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(46,NULL,'lab_test','all',NULL,'Culture & Sensitivity',NULL,6,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(47,NULL,'lab_test','all',NULL,'Fecal Float',NULL,7,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(48,NULL,'lab_test','all',NULL,'Direct Smear',NULL,8,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(49,NULL,'lab_test','all',NULL,'Stool Exam',NULL,9,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(50,NULL,'lab_test','all',NULL,'Electrolytes',NULL,10,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(51,NULL,'lab_test','all',NULL,'Serum Protein',NULL,11,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(52,NULL,'lab_test','all',NULL,'Coagulation Panel',NULL,12,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(53,NULL,'lab_test','all',NULL,'Blood Pressure',NULL,13,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(54,NULL,'lab_test','dog',NULL,'Heartworm Antigen Test',NULL,14,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(55,NULL,'lab_test','dog',NULL,'Brucellosis Test',NULL,15,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(56,NULL,'lab_test','dog',NULL,'Parvovirus PCR',NULL,16,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(57,NULL,'lab_test','dog',NULL,'Distemper Titer',NULL,17,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(58,NULL,'lab_test','dog',NULL,'Lyme SNAP Test',NULL,18,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(59,NULL,'lab_test','dog',NULL,'Ehrlichia/Anaplasma Panel',NULL,19,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(60,NULL,'lab_test','cat',NULL,'FeLV/FIV Combo Test',NULL,20,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(61,NULL,'lab_test','cat',NULL,'Feline Panleukopenia PCR',NULL,21,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(62,NULL,'lab_test','cat',NULL,'Corona Virus Titer',NULL,22,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(63,NULL,'lab_test','cat',NULL,'Bile Acids',NULL,23,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(64,NULL,'lab_test','cat',NULL,'Toxoplasmosis Titer',NULL,24,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(65,NULL,'lab_test','rabbit',NULL,'E. cuniculi Titer',NULL,25,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(66,NULL,'lab_test','rabbit',NULL,'Rabbit Calicivirus Titer',NULL,26,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(67,NULL,'lab_test','rabbit',NULL,'Myxomatosis Titer',NULL,27,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(68,NULL,'lab_test','bird',NULL,'Chlamydophila PCR',NULL,28,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(69,NULL,'lab_test','bird',NULL,'Gram Stain',NULL,29,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(70,NULL,'lab_test','bird',NULL,'Newcastle Disease Titer',NULL,30,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(71,NULL,'lab_test','bird',NULL,'Polyomavirus PCR',NULL,31,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(72,NULL,'lab_test','bird',NULL,'PBFD PCR',NULL,32,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(73,NULL,'exam_test','all',NULL,'X-Ray (Radiograph)',NULL,0,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(74,NULL,'exam_test','all',NULL,'Ultrasound',NULL,1,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(75,NULL,'exam_test','all',NULL,'Otoscopy',NULL,2,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(76,NULL,'exam_test','all',NULL,'Ophthalmoscopy',NULL,3,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(77,NULL,'exam_test','all',NULL,'ECG',NULL,4,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(78,NULL,'exam_test','all',NULL,'Biopsy',NULL,5,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(79,NULL,'exam_test','all',NULL,'Fine Needle Aspirate',NULL,6,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(80,NULL,'exam_test','all',NULL,'Blood Pressure Measurement',NULL,7,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(81,NULL,'exam_test','dog',NULL,'Skin Scraping',NULL,8,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(82,NULL,'exam_test','dog',NULL,'Vaginal Cytology',NULL,9,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(83,NULL,'exam_test','dog',NULL,'Rectal Exam',NULL,10,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(84,NULL,'exam_test','dog',NULL,'Hip Evaluation (PennHIP)',NULL,11,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(85,NULL,'exam_test','dog',NULL,'Joint Fluid Analysis',NULL,12,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(86,NULL,'exam_test','cat',NULL,'Tonometry (Eye Pressure)',NULL,13,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(87,NULL,'exam_test','cat',NULL,'Rectal Exam',NULL,14,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(88,NULL,'exam_test','cat',NULL,'Thoracocentesis',NULL,15,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(89,NULL,'exam_test','rabbit',NULL,'Dental X-Ray',NULL,16,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(90,NULL,'exam_test','rabbit',NULL,'Skull X-Ray',NULL,17,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(91,NULL,'exam_test','rabbit',NULL,'Slit Lamp Exam',NULL,18,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(92,NULL,'exam_test','bird',NULL,'Endoscopy',NULL,19,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(93,NULL,'exam_test','bird',NULL,'Laparoscopy',NULL,20,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(94,NULL,'exam_test','bird',NULL,'Crop Flush',NULL,21,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(95,NULL,'frequency','all',NULL,'Once daily',NULL,0,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(96,NULL,'frequency','all',NULL,'Twice daily (BID)',NULL,1,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(97,NULL,'frequency','all',NULL,'3× daily (TID)',NULL,2,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(98,NULL,'frequency','all',NULL,'4× daily (QID)',NULL,3,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(99,NULL,'frequency','all',NULL,'Every 8 hours',NULL,4,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(100,NULL,'frequency','all',NULL,'Every 12 hours',NULL,5,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(101,NULL,'frequency','all',NULL,'Every 48 hours',NULL,6,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(102,NULL,'frequency','all',NULL,'As needed (PRN)',NULL,7,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(103,NULL,'frequency','all',NULL,'Single dose',NULL,8,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(104,NULL,'frequency','all',NULL,'Weekly',NULL,9,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(105,NULL,'frequency','all',NULL,'Bi-weekly',NULL,10,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(106,NULL,'frequency','all',NULL,'Monthly',NULL,11,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(107,NULL,'frequency','all',NULL,'With food',NULL,12,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(108,NULL,'frequency','all',NULL,'Without food',NULL,13,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(109,NULL,'frequency','all',NULL,'Before meals',NULL,14,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(110,NULL,'frequency','all',NULL,'After meals',NULL,15,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(111,NULL,'body_system','all','Cardio-Respiratory','Cardiovascular',NULL,0,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(112,NULL,'body_system','all','Cardio-Respiratory','Respiratory',NULL,1,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(113,NULL,'body_system','all','Digestive & Metabolic','Gastrointestinal',NULL,2,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(114,NULL,'body_system','all','Musculo-Neurological','Musculoskeletal',NULL,5,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(115,NULL,'body_system','all','Musculo-Neurological','Neurological',NULL,6,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(116,NULL,'body_system','all','Integumentary & Sensory','Dermatological',NULL,7,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(117,NULL,'body_system','all','Integumentary & Sensory','Ophthalmological',NULL,8,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(118,NULL,'body_system','all','Integumentary & Sensory','Ears / ENT',NULL,9,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(119,NULL,'body_system','all','Urogenital & Lymphatic','Urogenital',NULL,10,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(120,NULL,'body_system','all','Urogenital & Lymphatic','Lymphatic',NULL,11,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(121,NULL,'body_system','all','Digestive & Metabolic','Endocrine',NULL,3,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(122,NULL,'body_system','all','Digestive & Metabolic','Dental / Oral',NULL,4,'active','2026-04-29 02:24:10','2026-04-29 02:24:10'),(130,NULL,'complaint','all',NULL,'Hypothermia (low temp)',NULL,39,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(131,NULL,'complaint','all',NULL,'Fever / hyperthermia',NULL,40,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(132,NULL,'complaint','all',NULL,'Collapse / syncope',NULL,41,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(133,NULL,'complaint','all',NULL,'Pale gums',NULL,42,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(134,NULL,'complaint','all',NULL,'Cyanosis (blue gums)',NULL,43,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(135,NULL,'complaint','all',NULL,'Icterus (jaundice)',NULL,44,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(136,NULL,'complaint','all',NULL,'Anuria / not urinating',NULL,45,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(137,NULL,'complaint','all',NULL,'Polyuria (increased urine)',NULL,46,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(138,NULL,'complaint','all',NULL,'Polydipsia (increased thirst)',NULL,47,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(139,NULL,'complaint','all',NULL,'Haematuria (blood in urine)',NULL,48,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(140,NULL,'complaint','all',NULL,'Urinary incontinence',NULL,49,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(141,NULL,'complaint','all',NULL,'Anorexia (won\'t eat)',NULL,50,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(142,NULL,'complaint','all',NULL,'Hyporexia (eating less)',NULL,51,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(143,NULL,'complaint','all',NULL,'Regurgitation',NULL,52,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(144,NULL,'complaint','all',NULL,'Constipation',NULL,53,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(145,NULL,'complaint','all',NULL,'Tenesmus (straining to defecate)',NULL,54,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(146,NULL,'complaint','all',NULL,'Hypersalivation / drooling',NULL,55,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(147,NULL,'complaint','all',NULL,'Dehydration',NULL,56,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(148,NULL,'complaint','all',NULL,'Hiding / withdrawn',NULL,57,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(149,NULL,'complaint','all',NULL,'Vocalising in pain',NULL,58,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(150,NULL,'complaint','all',NULL,'Disorientation / confusion',NULL,59,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(151,NULL,'complaint','all',NULL,'Head pressing',NULL,60,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(152,NULL,'complaint','all',NULL,'Open-mouth breathing',NULL,61,'active','2026-06-01 12:20:58','2026-06-01 12:20:58'),(153,NULL,'complaint','all',NULL,'Skin mass / lump',NULL,62,'active','2026-06-01 12:20:58','2026-06-01 12:20:58');
/*!40000 ALTER TABLE `vc_soap_options` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_system_findings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_system_findings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `system_key` varchar(40) NOT NULL,
  `value` varchar(60) NOT NULL,
  `label` varchar(160) NOT NULL,
  `supports_severity` tinyint(1) NOT NULL DEFAULT 0,
  `supports_lr` tinyint(1) NOT NULL DEFAULT 0,
  `is_critical` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` smallint(5) unsigned NOT NULL DEFAULT 0,
  `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 `vc_sysf_uniq` (`business_id`,`system_key`,`value`),
  KEY `vc_system_findings_business_id_index` (`business_id`),
  KEY `vc_system_findings_system_key_index` (`system_key`),
  KEY `vc_system_findings_is_critical_index` (`is_critical`),
  KEY `vc_system_findings_status_index` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=139 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_system_findings` WRITE;
/*!40000 ALTER TABLE `vc_system_findings` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_system_findings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_vaccinations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_vaccinations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `vaccine_type_id` int(10) unsigned NOT NULL,
  `dose` varchar(100) DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `medicine_id` int(10) unsigned DEFAULT NULL,
  `batch_no` varchar(50) DEFAULT NULL,
  `administered_date` date NOT NULL,
  `next_due_date` date DEFAULT NULL,
  `administered_by` int(10) unsigned DEFAULT NULL,
  `weight_at_time` decimal(8,2) DEFAULT NULL,
  `temperature_at_time` decimal(5,2) DEFAULT NULL,
  `status` enum('scheduled','administered','overdue','cancelled') NOT NULL DEFAULT 'administered',
  `taken_status` enum('taken_in','taken_out','not_taken') DEFAULT NULL COMMENT 'taken_in=at clinic, taken_out=external, not_taken=scheduled/not yet given',
  `reminder_sent` tinyint(1) NOT NULL DEFAULT 0,
  `waived_at` timestamp NULL DEFAULT NULL,
  `waived_reason` varchar(191) DEFAULT NULL,
  `waived_note` varchar(191) DEFAULT NULL,
  `waived_by` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `billed_sell_line_id` bigint(20) unsigned DEFAULT NULL,
  `billed_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_vaccinations_pet_id_foreign` (`pet_id`),
  KEY `vc_vaccinations_contact_id_foreign` (`contact_id`),
  KEY `vc_vaccinations_vaccine_type_id_foreign` (`vaccine_type_id`),
  KEY `vc_vaccinations_appointment_id_foreign` (`appointment_id`),
  KEY `vc_vaccinations_business_id_pet_id_index` (`business_id`,`pet_id`),
  KEY `vc_vaccinations_business_id_next_due_date_index` (`business_id`,`next_due_date`),
  KEY `vc_vaccinations_billed_sell_line_id_index` (`billed_sell_line_id`),
  CONSTRAINT `vc_vaccinations_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `vc_appointments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vc_vaccinations_business_id_foreign` FOREIGN KEY (`business_id`) REFERENCES `business` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_vaccinations_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_vaccinations_pet_id_foreign` FOREIGN KEY (`pet_id`) REFERENCES `vc_pets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `vc_vaccinations_vaccine_type_id_foreign` FOREIGN KEY (`vaccine_type_id`) REFERENCES `vc_vaccine_types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_vaccinations` WRITE;
/*!40000 ALTER TABLE `vc_vaccinations` DISABLE KEYS */;
INSERT INTO `vc_vaccinations` VALUES (63,10,70,6092,1,'1 ml',NULL,NULL,NULL,'2025-07-18','2026-07-18',196,NULL,NULL,'administered','',0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(64,10,72,6094,1,'1 ml',NULL,NULL,NULL,'2025-07-24','2026-07-24',196,NULL,NULL,'administered','',0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(65,10,74,6096,1,'1 ml',NULL,NULL,NULL,'2025-07-30','2026-07-30',196,NULL,NULL,'administered','',0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(66,10,76,6098,1,'1 ml',NULL,NULL,NULL,'2025-08-05','2026-08-05',196,NULL,NULL,'administered','',0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(67,10,78,6100,1,'1 ml',NULL,NULL,NULL,'2025-08-11','2026-08-11',196,NULL,NULL,'administered','',0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(68,10,80,6102,1,'1 ml',NULL,NULL,NULL,'2025-08-17','2026-08-17',196,NULL,NULL,'administered','',0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL),(69,10,82,6092,1,'1 ml',NULL,NULL,NULL,'2025-08-23','2026-08-23',196,NULL,NULL,'administered','',0,NULL,NULL,NULL,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55',NULL,NULL);
/*!40000 ALTER TABLE `vc_vaccinations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_vaccine_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_vaccine_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `manufacturer` varchar(100) DEFAULT NULL,
  `category` enum('core_vaccine','non_core_vaccine','spot_on','deworming','oral','nasal','topical','preventive','other') NOT NULL DEFAULT 'core_vaccine',
  `species_target` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`species_target`)),
  `description` text DEFAULT NULL,
  `valid_for_months` smallint(5) unsigned NOT NULL DEFAULT 12,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_vaccine_types_business_id_status_index` (`business_id`,`status`),
  KEY `vc_vaccine_types_product_id_index` (`product_id`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_vaccine_types` WRITE;
/*!40000 ALTER TABLE `vc_vaccine_types` DISABLE KEYS */;
INSERT INTO `vc_vaccine_types` VALUES (1,NULL,'Rabies (Dog)',NULL,NULL,'core_vaccine','[\"dog\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(2,NULL,'Rabies (Cat)',NULL,NULL,'core_vaccine','[\"cat\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(3,NULL,'DHPP (Distemper/Hepatitis/Parvo/Parainfluenza)',NULL,NULL,'core_vaccine','[\"dog\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(4,NULL,'Bordetella (Kennel Cough)',NULL,NULL,'core_vaccine','[\"dog\"]',NULL,6,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(5,NULL,'Leptospirosis',NULL,NULL,'core_vaccine','[\"dog\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(6,NULL,'Lyme Disease',NULL,NULL,'core_vaccine','[\"dog\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(7,NULL,'Canine Influenza',NULL,NULL,'core_vaccine','[\"dog\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(8,NULL,'Parvovirus',NULL,NULL,'core_vaccine','[\"dog\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(9,NULL,'Feline FVRCP (Distemper)',NULL,NULL,'core_vaccine','[\"cat\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(10,NULL,'Feline Leukemia (FeLV)',NULL,NULL,'core_vaccine','[\"cat\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(11,NULL,'Feline Chlamydophila',NULL,NULL,'core_vaccine','[\"cat\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(12,NULL,'Myxomatosis (Rabbit)',NULL,NULL,'core_vaccine','[\"rabbit\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(13,NULL,'Rabbit Haemorrhagic Disease (RHD)',NULL,NULL,'core_vaccine','[\"rabbit\"]',NULL,12,'active','2026-04-21 00:20:15','2026-04-21 00:20:15'),(15,NULL,'Myxomatosis',NULL,NULL,'core_vaccine','[\"rabbit\"]',NULL,12,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(16,NULL,'Frontline Spot-on (Dog)',NULL,NULL,'spot_on','[\"dog\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(17,NULL,'Frontline Spot-on (Cat)',NULL,NULL,'spot_on','[\"cat\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(18,NULL,'Advocate (Dog)',NULL,NULL,'spot_on','[\"dog\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(19,NULL,'Advocate (Cat)',NULL,NULL,'spot_on','[\"cat\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(20,NULL,'Revolution / Stronghold',NULL,NULL,'spot_on','[\"dog\",\"cat\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(21,NULL,'Bravecto Spot-on',NULL,NULL,'spot_on','[\"dog\",\"cat\"]',NULL,3,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(22,NULL,'Milbemax (Dog)',NULL,NULL,'deworming','[\"dog\"]',NULL,3,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(23,NULL,'Milbemax (Cat)',NULL,NULL,'deworming','[\"cat\"]',NULL,3,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(24,NULL,'Drontal (Dog)',NULL,NULL,'deworming','[\"dog\"]',NULL,3,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(25,NULL,'Drontal (Cat)',NULL,NULL,'deworming','[\"cat\"]',NULL,3,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(26,NULL,'Panacur / Fenbendazole',NULL,NULL,'deworming','[\"dog\",\"cat\",\"rabbit\"]',NULL,3,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(27,NULL,'Interceptor (Heartworm + Intestinal)',NULL,NULL,'deworming','[\"dog\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(28,NULL,'Bravecto Oral (Flea & Tick)',NULL,NULL,'oral','[\"dog\"]',NULL,3,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(29,NULL,'Nexgard (Flea & Tick)',NULL,NULL,'oral','[\"dog\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(30,NULL,'Simparica',NULL,NULL,'oral','[\"dog\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(31,NULL,'Credelio (Flea & Tick)',NULL,NULL,'oral','[\"dog\",\"cat\"]',NULL,1,'active','2026-04-21 15:44:55','2026-04-21 15:44:55'),(32,NULL,'Bordetella Intranasal',NULL,NULL,'nasal','[\"dog\"]',NULL,12,'active','2026-04-21 15:44:55','2026-04-21 15:44:55');
/*!40000 ALTER TABLE `vc_vaccine_types` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_vital_ranges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_vital_ranges` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned DEFAULT NULL,
  `species` varchar(40) NOT NULL,
  `life_stage` enum('pediatric','adult','senior','all') NOT NULL DEFAULT 'all',
  `temperature_low` decimal(5,2) DEFAULT NULL,
  `temperature_high` decimal(5,2) DEFAULT NULL,
  `heart_rate_low` smallint(5) unsigned DEFAULT NULL,
  `heart_rate_high` smallint(5) unsigned DEFAULT NULL,
  `respiratory_rate_low` smallint(5) unsigned DEFAULT NULL,
  `respiratory_rate_high` smallint(5) unsigned DEFAULT NULL,
  `weight_low_kg` decimal(6,2) DEFAULT NULL,
  `weight_high_kg` decimal(6,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_vital_ranges_business_id_index` (`business_id`),
  KEY `vc_vital_ranges_species_index` (`species`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_vital_ranges` WRITE;
/*!40000 ALTER TABLE `vc_vital_ranges` DISABLE KEYS */;
INSERT INTO `vc_vital_ranges` VALUES (1,NULL,'canine','all',38.30,39.20,60,140,10,30,NULL,NULL,'2026-05-28 23:57:42','2026-05-28 23:57:42'),(2,NULL,'canine','pediatric',38.50,39.50,80,220,15,35,NULL,NULL,'2026-05-28 23:57:42','2026-05-28 23:57:42'),(3,NULL,'feline','all',38.00,39.20,140,220,16,40,NULL,NULL,'2026-05-28 23:57:42','2026-05-28 23:57:42'),(4,NULL,'feline','pediatric',38.00,39.50,200,260,20,45,NULL,NULL,'2026-05-28 23:57:42','2026-05-28 23:57:42'),(5,NULL,'canine','adult',38.30,39.20,60,140,10,30,NULL,NULL,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(6,NULL,'canine','senior',37.80,39.00,50,130,8,28,NULL,NULL,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(7,NULL,'canine_toy','adult',38.30,39.20,90,160,15,35,0.50,5.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(8,NULL,'canine_small','adult',38.30,39.20,80,140,15,35,5.00,10.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(9,NULL,'canine_med','adult',38.30,39.20,70,120,10,30,10.00,25.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(10,NULL,'canine_large','adult',38.30,39.20,60,100,10,30,25.00,45.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(11,NULL,'canine_giant','adult',38.30,39.20,50,90,10,30,45.00,90.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(12,NULL,'feline','adult',38.00,39.20,140,220,16,40,2.50,6.50,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(13,NULL,'feline','senior',37.50,39.00,130,220,16,40,2.50,6.50,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(14,NULL,'lagomorph','all',38.50,40.00,180,250,30,60,1.00,6.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(15,NULL,'lagomorph','pediatric',38.50,40.50,200,280,35,65,NULL,NULL,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(16,NULL,'mustelid','all',37.80,40.00,200,400,33,36,0.60,2.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(17,NULL,'avian','all',39.50,42.50,150,600,25,70,0.02,1.50,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(18,NULL,'rodent','all',37.50,39.50,230,450,60,200,0.03,1.50,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(19,NULL,'reptile','all',NULL,NULL,30,100,10,40,0.05,30.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(20,NULL,'equine','adult',37.50,38.50,28,44,8,16,300.00,600.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(21,NULL,'equine','pediatric',37.50,39.00,60,90,14,30,NULL,NULL,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(22,NULL,'bovine','adult',38.00,39.30,48,84,10,30,400.00,800.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(23,NULL,'ovine','adult',38.50,40.00,60,120,12,30,30.00,100.00,'2026-06-01 10:03:06','2026-06-01 10:03:06'),(24,NULL,'caprine','adult',38.50,40.50,60,120,15,35,25.00,90.00,'2026-06-01 10:03:06','2026-06-01 10:03:06');
/*!40000 ALTER TABLE `vc_vital_ranges` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_wellness_benefit_usage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_wellness_benefit_usage` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `subscription_id` int(10) unsigned NOT NULL,
  `benefit_id` int(10) unsigned NOT NULL,
  `used_at` datetime NOT NULL,
  `qty` decimal(8,2) NOT NULL DEFAULT 1.00,
  `discounted_amount` decimal(22,4) DEFAULT NULL,
  `source_type` varchar(30) DEFAULT NULL,
  `source_id` int(10) unsigned DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_wellness_benefit_usage_subscription_id_index` (`subscription_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_wellness_benefit_usage` WRITE;
/*!40000 ALTER TABLE `vc_wellness_benefit_usage` DISABLE KEYS */;
/*!40000 ALTER TABLE `vc_wellness_benefit_usage` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_wellness_plan_benefits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_wellness_plan_benefits` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `plan_id` int(10) unsigned NOT NULL,
  `kind` enum('visits','vaccines','products','discount_pct') NOT NULL,
  `label` varchar(120) NOT NULL,
  `quantity_per_year` decimal(8,2) DEFAULT NULL,
  `value` decimal(22,4) DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_wellness_plan_benefits_plan_id_index` (`plan_id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_wellness_plan_benefits` WRITE;
/*!40000 ALTER TABLE `vc_wellness_plan_benefits` DISABLE KEYS */;
INSERT INTO `vc_wellness_plan_benefits` VALUES (25,9,'visits','Wellness checkups',4.00,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(26,9,'vaccines','Core vaccinations',3.00,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(27,9,'discount_pct','Pharmacy discount',NULL,10.0000,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(28,10,'visits','Wellness checkups',4.00,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(29,10,'vaccines','Core vaccinations',3.00,NULL,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(30,10,'discount_pct','Pharmacy discount',NULL,10.0000,NULL,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_wellness_plan_benefits` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_wellness_plans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_wellness_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(120) NOT NULL,
  `description` text DEFAULT NULL,
  `price_monthly` decimal(22,4) DEFAULT NULL,
  `price_annual` decimal(22,4) DEFAULT NULL,
  `product_id` int(10) unsigned DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_wellness_plans_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_wellness_plans` WRITE;
/*!40000 ALTER TABLE `vc_wellness_plans` DISABLE KEYS */;
INSERT INTO `vc_wellness_plans` VALUES (9,10,'Puppy & Kitten Wellness','First-year package: core vaccines, deworming, 4 checkups.',250.0000,2500.0000,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55'),(10,10,'Adult Annual Wellness','Annual membership: 2 checkups, 1 dental, vaccine boosters, 10% pharmacy discount.',350.0000,3600.0000,NULL,'active','2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_wellness_plans` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vc_wellness_subscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vc_wellness_subscriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned NOT NULL,
  `plan_id` int(10) unsigned NOT NULL,
  `status` enum('active','paused','cancelled','expired') NOT NULL DEFAULT 'active',
  `billing_cycle` enum('monthly','annual') NOT NULL DEFAULT 'monthly',
  `started_at` date NOT NULL,
  `renews_at` date DEFAULT NULL,
  `ended_at` date DEFAULT NULL,
  `erp_recurring_transaction_id` int(10) unsigned DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vc_wellness_subscriptions_business_id_pet_id_index` (`business_id`,`pet_id`),
  KEY `vc_wellness_subscriptions_business_id_index` (`business_id`),
  KEY `vc_wellness_subscriptions_status_index` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vc_wellness_subscriptions` WRITE;
/*!40000 ALTER TABLE `vc_wellness_subscriptions` DISABLE KEYS */;
INSERT INTO `vc_wellness_subscriptions` VALUES (17,10,6092,70,9,'active','annual','2026-04-18','2027-04-18',NULL,NULL,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(18,10,6093,71,10,'active','monthly','2026-04-18','2027-04-18',NULL,NULL,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(19,10,6094,72,9,'active','annual','2026-04-18','2027-04-18',NULL,NULL,195,'2026-06-17 21:11:55','2026-06-17 21:11:55'),(20,10,6095,73,10,'active','monthly','2026-04-18','2027-04-18',NULL,NULL,195,'2026-06-17 21:11:55','2026-06-17 21:11:55');
/*!40000 ALTER TABLE `vc_wellness_subscriptions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vet_staff_push_subscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vet_staff_push_subscriptions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `endpoint` varchar(500) NOT NULL,
  `p256dh_key` varchar(191) NOT NULL,
  `auth_key` varchar(64) NOT NULL,
  `user_agent` varchar(191) DEFAULT NULL,
  `categories` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`categories`)),
  `last_used_at` timestamp NULL DEFAULT NULL,
  `last_failed_at` timestamp NULL DEFAULT NULL,
  `consecutive_failures` smallint(5) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_staff_push_subscriptions_business_id_user_id_index` (`business_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vet_staff_push_subscriptions` WRITE;
/*!40000 ALTER TABLE `vet_staff_push_subscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `vet_staff_push_subscriptions` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vet_staff_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vet_staff_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `business_id` int(10) unsigned DEFAULT NULL,
  `token_hash` varchar(64) NOT NULL,
  `user_agent` varchar(191) DEFAULT NULL,
  `ip` varchar(45) 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 `vet_staff_tokens_token_hash_unique` (`token_hash`),
  KEY `vet_staff_tokens_user_id_index` (`user_id`),
  KEY `vet_staff_tokens_expires_at_index` (`expires_at`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vet_staff_tokens` WRITE;
/*!40000 ALTER TABLE `vet_staff_tokens` DISABLE KEYS */;
INSERT INTO `vet_staff_tokens` VALUES (5,164,5,'1836679c59d8b713ac82b6a4acf5799c6e59eaa3deab0b1c63e662a762e65e86','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','::1','2026-06-17 20:24:14','2026-07-17 13:53:17','2026-06-17 13:53:17','2026-06-17 20:24:14'),(6,195,10,'6a2fd190aac60850ee08ddc962cf2e66e77838c7b09e4746d5ee243f3654a3cf','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','::1','2026-06-18 00:26:10','2026-07-18 00:20:06','2026-06-18 00:20:06','2026-06-18 00:26:10'),(7,195,10,'d3a8b8fc4fa67bd135d0816b33df62d173ab52f2e98410aca81af24f2377fa01','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36','::1','2026-06-18 18:07:51','2026-07-18 18:06:16','2026-06-18 18:06:16','2026-06-18 18:07:51'),(8,195,10,'af1c1c7903c01d3ea111ef0cb8d184d408604b505ab8dfdd6677dd7ad28856a0','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0','::1','2026-06-20 14:45:20','2026-07-18 20:57:52','2026-06-18 20:57:52','2026-06-20 14:45:20');
/*!40000 ALTER TABLE `vet_staff_tokens` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vp_portal_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vp_portal_accounts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `contact_id` int(10) unsigned NOT NULL,
  `name` varchar(150) NOT NULL,
  `email` varchar(150) NOT NULL,
  `password` varchar(255) NOT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 1,
  `last_login_at` datetime DEFAULT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vp_portal_accounts_email_unique` (`email`),
  KEY `vp_portal_accounts_business_id_index` (`business_id`),
  KEY `vp_portal_accounts_contact_id_index` (`contact_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vp_portal_accounts` WRITE;
/*!40000 ALTER TABLE `vp_portal_accounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `vp_portal_accounts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vp_portal_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vp_portal_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `clinic_name` varchar(150) DEFAULT NULL,
  `logo_path` varchar(255) DEFAULT NULL,
  `primary_color` varchar(20) NOT NULL DEFAULT '#2563eb',
  `welcome_text` text DEFAULT NULL,
  `whatsapp_number` varchar(30) DEFAULT NULL,
  `portal_slug` varchar(80) DEFAULT NULL,
  `custom_domain` varchar(150) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vp_portal_settings_business_id_unique` (`business_id`),
  UNIQUE KEY `vp_portal_settings_portal_slug_unique` (`portal_slug`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vp_portal_settings` WRITE;
/*!40000 ALTER TABLE `vp_portal_settings` DISABLE KEYS */;
INSERT INTO `vp_portal_settings` VALUES (2,5,0,NULL,NULL,'#2563eb',NULL,NULL,NULL,NULL,'2026-06-16 03:46:28','2026-06-16 03:46:28'),(3,10,0,NULL,NULL,'#2563eb',NULL,NULL,NULL,NULL,'2026-06-18 23:03:05','2026-06-18 23:03:05');
/*!40000 ALTER TABLE `vp_portal_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vs_media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vs_media` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `path` varchar(255) NOT NULL,
  `original_name` varchar(200) DEFAULT NULL,
  `mime` varchar(80) DEFAULT NULL,
  `size` int(10) unsigned DEFAULT NULL,
  `alt` varchar(200) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vs_media_business_id_index` (`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vs_media` WRITE;
/*!40000 ALTER TABLE `vs_media` DISABLE KEYS */;
/*!40000 ALTER TABLE `vs_media` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vs_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vs_messages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `site_id` int(10) unsigned NOT NULL,
  `name` varchar(150) NOT NULL,
  `email` varchar(180) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `subject` varchar(200) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `source` varchar(60) NOT NULL DEFAULT 'contact_form',
  `is_read` tinyint(1) NOT NULL DEFAULT 0,
  `ip` varchar(60) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vs_messages_business_id_index` (`business_id`),
  KEY `vs_messages_site_id_index` (`site_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vs_messages` WRITE;
/*!40000 ALTER TABLE `vs_messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `vs_messages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vs_pages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vs_pages` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `site_id` int(10) unsigned NOT NULL,
  `business_id` int(10) unsigned NOT NULL,
  `title` varchar(180) NOT NULL,
  `slug` varchar(180) NOT NULL,
  `is_home` tinyint(1) NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'published',
  `sort` int(10) unsigned NOT NULL DEFAULT 0,
  `show_in_nav` tinyint(1) NOT NULL DEFAULT 1,
  `blocks` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`blocks`)),
  `seo_title` varchar(180) DEFAULT NULL,
  `seo_description` varchar(300) DEFAULT NULL,
  `og_image_path` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vs_pages_site_id_slug_unique` (`site_id`,`slug`),
  KEY `vs_pages_site_id_index` (`site_id`),
  KEY `vs_pages_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vs_pages` WRITE;
/*!40000 ALTER TABLE `vs_pages` DISABLE KEYS */;
INSERT INTO `vs_pages` VALUES (3,2,10,'Home','home',1,'published',0,1,'[{\"id\":\"6kqMmwGT\",\"type\":\"hero\",\"data\":{\"eyebrow\":\"Trusted veterinary care\",\"heading\":\"Compassionate care for the pets you love\",\"subheading\":\"Modern medicine, a gentle touch, and a team that treats your companion like family.\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1576201836106-db1758fd1c97?auto=format&fit=crop&w=1400&q=80\",\"primary_label\":\"Book an appointment\",\"primary_url\":\"#contact\",\"secondary_label\":\"Our services\",\"secondary_url\":\"#services\"}},{\"id\":\"XFBHxS7k\",\"type\":\"services\",\"data\":{\"heading\":\"Complete care, under one roof\",\"items\":[{\"icon\":\"fas fa-stethoscope\",\"title\":\"Wellness Exams\",\"text\":\"Routine check-ups and preventive care to keep tails wagging.\"},{\"icon\":\"fas fa-syringe\",\"title\":\"Vaccinations\",\"text\":\"Tailored vaccination plans for lifelong protection.\"},{\"icon\":\"fas fa-tooth\",\"title\":\"Dental Care\",\"text\":\"Cleanings and oral surgery for a healthy smile.\"},{\"icon\":\"fas fa-x-ray\",\"title\":\"Diagnostics\",\"text\":\"On-site lab, digital X-ray and ultrasound.\"},{\"icon\":\"fas fa-heartbeat\",\"title\":\"Surgery\",\"text\":\"Safe, modern surgical suites with full monitoring.\"},{\"icon\":\"fas fa-ambulance\",\"title\":\"Emergency\",\"text\":\"Urgent care when your pet needs it most.\"}]}},{\"id\":\"FE02KR2Y\",\"type\":\"about\",\"data\":{\"heading\":\"Where your pet is family\",\"body\":\"<p>Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.<\\/p><p>From wagging-tail wellness visits to complex surgery, we treat every animal as if they were our own.<\\/p>\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=1000&q=80\"}},{\"id\":\"1bTSYVtu\",\"type\":\"stats\",\"data\":{\"items\":[{\"value\":\"15k+\",\"label\":\"Happy patients\"},{\"value\":\"20+\",\"label\":\"Years of care\"},{\"value\":\"24\\/7\",\"label\":\"Emergency support\"},{\"value\":\"4.9\",\"label\":\"Average rating\"}]}},{\"id\":\"v9tLkZAO\",\"type\":\"products\",\"data\":{\"heading\":\"Best sellers\",\"subheading\":\"Quality food, toys and accessories for your best friend.\",\"items\":[{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1589924691995-400dc9ecc119?auto=format&fit=crop&w=500&q=80\",\"name\":\"Premium Dog Food 5kg\",\"price\":\"$39\",\"old_price\":\"$49\",\"badge\":\"Sale\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1583511655826-05700d52f4d9?auto=format&fit=crop&w=500&q=80\",\"name\":\"Chew Toy Bundle\",\"price\":\"$18\",\"old_price\":\"\",\"badge\":\"New\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=500&q=80\",\"name\":\"Cozy Pet Bed\",\"price\":\"$54\",\"old_price\":\"\",\"badge\":\"\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1576201836106-db1758fd1c97?auto=format&fit=crop&w=500&q=80\",\"name\":\"Grooming Kit\",\"price\":\"$29\",\"old_price\":\"$35\",\"badge\":\"Sale\"}]}},{\"id\":\"WrAlgHnI\",\"type\":\"pricing\",\"data\":{\"heading\":\"Our packages\",\"subheading\":\"Transparent pricing with no surprises.\",\"items\":[{\"name\":\"Basic Wash\",\"price\":\"$29\",\"period\":\"\\/ visit\",\"features\":\"Bath & blow dry\\nNail trim\\nEar cleaning\",\"featured\":\"0\"},{\"name\":\"Full Groom\",\"price\":\"$59\",\"period\":\"\\/ visit\",\"features\":\"Everything in Basic\\nHaircut & styling\\nTeeth brushing\\nPerfume finish\",\"featured\":\"1\"},{\"name\":\"Spa Deluxe\",\"price\":\"$89\",\"period\":\"\\/ visit\",\"features\":\"Everything in Full Groom\\nDe-shedding treatment\\nPaw & nose balm\\nMassage\",\"featured\":\"0\"}]}},{\"id\":\"jeasv4FW\",\"type\":\"team\",\"data\":{\"heading\":\"Meet our veterinary team\",\"subheading\":\"Caring, certified professionals dedicated to your pet\\u2019s wellbeing.\",\"items\":[{\"name\":\"Dr. Sarah Hill\",\"role\":\"Chief Veterinarian\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1594824476967-48c8b964273f?auto=format&fit=crop&w=500&q=80\"},{\"name\":\"Dr. James Park\",\"role\":\"Surgeon\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=500&q=80\"},{\"name\":\"Dr. Lena Ortiz\",\"role\":\"Internal Medicine\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=500&q=80\"},{\"name\":\"Dr. Omar Aziz\",\"role\":\"Dentistry & Surgery\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1622253692010-333f2da6031d?auto=format&fit=crop&w=500&q=80\"}]}},{\"id\":\"M8Nehmi6\",\"type\":\"pets\",\"data\":{\"heading\":\"Meet our adoptable friends\",\"subheading\":\"Every one of them is looking for a loving forever home.\",\"items\":[{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1543466835-00a7907e9de1?auto=format&fit=crop&w=500&q=80\",\"name\":\"Buddy\",\"breed\":\"Golden Retriever\",\"age\":\"2 years\",\"gender\":\"Male\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1574158622682-e40e69881006?auto=format&fit=crop&w=500&q=80\",\"name\":\"Mia\",\"breed\":\"Tabby Cat\",\"age\":\"1 year\",\"gender\":\"Female\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1518717758536-85ae29035b6d?auto=format&fit=crop&w=500&q=80\",\"name\":\"Rocky\",\"breed\":\"Labrador Mix\",\"age\":\"3 years\",\"gender\":\"Male\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1592194996308-7b43878e84a6?auto=format&fit=crop&w=500&q=80\",\"name\":\"Luna\",\"breed\":\"Siberian Husky\",\"age\":\"8 months\",\"gender\":\"Female\"}]}},{\"id\":\"VF3LHJlb\",\"type\":\"testimonials\",\"data\":{\"heading\":\"Loved by pet parents\",\"items\":[{\"quote\":\"They treated my dog like their own. Caring, professional and always available.\",\"name\":\"Emily R.\",\"meta\":\"Max\\u2019s mum\"},{\"quote\":\"Modern facilities and the friendliest staff. Highly recommend!\",\"name\":\"David K.\",\"meta\":\"Luna\\u2019s dad\"}]}},{\"id\":\"gDLdvK1X\",\"type\":\"gallery\",\"data\":{\"heading\":\"Inside our clinic\",\"items\":[{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1518717758536-85ae29035b6d?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Friendly faces\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Gentle handling\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1583337130417-3346a1be7dee?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Modern facilities\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1444212477490-ca407925329e?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Happy patients\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1535930891776-0c2dfb7fda1a?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Expert care\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1425082661705-1834bfd09dca?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Feline friends\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1606425271394-c3ca9ac8d4fb?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Comfortable wards\"},{\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1597633425046-08f5110420b5?auto=format&fit=crop&w=700&q=80\",\"caption\":\"Surgical suite\"}]}},{\"id\":\"S3pQ8Mpz\",\"type\":\"faq\",\"data\":{\"heading\":\"Frequently asked questions\",\"items\":[{\"q\":\"Do you accept walk-ins?\",\"a\":\"Yes \\u2014 though we recommend booking ahead so we can prepare for your visit.\"},{\"q\":\"Do you offer emergency care?\",\"a\":\"We provide urgent care during clinic hours and can refer for overnight emergencies.\"}]}},{\"id\":\"JQ3zywDL\",\"type\":\"hours\",\"data\":{\"heading\":\"Opening hours\",\"items\":[{\"day\":\"Mon \\u2013 Fri\",\"time\":\"8:00 AM \\u2013 7:00 PM\"},{\"day\":\"Saturday\",\"time\":\"9:00 AM \\u2013 5:00 PM\"},{\"day\":\"Sunday\",\"time\":\"10:00 AM \\u2013 2:00 PM\"}]}},{\"id\":\"e3U267A6\",\"type\":\"cta\",\"data\":{\"heading\":\"Ready to give your pet the best care?\",\"text\":\"Book an appointment today \\u2014 our team can\\u2019t wait to meet you.\",\"button_label\":\"Book now\",\"button_url\":\"#contact\"}},{\"id\":\"sFqpSyUL\",\"type\":\"contact\",\"data\":{\"heading\":\"Get in touch\",\"subheading\":\"Questions, bookings or emergencies \\u2014 we\\u2019re here to help.\",\"show_form\":\"1\"}}]',NULL,NULL,NULL,'2026-06-18 20:33:36','2026-06-20 13:15:00'),(4,2,10,'About us','about',0,'published',1,1,'[{\"id\":\"shP09XT0\",\"type\":\"about\",\"data\":{\"heading\":\"Where your pet is family\",\"body\":\"<p>Our experienced veterinarians combine advanced diagnostics with genuine compassion to keep your companions healthy and happy at every stage of life.<\\/p><p>From wagging-tail wellness visits to complex surgery, we treat every animal as if they were our own.<\\/p>\",\"image\":\"https:\\/\\/images.unsplash.com\\/photo-1601758228041-f3b2795255f1?auto=format&fit=crop&w=1000&q=80\"}}]',NULL,NULL,NULL,'2026-06-18 20:33:36','2026-06-18 20:33:36'),(5,2,10,'Services','services',0,'published',2,1,'[{\"id\":\"mpNJuJUG\",\"type\":\"services\",\"data\":{\"heading\":\"Complete care, under one roof\",\"items\":[{\"icon\":\"fas fa-stethoscope\",\"title\":\"Wellness Exams\",\"text\":\"Routine check-ups and preventive care to keep tails wagging.\"},{\"icon\":\"fas fa-syringe\",\"title\":\"Vaccinations\",\"text\":\"Tailored vaccination plans for lifelong protection.\"},{\"icon\":\"fas fa-tooth\",\"title\":\"Dental Care\",\"text\":\"Cleanings and oral surgery for a healthy smile.\"},{\"icon\":\"fas fa-x-ray\",\"title\":\"Diagnostics\",\"text\":\"On-site lab, digital X-ray and ultrasound.\"},{\"icon\":\"fas fa-heartbeat\",\"title\":\"Surgery\",\"text\":\"Safe, modern surgical suites with full monitoring.\"},{\"icon\":\"fas fa-ambulance\",\"title\":\"Emergency\",\"text\":\"Urgent care when your pet needs it most.\"}]}}]',NULL,NULL,NULL,'2026-06-18 20:33:36','2026-06-18 20:33:36'),(6,2,10,'Contact','contact',0,'published',3,1,'[{\"id\":\"na7iNxJg\",\"type\":\"contact\",\"data\":{\"heading\":\"Get in touch\",\"subheading\":\"Questions, bookings or emergencies \\u2014 we\\u2019re here to help.\",\"show_form\":\"1\"}}]',NULL,NULL,NULL,'2026-06-18 20:33:36','2026-06-18 20:33:36');
/*!40000 ALTER TABLE `vs_pages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `vs_sites`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `vs_sites` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `name` varchar(150) DEFAULT NULL,
  `tagline` varchar(200) DEFAULT NULL,
  `theme` varchar(40) NOT NULL DEFAULT 'aurora',
  `logo_path` varchar(255) DEFAULT NULL,
  `favicon_path` varchar(255) DEFAULT NULL,
  `og_image_path` varchar(255) DEFAULT NULL,
  `primary_color` varchar(20) DEFAULT NULL,
  `secondary_color` varchar(20) DEFAULT NULL,
  `accent_color` varchar(20) DEFAULT NULL,
  `font_heading` varchar(80) DEFAULT NULL,
  `font_body` varchar(80) DEFAULT NULL,
  `subdomain_slug` varchar(80) DEFAULT NULL,
  `custom_domain` varchar(150) DEFAULT NULL,
  `custom_domain_verified` tinyint(1) NOT NULL DEFAULT 0,
  `seo_title` varchar(180) DEFAULT NULL,
  `seo_description` varchar(300) DEFAULT NULL,
  `analytics_id` varchar(60) DEFAULT NULL,
  `contact` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`contact`)),
  `social` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`social`)),
  `hours` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`hours`)),
  `nav` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`nav`)),
  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vs_sites_business_id_unique` (`business_id`),
  UNIQUE KEY `vs_sites_subdomain_slug_unique` (`subdomain_slug`),
  UNIQUE KEY `vs_sites_custom_domain_unique` (`custom_domain`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `vs_sites` WRITE;
/*!40000 ALTER TABLE `vs_sites` DISABLE KEYS */;
INSERT INTO `vs_sites` VALUES (2,10,1,'published','VET One','Compassionate, modern care for the pets you love.','aurora',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'happy-paws',NULL,0,NULL,NULL,NULL,'{\"phone\":\"+20 100 123 4567\",\"whatsapp\":\"+20 100 123 4567\",\"email\":\"hello@happypaws.vet\",\"address\":\"24 Garden St, Cairo\"}','{\"facebook\":\"#\",\"instagram\":\"#\",\"youtube\":\"#\"}','[{\"day\":\"Mon \\u2013 Fri\",\"time\":\"8:00 AM \\u2013 7:00 PM\"},{\"day\":\"Saturday\",\"time\":\"9:00 AM \\u2013 5:00 PM\"},{\"day\":\"Sunday\",\"time\":\"10:00 AM \\u2013 2:00 PM\"}]',NULL,NULL,'2026-06-18 18:38:53','2026-06-18 20:33:36');
/*!40000 ALTER TABLE `vs_sites` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `wa_auto_replies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wa_auto_replies` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(120) NOT NULL,
  `trigger` enum('welcome','keyword','fallback') NOT NULL DEFAULT 'keyword',
  `keyword` varchar(191) DEFAULT NULL COMMENT 'Comma-separated keywords for trigger=keyword',
  `match` enum('contains','exact','starts') NOT NULL DEFAULT 'contains',
  `template_id` int(10) unsigned DEFAULT NULL,
  `body` text DEFAULT NULL COMMENT 'Used when no template is set',
  `stop_after` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Stop the pipeline (skip AI) when this rule fires',
  `priority` int(10) unsigned NOT NULL DEFAULT 10,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `wa_auto_replies_business_id_active_priority_index` (`business_id`,`active`,`priority`),
  KEY `wa_auto_replies_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `wa_auto_replies` WRITE;
/*!40000 ALTER TABLE `wa_auto_replies` DISABLE KEYS */;
/*!40000 ALTER TABLE `wa_auto_replies` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `wa_channels`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wa_channels` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `location_id` int(10) unsigned DEFAULT NULL COMMENT 'business_locations.id — lets every location use its own number',
  `label` varchar(120) NOT NULL,
  `driver` enum('meta','web') NOT NULL DEFAULT 'meta',
  `display_number` varchar(30) DEFAULT NULL COMMENT 'E.164 number shown to staff',
  `status` enum('connecting','scanning','active','disconnected','disabled') NOT NULL DEFAULT 'connecting',
  `is_default` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Default channel for automated messages when none specified',
  `meta_phone_number_id` varchar(60) DEFAULT NULL,
  `meta_waba_id` varchar(60) DEFAULT NULL,
  `meta_access_token` text DEFAULT NULL,
  `meta_verify_token` varchar(80) DEFAULT NULL,
  `api_token` varchar(80) DEFAULT NULL COMMENT 'Bearer token the Node bridge authenticates with',
  `qr_code` text DEFAULT NULL COMMENT 'Latest QR payload awaiting scan (transient)',
  `connected_as` varchar(40) DEFAULT NULL COMMENT 'Linked phone wa_id once paired',
  `session_meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`session_meta`)),
  `bridge_version` varchar(20) DEFAULT NULL,
  `last_heartbeat_at` timestamp NULL DEFAULT NULL,
  `last_connected_at` timestamp NULL DEFAULT NULL,
  `disconnected_at` timestamp NULL DEFAULT NULL,
  `last_ip` varchar(45) DEFAULT NULL,
  `rescan_alert_sent` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Guards against repeat disconnect alerts',
  `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 `wa_channels_api_token_unique` (`api_token`),
  KEY `wa_channels_business_id_status_index` (`business_id`,`status`),
  KEY `wa_channels_business_id_location_id_index` (`business_id`,`location_id`),
  KEY `wa_channels_business_id_index` (`business_id`),
  KEY `wa_channels_location_id_index` (`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `wa_channels` WRITE;
/*!40000 ALTER TABLE `wa_channels` DISABLE KEYS */;
/*!40000 ALTER TABLE `wa_channels` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `wa_contacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wa_contacts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `wa_id` varchar(30) NOT NULL COMMENT 'E.164 digits, no +',
  `address_jid` varchar(60) DEFAULT NULL,
  `name` varchar(160) DEFAULT NULL,
  `has_whatsapp` tinyint(1) DEFAULT NULL,
  `wa_checked_at` timestamp NULL DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL COMMENT 'contacts.id in the core ERP, when matched',
  `opted_out` tinyint(1) NOT NULL DEFAULT 0,
  `last_inbound_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`),
  UNIQUE KEY `wa_contacts_business_id_wa_id_unique` (`business_id`,`wa_id`),
  KEY `wa_contacts_business_id_index` (`business_id`),
  KEY `wa_contacts_contact_id_index` (`contact_id`),
  KEY `wa_contacts_has_whatsapp_index` (`has_whatsapp`)
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `wa_contacts` WRITE;
/*!40000 ALTER TABLE `wa_contacts` DISABLE KEYS */;
INSERT INTO `wa_contacts` VALUES (59,5,'201092288093',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(60,8,'201092288093',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(61,10,'201092288093',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(63,10,'201082630698',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,'2026-06-26 22:19:50','2026-06-26 22:19:50'),(64,10,'201090631049',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,'2026-06-26 23:52:37','2026-06-26 23:52:37');
/*!40000 ALTER TABLE `wa_contacts` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `wa_conversations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wa_conversations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `channel_id` int(10) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `wa_id` varchar(30) NOT NULL,
  `status` enum('open','closed','snoozed') NOT NULL DEFAULT 'open',
  `labels` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`labels`)),
  `assigned_user_id` int(10) unsigned DEFAULT NULL COMMENT 'Human agent who has taken the conversation (handoff)',
  `ai_enabled` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Per-thread AI auto-reply override',
  `unread_count` int(10) unsigned NOT NULL DEFAULT 0,
  `last_direction` enum('in','out') DEFAULT NULL,
  `last_message_excerpt` varchar(200) DEFAULT NULL,
  `last_message_at` timestamp NULL DEFAULT NULL,
  `window_expires_at` timestamp NULL DEFAULT NULL COMMENT 'Meta 24h customer-service window',
  `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 `wa_conversations_business_id_channel_id_wa_id_unique` (`business_id`,`channel_id`,`wa_id`),
  KEY `wa_conversations_business_id_status_last_message_at_index` (`business_id`,`status`,`last_message_at`),
  KEY `wa_conversations_business_id_index` (`business_id`),
  KEY `wa_conversations_channel_id_index` (`channel_id`),
  KEY `wa_conversations_wa_id_index` (`wa_id`),
  KEY `wa_conversations_assigned_user_id_index` (`assigned_user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `wa_conversations` WRITE;
/*!40000 ALTER TABLE `wa_conversations` DISABLE KEYS */;
INSERT INTO `wa_conversations` VALUES (54,5,NULL,59,'201092288093','open',NULL,NULL,1,0,'out','📅 *Appointment confirmed* — VET One\n\nHi Ahmed Saleh, the appointment for *Rex* is booked:\n\n🗓 *Date:* Sat, 20 Jun 2026\n⏰ *Time:* 11:30\n👨‍⚕️ *Doctor:* Dr. Hossam Makram\n📍 \nRef: A...','2026-06-16 13:48:59',NULL,NULL,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(55,8,NULL,60,'201092288093','open',NULL,NULL,1,0,'out','🧾 *VET One*\n\nHi Karim Adel, thank you for your purchase! 🙏\n\n*Invoice:* ADM-ADM-0003\n*Total:*  600\n*Paid:*  0\n*Balance due:*  600\n\n📄 View or download your invoice:\nhttps://localh...','2026-06-17 20:59:49',NULL,NULL,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(56,10,NULL,61,'201092288093','open',NULL,NULL,1,0,'out','📅 *Appointment confirmed* — VET One — Maadi\n\nHi Karim Adel, the appointment for *Bella* is booked:\n\n🗓 *Date:* Wed, 24 Jun 2026\n⏰ *Time:* 09:00\n👨‍⚕️ *Doctor:* Dr. Hossam Makram...','2026-06-23 23:04:02',NULL,NULL,'2026-06-18 00:22:28','2026-06-23 23:04:02'),(57,10,NULL,62,'201096395880','open',NULL,NULL,1,0,'out','📅 *Appointment confirmed* — VET One\n\nHi Guest Tester, the appointment for *TestyPet* is booked:\n\n🗓 *Date:* Sat, 27 Jun 2026\n⏰ *Time:* 11:30\n👨‍⚕️ *Doctor:* \n📍 \nRef: APT-9460C4...','2026-06-26 15:06:49',NULL,NULL,'2026-06-26 15:06:48','2026-06-26 15:06:49'),(58,10,NULL,63,'201082630698','open',NULL,NULL,1,0,'out','📅 *Appointment confirmed* — VET One\n\nHi OTP2, the appointment for *P2* is booked:\n\n🗓 *Date:* Sun, 28 Jun 2026\n⏰ *Time:* 09:30\n👨‍⚕️ *Doctor:* \n📍 \nRef: APT-72CB92\n\nPlease arrive...','2026-06-26 22:19:51',NULL,NULL,'2026-06-26 22:19:51','2026-06-26 22:19:51'),(59,10,NULL,64,'201090631049','open',NULL,NULL,1,0,'out','📅 *Appointment confirmed* — VET One\n\nHi Drv Owner, the appointment for *DrvSubj* is booked:\n\n🗓 *Date:* Sun, 28 Jun 2026\n⏰ *Time:* 09:30\n👨‍⚕️ *Doctor:* \n📍 \nRef: APT-57CF9B\n\nPlea...','2026-06-26 23:52:37',NULL,NULL,'2026-06-26 23:52:37','2026-06-26 23:52:37');
/*!40000 ALTER TABLE `wa_conversations` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `wa_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wa_messages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `channel_id` int(10) unsigned DEFAULT NULL,
  `conversation_id` bigint(20) unsigned DEFAULT NULL,
  `contact_id` int(10) unsigned DEFAULT NULL,
  `wa_id` varchar(30) NOT NULL COMMENT 'Other party E.164 (recipient for out, sender for in)',
  `direction` enum('out','in') NOT NULL DEFAULT 'out',
  `type` enum('text','template','image','document','audio','video','location','interactive') NOT NULL DEFAULT 'text',
  `template_id` int(10) unsigned DEFAULT NULL,
  `body` text DEFAULT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Media url/path, template vars, buttons, raw provider payload' CHECK (json_valid(`payload`)),
  `status` enum('pending','queued','sent','delivered','read','failed','received') NOT NULL DEFAULT 'pending',
  `provider_message_id` varchar(128) DEFAULT NULL,
  `error` text DEFAULT NULL,
  `attempts` int(10) unsigned NOT NULL DEFAULT 0,
  `source` varchar(40) DEFAULT NULL COMMENT 'invoice|reminder|manual|ai|...',
  `dedupe_key` varchar(191) DEFAULT NULL COMMENT 'Idempotency key for automated sends',
  `available_at` timestamp NULL DEFAULT NULL COMMENT 'Throttle gate: not before this time',
  `queued_at` timestamp NULL DEFAULT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `wa_messages_business_id_dedupe_key_unique` (`business_id`,`dedupe_key`),
  KEY `wa_messages_business_id_status_index` (`business_id`,`status`),
  KEY `wa_messages_channel_id_direction_status_index` (`channel_id`,`direction`,`status`),
  KEY `wa_messages_business_id_index` (`business_id`),
  KEY `wa_messages_channel_id_index` (`channel_id`),
  KEY `wa_messages_wa_id_index` (`wa_id`),
  KEY `wa_messages_provider_message_id_index` (`provider_message_id`),
  KEY `wa_messages_conversation_id_index` (`conversation_id`)
) ENGINE=InnoDB AUTO_INCREMENT=179 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `wa_messages` WRITE;
/*!40000 ALTER TABLE `wa_messages` DISABLE KEYS */;
INSERT INTO `wa_messages` VALUES (161,5,NULL,54,59,'201092288093','out','text',NULL,'📅 *Appointment confirmed* — VET One\n\nHi Ahmed Saleh, the appointment for *Rex* is booked:\n\n🗓 *Date:* Sat, 20 Jun 2026\n⏰ *Time:* 11:30\n👨‍⚕️ *Doctor:* Dr. Hossam Makram\n📍 \nRef: APT-6A31544AF3FBE\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'appointment_booked','appt_booked:52','2026-06-16 13:48:59',NULL,NULL,NULL,NULL,NULL,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(162,8,NULL,55,60,'201092288093','out','text',NULL,'🧾 *VET One*\n\nHi Karim Adel, thank you for your purchase! 🙏\n\n*Invoice:* ADM-ADM-0003\n*Total:*  600\n*Paid:*  0\n*Balance due:*  600\n\n📄 View or download your invoice:\nhttps://localhost/vet-one/public/invoice/75f291f9a29e1d9064b3942a12a8e20c\n\nWe appreciate your business — just reply to this message if you have any questions.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'invoice','invoice:295348','2026-06-17 20:59:49',NULL,NULL,NULL,NULL,NULL,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(163,10,NULL,56,61,'201092288093','out','text',NULL,'📅 *Appointment confirmed* — VET One — New Cairo\n\nHi Ahmed Saleh, the appointment for *Rex* is booked:\n\n🗓 *Date:* Thu, 18 Jun 2026\n⏰ *Time:* 11:00\n👨‍⚕️ *Doctor:* Dr. Yasmin Fahmy\n📍 VET One — New Cairo\nRef: APT-6A333A44503E7\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'appointment_booked','appt_booked:93','2026-06-18 00:22:28',NULL,NULL,NULL,NULL,NULL,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(164,10,NULL,56,61,'201092288093','out','text',NULL,'📅 *Appointment confirmed* — VET One — Maadi\n\nHi Karim Adel, the appointment for *Bella* is booked:\n\n🗓 *Date:* Sun, 21 Jun 2026\n⏰ *Time:* 09:30\n👨‍⚕️ *Doctor:* Dr. Hossam Makram\n📍 VET One — Maadi\nRef: APT-6A346285E05DC\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'appointment_booked','appt_booked:94','2026-06-18 21:26:30',NULL,NULL,NULL,NULL,NULL,'2026-06-18 21:26:30','2026-06-18 21:26:30'),(165,10,NULL,56,61,'201092288093','out','text',NULL,'📅 *Appointment confirmed* — VET One — New Cairo\n\nHi Karim Adel, the appointment for *Bella* is booked:\n\n🗓 *Date:* Sun, 21 Jun 2026\n⏰ *Time:* 09:00\n👨‍⚕️ *Doctor:* Dr. Yasmin Fahmy\n📍 VET One — New Cairo\nRef: APT-6A3463FDD0EE3\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'appointment_booked','appt_booked:95','2026-06-18 21:32:46',NULL,NULL,NULL,NULL,NULL,'2026-06-18 21:32:46','2026-06-18 21:32:46'),(166,10,NULL,56,61,'201092288093','out','text',NULL,'🧾 *VET One*\n\nHi Karim Adel, thank you for your purchase! 🙏\n\n*Invoice:* ADM-ADM-0003\n*Total:*  900\n*Paid:*  0\n*Balance due:*  900\n\n📄 View or download your invoice:\nhttps://localhost/vet-one/public/invoice/ab40378a5ab69822dfda9cf23cd7a402\n\nWe appreciate your business — just reply to this message if you have any questions.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'invoice','invoice:295361','2026-06-18 21:44:29',NULL,NULL,NULL,NULL,NULL,'2026-06-18 21:44:29','2026-06-18 21:44:29'),(167,10,NULL,56,61,'201092288093','out','text',NULL,'📅 *Appointment confirmed* — VET One — Maadi\n\nHi Youssef Nabil, the appointment for *Rocky* is booked:\n\n🗓 *Date:* Thu, 18 Jun 2026\n⏰ *Time:* 09:00\n👨‍⚕️ *Doctor:* Dr. Hossam Makram\n📍 VET One — Maadi\nRef: APT-6A347A307C96B\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'appointment_booked','appt_booked:96','2026-06-18 23:07:28',NULL,NULL,NULL,NULL,NULL,'2026-06-18 23:07:28','2026-06-18 23:07:28'),(168,10,NULL,56,61,'201092288093','out','text',NULL,'📅 *Appointment confirmed* — VET One — Maadi\n\nHi Karim Adel, the appointment for *Bella* is booked:\n\n🗓 *Date:* Wed, 24 Jun 2026\n⏰ *Time:* 09:00\n👨‍⚕️ *Doctor:* Dr. Hossam Makram\n📍 VET One — Maadi\nRef: APT-6A3B10E1ED0E9\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.\n\n_Powered by TPS_','{\"preview_url\":false}','pending',NULL,NULL,0,'appointment_booked','appt_booked:97','2026-06-23 23:04:02',NULL,NULL,NULL,NULL,NULL,'2026-06-23 23:04:02','2026-06-23 23:04:02');
/*!40000 ALTER TABLE `wa_messages` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `wa_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wa_settings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `key` varchar(60) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `wa_settings_business_id_key_unique` (`business_id`,`key`),
  KEY `wa_settings_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `wa_settings` WRITE;
/*!40000 ALTER TABLE `wa_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `wa_settings` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `wa_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wa_templates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `business_id` int(10) unsigned NOT NULL,
  `name` varchar(120) NOT NULL COMMENT 'Internal key, e.g. invoice_created',
  `language` varchar(12) NOT NULL DEFAULT 'en',
  `category` varchar(40) NOT NULL DEFAULT 'utility' COMMENT 'utility|marketing|authentication',
  `meta_template_name` varchar(160) DEFAULT NULL,
  `meta_status` enum('none','pending','approved','rejected') NOT NULL DEFAULT 'none',
  `header` text DEFAULT NULL,
  `body` text NOT NULL COMMENT 'Supports {{var}} placeholders',
  `footer` text DEFAULT NULL,
  `buttons` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`buttons`)),
  `variables` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Ordered variable names for {{1}}.. mapping' CHECK (json_valid(`variables`)),
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `wa_templates_business_id_name_unique` (`business_id`,`name`),
  KEY `wa_templates_business_id_index` (`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `wa_templates` WRITE;
/*!40000 ALTER TABLE `wa_templates` DISABLE KEYS */;
INSERT INTO `wa_templates` VALUES (19,5,'invoice_created','en','utility',NULL,'none',NULL,'🧾 *{business_name}*\n\nHi {contact_name}, thank you for your purchase! 🙏\n\n*Invoice:* {invoice_number}\n*Total:* {total_amount}\n*Paid:* {paid_amount}\n*Balance due:* {due_amount}\n\n📄 View or download your invoice:\n{invoice_url}\n\nWe appreciate your business — just reply to this message if you have any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"total_amount\",\"paid_amount\",\"due_amount\",\"invoice_url\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(20,5,'payment_received','en','utility',NULL,'none',NULL,'✅ *Payment received* — {business_name}\n\nHi {contact_name}, we\'ve received your payment of *{received_amount}* for invoice {invoice_number}.\n\n*Remaining balance:* {due_amount}\n\nThank you! Reply here if you need anything.',NULL,NULL,'[\"business_name\",\"contact_name\",\"received_amount\",\"invoice_number\",\"due_amount\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(21,5,'sale_return','en','utility',NULL,'none',NULL,'↩️ *Return processed* — {business_name}\n\nHi {contact_name}, your return for invoice {invoice_number} has been processed.\n\n*Updated balance:* {due_amount}\n\nThank you for giving us the chance to help. Reply with any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"due_amount\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(22,5,'appointment_booked','en','utility',NULL,'none',NULL,'📅 *Appointment confirmed* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* is booked:\n\n🗓 *Date:* {appointment_date}\n⏰ *Time:* {appointment_time}\n👨‍⚕️ *Doctor:* {doctor_name}\n📍 {location_name}\nRef: {ref_no}\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\",\"ref_no\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(23,5,'appointment_reminder','en','utility',NULL,'none',NULL,'⏰ *Appointment reminder* — {clinic_name}\n\nHi {owner_name}, a friendly reminder of *{pet_name}*\'s appointment:\n\n🗓 {appointment_date} at ⏰ {appointment_time}\n👨‍⚕️ {doctor_name}\n📍 {location_name}\n\nSee you soon! Reply to reschedule or cancel.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(24,5,'appointment_cancelled','en','utility',NULL,'none',NULL,'❌ *Appointment cancelled* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* on {appointment_date} at {appointment_time} has been cancelled.\n\nReply here to book a new time — we\'d be happy to help.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(25,5,'appointment_rescheduled','en','utility',NULL,'none',NULL,'🔄 *Appointment rescheduled* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* has been moved to:\n\n🗓 *{appointment_date}* at ⏰ *{appointment_time}*\n👨‍⚕️ {doctor_name}\n📍 {location_name}\n\nReply if this time doesn\'t work for you.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(26,5,'appointment_followup','en','utility',NULL,'none',NULL,'💚 *Thank you for visiting* — {clinic_name}\n\nHi {owner_name}, we hope *{pet_name}* is doing well after the visit with {doctor_name}.\n\nIf you have any questions or concerns, just reply to this message — we\'re here to help. 🐾',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"doctor_name\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(27,5,'quotation_sent','en','utility',NULL,'none',NULL,'📝 *Your quotation* — {business_name}\n\nHi {contact_name}, here is the quotation you requested.\n\n*Total:* {total_amount}\n\n📄 View the full quotation:\n{quote_url}\n\nReply to confirm or if you\'d like any changes.',NULL,NULL,'[\"business_name\",\"contact_name\",\"total_amount\",\"quote_url\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(28,5,'payment_due_reminder','en','utility',NULL,'none',NULL,'🔔 *Payment reminder* — {business_name}\n\nHi {contact_name}, a friendly reminder that invoice {invoice_number} has an outstanding balance.\n\n*Amount due:* {due_amount}\n*Due date:* {due_date}\n\n📄 View invoice: {invoice_url}\n\nPlease reply if you\'ve already paid or need assistance. Thank you!',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"due_amount\",\"due_date\",\"invoice_url\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(29,5,'shipment_status','en','utility',NULL,'none',NULL,'🚚 *Delivery update* — {business_name}\n\nHi {contact_name}, the status of your order {invoice_number} is now: *{shipping_status}*.\n\nReply to this message if you have any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"shipping_status\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(30,5,'po_sent','en','utility',NULL,'none',NULL,'📦 *Purchase Order* — {business_name}\n\nHi {contact_name}, we\'ve issued purchase order {order_ref_number}.\n\n*Total:* {total_amount}\n\nPlease confirm receipt and expected delivery. Thank you for partnering with us.',NULL,NULL,'[\"business_name\",\"contact_name\",\"order_ref_number\",\"total_amount\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(31,5,'lab_results_ready','en','utility',NULL,'none',NULL,'🔬 *Lab results ready* — {clinic_name}\n\nHi {owner_name}, the lab results for *{pet_name}* (sample {sample_no}) are ready.\n\nPlease contact the clinic or reply here to discuss the results with your veterinarian.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"sample_no\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(32,5,'vaccination_due','en','utility',NULL,'none',NULL,'💉 *Vaccination reminder* — {clinic_name}\n\nHi {owner_name}, *{pet_name}*\'s *{vaccine_name}* vaccination is due on *{due_date}*.\n\nReply to book an appointment — keeping {pet_name} protected and healthy. 🐾',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"vaccine_name\",\"due_date\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(33,5,'contact_welcome','en','marketing',NULL,'none',NULL,'👋 *Welcome to {business_name}!*\n\nHi {contact_name}, thank you for joining us. We\'re glad to have you!\n\nYou can reach us anytime by replying to this message. We\'re here to help. 🙌',NULL,NULL,'[\"business_name\",\"contact_name\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(34,5,'pet_owner_welcome','en','marketing',NULL,'none',NULL,'🐾 *Welcome to {clinic_name}!*\n\nHi {owner_name}, thank you for trusting us with your pet\'s care. 💚\n\nWe\'ll keep you updated about appointments, vaccinations and reminders right here on WhatsApp.\nReply anytime — we\'re happy to help.',NULL,NULL,'[\"clinic_name\",\"owner_name\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(35,5,'pet_welcome','en','marketing',NULL,'none',NULL,'🎉🐾 *Welcome, {pet_name}!*\n\nHi {owner_name}, *{pet_name}* has been added to your profile at {clinic_name}.\n\nWe\'ll help you keep {pet_name} healthy with timely checkups, vaccinations and reminders.\nReply anytime to book a visit. 💚',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(36,5,'pet_birthday','en','marketing',NULL,'none',NULL,'🎉🐾 *Happy Birthday {pet_name}!* 🎂\n\nHi {owner_name}, all of us at {clinic_name} are wishing *{pet_name}* a wonderful birthday!\n\nThank you for trusting us with {pet_name}\'s care. Reply for a birthday check-up. 💚',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\"]',1,'2026-06-16 13:48:59','2026-06-16 13:48:59'),(37,8,'invoice_created','en','utility',NULL,'none',NULL,'🧾 *{business_name}*\n\nHi {contact_name}, thank you for your purchase! 🙏\n\n*Invoice:* {invoice_number}\n*Total:* {total_amount}\n*Paid:* {paid_amount}\n*Balance due:* {due_amount}\n\n📄 View or download your invoice:\n{invoice_url}\n\nWe appreciate your business — just reply to this message if you have any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"total_amount\",\"paid_amount\",\"due_amount\",\"invoice_url\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(38,8,'payment_received','en','utility',NULL,'none',NULL,'✅ *Payment received* — {business_name}\n\nHi {contact_name}, we\'ve received your payment of *{received_amount}* for invoice {invoice_number}.\n\n*Remaining balance:* {due_amount}\n\nThank you! Reply here if you need anything.',NULL,NULL,'[\"business_name\",\"contact_name\",\"received_amount\",\"invoice_number\",\"due_amount\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(39,8,'sale_return','en','utility',NULL,'none',NULL,'↩️ *Return processed* — {business_name}\n\nHi {contact_name}, your return for invoice {invoice_number} has been processed.\n\n*Updated balance:* {due_amount}\n\nThank you for giving us the chance to help. Reply with any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"due_amount\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(40,8,'appointment_booked','en','utility',NULL,'none',NULL,'📅 *Appointment confirmed* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* is booked:\n\n🗓 *Date:* {appointment_date}\n⏰ *Time:* {appointment_time}\n👨‍⚕️ *Doctor:* {doctor_name}\n📍 {location_name}\nRef: {ref_no}\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\",\"ref_no\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(41,8,'appointment_reminder','en','utility',NULL,'none',NULL,'⏰ *Appointment reminder* — {clinic_name}\n\nHi {owner_name}, a friendly reminder of *{pet_name}*\'s appointment:\n\n🗓 {appointment_date} at ⏰ {appointment_time}\n👨‍⚕️ {doctor_name}\n📍 {location_name}\n\nSee you soon! Reply to reschedule or cancel.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(42,8,'appointment_cancelled','en','utility',NULL,'none',NULL,'❌ *Appointment cancelled* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* on {appointment_date} at {appointment_time} has been cancelled.\n\nReply here to book a new time — we\'d be happy to help.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(43,8,'appointment_rescheduled','en','utility',NULL,'none',NULL,'🔄 *Appointment rescheduled* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* has been moved to:\n\n🗓 *{appointment_date}* at ⏰ *{appointment_time}*\n👨‍⚕️ {doctor_name}\n📍 {location_name}\n\nReply if this time doesn\'t work for you.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(44,8,'appointment_followup','en','utility',NULL,'none',NULL,'💚 *Thank you for visiting* — {clinic_name}\n\nHi {owner_name}, we hope *{pet_name}* is doing well after the visit with {doctor_name}.\n\nIf you have any questions or concerns, just reply to this message — we\'re here to help. 🐾',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"doctor_name\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(45,8,'quotation_sent','en','utility',NULL,'none',NULL,'📝 *Your quotation* — {business_name}\n\nHi {contact_name}, here is the quotation you requested.\n\n*Total:* {total_amount}\n\n📄 View the full quotation:\n{quote_url}\n\nReply to confirm or if you\'d like any changes.',NULL,NULL,'[\"business_name\",\"contact_name\",\"total_amount\",\"quote_url\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(46,8,'payment_due_reminder','en','utility',NULL,'none',NULL,'🔔 *Payment reminder* — {business_name}\n\nHi {contact_name}, a friendly reminder that invoice {invoice_number} has an outstanding balance.\n\n*Amount due:* {due_amount}\n*Due date:* {due_date}\n\n📄 View invoice: {invoice_url}\n\nPlease reply if you\'ve already paid or need assistance. Thank you!',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"due_amount\",\"due_date\",\"invoice_url\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(47,8,'shipment_status','en','utility',NULL,'none',NULL,'🚚 *Delivery update* — {business_name}\n\nHi {contact_name}, the status of your order {invoice_number} is now: *{shipping_status}*.\n\nReply to this message if you have any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"shipping_status\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(48,8,'po_sent','en','utility',NULL,'none',NULL,'📦 *Purchase Order* — {business_name}\n\nHi {contact_name}, we\'ve issued purchase order {order_ref_number}.\n\n*Total:* {total_amount}\n\nPlease confirm receipt and expected delivery. Thank you for partnering with us.',NULL,NULL,'[\"business_name\",\"contact_name\",\"order_ref_number\",\"total_amount\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(49,8,'lab_results_ready','en','utility',NULL,'none',NULL,'🔬 *Lab results ready* — {clinic_name}\n\nHi {owner_name}, the lab results for *{pet_name}* (sample {sample_no}) are ready.\n\nPlease contact the clinic or reply here to discuss the results with your veterinarian.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"sample_no\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(50,8,'vaccination_due','en','utility',NULL,'none',NULL,'💉 *Vaccination reminder* — {clinic_name}\n\nHi {owner_name}, *{pet_name}*\'s *{vaccine_name}* vaccination is due on *{due_date}*.\n\nReply to book an appointment — keeping {pet_name} protected and healthy. 🐾',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"vaccine_name\",\"due_date\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(51,8,'contact_welcome','en','marketing',NULL,'none',NULL,'👋 *Welcome to {business_name}!*\n\nHi {contact_name}, thank you for joining us. We\'re glad to have you!\n\nYou can reach us anytime by replying to this message. We\'re here to help. 🙌',NULL,NULL,'[\"business_name\",\"contact_name\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(52,8,'pet_owner_welcome','en','marketing',NULL,'none',NULL,'🐾 *Welcome to {clinic_name}!*\n\nHi {owner_name}, thank you for trusting us with your pet\'s care. 💚\n\nWe\'ll keep you updated about appointments, vaccinations and reminders right here on WhatsApp.\nReply anytime — we\'re happy to help.',NULL,NULL,'[\"clinic_name\",\"owner_name\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(53,8,'pet_welcome','en','marketing',NULL,'none',NULL,'🎉🐾 *Welcome, {pet_name}!*\n\nHi {owner_name}, *{pet_name}* has been added to your profile at {clinic_name}.\n\nWe\'ll help you keep {pet_name} healthy with timely checkups, vaccinations and reminders.\nReply anytime to book a visit. 💚',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(54,8,'pet_birthday','en','marketing',NULL,'none',NULL,'🎉🐾 *Happy Birthday {pet_name}!* 🎂\n\nHi {owner_name}, all of us at {clinic_name} are wishing *{pet_name}* a wonderful birthday!\n\nThank you for trusting us with {pet_name}\'s care. Reply for a birthday check-up. 💚',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\"]',1,'2026-06-17 20:59:49','2026-06-17 20:59:49'),(55,10,'invoice_created','en','utility',NULL,'none',NULL,'🧾 *{business_name}*\n\nHi {contact_name}, thank you for your purchase! 🙏\n\n*Invoice:* {invoice_number}\n*Total:* {total_amount}\n*Paid:* {paid_amount}\n*Balance due:* {due_amount}\n\n📄 View or download your invoice:\n{invoice_url}\n\nWe appreciate your business — just reply to this message if you have any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"total_amount\",\"paid_amount\",\"due_amount\",\"invoice_url\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(56,10,'payment_received','en','utility',NULL,'none',NULL,'✅ *Payment received* — {business_name}\n\nHi {contact_name}, we\'ve received your payment of *{received_amount}* for invoice {invoice_number}.\n\n*Remaining balance:* {due_amount}\n\nThank you! Reply here if you need anything.',NULL,NULL,'[\"business_name\",\"contact_name\",\"received_amount\",\"invoice_number\",\"due_amount\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(57,10,'sale_return','en','utility',NULL,'none',NULL,'↩️ *Return processed* — {business_name}\n\nHi {contact_name}, your return for invoice {invoice_number} has been processed.\n\n*Updated balance:* {due_amount}\n\nThank you for giving us the chance to help. Reply with any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"due_amount\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(58,10,'appointment_booked','en','utility',NULL,'none',NULL,'📅 *Appointment confirmed* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* is booked:\n\n🗓 *Date:* {appointment_date}\n⏰ *Time:* {appointment_time}\n👨‍⚕️ *Doctor:* {doctor_name}\n📍 {location_name}\nRef: {ref_no}\n\nPlease arrive 10 minutes early. Reply to reschedule or cancel.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\",\"ref_no\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(59,10,'appointment_reminder','en','utility',NULL,'none',NULL,'⏰ *Appointment reminder* — {clinic_name}\n\nHi {owner_name}, a friendly reminder of *{pet_name}*\'s appointment:\n\n🗓 {appointment_date} at ⏰ {appointment_time}\n👨‍⚕️ {doctor_name}\n📍 {location_name}\n\nSee you soon! Reply to reschedule or cancel.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(60,10,'appointment_cancelled','en','utility',NULL,'none',NULL,'❌ *Appointment cancelled* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* on {appointment_date} at {appointment_time} has been cancelled.\n\nReply here to book a new time — we\'d be happy to help.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(61,10,'appointment_rescheduled','en','utility',NULL,'none',NULL,'🔄 *Appointment rescheduled* — {clinic_name}\n\nHi {owner_name}, the appointment for *{pet_name}* has been moved to:\n\n🗓 *{appointment_date}* at ⏰ *{appointment_time}*\n👨‍⚕️ {doctor_name}\n📍 {location_name}\n\nReply if this time doesn\'t work for you.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"appointment_date\",\"appointment_time\",\"doctor_name\",\"location_name\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(62,10,'appointment_followup','en','utility',NULL,'none',NULL,'💚 *Thank you for visiting* — {clinic_name}\n\nHi {owner_name}, we hope *{pet_name}* is doing well after the visit with {doctor_name}.\n\nIf you have any questions or concerns, just reply to this message — we\'re here to help. 🐾',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"doctor_name\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(63,10,'quotation_sent','en','utility',NULL,'none',NULL,'📝 *Your quotation* — {business_name}\n\nHi {contact_name}, here is the quotation you requested.\n\n*Total:* {total_amount}\n\n📄 View the full quotation:\n{quote_url}\n\nReply to confirm or if you\'d like any changes.',NULL,NULL,'[\"business_name\",\"contact_name\",\"total_amount\",\"quote_url\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(64,10,'payment_due_reminder','en','utility',NULL,'none',NULL,'🔔 *Payment reminder* — {business_name}\n\nHi {contact_name}, a friendly reminder that invoice {invoice_number} has an outstanding balance.\n\n*Amount due:* {due_amount}\n*Due date:* {due_date}\n\n📄 View invoice: {invoice_url}\n\nPlease reply if you\'ve already paid or need assistance. Thank you!',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"due_amount\",\"due_date\",\"invoice_url\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(65,10,'shipment_status','en','utility',NULL,'none',NULL,'🚚 *Delivery update* — {business_name}\n\nHi {contact_name}, the status of your order {invoice_number} is now: *{shipping_status}*.\n\nReply to this message if you have any questions.',NULL,NULL,'[\"business_name\",\"contact_name\",\"invoice_number\",\"shipping_status\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(66,10,'po_sent','en','utility',NULL,'none',NULL,'📦 *Purchase Order* — {business_name}\n\nHi {contact_name}, we\'ve issued purchase order {order_ref_number}.\n\n*Total:* {total_amount}\n\nPlease confirm receipt and expected delivery. Thank you for partnering with us.',NULL,NULL,'[\"business_name\",\"contact_name\",\"order_ref_number\",\"total_amount\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(67,10,'lab_results_ready','en','utility',NULL,'none',NULL,'🔬 *Lab results ready* — {clinic_name}\n\nHi {owner_name}, the lab results for *{pet_name}* (sample {sample_no}) are ready.\n\nPlease contact the clinic or reply here to discuss the results with your veterinarian.',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"sample_no\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(68,10,'vaccination_due','en','utility',NULL,'none',NULL,'💉 *Vaccination reminder* — {clinic_name}\n\nHi {owner_name}, *{pet_name}*\'s *{vaccine_name}* vaccination is due on *{due_date}*.\n\nReply to book an appointment — keeping {pet_name} protected and healthy. 🐾',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\",\"vaccine_name\",\"due_date\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(69,10,'contact_welcome','en','marketing',NULL,'none',NULL,'👋 *Welcome to {business_name}!*\n\nHi {contact_name}, thank you for joining us. We\'re glad to have you!\n\nYou can reach us anytime by replying to this message. We\'re here to help. 🙌',NULL,NULL,'[\"business_name\",\"contact_name\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(70,10,'pet_owner_welcome','en','marketing',NULL,'none',NULL,'🐾 *Welcome to {clinic_name}!*\n\nHi {owner_name}, thank you for trusting us with your pet\'s care. 💚\n\nWe\'ll keep you updated about appointments, vaccinations and reminders right here on WhatsApp.\nReply anytime — we\'re happy to help.',NULL,NULL,'[\"clinic_name\",\"owner_name\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(71,10,'pet_welcome','en','marketing',NULL,'none',NULL,'🎉🐾 *Welcome, {pet_name}!*\n\nHi {owner_name}, *{pet_name}* has been added to your profile at {clinic_name}.\n\nWe\'ll help you keep {pet_name} healthy with timely checkups, vaccinations and reminders.\nReply anytime to book a visit. 💚',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28'),(72,10,'pet_birthday','en','marketing',NULL,'none',NULL,'🎉🐾 *Happy Birthday {pet_name}!* 🎂\n\nHi {owner_name}, all of us at {clinic_name} are wishing *{pet_name}* a wonderful birthday!\n\nThank you for trusting us with {pet_name}\'s care. Reply for a birthday check-up. 💚',NULL,NULL,'[\"clinic_name\",\"owner_name\",\"pet_name\"]',1,'2026-06-18 00:22:28','2026-06-18 00:22:28');
/*!40000 ALTER TABLE `wa_templates` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `warranties`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `warranties` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `business_id` int(11) NOT NULL,
  `description` text DEFAULT NULL,
  `duration` int(11) NOT NULL,
  `duration_type` enum('days','months','years') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `warranties_business_id_index` (`business_id`),
  KEY `warranties_duration_type_index` (`duration_type`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

LOCK TABLES `warranties` WRITE;
/*!40000 ALTER TABLE `warranties` DISABLE KEYS */;
/*!40000 ALTER TABLE `warranties` 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 */;

