-- MySQL dump 10.13  Distrib 8.4.7, for Win64 (x86_64)
--
-- Host: 127.0.0.1    Database: minicrm
-- ------------------------------------------------------
-- Server version	8.4.7

/*!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 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `activities`
--

DROP TABLE IF EXISTS `activities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `activities` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `customer_id` bigint unsigned NOT NULL,
  `deal_id` bigint unsigned DEFAULT NULL,
  `quotation_id` bigint unsigned DEFAULT NULL,
  `user_id` bigint unsigned NOT NULL,
  `assigned_to` bigint unsigned DEFAULT NULL,
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subject` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `result` text COLLATE utf8mb4_unicode_ci,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `priority` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
  `started_at` timestamp NULL DEFAULT NULL,
  `due_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `next_followup_at` timestamp NULL DEFAULT NULL,
  `reminded_at` timestamp NULL DEFAULT NULL,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `activities_customer_id_foreign` (`customer_id`),
  KEY `activities_user_id_foreign` (`user_id`),
  KEY `activities_assigned_to_foreign` (`assigned_to`),
  KEY `act_workspace_assignee_due_status_idx` (`workspace_id`,`assigned_to`,`due_at`,`status`),
  KEY `activities_workspace_id_customer_id_index` (`workspace_id`,`customer_id`),
  CONSTRAINT `activities_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `activities_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `activities_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `activities_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `activities_chk_1` CHECK (json_valid(`metadata`))
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `activities`
--

LOCK TABLES `activities` WRITE;
/*!40000 ALTER TABLE `activities` DISABLE KEYS */;
INSERT INTO `activities` VALUES (1,1,1,NULL,NULL,3,3,'call','تماس معرفی محصول',NULL,NULL,'pending','medium',NULL,'2026-07-17 06:59:36',NULL,NULL,NULL,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,3,4,NULL,NULL,6,6,'task','پیگیری مشتری','تماس ',NULL,'completed','medium',NULL,'2026-07-22 20:30:00','2026-07-22 12:53:41','2026-07-22 20:30:00',NULL,NULL,'2026-07-22 06:22:57','2026-07-22 12:53:41'),(4,3,4,NULL,NULL,6,6,'task','پیگیری مشتری','تماس با مشتری جهت برقراری ارتباط',NULL,'completed','medium',NULL,'2026-07-23 20:30:00','2026-07-23 14:34:05','2026-07-23 20:30:00',NULL,NULL,'2026-07-22 16:28:25','2026-07-23 14:34:05'),(5,3,4,NULL,NULL,6,6,'message','یاداوری پرداخت فاکتور','','','completed','medium',NULL,'2026-07-29 09:29:00','2026-07-22 16:33:09',NULL,NULL,NULL,'2026-07-22 16:33:09','2026-07-22 16:33:09'),(25,14,36,NULL,NULL,35,35,'call','تماس معرفی محصول',NULL,NULL,'pending','low',NULL,'2026-08-04 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(26,14,37,NULL,NULL,35,35,'meeting','جلسه دمو آنلاین',NULL,NULL,'pending','medium',NULL,'2026-08-05 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(27,14,38,NULL,NULL,35,35,'task','پیگیری پیش‌فاکتور ارسالی',NULL,NULL,'pending','high',NULL,'2026-08-06 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(28,14,39,NULL,NULL,35,35,'call','تماس تایید نیاز مشتری',NULL,NULL,'pending','low',NULL,'2026-08-07 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(29,14,40,NULL,NULL,35,35,'meeting','یادآوری تمدید قرارداد',NULL,NULL,'pending','medium',NULL,'2026-08-08 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(30,14,41,NULL,NULL,35,35,'task','جلسه حضوری با مدیر خرید',NULL,NULL,'pending','high',NULL,'2026-08-09 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(31,14,42,NULL,NULL,35,35,'call','تماس پیگیری پرداخت',NULL,NULL,'pending','low',NULL,'2026-08-10 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(32,14,43,NULL,NULL,35,35,'meeting','ارسال کاتالوگ محصولات',NULL,NULL,'completed','medium',NULL,'2026-08-11 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(33,14,44,NULL,NULL,35,35,'task','پیگیری رضایت مشتری',NULL,NULL,'completed','high',NULL,'2026-08-12 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(34,14,45,NULL,NULL,35,35,'call','تماس معرفی محصول جدید',NULL,NULL,'completed','low',NULL,'2026-08-13 17:33:18',NULL,NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18');
/*!40000 ALTER TABLE `activities` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `app_notifications`
--

DROP TABLE IF EXISTS `app_notifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `app_notifications` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `type` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `app_notifications_user_id_foreign` (`user_id`),
  KEY `app_notifications_user_unread_idx` (`workspace_id`,`user_id`,`read_at`),
  CONSTRAINT `app_notifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `app_notifications_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `app_notifications_chk_1` CHECK (json_valid(`data`))
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `app_notifications`
--

LOCK TABLES `app_notifications` WRITE;
/*!40000 ALTER TABLE `app_notifications` DISABLE KEYS */;
INSERT INTO `app_notifications` VALUES (1,1,3,'commission_entry.approved','{\"title\": \"پورسانت تأیید شد\", \"message\": \"پورسانت 450,000 تومان برای شما تأیید شد.\", \"commission_entry_id\": 1}',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,1,'commission_entry.approved','{\"title\": \"پورسانت تأیید شد\", \"message\": \"پورسانت 10,080,000 تومان برای شما تأیید شد.\", \"commission_entry_id\": 2}','2026-07-19 14:57:48','2026-07-19 14:57:05','2026-07-19 14:57:48'),(3,1,1,'ticket.created','{\"title\":\"\\u062a\\u06cc\\u06a9\\u062a \\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u062c\\u062f\\u06cc\\u062f\",\"message\":\"\\u062a\\u06cc\\u06a9\\u062a T-1405-00001: \\u0632\\u06cc\\u0633\\u0632\\u0633\\u06cc\",\"ticket_id\":1}','2026-07-26 13:17:46','2026-07-26 13:17:34','2026-07-26 13:17:46'),(4,1,1,'ticket.created','{\"title\":\"\\u062a\\u06cc\\u06a9\\u062a \\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u062c\\u062f\\u06cc\\u062f\",\"message\":\"\\u062a\\u06cc\\u06a9\\u062a T-1405-00002: \\u06cc\\u0633\\u0632\\u06cc\\u0633\",\"ticket_id\":2}','2026-07-26 13:28:08','2026-07-26 13:27:56','2026-07-26 13:28:08'),(5,14,35,'commission_entry.approved','{\"title\":\"\\u067e\\u0648\\u0631\\u0633\\u0627\\u0646\\u062a \\u062a\\u0623\\u06cc\\u06cc\\u062f \\u0634\\u062f\",\"message\":\"\\u067e\\u0648\\u0631\\u0633\\u0627\\u0646\\u062a 569,700 \\u062a\\u0648\\u0645\\u0627\\u0646 \\u0628\\u0631\\u0627\\u06cc \\u0634\\u0645\\u0627 \\u062a\\u0623\\u06cc\\u06cc\\u062f \\u0634\\u062f.\",\"commission_entry_id\":16}',NULL,'2026-08-11 15:03:01','2026-08-11 15:03:01');
/*!40000 ALTER TABLE `app_notifications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `attachments`
--

DROP TABLE IF EXISTS `attachments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `attachments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `attachable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `attachable_id` bigint unsigned NOT NULL,
  `disk` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'local',
  `path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mime_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `size_bytes` bigint unsigned NOT NULL,
  `visibility` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'private',
  `checksum` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `uploaded_by` bigint unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `attachments_uploaded_by_foreign` (`uploaded_by`),
  KEY `attachments_attachable_idx` (`workspace_id`,`attachable_type`,`attachable_id`),
  CONSTRAINT `attachments_uploaded_by_foreign` FOREIGN KEY (`uploaded_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `attachments_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `attachments`
--

LOCK TABLES `attachments` WRITE;
/*!40000 ALTER TABLE `attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `attachments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `audit_logs`
--

DROP TABLE IF EXISTS `audit_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `audit_logs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned DEFAULT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `event` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `auditable_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `auditable_id` bigint unsigned DEFAULT NULL,
  `old_values` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `new_values` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `request_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `audit_logs_user_id_foreign` (`user_id`),
  KEY `audit_logs_workspace_id_created_at_index` (`workspace_id`,`created_at`),
  KEY `audit_logs_auditable_type_auditable_id_index` (`auditable_type`,`auditable_id`),
  CONSTRAINT `audit_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `audit_logs_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE SET NULL,
  CONSTRAINT `audit_logs_chk_1` CHECK (json_valid(`old_values`)),
  CONSTRAINT `audit_logs_chk_2` CHECK (json_valid(`new_values`))
) ENGINE=InnoDB AUTO_INCREMENT=314 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `audit_logs`
--

LOCK TABLES `audit_logs` WRITE;
/*!40000 ALTER TABLE `audit_logs` DISABLE KEYS */;
INSERT INTO `audit_logs` VALUES (1,1,1,'partner_company.created','App\\Models\\PartnerCompany',1,'[]','{\"name\": \"شرکت همکار نمونه\", \"status\": \"active\", \"contract_status\": null}','127.0.0.1','Symfony','bd74e195-9ee4-4fb8-99e4-89332e1fcb23','2026-07-16 06:59:36'),(2,1,1,'contract.created','App\\Models\\Contract',1,'[]','{\"title\": \"قرارداد همکاری فروش\", \"status\": \"active\"}','127.0.0.1','Symfony','c91565db-e1fe-496f-8a7a-b36b64c5c2d8','2026-07-16 06:59:36'),(3,1,1,'project.created','App\\Models\\Project',1,'[]','{\"code\": \"PRJ-001\", \"name\": \"پروژه فروش نمونه\", \"status\": \"active\"}','127.0.0.1','Symfony','206b9be6-b0c0-46bc-a5e0-0a8989bbdfab','2026-07-16 06:59:36'),(4,1,1,'catalog_item.created','App\\Models\\CatalogItem',1,'[]','{\"name\": \"محصول نمونه\", \"type\": \"product\", \"current_price\": \"2500000.00\", \"availability_status\": \"available\", \"default_commission_rate\": \"5.0000\"}','127.0.0.1','Symfony','96363f52-f3fc-4eac-a7b5-f2be0286511d','2026-07-16 06:59:36'),(5,1,1,'commission_rule.created','App\\Models\\CommissionRule',1,'[]','{\"name\": \"قاعده پروژه فروش نمونه\", \"rate\": \"6.0000\", \"method\": \"percentage\", \"priority\": 10, \"is_active\": true, \"project_id\": 1, \"scope_type\": \"project\", \"base_amount_type\": \"after_discount\", \"apply_after_collection\": false}','127.0.0.1','Symfony','f9e90fef-519a-4a01-bc9d-24cdc572e478','2026-07-16 06:59:36'),(6,1,1,'customer.created','App\\Models\\Customer',1,'[]','{\"name\": \"مشتری نمونه\", \"status\": null, \"visibility\": \"team\", \"owner_user_id\": 3}','127.0.0.1','Symfony','bf32f739-4517-4a22-a441-4508240703fc','2026-07-16 06:59:36'),(7,1,1,'quotation.created','App\\Models\\Quotation',1,'[]','{\"number\": \"Q-1405-00001\", \"customer_id\": 1}','127.0.0.1','Symfony','6841bd96-2a0f-451c-b71b-728fc0973ef2','2026-07-16 06:59:36'),(8,1,1,'quotation.sent','App\\Models\\Quotation',1,'[]','{\"status\": \"sent\"}','127.0.0.1','Symfony','ff49b216-ced5-4bac-b958-a274a2d88038','2026-07-16 06:59:36'),(9,1,1,'quotation.approved','App\\Models\\Quotation',1,'[]','{\"approved_by\": \"customer\"}','127.0.0.1','Symfony','5448abe9-d28e-4db1-88a0-7c65edca5a39','2026-07-16 06:59:36'),(10,1,1,'quotation.converted_to_deal','App\\Models\\Quotation',1,'[]','{\"deal_id\": 1}','127.0.0.1','Symfony','c8113e79-2846-4d6a-9977-b96ab2e680b6','2026-07-16 06:59:36'),(11,1,1,'payment.created','App\\Models\\Payment',1,'[]','{\"amount\": \"4000000.00\", \"deal_id\": 1}','127.0.0.1','Symfony','7af35aee-5c40-4ec4-add0-70502d748238','2026-07-16 06:59:36'),(12,1,1,'payment.confirmed','App\\Models\\Payment',1,'[]','{\"amount\": \"4000000.00\", \"deal_id\": 1}','127.0.0.1','Symfony','558a54c9-8d89-4a70-bf86-813c1d12dae8','2026-07-16 06:59:36'),(13,1,1,'commission_entry.reviewed','App\\Models\\CommissionEntry',1,'[]','{\"status\": \"pending_review\"}','127.0.0.1','Symfony','f870b6d6-3260-4b01-921f-788eee3b8d81','2026-07-16 06:59:36'),(14,1,1,'commission_entry.approved','App\\Models\\CommissionEntry',1,'[]','{\"status\": \"payable\"}','127.0.0.1','Symfony','bf99f6e4-7261-4f6a-84e8-356ca9cab037','2026-07-16 06:59:36'),(15,1,1,'settlement.created','App\\Models\\Settlement',1,'[]','{\"entry_count\": 1, \"total_amount\": \"450000.00\"}','127.0.0.1','Symfony','af95e5c4-6155-46da-93d5-d8bc9933e254','2026-07-16 06:59:36'),(16,1,1,'settlement.confirmed','App\\Models\\Settlement',1,'[]','{\"total_amount\": \"450000.00\"}','127.0.0.1','Symfony','5a12930b-d9f4-4625-a39f-5344fbbdb357','2026-07-16 06:59:36'),(17,1,1,'customer.created','App\\Models\\Customer',2,'[]','{\"name\": \"مشتری تست آفلاین\", \"status\": null, \"visibility\": null, \"owner_user_id\": 1}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.21459.0 Chrome/148.0.7778.271 Electron/42.5.1 Safari/537.36 MSIX','fd48c2a5-0e1d-4a8a-9c3b-f0359ccd5272','2026-07-16 07:18:07'),(18,2,1,'workspace.created','App\\Models\\Workspace',2,'[]','{\"name\": \"بیستون کویر یزد \", \"owner_user_id\": 1}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','12f3433e-26bf-4fa9-bdc3-8dcec17cc245','2026-07-16 09:01:56'),(19,1,1,'quotation.created','App\\Models\\Quotation',2,'[]','{\"number\": \"Q-1405-00002\", \"customer_id\": \"1\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','19fc9178-066f-4ae9-b485-b34e73091976','2026-07-16 15:03:38'),(20,1,1,'partner_company.created','App\\Models\\PartnerCompany',2,'[]','{\"name\": \"شرکت پادرا معدن \", \"status\": null, \"contract_status\": null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','6be675b3-e82a-4a6c-b93c-4f513223d3bc','2026-07-16 15:12:14'),(21,2,1,'project.created','App\\Models\\Project',2,'[]','{\"code\": \"001\", \"name\": \"سایت \", \"status\": null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','b1638364-73d2-4bc0-b204-9f1cb8124650','2026-07-17 10:00:22'),(22,2,1,'partner_company.created','App\\Models\\PartnerCompany',3,'[]','{\"name\": \"شرکت تخت گنبد \", \"status\": null, \"contract_status\": null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','75145b10-0bbb-4471-8433-2ece9545b2cc','2026-07-17 10:03:01'),(23,2,1,'contract.created','App\\Models\\Contract',2,'[]','{\"title\": \"قرارداد پشتیبانی \", \"status\": null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','ebb56f1e-30a6-4aaf-b1f7-140b1890c42a','2026-07-17 10:03:56'),(24,2,1,'customer.created','App\\Models\\Customer',3,'[]','{\"name\": \"فلاحتدار\", \"status\": \"active\", \"visibility\": \"private\", \"owner_user_id\": 1}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','5f423e4c-370f-4f82-a913-27238cf06250','2026-07-17 10:05:35'),(25,2,1,'quotation.created','App\\Models\\Quotation',3,'[]','{\"number\": \"Q-1405-00001\", \"customer_id\": \"3\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','716bdec6-db1f-480d-be09-df52eac51b2b','2026-07-17 10:07:32'),(26,2,1,'project.updated','App\\Models\\Project',2,'{\"code\": \"001\", \"name\": \"سایت \", \"type\": \"workspace\", \"owner_type\": \"workspace\", \"visibility\": \"private\", \"contract_id\": null, \"manager_user_id\": 1, \"inventory_policy\": \"allow\", \"partner_company_id\": null, \"service_commission_base\": \"net_profit\"}','{\"code\": \"01\", \"name\": \"بیتاترکر\", \"type\": \"workspace\", \"owner_type\": \"workspace\", \"visibility\": \"team\", \"contract_id\": null, \"manager_user_id\": null, \"inventory_policy\": \"warn\", \"partner_company_id\": null, \"service_commission_base\": \"sale_amount\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','2a698ddb-9e75-40b3-b7ff-0f3dae0e342c','2026-07-17 10:14:58'),(27,2,1,'catalog_item.created','App\\Models\\CatalogItem',2,'[]','{\"name\": \"fmb202\", \"type\": \"product\", \"current_price\": \"14400000.00\", \"availability_status\": \"available\", \"default_commission_rate\": \"7.0000\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','a447343d-f717-4af6-a20f-6ab47d47bbde','2026-07-17 10:16:04'),(28,2,1,'quotation.created','App\\Models\\Quotation',4,'[]','{\"number\": \"Q-1405-00002\", \"customer_id\": \"3\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','34cd0344-cca3-41fd-bcc4-d51f407e914b','2026-07-17 10:16:18'),(29,2,1,'quotation.sent','App\\Models\\Quotation',4,'[]','{\"status\": \"sent\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','c974a34d-5fb9-4252-807c-8bf8a04c8287','2026-07-17 10:17:24'),(30,2,1,'quotation.approved','App\\Models\\Quotation',4,'[]','{\"approved_by\": 1}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','17970588-0bfd-4806-b887-2263efbbfe7c','2026-07-19 14:36:53'),(31,2,1,'quotation.converted_to_deal','App\\Models\\Quotation',4,'[]','{\"deal_id\": 2}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','cb770eee-fadd-4870-9e07-9cb2b7786e54','2026-07-19 14:56:33'),(32,2,1,'deal.won','App\\Models\\Deal',2,'[]','{\"status\": \"won\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','3304fd67-eef1-4e6b-afb5-05331b4e4545','2026-07-19 14:56:44'),(33,2,1,'commission_entry.reviewed','App\\Models\\CommissionEntry',2,'[]','{\"status\": \"pending_review\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','b88e9fee-7ffc-4375-a0e9-fbb835c2dd7e','2026-07-19 14:57:02'),(34,2,1,'commission_entry.approved','App\\Models\\CommissionEntry',2,'[]','{\"status\": \"payable\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','9435f9f7-e260-48b5-bee8-ba0551bfabd9','2026-07-19 14:57:05'),(35,2,1,'payment.created','App\\Models\\Payment',2,'[]','{\"amount\": \"158400000.00\", \"deal_id\": 2}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','dc73caad-8be3-4d3b-b57e-ca564bf061e7','2026-07-19 14:57:31'),(36,2,1,'payment.confirmed','App\\Models\\Payment',2,'[]','{\"amount\": \"158400000.00\", \"deal_id\": 2}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','b7e08df3-20b1-4cca-ad97-9f6e7d2b652e','2026-07-19 14:57:38'),(37,2,1,'settlement.created','App\\Models\\Settlement',2,'[]','{\"entry_count\": 1, \"total_amount\": \"10080000.00\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','a9db833e-1f9a-4e17-b50c-c5f7dcca2f2e','2026-07-19 15:00:21'),(38,2,1,'settlement.confirmed','App\\Models\\Settlement',2,'[]','{\"total_amount\": \"10080000.00\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','dbbea0c9-3d95-40ef-b2ff-a875bdc8e705','2026-07-19 15:00:26'),(39,2,1,'quotation.created','App\\Models\\Quotation',5,'[]','{\"number\": \"Q-1405-00003\", \"customer_id\": \"3\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','d0e2a448-fd2a-420c-b1fa-dfedbfc1a4c2','2026-07-19 15:01:28'),(40,3,1,'workspace.created','App\\Models\\Workspace',3,'[]','{\"name\":\"\\u0634\\u0631\\u06a9\\u062a \\u0628\\u06cc\\u0633\\u062a\\u0648\\u0646 \\u06a9\\u0648\\u06cc\\u0631 \\u06cc\\u0632\\u062f \",\"owner_user_id\":1}','37.32.18.5','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','aefee05e-94ac-4ece-bd8c-1cb7b247c277','2026-07-20 14:06:42'),(41,3,1,'workspace.member_invited','App\\Models\\WorkspaceInvitation',1,'[]','{\"email\":\"amir.d79@yahoo.com\",\"role_key\":\"seller\"}','37.32.18.5','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','d3c8c946-1f20-4739-869c-355bbbf34aa1','2026-07-20 14:07:14'),(42,3,6,'customer.created','App\\Models\\Customer',4,'[]','{\"name\":\"\\u0647\\u0627\\u062f\\u06cc \\u0645\\u06cc\\u0631\\u062c\\u0644\\u06cc\\u0644\\u06cc\",\"owner_user_id\":6,\"visibility\":\"private\",\"status\":\"active\"}','37.32.18.12','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','15ecd89c-c313-414c-afaf-8e556fe05fd3','2026-07-20 14:11:00'),(43,3,1,'project.created','App\\Models\\Project',3,'[]','{\"code\":\"001\",\"name\":\"\\u0628\\u06cc\\u062a\\u0627\\u062a\\u0631\\u06a9\\u0631\",\"status\":null}','37.32.18.11','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','8c754853-ef84-4ef4-866f-52431ed52dd0','2026-07-20 14:16:12'),(44,3,1,'catalog_category.created','App\\Models\\CatalogCategory',1,'[]','{\"name\":\"\\u0645\\u062d\\u0635\\u0648\\u0644\\u0627\\u062a \\u062a\\u0644\\u062a\\u0648\\u0646\\u06cc\\u06a9\\u0627\",\"parent_id\":null}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','5fa643e4-e896-4809-aa1f-5742a7374547','2026-07-20 15:24:49'),(45,3,1,'catalog_category.created','App\\Models\\CatalogCategory',2,'[]','{\"name\":\"GPS\",\"parent_id\":\"1\"}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','8c0d699c-fefd-4b7a-88bf-c370a77fcf7e','2026-07-20 15:25:04'),(46,3,1,'catalog_category.created','App\\Models\\CatalogCategory',3,'[]','{\"name\":\"\\u0633\\u0646\\u0633\\u0648\\u0631\\u0647\\u0627\",\"parent_id\":\"1\"}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','acd48e72-5f5f-42e9-870d-8c0187fb05e1','2026-07-20 15:25:17'),(47,3,1,'catalog_item.created','App\\Models\\CatalogItem',3,'[]','{\"name\":\"fmb920\",\"type\":\"product\",\"current_price\":\"14950000.00\",\"default_commission_rate\":\"7.0000\",\"availability_status\":\"available\"}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','177ab189-a203-477c-94f3-54881f454d32','2026-07-20 15:26:35'),(48,3,1,'catalog_category.created','App\\Models\\CatalogCategory',4,'[]','{\"name\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc\",\"parent_id\":null}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','48680aa3-99d6-41aa-91c2-6fa274785a2d','2026-07-20 15:27:32'),(49,3,1,'catalog_item.created','App\\Models\\CatalogItem',4,'[]','{\"name\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0633\\u0627\\u0644\\u0627\\u0646\\u0647 \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc\",\"type\":\"product\",\"current_price\":\"2750000.00\",\"default_commission_rate\":\"10.0000\",\"availability_status\":\"available\"}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','48c8898e-2740-43fc-886d-345bcca1e777','2026-07-20 15:28:59'),(50,3,1,'catalog_category.created','App\\Models\\CatalogCategory',5,'[]','{\"name\":\"\\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\",\"parent_id\":null}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','4d0f2b30-5fe6-4188-89fa-aceb857965ba','2026-07-20 15:29:28'),(51,3,1,'catalog_category.created','App\\Models\\CatalogCategory',6,'[]','{\"name\":\"\\u0628\\u06cc\\u062a\\u0627\\u062a\\u0631\\u06a9\\u0631\",\"parent_id\":\"5\"}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','17b2907e-cf1b-40a9-a72c-a0f6c188a889','2026-07-20 15:29:48'),(52,3,1,'catalog_item.created','App\\Models\\CatalogItem',5,'[]','{\"name\":\"\\u0644\\u0627\\u06cc\\u0633\\u0646\\u0633 \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc \\u0633\\u0627\\u0645\\u0627\\u0646\\u0647 \\u06a9\\u0646\\u062a\\u0631\\u0644 \\u0648 \\u067e\\u0627\\u06cc\\u0634 \\u0645\\u0627\\u0634\\u06cc\\u0646 \\u0622\\u0644\\u0627\\u062a \\u0628\\u06cc\\u062a\\u0627\\u062a\\u0631\\u06a9\\u0631\",\"type\":\"service\",\"current_price\":\"465000000.00\",\"default_commission_rate\":\"10.0000\",\"availability_status\":\"available\"}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','1fdab1fc-0d50-4ac3-9ad0-233bfe034eeb','2026-07-20 15:31:17'),(53,3,1,'partner_company.created','App\\Models\\PartnerCompany',4,'[]','{\"name\":\"\\u0645\\u0633 \\u062f\\u0631\\u062e\\u0634\\u0627\\u0646 \\u062a\\u062e\\u062a \\u06af\\u0646\\u0628\\u062f\",\"status\":null,\"contract_status\":null}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','b45be464-5f1f-4495-a61c-68fe1ec84724','2026-07-20 15:34:39'),(54,3,1,'catalog_item.created','App\\Models\\CatalogItem',6,'[]','{\"name\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0633\\u0627\\u0644\\u0627\\u0646\\u0647 \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc (\\u0645\\u0634\\u062a\\u0631\\u06cc \\u0648\\u06cc\\u0698\\u0647)\",\"type\":\"service\",\"current_price\":\"1500000.00\",\"default_commission_rate\":\"10.0000\",\"availability_status\":\"available\"}','185.215.232.191','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','19d56763-daf1-41c5-a145-b55e96e47271','2026-07-20 15:35:50'),(55,3,6,'customer_contact.created','App\\Models\\CustomerContact',2,'[]','{\"name\":\"\\u0645\\u0647\\u0646\\u062f\\u0633 \\u06a9\\u0631\\u06cc\\u0645\\u06cc\",\"position\":\"\\u0645\\u062f\\u06cc\\u0631 \\u0628\\u0631\\u0646\\u0627\\u0645\\u0647 \\u0631\\u06cc\\u0632\\u06cc \\u0648 \\u0646\\u0638\\u0627\\u0631\\u062a \\u0645\\u0627\\u0634\\u06cc\\u0646 \\u0622\\u0644\\u0627\\u062a \",\"mobile\":\"09130310863\",\"phone\":\"\",\"email\":\"\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','a83b04a4-d1cc-4670-9d74-0bf7b9de726f','2026-07-22 06:21:40'),(56,4,NULL,'workspace.created','App\\Models\\Workspace',4,'[]','{\"name\":\"UI Test Workspace\",\"owner_user_id\":7}','127.0.0.1','Symfony','ff8eb504-afd9-431d-b2d4-6bac8cd556b1','2026-07-22 06:56:24'),(57,3,6,'quotation.created','App\\Models\\Quotation',6,'[]','{\"number\":\"Q-1405-00001\",\"customer_id\":\"4\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','d4654d46-8099-484c-9ff7-1eac16f6e7c1','2026-07-22 12:54:12'),(58,3,6,'quotation.sent','App\\Models\\Quotation',6,'[]','{\"status\":\"sent\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','fa8e6127-fd02-4a3b-a578-bce81d938df2','2026-07-22 13:14:58'),(59,5,NULL,'workspace.created','App\\Models\\Workspace',5,'[]','{\"name\":\"UI Test Workspace 2\",\"owner_user_id\":9}','127.0.0.1','Symfony','6159dad6-99c5-4115-b276-dfce8ec252e7','2026-07-22 16:29:09'),(60,6,NULL,'workspace.created','App\\Models\\Workspace',6,'[]','{\"name\":\"UI Test WS3\",\"owner_user_id\":10}','127.0.0.1','Symfony','c6ffd4c5-1194-4506-9c8b-19893cef514a','2026-07-22 16:45:41'),(61,7,NULL,'workspace.created','App\\Models\\Workspace',7,'[]','{\"name\":\"UI Test WS4\",\"owner_user_id\":12}','127.0.0.1','Symfony','416e26d3-57a0-4039-878f-23e46a0baf42','2026-07-22 17:43:35'),(62,3,1,'quotation.revision_created','App\\Models\\Quotation',7,'{\"superseded_quotation_id\":6}','{\"revision_quotation_id\":7,\"version_no\":2}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','c5699679-2022-476d-967c-92366fd89444','2026-07-22 18:59:03'),(63,3,6,'quotation.created','App\\Models\\Quotation',8,'[]','{\"number\":\"Q-1405-00002\",\"customer_id\":\"4\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','28d37cfd-b8e5-4bcb-80b4-c67bf11a83e9','2026-07-23 14:34:52'),(64,8,NULL,'workspace.created','App\\Models\\Workspace',8,'[]','{\"name\":\"UI Verify WS\",\"owner_user_id\":13}','127.0.0.1','Symfony','4ad33708-4d12-4b49-86f8-25c60ae19697','2026-07-23 15:32:18'),(65,3,6,'quotation_note.created','App\\Models\\QuotationNote',1,'[]','{\"text\":\"\\u0647\\u0632\\u06cc\\u0646\\u0647\\u200c\\u0647\\u0627\\u06cc \\u0627\\u06cc\\u0627\\u0628\\u200c\\u0648\\u0630\\u0647\\u0627\\u0628 \\u0648 \\u0627\\u0633\\u06a9\\u0627\\u0646 \\u0646\\u06cc\\u0631\\u0648\\u0647\\u0627\\u06cc \\u0627\\u0639\\u0632\\u0627\\u0645\\u06cc \\u0628\\u0631 \\u0639\\u0647\\u062f\\u0647 \\u06a9\\u0627\\u0631\\u0641\\u0631\\u0645\\u0627 \\u062e\\u0648\\u0627\\u0647\\u062f \\u0628\\u0648\\u062f.\\n\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','26ecfb2a-51ff-46ff-b70a-faef971b01df','2026-07-23 15:43:57'),(66,3,6,'quotation_note.updated','App\\Models\\QuotationNote',1,'{\"text\":\"\\u0647\\u0632\\u06cc\\u0646\\u0647\\u200c\\u0647\\u0627\\u06cc \\u0627\\u06cc\\u0627\\u0628\\u200c\\u0648\\u0630\\u0647\\u0627\\u0628 \\u0648 \\u0627\\u0633\\u06a9\\u0627\\u0646 \\u0646\\u06cc\\u0631\\u0648\\u0647\\u0627\\u06cc \\u0627\\u0639\\u0632\\u0627\\u0645\\u06cc \\u0628\\u0631 \\u0639\\u0647\\u062f\\u0647 \\u06a9\\u0627\\u0631\\u0641\\u0631\\u0645\\u0627 \\u062e\\u0648\\u0627\\u0647\\u062f \\u0628\\u0648\\u062f.\\n\",\"sort_order\":0}','{\"text\":\"\\u0647\\u0632\\u06cc\\u0646\\u0647\\u200c\\u0647\\u0627\\u06cc \\u0627\\u06cc\\u0627\\u0628\\u200c\\u0648\\u0630\\u0647\\u0627\\u0628 \\u0648 \\u0627\\u0633\\u06a9\\u0627\\u0646 \\u0646\\u06cc\\u0631\\u0648\\u0647\\u0627\\u06cc \\u0627\\u0639\\u0632\\u0627\\u0645\\u06cc \\u0628\\u0631 \\u0639\\u0647\\u062f\\u0647 \\u06a9\\u0627\\u0631\\u0641\\u0631\\u0645\\u0627 \\u062e\\u0648\\u0627\\u0647\\u062f \\u0628\\u0648\\u062f.\\n\",\"sort_order\":\"0\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','9011df3c-8cba-4a45-9657-58b003c42ab8','2026-07-23 15:56:25'),(67,3,1,'quotation.sent','App\\Models\\Quotation',7,'[]','{\"status\":\"sent\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','8aeda6eb-d9c9-4ba0-9527-8ff4c42d334d','2026-07-23 16:13:12'),(68,3,1,'quotation.rejected','App\\Models\\Quotation',7,'[]','{\"rejected_by\":1,\"reason\":null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','53e5c2ed-1470-4f87-b02c-0bb19aa79a8a','2026-07-23 16:13:23'),(69,3,1,'quotation.notes_synced','App\\Models\\Quotation',8,'{\"note_ids\":[]}','{\"note_ids\":[\"1\"]}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','b5dddd9f-c285-4d9c-ace4-cd8b6e3a288d','2026-07-23 17:32:01'),(70,3,6,'quotation.sent','App\\Models\\Quotation',8,'[]','{\"status\":\"sent\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','ac84a9af-a755-41dd-98b2-60e1a167295e','2026-07-24 10:23:19'),(71,3,6,'quotation.approved','App\\Models\\Quotation',8,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','31fe152b-694b-4ab0-aa28-90e30c36a4e3','2026-07-24 10:56:32'),(72,1,14,'portal.invitation_accepted','App\\Models\\PortalCompanyAccess',1,'[]','{\"user_id\":14,\"partner_company_id\":1}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.24012.9 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','a3d72d2b-db14-40e0-a343-4178439e85a6','2026-07-25 07:43:24'),(73,1,1,'contract.created','App\\Models\\Contract',3,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0633\\u0627\\u0645\\u0627\\u0646\\u0647 \\u0645\\u062f\\u06cc\\u0631\\u06cc\\u062a \\u06a9\\u0627\\u0631\\u06a9\\u0631\\u062f \\u0645\\u0627\\u0634\\u06cc\\u0646 \\u0622\\u0644\\u0627\\u062a \\u0622\\u0646\\u0641\\u0648\",\"status\":null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','46146bd2-b9cf-4a15-af52-fa8c20b731c3','2026-07-26 11:45:16'),(74,1,1,'support_period.created','App\\Models\\ContractSupportPeriod',1,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','772e80c3-6ce3-4084-a9ec-083f74d3d85f','2026-07-26 11:46:21'),(75,1,1,'project.created','App\\Models\\Project',4,'[]','{\"code\":\"003\",\"name\":\"\\u0647\\u0648\\u0634\\u0645\\u0646\\u062f \\u0633\\u0627\\u0632\\u06cc \\u0648 \\u06a9\\u0646\\u062a\\u0631\\u0644 \\u0645\\u0627\\u0634\\u06cc\\u0646 \\u0622\\u0644\\u0627\\u062a\",\"status\":null}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','e062a1c7-19b7-49ba-a6c2-483a68c01f50','2026-07-26 11:48:00'),(76,9,16,'workspace.created','App\\Models\\Workspace',9,'[]','{\"name\":\"\\u0634\\u0631\\u06a9\\u062a \\u0628\\u06cc\\u0633\\u062a\\u0648\\u0646 \\u06a9\\u0648\\u06cc\\u0631 \\u06cc\\u0632\\u062f \",\"owner_user_id\":16}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','b613534c-c0a9-4aa2-a94b-8eadbd0e881d','2026-07-26 12:33:33'),(77,1,17,'portal.invitation_accepted','App\\Models\\PortalCompanyAccess',3,'[]','{\"user_id\":17,\"partner_company_id\":2}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','4ad05239-d1bf-4f71-bf93-44a4dac7f145','2026-07-26 12:51:31'),(78,1,1,'support_period.updated','App\\Models\\ContractSupportPeriod',1,'{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc\",\"status\":\"active\"}','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc\",\"status\":\"active\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','ed798166-5032-471c-8acf-e38a351b0782','2026-07-26 12:53:00'),(79,1,1,'contract.updated','App\\Models\\Contract',3,'{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0633\\u0627\\u0645\\u0627\\u0646\\u0647 \\u0645\\u062f\\u06cc\\u0631\\u06cc\\u062a \\u06a9\\u0627\\u0631\\u06a9\\u0631\\u062f \\u0645\\u0627\\u0634\\u06cc\\u0646 \\u0622\\u0644\\u0627\\u062a \\u0622\\u0646\\u0641\\u0648\",\"contract_no\":\"0034\",\"start_date\":\"2026-07-26T00:00:00.000000Z\",\"end_date\":\"2027-05-03T00:00:00.000000Z\",\"default_commission_method\":\"percentage\",\"default_base_amount_type\":\"after_discount\",\"default_rate\":null,\"default_fixed_amount\":null,\"calculate_after_collection\":true,\"has_support\":true}','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0633\\u0627\\u0645\\u0627\\u0646\\u0647 \\u0645\\u062f\\u06cc\\u0631\\u06cc\\u062a \\u06a9\\u0627\\u0631\\u06a9\\u0631\\u062f \\u0645\\u0627\\u0634\\u06cc\\u0646 \\u0622\\u0644\\u0627\\u062a \\u0622\\u0646\\u0641\\u0648\",\"contract_no\":\"0034\",\"start_date\":\"2026-07-23T00:00:00.000000Z\",\"end_date\":\"2026-08-22T00:00:00.000000Z\",\"default_commission_method\":\"percentage\",\"default_base_amount_type\":\"after_discount\",\"default_rate\":null,\"default_fixed_amount\":null,\"calculate_after_collection\":true,\"has_support\":true}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','093bc51c-e24a-4ddc-b2a6-f77c98c279a1','2026-07-26 12:53:55'),(80,1,1,'support_period.updated','App\\Models\\ContractSupportPeriod',1,'{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc\",\"status\":\"active\"}','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0646\\u0631\\u0645 \\u0627\\u0641\\u0632\\u0627\\u0631\\u06cc\",\"status\":\"active\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','f79fd97d-76c4-40bf-b05b-042d468d09a2','2026-07-26 12:58:56'),(81,10,6,'workspace.created','App\\Models\\Workspace',10,'[]','{\"name\":\"\\u0645\\u0647\\u0646\\u062f\\u0633 \\u062a\\u0633\\u062a \",\"owner_user_id\":6}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36','5cee80b7-0f14-450c-a37a-5c4e72cd3323','2026-08-07 12:45:41'),(82,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',5,'[]','{\"name\":\"\\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','2debe0c7-0d77-4844-a36f-591d5705057b','2026-08-07 17:21:40'),(83,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',6,'[]','{\"name\":\"\\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','abc8c186-eee1-412d-93c3-8f8eea3a3799','2026-08-07 17:21:40'),(84,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',7,'[]','{\"name\":\"\\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','9b4381e1-3d31-480e-adb9-52b59ac63cec','2026-08-07 17:21:40'),(85,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',8,'[]','{\"name\":\"\\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','c982607a-7433-47c5-b009-f849b2425d7b','2026-08-07 17:21:40'),(86,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',9,'[]','{\"name\":\"\\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','3c0ed8d0-9384-47fd-8782-683888f1cb48','2026-08-07 17:21:40'),(87,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',10,'[]','{\"name\":\"\\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','a96f11b8-8431-4304-82ee-62e5b69cfe2a','2026-08-07 17:21:40'),(88,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',11,'[]','{\"name\":\"\\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','fe54ead1-a7ca-4031-bebb-8db177328d27','2026-08-07 17:21:40'),(89,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',12,'[]','{\"name\":\"\\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','ec96615c-b187-4050-9777-fb2399f82e92','2026-08-07 17:21:40'),(90,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',13,'[]','{\"name\":\"\\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','3112b8a8-35ee-4b1e-9781-25564444782b','2026-08-07 17:21:40'),(91,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',14,'[]','{\"name\":\"\\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','121cd379-cfdc-49e2-ac72-95682ccda808','2026-08-07 17:21:40'),(92,NULL,NULL,'contract.created','App\\Models\\Contract',4,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 1\",\"status\":\"active\"}','127.0.0.1','Symfony','cd4e0b42-e906-48a7-ad49-11c5a18df63c','2026-08-07 17:21:41'),(93,NULL,NULL,'project.created','App\\Models\\Project',5,'[]','{\"code\":\"PRJ-001\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\"}','127.0.0.1','Symfony','14642c6c-ef9e-4d7f-85c6-fb1c89dc2d83','2026-08-07 17:21:41'),(94,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',2,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','5605a94a-7eec-457e-a25f-74dc9306dc32','2026-08-07 17:21:41'),(95,NULL,NULL,'contract.created','App\\Models\\Contract',5,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 2\",\"status\":\"active\"}','127.0.0.1','Symfony','90fc3cc1-39cf-4b53-a2b7-8fbae7293535','2026-08-07 17:21:41'),(96,NULL,NULL,'project.created','App\\Models\\Project',6,'[]','{\"code\":\"PRJ-002\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\"}','127.0.0.1','Symfony','8afac1bc-3f99-40d6-82f1-f21398c88abe','2026-08-07 17:21:42'),(97,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',3,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','fda5770d-fb10-4469-9039-fc62cee79cec','2026-08-07 17:21:42'),(98,NULL,NULL,'contract.created','App\\Models\\Contract',6,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 3\",\"status\":\"active\"}','127.0.0.1','Symfony','5862f673-56dd-47da-bf30-2a1fcb94a1ac','2026-08-07 17:21:42'),(99,NULL,NULL,'project.created','App\\Models\\Project',7,'[]','{\"code\":\"PRJ-003\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','b9553748-718b-4137-866f-991557544517','2026-08-07 17:21:42'),(100,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',4,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','7cffae49-9ba8-4c34-8eab-dfc441ba0e9b','2026-08-07 17:21:42'),(101,NULL,NULL,'contract.created','App\\Models\\Contract',7,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 4\",\"status\":\"active\"}','127.0.0.1','Symfony','ada6756e-bf8c-4fbf-a232-7c218cf1405c','2026-08-07 17:21:42'),(102,NULL,NULL,'project.created','App\\Models\\Project',8,'[]','{\"code\":\"PRJ-004\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','731576f1-6b5e-46cc-a705-268e928f48a1','2026-08-07 17:21:42'),(103,NULL,NULL,'contract.created','App\\Models\\Contract',8,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 5\",\"status\":\"active\"}','127.0.0.1','Symfony','5fa56d9e-969a-461b-b66f-4297d1738536','2026-08-07 17:21:42'),(104,NULL,NULL,'project.created','App\\Models\\Project',9,'[]','{\"code\":\"PRJ-005\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','dc4d572b-fa7a-4051-bd87-7f30e743851b','2026-08-07 17:21:42'),(105,NULL,NULL,'contract.created','App\\Models\\Contract',9,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 6\",\"status\":\"active\"}','127.0.0.1','Symfony','7efa6db7-a5c5-4a9a-b1ce-8cbc254d3c67','2026-08-07 17:21:42'),(106,NULL,NULL,'project.created','App\\Models\\Project',10,'[]','{\"code\":\"PRJ-006\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','ff82b6d7-b0d8-4bf5-83e3-dda0213fe5d6','2026-08-07 17:21:42'),(107,NULL,NULL,'contract.created','App\\Models\\Contract',10,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 7\",\"status\":\"active\"}','127.0.0.1','Symfony','68e74ac0-08cd-4483-aa0e-bd3cae2fb159','2026-08-07 17:21:42'),(108,NULL,NULL,'project.created','App\\Models\\Project',11,'[]','{\"code\":\"PRJ-007\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\"}','127.0.0.1','Symfony','2eb190a3-4500-4ba0-ab61-050b10333c20','2026-08-07 17:21:42'),(109,NULL,NULL,'contract.created','App\\Models\\Contract',11,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 8\",\"status\":\"active\"}','127.0.0.1','Symfony','6a64c351-16be-4e51-98d8-d9353e322dbd','2026-08-07 17:21:42'),(110,NULL,NULL,'project.created','App\\Models\\Project',12,'[]','{\"code\":\"PRJ-008\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','681184e0-5ac5-498d-9abe-d27ded18e48d','2026-08-07 17:21:42'),(111,NULL,NULL,'contract.created','App\\Models\\Contract',12,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 9\",\"status\":\"active\"}','127.0.0.1','Symfony','a06e43ea-8e7a-4ea6-933f-a68475a91040','2026-08-07 17:21:42'),(112,NULL,NULL,'project.created','App\\Models\\Project',13,'[]','{\"code\":\"PRJ-009\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','8ff2f1ab-e9ee-40d8-91a4-b167448614c0','2026-08-07 17:21:42'),(113,NULL,NULL,'contract.created','App\\Models\\Contract',13,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 10\",\"status\":\"active\"}','127.0.0.1','Symfony','5efcb919-e549-4dd7-b27d-2cc7fd871603','2026-08-07 17:21:42'),(114,NULL,NULL,'project.created','App\\Models\\Project',14,'[]','{\"code\":\"PRJ-010\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\"}','127.0.0.1','Symfony','6c4454c5-93d8-4358-b83e-221e78759769','2026-08-07 17:21:42'),(115,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',15,'[]','{\"name\":\"\\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','21aa6e68-880c-4466-aeeb-6f235afdbf94','2026-08-07 17:27:20'),(116,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',16,'[]','{\"name\":\"\\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','48a96e43-63cf-4299-b795-616b9b7118e0','2026-08-07 17:27:20'),(117,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',17,'[]','{\"name\":\"\\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','776be67a-4144-4160-9a68-8f35d4851b47','2026-08-07 17:27:20'),(118,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',18,'[]','{\"name\":\"\\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','26ccd513-fccd-43ab-a2c9-b832f6dea202','2026-08-07 17:27:20'),(119,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',19,'[]','{\"name\":\"\\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','e11839b9-c9a2-477b-8208-0e11e3de94e9','2026-08-07 17:27:20'),(120,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',20,'[]','{\"name\":\"\\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','fddbdea4-ec89-446f-bc8c-2df48496ddc0','2026-08-07 17:27:20'),(121,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',21,'[]','{\"name\":\"\\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','a13db29b-7747-46ff-a1aa-4d90e8d47688','2026-08-07 17:27:20'),(122,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',22,'[]','{\"name\":\"\\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','f770997c-541d-479a-bbc1-43f36f508393','2026-08-07 17:27:20'),(123,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',23,'[]','{\"name\":\"\\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','61a16246-36df-4801-a81e-3d09e075fd75','2026-08-07 17:27:20'),(124,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',24,'[]','{\"name\":\"\\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','14fe06a7-c3f5-4f9f-ab15-3c9b0a652d85','2026-08-07 17:27:20'),(125,NULL,NULL,'contract.created','App\\Models\\Contract',14,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 1\",\"status\":\"active\"}','127.0.0.1','Symfony','c5158838-a99a-40d8-8b9b-20327a240a6e','2026-08-07 17:27:20'),(126,NULL,NULL,'project.created','App\\Models\\Project',15,'[]','{\"code\":\"PRJ-001\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\"}','127.0.0.1','Symfony','025b8b93-d5f1-4f4d-9813-4bf3ed82b399','2026-08-07 17:27:20'),(127,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',5,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','7bec6bc5-420f-4acd-a523-f6c72473758a','2026-08-07 17:27:20'),(128,NULL,NULL,'contract.created','App\\Models\\Contract',15,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 2\",\"status\":\"active\"}','127.0.0.1','Symfony','fcee5157-1205-42d2-8a71-bc5377577540','2026-08-07 17:27:20'),(129,NULL,NULL,'project.created','App\\Models\\Project',16,'[]','{\"code\":\"PRJ-002\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\"}','127.0.0.1','Symfony','3b09932b-b610-48d5-9619-a53d3dbb5ef8','2026-08-07 17:27:20'),(130,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',6,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','71c6016b-a3c3-40fa-987d-4e88666442cc','2026-08-07 17:27:20'),(131,NULL,NULL,'contract.created','App\\Models\\Contract',16,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 3\",\"status\":\"active\"}','127.0.0.1','Symfony','a2c282f2-7b44-49b5-bad3-7d48c53dba43','2026-08-07 17:27:20'),(132,NULL,NULL,'project.created','App\\Models\\Project',17,'[]','{\"code\":\"PRJ-003\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','0a144361-be58-436b-9fcd-495b9aca5cfb','2026-08-07 17:27:20'),(133,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',7,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','b9b102eb-aa5a-4cec-8c62-18182bcaa3ad','2026-08-07 17:27:20'),(134,NULL,NULL,'contract.created','App\\Models\\Contract',17,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 4\",\"status\":\"active\"}','127.0.0.1','Symfony','1e3b2430-52eb-474a-ba6e-208ade80bc4f','2026-08-07 17:27:20'),(135,NULL,NULL,'project.created','App\\Models\\Project',18,'[]','{\"code\":\"PRJ-004\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','073c3df2-ff20-4edc-b8e9-6b0fbde3df35','2026-08-07 17:27:20'),(136,NULL,NULL,'contract.created','App\\Models\\Contract',18,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 5\",\"status\":\"active\"}','127.0.0.1','Symfony','3ded59d5-845e-4e12-a45b-bfb4bbc575f4','2026-08-07 17:27:20'),(137,NULL,NULL,'project.created','App\\Models\\Project',19,'[]','{\"code\":\"PRJ-005\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','cd46ef15-95be-40e2-8a9e-e8a3c82139ee','2026-08-07 17:27:20'),(138,NULL,NULL,'contract.created','App\\Models\\Contract',19,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 6\",\"status\":\"active\"}','127.0.0.1','Symfony','75971264-764f-41e9-8554-854e5d021c18','2026-08-07 17:27:20'),(139,NULL,NULL,'project.created','App\\Models\\Project',20,'[]','{\"code\":\"PRJ-006\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','2f5f6a4f-04ca-404a-9fdd-135414acca96','2026-08-07 17:27:20'),(140,NULL,NULL,'contract.created','App\\Models\\Contract',20,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 7\",\"status\":\"active\"}','127.0.0.1','Symfony','7b2a5927-36bc-450f-a6e8-e35128b50199','2026-08-07 17:27:20'),(141,NULL,NULL,'project.created','App\\Models\\Project',21,'[]','{\"code\":\"PRJ-007\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\"}','127.0.0.1','Symfony','3c9176aa-b815-4092-a510-244c6b710564','2026-08-07 17:27:20'),(142,NULL,NULL,'contract.created','App\\Models\\Contract',21,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 8\",\"status\":\"active\"}','127.0.0.1','Symfony','d4b228d9-243a-489b-a9c5-0cf2d5f95217','2026-08-07 17:27:20'),(143,NULL,NULL,'project.created','App\\Models\\Project',22,'[]','{\"code\":\"PRJ-008\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','549d4b48-9d73-4b92-a359-48605dcf48cd','2026-08-07 17:27:20'),(144,NULL,NULL,'contract.created','App\\Models\\Contract',22,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 9\",\"status\":\"active\"}','127.0.0.1','Symfony','68fb2ce3-9557-4f01-8a60-ec171be75716','2026-08-07 17:27:20'),(145,NULL,NULL,'project.created','App\\Models\\Project',23,'[]','{\"code\":\"PRJ-009\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','7ef1563b-6744-4100-af53-eb8184d94047','2026-08-07 17:27:20'),(146,NULL,NULL,'contract.created','App\\Models\\Contract',23,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 10\",\"status\":\"active\"}','127.0.0.1','Symfony','aa516552-7cf5-422d-b1e2-35d657d1b48b','2026-08-07 17:27:20'),(147,NULL,NULL,'project.created','App\\Models\\Project',24,'[]','{\"code\":\"PRJ-010\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\"}','127.0.0.1','Symfony','059c6369-c5f9-4a2e-8a0c-a2aa8ebafdf7','2026-08-07 17:27:20'),(148,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',25,'[]','{\"name\":\"\\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','65e2625d-be1d-4ca7-ab08-422fbdba935b','2026-08-07 17:28:59'),(149,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',26,'[]','{\"name\":\"\\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','eb34a2ca-845e-49d4-b8fd-2b3e525e21cb','2026-08-07 17:28:59'),(150,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',27,'[]','{\"name\":\"\\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','f59cd2bf-2597-406e-b7a8-0c52f362da34','2026-08-07 17:28:59'),(151,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',28,'[]','{\"name\":\"\\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','5e9c3fcc-164d-4794-a367-3e9babc4cc47','2026-08-07 17:28:59'),(152,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',29,'[]','{\"name\":\"\\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','8f5efc71-81e9-4ba0-9f31-0ccadc51ab27','2026-08-07 17:28:59'),(153,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',30,'[]','{\"name\":\"\\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','01b343bb-b490-491d-bec2-bfd058afc22d','2026-08-07 17:28:59'),(154,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',31,'[]','{\"name\":\"\\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','098ae0db-7e17-4117-a285-0b0472557c67','2026-08-07 17:28:59'),(155,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',32,'[]','{\"name\":\"\\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','5f99c4b6-0eb1-4085-940d-d2260ab1d191','2026-08-07 17:28:59'),(156,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',33,'[]','{\"name\":\"\\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','ca459f9f-113d-4df2-8edf-3529fc099809','2026-08-07 17:28:59'),(157,NULL,NULL,'partner_company.created','App\\Models\\PartnerCompany',34,'[]','{\"name\":\"\\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','22ea372c-063b-4b03-aaa9-b0c42d22c7cf','2026-08-07 17:28:59'),(158,NULL,NULL,'contract.created','App\\Models\\Contract',24,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 1\",\"status\":\"active\"}','127.0.0.1','Symfony','9923a00e-f856-4a88-b66f-ed56180e9725','2026-08-07 17:28:59'),(159,NULL,NULL,'project.created','App\\Models\\Project',25,'[]','{\"code\":\"PRJ-001\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\"}','127.0.0.1','Symfony','d7bd0ec7-d181-4cdd-be6a-94526f06e82b','2026-08-07 17:28:59'),(160,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',8,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','93d40a3d-f4da-4441-96f2-dfc3b521164a','2026-08-07 17:28:59'),(161,NULL,NULL,'contract.created','App\\Models\\Contract',25,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 2\",\"status\":\"active\"}','127.0.0.1','Symfony','70ecad20-cf4f-4084-aa0b-b397230fb21b','2026-08-07 17:28:59'),(162,NULL,NULL,'project.created','App\\Models\\Project',26,'[]','{\"code\":\"PRJ-002\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\"}','127.0.0.1','Symfony','11f3e7c7-d573-42aa-ad06-7dd48e38b7d0','2026-08-07 17:28:59'),(163,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',9,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','1f235b95-9213-47a3-8b4a-1fc50fc4cb44','2026-08-07 17:28:59'),(164,NULL,NULL,'contract.created','App\\Models\\Contract',26,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 3\",\"status\":\"active\"}','127.0.0.1','Symfony','dd390599-b4a7-4bac-ba0b-d86b557bf7f0','2026-08-07 17:28:59'),(165,NULL,NULL,'project.created','App\\Models\\Project',27,'[]','{\"code\":\"PRJ-003\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','94423a59-d253-4236-91d7-48dbc242ed2d','2026-08-07 17:28:59'),(166,NULL,NULL,'support_period.created','App\\Models\\ContractSupportPeriod',10,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','ddcf8d6e-f12d-45e5-9ee4-31145e15a881','2026-08-07 17:28:59'),(167,NULL,NULL,'contract.created','App\\Models\\Contract',27,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 4\",\"status\":\"active\"}','127.0.0.1','Symfony','9c7200fa-483d-4ed0-9518-544ee6566fd4','2026-08-07 17:28:59'),(168,NULL,NULL,'project.created','App\\Models\\Project',28,'[]','{\"code\":\"PRJ-004\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','f324b37b-faeb-4df5-bf67-0494f7e24d2b','2026-08-07 17:28:59'),(169,NULL,NULL,'contract.created','App\\Models\\Contract',28,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 5\",\"status\":\"active\"}','127.0.0.1','Symfony','65362859-59e8-4284-9900-a1ae61e95e25','2026-08-07 17:28:59'),(170,NULL,NULL,'project.created','App\\Models\\Project',29,'[]','{\"code\":\"PRJ-005\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','61526c5c-103d-4054-bfaf-772a0d5ce3d2','2026-08-07 17:28:59'),(171,NULL,NULL,'contract.created','App\\Models\\Contract',29,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 6\",\"status\":\"active\"}','127.0.0.1','Symfony','2e9c621a-52ba-4483-a26a-81a49316519e','2026-08-07 17:28:59'),(172,NULL,NULL,'project.created','App\\Models\\Project',30,'[]','{\"code\":\"PRJ-006\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','b5262cec-6e47-4987-bc59-6ecbeaff32e6','2026-08-07 17:28:59'),(173,NULL,NULL,'contract.created','App\\Models\\Contract',30,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 7\",\"status\":\"active\"}','127.0.0.1','Symfony','77c6f67a-6f17-4963-af5a-bb148345d8bf','2026-08-07 17:28:59'),(174,NULL,NULL,'project.created','App\\Models\\Project',31,'[]','{\"code\":\"PRJ-007\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\"}','127.0.0.1','Symfony','8fb559cd-0754-413c-ae9d-2dcfee453c6d','2026-08-07 17:28:59'),(175,NULL,NULL,'contract.created','App\\Models\\Contract',31,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 8\",\"status\":\"active\"}','127.0.0.1','Symfony','14cef0b1-e2e3-49e4-bf42-7d64407d6250','2026-08-07 17:28:59'),(176,NULL,NULL,'project.created','App\\Models\\Project',32,'[]','{\"code\":\"PRJ-008\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','7b1790b8-3c82-4fbf-bffa-0baadd75504c','2026-08-07 17:28:59'),(177,NULL,NULL,'contract.created','App\\Models\\Contract',32,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 9\",\"status\":\"active\"}','127.0.0.1','Symfony','60acf04e-5355-486e-b1e8-16ec50bd2784','2026-08-07 17:28:59'),(178,NULL,NULL,'project.created','App\\Models\\Project',33,'[]','{\"code\":\"PRJ-009\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','2f7da379-c9e0-4966-9e24-f4969bb652b0','2026-08-07 17:28:59'),(179,NULL,NULL,'contract.created','App\\Models\\Contract',33,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 10\",\"status\":\"active\"}','127.0.0.1','Symfony','48dd2151-b907-473f-acf1-0887103b30fc','2026-08-07 17:29:00'),(180,NULL,NULL,'project.created','App\\Models\\Project',34,'[]','{\"code\":\"PRJ-010\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\"}','127.0.0.1','Symfony','30bcdbe3-b63d-4997-b92c-7eb9c10dc548','2026-08-07 17:29:00'),(181,NULL,NULL,'quotation.created','App\\Models\\Quotation',9,'[]','{\"number\":\"Q-1405-00001\",\"customer_id\":26}','127.0.0.1','Symfony','400d5e88-1bb3-406a-a8f4-c22e214c57e6','2026-08-07 17:29:01'),(182,NULL,NULL,'quotation.sent','App\\Models\\Quotation',9,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','1f55cd3a-b36d-4efb-bbe1-88dae4d60b2a','2026-08-07 17:29:02'),(183,NULL,NULL,'quotation.approved','App\\Models\\Quotation',9,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','f97e9af8-b9de-4f9c-9691-efdef2b42940','2026-08-07 17:29:02'),(184,NULL,NULL,'quotation.created','App\\Models\\Quotation',10,'[]','{\"number\":\"Q-1405-00002\",\"customer_id\":27}','127.0.0.1','Symfony','422dcecc-a379-48fe-a5f7-7d44d10eeba9','2026-08-07 17:29:02'),(185,NULL,NULL,'quotation.sent','App\\Models\\Quotation',10,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','b6a07459-233f-4db9-a639-078640856121','2026-08-07 17:29:02'),(186,NULL,NULL,'quotation.approved','App\\Models\\Quotation',10,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','78e343fe-1542-4acb-9276-f1bd47e3ceb1','2026-08-07 17:29:02'),(187,NULL,NULL,'quotation.created','App\\Models\\Quotation',11,'[]','{\"number\":\"Q-1405-00003\",\"customer_id\":28}','127.0.0.1','Symfony','783d1e87-904a-4d81-8a35-3df3532b700a','2026-08-07 17:29:02'),(188,NULL,NULL,'quotation.sent','App\\Models\\Quotation',11,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','1890772b-2adb-49b0-ba95-325721d569e5','2026-08-07 17:29:02'),(189,NULL,NULL,'quotation.approved','App\\Models\\Quotation',11,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','c5eaddc0-9255-4e64-96e3-2448f0484ade','2026-08-07 17:29:02'),(190,NULL,NULL,'quotation.created','App\\Models\\Quotation',12,'[]','{\"number\":\"Q-1405-00004\",\"customer_id\":29}','127.0.0.1','Symfony','41abd596-008c-4bc6-b3ca-cdabb696cb00','2026-08-07 17:29:02'),(191,NULL,NULL,'quotation.sent','App\\Models\\Quotation',12,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','78be1f2a-940b-46c6-a972-91707a955630','2026-08-07 17:29:02'),(192,NULL,NULL,'quotation.approved','App\\Models\\Quotation',12,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','57748283-0404-43fc-93ed-ba677d908872','2026-08-07 17:29:02'),(193,NULL,NULL,'quotation.created','App\\Models\\Quotation',13,'[]','{\"number\":\"Q-1405-00005\",\"customer_id\":30}','127.0.0.1','Symfony','8185af70-a4e4-417f-9b74-62f423de559b','2026-08-07 17:29:02'),(194,NULL,NULL,'quotation.sent','App\\Models\\Quotation',13,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','9de96ac5-0805-4833-89d5-821e2c39d7a3','2026-08-07 17:29:02'),(195,NULL,NULL,'quotation.approved','App\\Models\\Quotation',13,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','b6be6b02-d5b5-4fdc-8e6b-ba3cda7350d4','2026-08-07 17:29:02'),(196,NULL,NULL,'quotation.created','App\\Models\\Quotation',14,'[]','{\"number\":\"Q-1405-00006\",\"customer_id\":31}','127.0.0.1','Symfony','02b698af-e753-4cb5-b468-26150f89cb64','2026-08-07 17:29:02'),(197,NULL,NULL,'quotation.sent','App\\Models\\Quotation',14,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','f634913e-5a9d-47e2-9f1f-a9d3d3346a7c','2026-08-07 17:29:02'),(198,NULL,NULL,'quotation.approved','App\\Models\\Quotation',14,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','8fb592ad-f2bb-4f50-9c90-33b64153b974','2026-08-07 17:29:02'),(199,NULL,NULL,'quotation.created','App\\Models\\Quotation',15,'[]','{\"number\":\"Q-1405-00007\",\"customer_id\":32}','127.0.0.1','Symfony','27391288-e871-42c1-b2d9-f390f96e95d6','2026-08-07 17:29:02'),(200,NULL,NULL,'quotation.sent','App\\Models\\Quotation',15,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','bbb563ba-25b9-4a81-b45b-0342fc5fd0bb','2026-08-07 17:29:02'),(201,NULL,NULL,'quotation.rejected','App\\Models\\Quotation',15,'[]','{\"rejected_by\":\"customer\",\"reason\":null}','127.0.0.1','Symfony','abdb3a54-d802-459c-844a-4e2ac0bc70e2','2026-08-07 17:29:02'),(202,NULL,NULL,'quotation.created','App\\Models\\Quotation',16,'[]','{\"number\":\"Q-1405-00008\",\"customer_id\":33}','127.0.0.1','Symfony','086f53af-b900-484f-bc6b-dd603d362f8e','2026-08-07 17:29:02'),(203,NULL,NULL,'quotation.sent','App\\Models\\Quotation',16,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','5114481e-6156-4732-a7ed-eddccd72d3e2','2026-08-07 17:29:02'),(204,NULL,NULL,'quotation.rejected','App\\Models\\Quotation',16,'[]','{\"rejected_by\":\"customer\",\"reason\":null}','127.0.0.1','Symfony','14b74998-4c75-4668-8ca4-c2cbfbf5c3a9','2026-08-07 17:29:02'),(205,NULL,NULL,'quotation.created','App\\Models\\Quotation',17,'[]','{\"number\":\"Q-1405-00009\",\"customer_id\":34}','127.0.0.1','Symfony','912a1fd3-611f-4dc8-a8cc-b98ed3704c26','2026-08-07 17:29:02'),(206,NULL,NULL,'quotation.sent','App\\Models\\Quotation',17,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','24ba91f6-5be0-4135-8824-c0a5db50c5ff','2026-08-07 17:29:03'),(207,NULL,NULL,'quotation.created','App\\Models\\Quotation',18,'[]','{\"number\":\"Q-1405-00010\",\"customer_id\":35}','127.0.0.1','Symfony','8d8d7286-c1c2-486b-8eb7-e83a1bfc4d7e','2026-08-07 17:29:03'),(208,NULL,NULL,'quotation.sent','App\\Models\\Quotation',18,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','cb680c1f-f5b7-4974-9f4a-e50adb048f48','2026-08-07 17:29:03'),(209,NULL,NULL,'quotation.converted_to_deal','App\\Models\\Quotation',9,'[]','{\"deal_id\":3}','127.0.0.1','Symfony','2f68e609-5c2c-4382-97c6-926a6507f3d7','2026-08-07 17:29:04'),(210,NULL,NULL,'deal.won','App\\Models\\Deal',3,'[]','{\"status\":\"won\"}','127.0.0.1','Symfony','eeb73385-9713-41d8-977a-f2133d932757','2026-08-07 17:29:04'),(211,NULL,NULL,'deal.invoice_issued','App\\Models\\Deal',3,'[]','{\"invoice_no\":\"I-1405-00001\"}','127.0.0.1','Symfony','33c8ce83-181c-47aa-be5d-73a9a139cb1e','2026-08-07 17:29:04'),(212,NULL,NULL,'payment.created','App\\Models\\Payment',3,'[]','{\"amount\":\"29430000.00\",\"deal_id\":3}','127.0.0.1','Symfony','8765db98-43a7-41fb-8d0b-49b2561c4399','2026-08-07 17:29:04'),(213,NULL,NULL,'payment.confirmed','App\\Models\\Payment',3,'[]','{\"amount\":\"29430000.00\",\"deal_id\":3}','127.0.0.1','Symfony','df0a1024-9760-411e-9ff5-4bc4ee1ac6d3','2026-08-07 17:29:04'),(214,NULL,NULL,'quotation.converted_to_deal','App\\Models\\Quotation',10,'[]','{\"deal_id\":4}','127.0.0.1','Symfony','58f46b6a-05d9-47ce-aec8-a586a2bdca46','2026-08-07 17:29:04'),(215,NULL,NULL,'deal.won','App\\Models\\Deal',4,'[]','{\"status\":\"won\"}','127.0.0.1','Symfony','eb7234c1-dd16-4221-861b-9102c4266d85','2026-08-07 17:29:04'),(216,NULL,NULL,'deal.invoice_issued','App\\Models\\Deal',4,'[]','{\"invoice_no\":\"I-1405-00002\"}','127.0.0.1','Symfony','1682fbbc-c525-45b7-90f9-5569c7dc73f3','2026-08-07 17:29:05'),(217,NULL,NULL,'payment.created','App\\Models\\Payment',4,'[]','{\"amount\":\"32700000.00\",\"deal_id\":4}','127.0.0.1','Symfony','c88e39ce-aa88-4d17-b2e9-8098809db487','2026-08-07 17:29:05'),(218,NULL,NULL,'payment.confirmed','App\\Models\\Payment',4,'[]','{\"amount\":\"32700000.00\",\"deal_id\":4}','127.0.0.1','Symfony','192a4116-8dcd-4f9a-8384-f9a4b33f52de','2026-08-07 17:29:05'),(219,NULL,NULL,'quotation.converted_to_deal','App\\Models\\Quotation',11,'[]','{\"deal_id\":5}','127.0.0.1','Symfony','d357b0f9-1e45-49d0-a80f-013e1025a6ed','2026-08-07 17:29:05'),(220,NULL,NULL,'deal.stage_moved','App\\Models\\Deal',5,'{\"stage_id\":31}','{\"stage_id\":32}','127.0.0.1','Symfony','6d67ac92-19b3-4634-9d20-feac42241078','2026-08-07 17:29:05'),(221,NULL,NULL,'quotation.converted_to_deal','App\\Models\\Quotation',12,'[]','{\"deal_id\":6}','127.0.0.1','Symfony','8842aeb2-62e7-4fc6-8532-a8b3bc8f52d3','2026-08-07 17:29:05'),(222,NULL,NULL,'deal.stage_moved','App\\Models\\Deal',6,'{\"stage_id\":31}','{\"stage_id\":32}','127.0.0.1','Symfony','860b5f24-a46c-4248-900e-ac5396cbb23d','2026-08-07 17:29:05'),(223,NULL,NULL,'quotation.converted_to_deal','App\\Models\\Quotation',13,'[]','{\"deal_id\":7}','127.0.0.1','Symfony','e90d2ca8-8f41-4265-9afe-dde1eff1f2df','2026-08-07 17:29:05'),(224,NULL,NULL,'quotation.converted_to_deal','App\\Models\\Quotation',14,'[]','{\"deal_id\":8}','127.0.0.1','Symfony','a6ffcbb9-b0d7-4251-aac4-6c6dcfebc612','2026-08-07 17:29:05'),(225,14,33,'partner_company.created','App\\Models\\PartnerCompany',35,'[]','{\"name\":\"\\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','224547e0-f0ce-4b46-87de-b9415ee97aed','2026-08-07 17:33:17'),(226,14,33,'partner_company.created','App\\Models\\PartnerCompany',36,'[]','{\"name\":\"\\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','11cd0a80-a95b-4ef9-9570-d5a90ac3d112','2026-08-07 17:33:17'),(227,14,33,'partner_company.created','App\\Models\\PartnerCompany',37,'[]','{\"name\":\"\\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','efa75db1-4930-437a-8661-0beb0ecdf9e3','2026-08-07 17:33:17'),(228,14,33,'partner_company.created','App\\Models\\PartnerCompany',38,'[]','{\"name\":\"\\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','362872b9-b9ef-42fe-9ccd-739bf791ff0c','2026-08-07 17:33:17'),(229,14,33,'partner_company.created','App\\Models\\PartnerCompany',39,'[]','{\"name\":\"\\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','1f62970d-f947-4c72-bb35-88c62d356188','2026-08-07 17:33:17'),(230,14,33,'partner_company.created','App\\Models\\PartnerCompany',40,'[]','{\"name\":\"\\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','07b43157-a706-474b-aece-8e71e35c1acf','2026-08-07 17:33:17'),(231,14,33,'partner_company.created','App\\Models\\PartnerCompany',41,'[]','{\"name\":\"\\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','1365b344-c9b2-4d80-adef-9945ce76126a','2026-08-07 17:33:17'),(232,14,33,'partner_company.created','App\\Models\\PartnerCompany',42,'[]','{\"name\":\"\\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','89eab816-4b02-4573-ae13-2baaba63ab06','2026-08-07 17:33:17'),(233,14,33,'partner_company.created','App\\Models\\PartnerCompany',43,'[]','{\"name\":\"\\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','bfc6ec48-a721-4e91-a71c-39c2436f4a42','2026-08-07 17:33:17'),(234,14,33,'partner_company.created','App\\Models\\PartnerCompany',44,'[]','{\"name\":\"\\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\",\"contract_status\":null}','127.0.0.1','Symfony','bd421148-d689-4b16-aec3-7ed68f12e38c','2026-08-07 17:33:17'),(235,14,33,'contract.created','App\\Models\\Contract',34,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 1\",\"status\":\"active\"}','127.0.0.1','Symfony','21a6ca0e-b24d-423a-a0ca-1e328b692ea4','2026-08-07 17:33:17'),(236,14,33,'project.created','App\\Models\\Project',35,'[]','{\"code\":\"PRJ-001\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062f\\u0627\\u062f\\u0647\\u200c\\u067e\\u0631\\u062f\\u0627\\u0632\\u0627\\u0646 \\u0622\\u0631\\u06cc\\u0627\",\"status\":\"active\"}','127.0.0.1','Symfony','8c1652d3-9969-4b63-999c-77a256ce5fa8','2026-08-07 17:33:17'),(237,14,33,'support_period.created','App\\Models\\ContractSupportPeriod',11,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','888b5f94-7fec-4405-b499-048b6f2eb54b','2026-08-07 17:33:17'),(238,14,33,'contract.created','App\\Models\\Contract',35,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 2\",\"status\":\"active\"}','127.0.0.1','Symfony','542153f4-0635-420e-8f15-51c1528d6efb','2026-08-07 17:33:17'),(239,14,33,'project.created','App\\Models\\Project',36,'[]','{\"code\":\"PRJ-002\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0628\\u0627\\u0632\\u0631\\u06af\\u0627\\u0646\\u06cc \\u067e\\u0627\\u0631\\u0633 \\u062a\\u062c\\u0627\\u0631\\u062a\",\"status\":\"active\"}','127.0.0.1','Symfony','8218c54b-a2d7-4151-adc6-dfb67ac3785d','2026-08-07 17:33:17'),(240,14,33,'support_period.created','App\\Models\\ContractSupportPeriod',12,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','54b1020b-c6be-42b4-8d58-856b85ce78aa','2026-08-07 17:33:17'),(241,14,33,'contract.created','App\\Models\\Contract',36,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 3\",\"status\":\"active\"}','127.0.0.1','Symfony','025bc901-680e-4f8e-9ff9-ae913969cd3c','2026-08-07 17:33:18'),(242,14,33,'project.created','App\\Models\\Project',37,'[]','{\"code\":\"PRJ-003\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0635\\u0646\\u0627\\u06cc\\u0639 \\u0627\\u0644\\u0628\\u0631\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','3801fe59-1e20-4397-8582-9fafc31b7c20','2026-08-07 17:33:18'),(243,14,33,'support_period.created','App\\Models\\ContractSupportPeriod',13,'[]','{\"title\":\"\\u067e\\u0634\\u062a\\u06cc\\u0628\\u0627\\u0646\\u06cc \\u0627\\u0633\\u062a\\u0627\\u0646\\u062f\\u0627\\u0631\\u062f\"}','127.0.0.1','Symfony','67331e28-28ad-421f-8e25-7795931a29f9','2026-08-07 17:33:18'),(244,14,33,'contract.created','App\\Models\\Contract',37,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 4\",\"status\":\"active\"}','127.0.0.1','Symfony','8a82f949-3f11-41ce-b940-7aa6a61c6f54','2026-08-07 17:33:18'),(245,14,33,'project.created','App\\Models\\Project',38,'[]','{\"code\":\"PRJ-004\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0641\\u0646\\u0627\\u0648\\u0631\\u0627\\u0646 \\u0646\\u0648\\u06cc\\u0646 \\u06a9\\u06cc\\u0647\\u0627\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','d36075d6-89f0-4751-a034-aec333cb9166','2026-08-07 17:33:18'),(246,14,33,'contract.created','App\\Models\\Contract',38,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 5\",\"status\":\"active\"}','127.0.0.1','Symfony','b148b686-757a-46ca-bf7c-e145e7605b82','2026-08-07 17:33:18'),(247,14,33,'project.created','App\\Models\\Project',39,'[]','{\"code\":\"PRJ-005\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u0648\\u0633\\u0639\\u0647 \\u062a\\u062c\\u0627\\u0631\\u062a \\u0633\\u0628\\u0632\",\"status\":\"active\"}','127.0.0.1','Symfony','f1dd6eb1-10e3-4122-b04f-945215698ae0','2026-08-07 17:33:18'),(248,14,33,'contract.created','App\\Models\\Contract',39,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 6\",\"status\":\"active\"}','127.0.0.1','Symfony','2567360b-4df4-4c58-8ed5-0c5c7c8e9f91','2026-08-07 17:33:18'),(249,14,33,'project.created','App\\Models\\Project',40,'[]','{\"code\":\"PRJ-006\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0645\\u0647\\u0631\\u0622\\u0641\\u0631\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','65baa0aa-1ad0-43a1-806e-ba44a55e0776','2026-08-07 17:33:18'),(250,14,33,'contract.created','App\\Models\\Contract',40,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 7\",\"status\":\"active\"}','127.0.0.1','Symfony','da233bfc-4cbe-4eca-a1e8-921cc681f8d8','2026-08-07 17:33:18'),(251,14,33,'project.created','App\\Models\\Project',41,'[]','{\"code\":\"PRJ-007\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u0631\\u0627\\u0647\\u0633\\u0627\\u0632\\u0627\\u0646 \\u062c\\u0646\\u0648\\u0628\",\"status\":\"active\"}','127.0.0.1','Symfony','55ffaae3-ed88-4e27-a98a-e75b96ddf684','2026-08-07 17:33:18'),(252,14,33,'contract.created','App\\Models\\Contract',41,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 8\",\"status\":\"active\"}','127.0.0.1','Symfony','1ce9bad7-86af-49ec-85a8-c425f1afb1ac','2026-08-07 17:33:18'),(253,14,33,'project.created','App\\Models\\Project',42,'[]','{\"code\":\"PRJ-008\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u067e\\u062e\\u0634 \\u0633\\u0631\\u0627\\u0633\\u0631\\u06cc \\u0631\\u0627\\u062f\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','954db6ad-a144-4483-90a4-a46a58ef1f69','2026-08-07 17:33:18'),(254,14,33,'contract.created','App\\Models\\Contract',42,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 9\",\"status\":\"active\"}','127.0.0.1','Symfony','581e14ab-5e90-4ebd-8eaf-5b57b797a1fa','2026-08-07 17:33:18'),(255,14,33,'project.created','App\\Models\\Project',43,'[]','{\"code\":\"PRJ-009\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062e\\u062f\\u0645\\u0627\\u062a \\u0645\\u0627\\u0644\\u06cc \\u0646\\u06af\\u06cc\\u0646\",\"status\":\"active\"}','127.0.0.1','Symfony','134cfacc-6913-4dc1-a085-6134b7f658b0','2026-08-07 17:33:18'),(256,14,33,'contract.created','App\\Models\\Contract',43,'[]','{\"title\":\"\\u0642\\u0631\\u0627\\u0631\\u062f\\u0627\\u062f \\u0647\\u0645\\u06a9\\u0627\\u0631\\u06cc 10\",\"status\":\"active\"}','127.0.0.1','Symfony','40a45937-23b4-4fca-8129-2add0cbd50af','2026-08-07 17:33:18'),(257,14,33,'project.created','App\\Models\\Project',44,'[]','{\"code\":\"PRJ-010\",\"name\":\"\\u067e\\u0631\\u0648\\u0698\\u0647 \\u062a\\u062c\\u0647\\u06cc\\u0632\\u0627\\u062a \\u067e\\u0632\\u0634\\u06a9\\u06cc \\u0633\\u0644\\u0627\\u0645\\u062a\\u200c\\u06af\\u0633\\u062a\\u0631\",\"status\":\"active\"}','127.0.0.1','Symfony','8e9b9e5a-83d6-43f9-b7e5-3e1fd8dfec2b','2026-08-07 17:33:18'),(258,14,33,'quotation.created','App\\Models\\Quotation',19,'[]','{\"number\":\"Q-1405-00001\",\"customer_id\":36}','127.0.0.1','Symfony','fc91f047-8b6d-40c2-b4c8-4b149fd31563','2026-08-07 17:33:18'),(259,14,33,'quotation.sent','App\\Models\\Quotation',19,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','d4bdcc7c-8526-487e-9b36-25b8db126055','2026-08-07 17:33:18'),(260,14,33,'quotation.approved','App\\Models\\Quotation',19,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','28301126-fbb6-4233-9bd1-e57a0fa14995','2026-08-07 17:33:18'),(261,14,33,'quotation.created','App\\Models\\Quotation',20,'[]','{\"number\":\"Q-1405-00002\",\"customer_id\":37}','127.0.0.1','Symfony','c108ca41-c510-40f0-8e07-96cbd7f241cd','2026-08-07 17:33:18'),(262,14,33,'quotation.sent','App\\Models\\Quotation',20,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','9fb49022-6d31-4be8-bc52-c32c6ee9a135','2026-08-07 17:33:19'),(263,14,33,'quotation.approved','App\\Models\\Quotation',20,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','b44aa970-1f7e-47d2-88a4-f13e96f71f48','2026-08-07 17:33:19'),(264,14,33,'quotation.created','App\\Models\\Quotation',21,'[]','{\"number\":\"Q-1405-00003\",\"customer_id\":38}','127.0.0.1','Symfony','99ca8dab-bbda-4c18-8805-f0737b07b619','2026-08-07 17:33:19'),(265,14,33,'quotation.sent','App\\Models\\Quotation',21,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','03f31911-0ec3-4041-970a-f99c669ff0e9','2026-08-07 17:33:19'),(266,14,33,'quotation.approved','App\\Models\\Quotation',21,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','7d2ccc11-d6bb-4c91-a0cd-61a9e5fcb86a','2026-08-07 17:33:19'),(267,14,33,'quotation.created','App\\Models\\Quotation',22,'[]','{\"number\":\"Q-1405-00004\",\"customer_id\":39}','127.0.0.1','Symfony','1db2e715-c3a6-4bb4-a906-22e2e0297f74','2026-08-07 17:33:19'),(268,14,33,'quotation.sent','App\\Models\\Quotation',22,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','d2e1fa3e-82bc-482c-bba5-9b1e4f4e6e03','2026-08-07 17:33:19'),(269,14,33,'quotation.approved','App\\Models\\Quotation',22,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','96727482-6b8e-40c4-bec3-cdf98a87f548','2026-08-07 17:33:19'),(270,14,33,'quotation.created','App\\Models\\Quotation',23,'[]','{\"number\":\"Q-1405-00005\",\"customer_id\":40}','127.0.0.1','Symfony','e889e63d-64a6-49be-8084-7e935460ba04','2026-08-07 17:33:19'),(271,14,33,'quotation.sent','App\\Models\\Quotation',23,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','c2d152ea-3d42-4a48-96d7-3d93562a4699','2026-08-07 17:33:19'),(272,14,33,'quotation.approved','App\\Models\\Quotation',23,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','fdcbe959-1b15-44c8-874b-35ba3932eaec','2026-08-07 17:33:19'),(273,14,33,'quotation.created','App\\Models\\Quotation',24,'[]','{\"number\":\"Q-1405-00006\",\"customer_id\":41}','127.0.0.1','Symfony','852a5362-d40a-49f4-95bc-e3290919da6d','2026-08-07 17:33:19'),(274,14,33,'quotation.sent','App\\Models\\Quotation',24,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','8920a7d9-93a6-440d-b3f9-bb1a4a1e4dbd','2026-08-07 17:33:19'),(275,14,33,'quotation.approved','App\\Models\\Quotation',24,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','173283cf-07d7-4242-a7b0-a4e0af01db2c','2026-08-07 17:33:19'),(276,14,33,'quotation.created','App\\Models\\Quotation',25,'[]','{\"number\":\"Q-1405-00007\",\"customer_id\":42}','127.0.0.1','Symfony','8522e502-8182-4691-9deb-aac5d563a053','2026-08-07 17:33:19'),(277,14,33,'quotation.sent','App\\Models\\Quotation',25,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','b3f55579-9ccc-418d-a718-16e991308849','2026-08-07 17:33:19'),(278,14,33,'quotation.approved','App\\Models\\Quotation',25,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','1dff7878-9108-4726-95ad-59db9a4d3fbd','2026-08-07 17:33:19'),(279,14,33,'quotation.created','App\\Models\\Quotation',26,'[]','{\"number\":\"Q-1405-00008\",\"customer_id\":43}','127.0.0.1','Symfony','2dfcaf60-a398-47bb-89d3-60863ea3ca86','2026-08-07 17:33:19'),(280,14,33,'quotation.sent','App\\Models\\Quotation',26,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','3bd5d9b0-259d-4df5-aa99-29b6dc0af6b4','2026-08-07 17:33:20'),(281,14,33,'quotation.approved','App\\Models\\Quotation',26,'[]','{\"approved_by\":\"customer\"}','127.0.0.1','Symfony','cf0ba1af-dae8-455c-b434-f846600cb761','2026-08-07 17:33:20'),(282,14,33,'quotation.created','App\\Models\\Quotation',27,'[]','{\"number\":\"Q-1405-00009\",\"customer_id\":44}','127.0.0.1','Symfony','7c3e5849-0862-4337-8d59-c099ee4ab442','2026-08-07 17:33:20'),(283,14,33,'quotation.sent','App\\Models\\Quotation',27,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','1785434f-da63-45ec-958b-1a43b191c3f7','2026-08-07 17:33:20'),(284,14,33,'quotation.rejected','App\\Models\\Quotation',27,'[]','{\"rejected_by\":\"customer\",\"reason\":null}','127.0.0.1','Symfony','41b23832-9b1f-49be-94bc-0aa992549065','2026-08-07 17:33:20'),(285,14,33,'quotation.created','App\\Models\\Quotation',28,'[]','{\"number\":\"Q-1405-00010\",\"customer_id\":45}','127.0.0.1','Symfony','7be7b6fd-e455-41c7-b48b-209459726092','2026-08-07 17:33:20'),(286,14,33,'quotation.sent','App\\Models\\Quotation',28,'[]','{\"status\":\"sent\"}','127.0.0.1','Symfony','d66c02d8-712b-4e1e-80cd-8b70b4ebc494','2026-08-07 17:33:20'),(287,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',19,'[]','{\"deal_id\":9}','127.0.0.1','Symfony','f51da62b-9142-4583-9315-6624a90d8acb','2026-08-07 17:33:20'),(288,14,33,'deal.won','App\\Models\\Deal',9,'[]','{\"status\":\"won\"}','127.0.0.1','Symfony','7238b5ec-2e58-4b01-a1b0-d180b4da6fd3','2026-08-07 17:33:20'),(289,14,33,'deal.invoice_issued','App\\Models\\Deal',9,'[]','{\"invoice_no\":\"I-1405-00001\"}','127.0.0.1','Symfony','726348a5-37a0-41ef-a2a7-693e25f38a42','2026-08-07 17:33:20'),(290,14,33,'payment.created','App\\Models\\Payment',5,'[]','{\"amount\":\"45780000.00\",\"deal_id\":9}','127.0.0.1','Symfony','8d9abff2-5f52-413e-a59b-17769e9fd9af','2026-08-07 17:33:20'),(291,14,33,'payment.confirmed','App\\Models\\Payment',5,'[]','{\"amount\":\"45780000.00\",\"deal_id\":9}','127.0.0.1','Symfony','30a4b9f5-76e7-4859-b076-1e1bdac3e7b8','2026-08-07 17:33:20'),(292,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',20,'[]','{\"deal_id\":10}','127.0.0.1','Symfony','3292815a-67ac-4ee1-b7e3-f42bc70e3fa4','2026-08-07 17:33:21'),(293,14,33,'deal.won','App\\Models\\Deal',10,'[]','{\"status\":\"won\"}','127.0.0.1','Symfony','0c58aeb7-0741-452b-8ebe-2914244452ab','2026-08-07 17:33:21'),(294,14,33,'deal.invoice_issued','App\\Models\\Deal',10,'[]','{\"invoice_no\":\"I-1405-00002\"}','127.0.0.1','Symfony','8f3668ce-1e82-4aec-9259-f3259b21df39','2026-08-07 17:33:21'),(295,14,33,'payment.created','App\\Models\\Payment',6,'[]','{\"amount\":\"25070000.00\",\"deal_id\":10}','127.0.0.1','Symfony','7d1bf847-dd01-4fdf-932f-f9f8767bbe0b','2026-08-07 17:33:21'),(296,14,33,'payment.confirmed','App\\Models\\Payment',6,'[]','{\"amount\":\"25070000.00\",\"deal_id\":10}','127.0.0.1','Symfony','af177d89-c695-42c4-b8a7-1c1af384df2c','2026-08-07 17:33:21'),(297,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',21,'[]','{\"deal_id\":11}','127.0.0.1','Symfony','d95292fc-1569-4cdc-8aa9-dd823e8c59f6','2026-08-07 17:33:21'),(298,14,33,'deal.stage_moved','App\\Models\\Deal',11,'{\"stage_id\":35}','{\"stage_id\":36}','127.0.0.1','Symfony','1c6770b7-60ec-4eb1-88e8-4bda1fa8eca1','2026-08-07 17:33:21'),(299,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',22,'[]','{\"deal_id\":12}','127.0.0.1','Symfony','50af9755-97d7-4d00-8a51-7a060233cb6e','2026-08-07 17:33:21'),(300,14,33,'deal.stage_moved','App\\Models\\Deal',12,'{\"stage_id\":35}','{\"stage_id\":36}','127.0.0.1','Symfony','810f26ef-25ab-4a11-8863-6433e52a6040','2026-08-07 17:33:21'),(301,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',23,'[]','{\"deal_id\":13}','127.0.0.1','Symfony','fcd6831b-b81b-47e6-9632-5f05d807de3d','2026-08-07 17:33:21'),(302,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',24,'[]','{\"deal_id\":14}','127.0.0.1','Symfony','637171b7-9f69-42ee-97b1-897682ac23fe','2026-08-07 17:33:21'),(303,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',25,'[]','{\"deal_id\":15}','127.0.0.1','Symfony','e0d9d83d-39bd-4920-87d9-c7bd29fa9877','2026-08-07 17:33:21'),(304,14,33,'quotation.converted_to_deal','App\\Models\\Quotation',26,'[]','{\"deal_id\":16}','127.0.0.1','Symfony','fe158371-39ee-4e4f-b927-bebdac83cfed','2026-08-07 17:33:22'),(305,3,6,'quotation.created','App\\Models\\Quotation',29,'[]','{\"number\":\"Q-1405-00003\",\"customer_id\":\"4\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','6ab3dc24-e5ae-4fde-bb49-2401512b22c6','2026-08-11 14:10:40'),(306,14,33,'quotation.created','App\\Models\\Quotation',30,'[]','{\"number\":\"Q-1405-00011\",\"customer_id\":\"44\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','5c6419cb-bbf1-402f-bb4c-2f6feb67ff36','2026-08-11 15:01:35'),(307,14,33,'quotation.sent','App\\Models\\Quotation',30,'[]','{\"status\":\"sent\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','7243f681-5a8a-4b11-b02f-bc639e2f9a2a','2026-08-11 15:01:49'),(308,14,33,'commission_entry.reviewed','App\\Models\\CommissionEntry',16,'[]','{\"status\":\"pending_review\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','30d01c5c-31fe-41b9-8b05-f7580fc87578','2026-08-11 15:02:48'),(309,14,33,'commission_entry.approved','App\\Models\\CommissionEntry',16,'[]','{\"status\":\"payable\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','dbcd21c5-4851-43e2-9b39-3117a115320f','2026-08-11 15:03:01'),(310,14,33,'settlement.created','App\\Models\\Settlement',3,'[]','{\"total_amount\":\"569700.00\",\"entry_count\":1}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','0f45212f-59d6-4340-ab1b-aa256b19707e','2026-08-11 15:03:37'),(311,14,33,'settlement.confirmed','App\\Models\\Settlement',3,'[]','{\"total_amount\":\"569700.00\"}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','88a9efbd-ebfe-4b50-b146-ea1a002b8a95','2026-08-11 15:03:41'),(312,14,33,'deal.stage_moved','App\\Models\\Deal',11,'{\"stage_id\":36}','{\"stage_id\":38}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','337d0fc7-30b9-4b35-8c62-9c30f818812f','2026-08-11 15:22:14'),(313,14,33,'quotation.revision_created','App\\Models\\Quotation',31,'{\"superseded_quotation_id\":30}','{\"revision_quotation_id\":31,\"version_no\":2}','127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','b4c0811b-5c2d-4760-8115-5007c0f9029d','2026-08-13 11:58:11');
/*!40000 ALTER TABLE `audit_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cache`
--

DROP TABLE IF EXISTS `cache`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cache` (
  `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `expiration` int NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_expiration_index` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cache`
--

LOCK TABLES `cache` WRITE;
/*!40000 ALTER TABLE `cache` DISABLE KEYS */;
INSERT INTO `cache` VALUES ('lymosy-cache-5b384ce32d8cdef02bc3a139d4cac0a22bb029e8','i:2;',1787064621),('lymosy-cache-5b384ce32d8cdef02bc3a139d4cac0a22bb029e8:timer','i:1787064621;',1787064621),('lymosy-cache-972a67c48192728a34979d9a35164c1295401b71','i:3;',1787064589),('lymosy-cache-972a67c48192728a34979d9a35164c1295401b71:timer','i:1787064589;',1787064589),('lymosy-cache-b6692ea5df920cad691c20319a6fffd7a4a766b8','i:1;',1787314272),('lymosy-cache-b6692ea5df920cad691c20319a6fffd7a4a766b8:timer','i:1787314272;',1787314272),('lymosy-cache-cb7a1d775e800fd1ee4049f7dca9e041eb9ba083','i:2;',1787064613),('lymosy-cache-cb7a1d775e800fd1ee4049f7dca9e041eb9ba083:timer','i:1787064613;',1787064613),('lymosy-cache-dashboard:analytics:activity:14:8ff1ae887535972520d3f9c6a0f7e13e','a:6:{s:7:\"pending\";i:7;s:7:\"overdue\";i:7;s:5:\"today\";i:0;s:13:\"meetingsToday\";i:0;s:12:\"plannedCalls\";i:0;s:9:\"openTasks\";i:2;}',1787064596),('lymosy-cache-dashboard:analytics:activity:14:f1ee2273ed4113ca32b41d78e0af2614','a:6:{s:7:\"pending\";i:7;s:7:\"overdue\";i:7;s:5:\"today\";i:0;s:13:\"meetingsToday\";i:0;s:12:\"plannedCalls\";i:0;s:9:\"openTasks\";i:2;}',1787064565),('lymosy-cache-dashboard:analytics:aging:14:8ff1ae887535972520d3f9c6a0f7e13e','a:6:{i:0;a:5:{s:5:\"label\";s:17:\"۰ تا ۷ روز\";s:3:\"min\";i:0;s:3:\"max\";i:7;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:1;a:5:{s:5:\"label\";s:19:\"۸ تا ۱۴ روز\";s:3:\"min\";i:8;s:3:\"max\";i:14;s:5:\"count\";i:8;s:6:\"amount\";d:323730000;}i:2;a:5:{s:5:\"label\";s:21:\"۱۵ تا ۳۰ روز\";s:3:\"min\";i:15;s:3:\"max\";i:30;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:3;a:5:{s:5:\"label\";s:21:\"۳۱ تا ۶۰ روز\";s:3:\"min\";i:31;s:3:\"max\";i:60;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:4;a:5:{s:5:\"label\";s:21:\"۶۱ تا ۹۰ روز\";s:3:\"min\";i:61;s:3:\"max\";i:90;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:5;a:5:{s:5:\"label\";s:23:\"بیش از ۹۰ روز\";s:3:\"min\";i:91;s:3:\"max\";N;s:5:\"count\";i:0;s:6:\"amount\";d:0;}}',1787064596),('lymosy-cache-dashboard:analytics:aging:14:f1ee2273ed4113ca32b41d78e0af2614','a:6:{i:0;a:5:{s:5:\"label\";s:17:\"۰ تا ۷ روز\";s:3:\"min\";i:0;s:3:\"max\";i:7;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:1;a:5:{s:5:\"label\";s:19:\"۸ تا ۱۴ روز\";s:3:\"min\";i:8;s:3:\"max\";i:14;s:5:\"count\";i:8;s:6:\"amount\";d:323730000;}i:2;a:5:{s:5:\"label\";s:21:\"۱۵ تا ۳۰ روز\";s:3:\"min\";i:15;s:3:\"max\";i:30;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:3;a:5:{s:5:\"label\";s:21:\"۳۱ تا ۶۰ روز\";s:3:\"min\";i:31;s:3:\"max\";i:60;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:4;a:5:{s:5:\"label\";s:21:\"۶۱ تا ۹۰ روز\";s:3:\"min\";i:61;s:3:\"max\";i:90;s:5:\"count\";i:0;s:6:\"amount\";d:0;}i:5;a:5:{s:5:\"label\";s:23:\"بیش از ۹۰ روز\";s:3:\"min\";i:91;s:3:\"max\";N;s:5:\"count\";i:0;s:6:\"amount\";d:0;}}',1787064565),('lymosy-cache-dashboard:analytics:attention:14:8ff1ae887535972520d3f9c6a0f7e13e:8','a:8:{i:0;a:6:{s:4:\"kind\";s:16:\"overdue_followup\";s:5:\"label\";s:34:\"پیگیری عقب‌افتاده\";s:5:\"title\";s:30:\"تماس معرفی محصول\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/36\";s:4:\"tone\";s:4:\"rose\";}i:1;a:6:{s:4:\"kind\";s:16:\"overdue_followup\";s:5:\"label\";s:34:\"پیگیری عقب‌افتاده\";s:5:\"title\";s:28:\"جلسه دمو آنلاین\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/37\";s:4:\"tone\";s:4:\"rose\";}i:2;a:6:{s:4:\"kind\";s:16:\"overdue_followup\";s:5:\"label\";s:34:\"پیگیری عقب‌افتاده\";s:5:\"title\";s:47:\"پیگیری پیش‌فاکتور ارسالی\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/38\";s:4:\"tone\";s:4:\"rose\";}i:3;a:6:{s:4:\"kind\";s:10:\"stale_deal\";s:5:\"label\";s:43:\"معامله بدون فعالیت اخیر\";s:5:\"title\";s:48:\"فروش از پیش‌فاکتور Q-1405-00005\";s:4:\"meta\";s:11:\"156,960,000\";s:3:\"url\";s:30:\"http://localhost:8123/deals/13\";s:4:\"tone\";s:5:\"amber\";}i:4;a:6:{s:4:\"kind\";s:10:\"stale_deal\";s:5:\"label\";s:43:\"معامله بدون فعالیت اخیر\";s:5:\"title\";s:48:\"فروش از پیش‌فاکتور Q-1405-00006\";s:4:\"meta\";s:10:\"74,120,000\";s:3:\"url\";s:30:\"http://localhost:8123/deals/14\";s:4:\"tone\";s:5:\"amber\";}i:5;a:6:{s:4:\"kind\";s:10:\"stale_deal\";s:5:\"label\";s:43:\"معامله بدون فعالیت اخیر\";s:5:\"title\";s:48:\"فروش از پیش‌فاکتور Q-1405-00007\";s:4:\"meta\";s:10:\"52,320,000\";s:3:\"url\";s:30:\"http://localhost:8123/deals/15\";s:4:\"tone\";s:5:\"amber\";}i:6;a:6:{s:4:\"kind\";s:14:\"untouched_lead\";s:5:\"label\";s:26:\"سرنخ بدون تماس\";s:5:\"title\";s:17:\"علی محمدی\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/36\";s:4:\"tone\";s:5:\"muted\";}i:7;a:6:{s:4:\"kind\";s:14:\"untouched_lead\";s:5:\"label\";s:26:\"سرنخ بدون تماس\";s:5:\"title\";s:19:\"سارا احمدی\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/37\";s:4:\"tone\";s:5:\"muted\";}}',1787064596),('lymosy-cache-dashboard:analytics:attention:14:f1ee2273ed4113ca32b41d78e0af2614:8','a:8:{i:0;a:6:{s:4:\"kind\";s:16:\"overdue_followup\";s:5:\"label\";s:34:\"پیگیری عقب‌افتاده\";s:5:\"title\";s:30:\"تماس معرفی محصول\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/36\";s:4:\"tone\";s:4:\"rose\";}i:1;a:6:{s:4:\"kind\";s:16:\"overdue_followup\";s:5:\"label\";s:34:\"پیگیری عقب‌افتاده\";s:5:\"title\";s:28:\"جلسه دمو آنلاین\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/37\";s:4:\"tone\";s:4:\"rose\";}i:2;a:6:{s:4:\"kind\";s:16:\"overdue_followup\";s:5:\"label\";s:34:\"پیگیری عقب‌افتاده\";s:5:\"title\";s:47:\"پیگیری پیش‌فاکتور ارسالی\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/38\";s:4:\"tone\";s:4:\"rose\";}i:3;a:6:{s:4:\"kind\";s:10:\"stale_deal\";s:5:\"label\";s:43:\"معامله بدون فعالیت اخیر\";s:5:\"title\";s:48:\"فروش از پیش‌فاکتور Q-1405-00005\";s:4:\"meta\";s:11:\"156,960,000\";s:3:\"url\";s:30:\"http://localhost:8123/deals/13\";s:4:\"tone\";s:5:\"amber\";}i:4;a:6:{s:4:\"kind\";s:10:\"stale_deal\";s:5:\"label\";s:43:\"معامله بدون فعالیت اخیر\";s:5:\"title\";s:48:\"فروش از پیش‌فاکتور Q-1405-00006\";s:4:\"meta\";s:10:\"74,120,000\";s:3:\"url\";s:30:\"http://localhost:8123/deals/14\";s:4:\"tone\";s:5:\"amber\";}i:5;a:6:{s:4:\"kind\";s:10:\"stale_deal\";s:5:\"label\";s:43:\"معامله بدون فعالیت اخیر\";s:5:\"title\";s:48:\"فروش از پیش‌فاکتور Q-1405-00007\";s:4:\"meta\";s:10:\"52,320,000\";s:3:\"url\";s:30:\"http://localhost:8123/deals/15\";s:4:\"tone\";s:5:\"amber\";}i:6;a:6:{s:4:\"kind\";s:14:\"untouched_lead\";s:5:\"label\";s:26:\"سرنخ بدون تماس\";s:5:\"title\";s:17:\"علی محمدی\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/36\";s:4:\"tone\";s:5:\"muted\";}i:7;a:6:{s:4:\"kind\";s:14:\"untouched_lead\";s:5:\"label\";s:26:\"سرنخ بدون تماس\";s:5:\"title\";s:19:\"سارا احمدی\";s:4:\"meta\";s:17:\"1 هفته پیش\";s:3:\"url\";s:34:\"http://localhost:8123/customers/37\";s:4:\"tone\";s:5:\"muted\";}}',1787064565),('lymosy-cache-dashboard:analytics:forecast:14:8ff1ae887535972520d3f9c6a0f7e13e','a:4:{s:13:\"totalPipeline\";d:465430000;s:12:\"openPipeline\";d:323730000;s:16:\"weightedForecast\";d:91887000;s:9:\"closedWon\";d:141700000;}',1787064596),('lymosy-cache-dashboard:analytics:forecast:14:f1ee2273ed4113ca32b41d78e0af2614','a:4:{s:13:\"totalPipeline\";d:465430000;s:12:\"openPipeline\";d:323730000;s:16:\"weightedForecast\";d:91887000;s:9:\"closedWon\";d:141700000;}',1787064565),('lymosy-cache-dashboard:analytics:funnel:14:8ff1ae887535972520d3f9c6a0f7e13e','a:4:{i:0;a:10:{s:2:\"id\";i:35;s:4:\"name\";s:12:\"مذاکره\";s:5:\"color\";N;s:5:\"isWon\";b:0;s:6:\"isLost\";b:0;s:11:\"probability\";i:30;s:5:\"count\";i:5;s:6:\"amount\";d:293210000;s:8:\"stepRate\";N;s:9:\"totalRate\";d:100;}i:1;a:10:{s:2:\"id\";i:36;s:4:\"name\";s:34:\"پیشنهاد ارسال‌شده\";s:5:\"color\";N;s:5:\"isWon\";b:0;s:6:\"isLost\";b:0;s:11:\"probability\";i:60;s:5:\"count\";i:2;s:6:\"amount\";d:6540000;s:8:\"stepRate\";d:40;s:9:\"totalRate\";d:40;}i:2;a:10:{s:2:\"id\";i:37;s:4:\"name\";s:10:\"برنده\";s:5:\"color\";N;s:5:\"isWon\";b:1;s:6:\"isLost\";b:0;s:11:\"probability\";i:100;s:5:\"count\";i:2;s:6:\"amount\";d:141700000;s:8:\"stepRate\";d:100;s:9:\"totalRate\";d:40;}i:3;a:10:{s:2:\"id\";i:38;s:4:\"name\";s:21:\"ازدست‌رفته\";s:5:\"color\";N;s:5:\"isWon\";b:0;s:6:\"isLost\";b:1;s:11:\"probability\";i:0;s:5:\"count\";i:1;s:6:\"amount\";d:23980000;s:8:\"stepRate\";d:50;s:9:\"totalRate\";d:20;}}',1787064596),('lymosy-cache-dashboard:analytics:funnel:14:f1ee2273ed4113ca32b41d78e0af2614','a:4:{i:0;a:10:{s:2:\"id\";i:35;s:4:\"name\";s:12:\"مذاکره\";s:5:\"color\";N;s:5:\"isWon\";b:0;s:6:\"isLost\";b:0;s:11:\"probability\";i:30;s:5:\"count\";i:5;s:6:\"amount\";d:293210000;s:8:\"stepRate\";N;s:9:\"totalRate\";d:100;}i:1;a:10:{s:2:\"id\";i:36;s:4:\"name\";s:34:\"پیشنهاد ارسال‌شده\";s:5:\"color\";N;s:5:\"isWon\";b:0;s:6:\"isLost\";b:0;s:11:\"probability\";i:60;s:5:\"count\";i:2;s:6:\"amount\";d:6540000;s:8:\"stepRate\";d:40;s:9:\"totalRate\";d:40;}i:2;a:10:{s:2:\"id\";i:37;s:4:\"name\";s:10:\"برنده\";s:5:\"color\";N;s:5:\"isWon\";b:1;s:6:\"isLost\";b:0;s:11:\"probability\";i:100;s:5:\"count\";i:2;s:6:\"amount\";d:141700000;s:8:\"stepRate\";d:100;s:9:\"totalRate\";d:40;}i:3;a:10:{s:2:\"id\";i:38;s:4:\"name\";s:21:\"ازدست‌رفته\";s:5:\"color\";N;s:5:\"isWon\";b:0;s:6:\"isLost\";b:1;s:11:\"probability\";i:0;s:5:\"count\";i:1;s:6:\"amount\";d:23980000;s:8:\"stepRate\";d:50;s:9:\"totalRate\";d:20;}}',1787064565),('lymosy-cache-dashboard:analytics:geo:14:8ff1ae887535972520d3f9c6a0f7e13e:10','a:0:{}',1787064596),('lymosy-cache-dashboard:analytics:geo:14:f1ee2273ed4113ca32b41d78e0af2614:10','a:0:{}',1787064565),('lymosy-cache-dashboard:analytics:kpis:14:8ff1ae887535972520d3f9c6a0f7e13e','a:11:{s:8:\"newLeads\";a:3:{s:5:\"value\";i:10;s:8:\"previous\";i:0;s:6:\"change\";N;}s:12:\"newCustomers\";a:3:{s:5:\"value\";i:10;s:8:\"previous\";i:0;s:6:\"change\";N;}s:18:\"convertedCustomers\";a:3:{s:5:\"value\";i:0;s:8:\"previous\";i:0;s:6:\"change\";N;}s:14:\"conversionRate\";a:3:{s:5:\"value\";d:0;s:8:\"previous\";d:0;s:6:\"change\";N;}s:9:\"openDeals\";a:3:{s:5:\"value\";i:8;s:8:\"previous\";i:0;s:6:\"change\";N;}s:15:\"openDealsAmount\";a:3:{s:5:\"value\";d:323730000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:8:\"wonDeals\";a:3:{s:5:\"value\";i:2;s:8:\"previous\";i:0;s:6:\"change\";N;}s:9:\"wonAmount\";a:3:{s:5:\"value\";d:141700000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:9:\"wonProfit\";a:3:{s:5:\"value\";d:130000000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:9:\"collected\";a:3:{s:5:\"value\";d:70850000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:11:\"outstanding\";a:3:{s:5:\"value\";d:394580000;s:8:\"previous\";d:0;s:6:\"change\";N;}}',1787064596),('lymosy-cache-dashboard:analytics:kpis:14:f1ee2273ed4113ca32b41d78e0af2614','a:11:{s:8:\"newLeads\";a:3:{s:5:\"value\";i:10;s:8:\"previous\";i:0;s:6:\"change\";N;}s:12:\"newCustomers\";a:3:{s:5:\"value\";i:10;s:8:\"previous\";i:0;s:6:\"change\";N;}s:18:\"convertedCustomers\";a:3:{s:5:\"value\";i:0;s:8:\"previous\";i:0;s:6:\"change\";N;}s:14:\"conversionRate\";a:3:{s:5:\"value\";d:0;s:8:\"previous\";d:0;s:6:\"change\";N;}s:9:\"openDeals\";a:3:{s:5:\"value\";i:8;s:8:\"previous\";i:0;s:6:\"change\";N;}s:15:\"openDealsAmount\";a:3:{s:5:\"value\";d:323730000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:8:\"wonDeals\";a:3:{s:5:\"value\";i:2;s:8:\"previous\";i:0;s:6:\"change\";N;}s:9:\"wonAmount\";a:3:{s:5:\"value\";d:141700000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:9:\"wonProfit\";a:3:{s:5:\"value\";d:130000000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:9:\"collected\";a:3:{s:5:\"value\";d:70850000;s:8:\"previous\";d:0;s:6:\"change\";N;}s:11:\"outstanding\";a:3:{s:5:\"value\";d:394580000;s:8:\"previous\";d:0;s:6:\"change\";N;}}',1787064565),('lymosy-cache-dashboard:analytics:lost:14:8ff1ae887535972520d3f9c6a0f7e13e','a:3:{s:9:\"lostTotal\";i:0;s:11:\"unspecified\";i:0;s:4:\"rows\";a:0:{}}',1787064596),('lymosy-cache-dashboard:analytics:lost:14:f1ee2273ed4113ca32b41d78e0af2614','a:3:{s:9:\"lostTotal\";i:0;s:11:\"unspecified\";i:0;s:4:\"rows\";a:0:{}}',1787064565),('lymosy-cache-dashboard:analytics:products:14:8ff1ae887535972520d3f9c6a0f7e13e:8','a:2:{i:0;a:4:{s:4:\"name\";s:34:\"بسته پیاده‌سازی CRM\";s:7:\"revenue\";d:91560000;s:3:\"qty\";d:4;s:5:\"deals\";i:1;}i:1;a:4:{s:4:\"name\";s:45:\"لایسنس سالانه نرم‌افزار\";s:7:\"revenue\";d:50140000;s:3:\"qty\";d:2;s:5:\"deals\";i:1;}}',1787064596),('lymosy-cache-dashboard:analytics:products:14:f1ee2273ed4113ca32b41d78e0af2614:8','a:2:{i:0;a:4:{s:4:\"name\";s:34:\"بسته پیاده‌سازی CRM\";s:7:\"revenue\";d:91560000;s:3:\"qty\";d:4;s:5:\"deals\";i:1;}i:1;a:4:{s:4:\"name\";s:45:\"لایسنس سالانه نرم‌افزار\";s:7:\"revenue\";d:50140000;s:3:\"qty\";d:2;s:5:\"deals\";i:1;}}',1787064565),('lymosy-cache-dashboard:analytics:retention:14:8ff1ae887535972520d3f9c6a0f7e13e','a:1:{i:0;a:3:{s:5:\"label\";s:10:\"2026-08-07\";s:3:\"new\";i:10;s:9:\"returning\";i:0;}}',1787064596),('lymosy-cache-dashboard:analytics:retention:14:f1ee2273ed4113ca32b41d78e0af2614','a:1:{i:0;a:3:{s:5:\"label\";s:10:\"2026-08-07\";s:3:\"new\";i:10;s:9:\"returning\";i:0;}}',1787064565),('lymosy-cache-dashboard:analytics:sellers:14:f1ee2273ed4113ca32b41d78e0af2614','a:1:{i:0;a:9:{s:6:\"userId\";i:35;s:4:\"name\";s:21:\"فروشنده دمو\";s:5:\"leads\";i:10;s:5:\"deals\";i:10;s:8:\"wonDeals\";i:2;s:9:\"openDeals\";i:8;s:9:\"wonAmount\";d:141700000;s:10:\"activities\";i:10;s:14:\"conversionRate\";d:20;}}',1787064565),('lymosy-cache-dashboard:analytics:sources:14:8ff1ae887535972520d3f9c6a0f7e13e','a:1:{i:0;a:6:{s:2:\"id\";N;s:4:\"name\";s:12:\"نامشخص\";s:5:\"leads\";i:10;s:9:\"converted\";i:0;s:14:\"conversionRate\";d:0;s:7:\"revenue\";d:141700000;}}',1787064596),('lymosy-cache-dashboard:analytics:sources:14:f1ee2273ed4113ca32b41d78e0af2614','a:1:{i:0;a:6:{s:2:\"id\";N;s:4:\"name\";s:12:\"نامشخص\";s:5:\"leads\";i:10;s:9:\"converted\";i:0;s:14:\"conversionRate\";d:0;s:7:\"revenue\";d:141700000;}}',1787064565),('lymosy-cache-dashboard:analytics:targets:14:8ff1ae887535972520d3f9c6a0f7e13e','a:4:{s:6:\"months\";a:0:{}s:6:\"target\";d:0;s:6:\"actual\";d:0;s:10:\"hasTargets\";b:0;}',1787064596),('lymosy-cache-dashboard:analytics:targets:14:f1ee2273ed4113ca32b41d78e0af2614','a:4:{s:6:\"months\";a:0:{}s:6:\"target\";d:0;s:6:\"actual\";d:0;s:10:\"hasTargets\";b:0;}',1787064565),('lymosy-cache-dashboard:analytics:trend:14:8ff1ae887535972520d3f9c6a0f7e13e','a:2:{s:11:\"granularity\";s:3:\"day\";s:6:\"points\";a:1:{i:0;a:3:{s:5:\"label\";s:10:\"2026-08-07\";s:5:\"total\";d:141700000;s:5:\"deals\";i:2;}}}',1787064596),('lymosy-cache-dashboard:analytics:trend:14:f1ee2273ed4113ca32b41d78e0af2614','a:2:{s:11:\"granularity\";s:3:\"day\";s:6:\"points\";a:1:{i:0;a:3:{s:5:\"label\";s:10:\"2026-08-07\";s:5:\"total\";d:141700000;s:5:\"deals\";i:2;}}}',1787064565),('lymosy-cache-dashboard:finance:14','a:8:{s:19:\"confirmedSalesTotal\";d:141700000;s:14:\"collectedTotal\";d:70850000;s:14:\"remainingTotal\";d:394580000;s:22:\"commissionPendingTotal\";d:24370400;s:22:\"commissionPayableTotal\";d:0;s:19:\"commissionPaidTotal\";d:569700;s:23:\"settlementsPendingCount\";i:0;s:25:\"settlementsConfirmedTotal\";d:569700;}',1787064600),('lymosy-cache-dashboard:manager:14','a:10:{s:17:\"newCustomersCount\";i:10;s:14:\"conversionRate\";d:66.7;s:10:\"salesTotal\";d:141700000;s:14:\"collectedTotal\";d:70850000;s:14:\"remainingTotal\";d:394580000;s:15:\"sellerBreakdown\";a:1:{i:0;a:3:{s:4:\"name\";s:21:\"فروشنده دمو\";s:5:\"sales\";d:141700000;s:5:\"deals\";i:2;}}s:19:\"openQuotationsCount\";i:1;s:23:\"forgottenCustomersCount\";i:10;s:11:\"profitTotal\";d:130000000;s:10:\"salesTrend\";a:6:{i:0;a:2:{s:5:\"label\";s:10:\"اسفند\";s:5:\"total\";d:0;}i:1;a:2:{s:5:\"label\";s:14:\"فروردین\";s:5:\"total\";d:0;}i:2;a:2:{s:5:\"label\";s:16:\"اردیبهشت\";s:5:\"total\";d:0;}i:3;a:2:{s:5:\"label\";s:10:\"خرداد\";s:5:\"total\";d:0;}i:4;a:2:{s:5:\"label\";s:6:\"تیر\";s:5:\"total\";d:0;}i:5;a:2:{s:5:\"label\";s:10:\"مرداد\";s:5:\"total\";d:141700000;}}}',1787064560),('lymosy-cache-dashboard:seller:14:35','a:8:{s:15:\"todayActivities\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:17:\"overdueActivities\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:7:{i:0;O:19:\"App\\Models\\Activity\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:10:\"activities\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:21:{s:2:\"id\";i:25;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:36;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"call\";s:7:\"subject\";s:30:\"تماس معرفی محصول\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:3:\"low\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-04 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:11:\"\0*\0original\";a:21:{s:2:\"id\";i:25;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:36;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"call\";s:7:\"subject\";s:30:\"تماس معرفی محصول\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:3:\"low\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-04 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:9:{s:4:\"type\";s:22:\"App\\Enums\\ActivityType\";s:6:\"status\";s:24:\"App\\Enums\\ActivityStatus\";s:8:\"priority\";s:26:\"App\\Enums\\ActivityPriority\";s:10:\"started_at\";s:8:\"datetime\";s:6:\"due_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:11:\"reminded_at\";s:8:\"datetime\";s:8:\"metadata\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:17:{i:0;s:11:\"customer_id\";i:1;s:7:\"deal_id\";i:2;s:12:\"quotation_id\";i:3;s:7:\"user_id\";i:4;s:11:\"assigned_to\";i:5;s:4:\"type\";i:6;s:7:\"subject\";i:7;s:11:\"description\";i:8;s:6:\"result\";i:9;s:6:\"status\";i:10;s:8:\"priority\";i:11;s:10:\"started_at\";i:12;s:6:\"due_at\";i:13;s:12:\"completed_at\";i:14;s:16:\"next_followup_at\";i:15;s:11:\"reminded_at\";i:16;s:8:\"metadata\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:1;O:19:\"App\\Models\\Activity\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:10:\"activities\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:21:{s:2:\"id\";i:26;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:37;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:7:\"meeting\";s:7:\"subject\";s:28:\"جلسه دمو آنلاین\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:6:\"medium\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-05 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:11:\"\0*\0original\";a:21:{s:2:\"id\";i:26;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:37;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:7:\"meeting\";s:7:\"subject\";s:28:\"جلسه دمو آنلاین\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:6:\"medium\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-05 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:9:{s:4:\"type\";s:22:\"App\\Enums\\ActivityType\";s:6:\"status\";s:24:\"App\\Enums\\ActivityStatus\";s:8:\"priority\";s:26:\"App\\Enums\\ActivityPriority\";s:10:\"started_at\";s:8:\"datetime\";s:6:\"due_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:11:\"reminded_at\";s:8:\"datetime\";s:8:\"metadata\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:17:{i:0;s:11:\"customer_id\";i:1;s:7:\"deal_id\";i:2;s:12:\"quotation_id\";i:3;s:7:\"user_id\";i:4;s:11:\"assigned_to\";i:5;s:4:\"type\";i:6;s:7:\"subject\";i:7;s:11:\"description\";i:8;s:6:\"result\";i:9;s:6:\"status\";i:10;s:8:\"priority\";i:11;s:10:\"started_at\";i:12;s:6:\"due_at\";i:13;s:12:\"completed_at\";i:14;s:16:\"next_followup_at\";i:15;s:11:\"reminded_at\";i:16;s:8:\"metadata\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:2;O:19:\"App\\Models\\Activity\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:10:\"activities\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:21:{s:2:\"id\";i:27;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:38;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"task\";s:7:\"subject\";s:47:\"پیگیری پیش‌فاکتور ارسالی\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:4:\"high\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-06 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:11:\"\0*\0original\";a:21:{s:2:\"id\";i:27;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:38;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"task\";s:7:\"subject\";s:47:\"پیگیری پیش‌فاکتور ارسالی\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:4:\"high\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-06 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:9:{s:4:\"type\";s:22:\"App\\Enums\\ActivityType\";s:6:\"status\";s:24:\"App\\Enums\\ActivityStatus\";s:8:\"priority\";s:26:\"App\\Enums\\ActivityPriority\";s:10:\"started_at\";s:8:\"datetime\";s:6:\"due_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:11:\"reminded_at\";s:8:\"datetime\";s:8:\"metadata\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:17:{i:0;s:11:\"customer_id\";i:1;s:7:\"deal_id\";i:2;s:12:\"quotation_id\";i:3;s:7:\"user_id\";i:4;s:11:\"assigned_to\";i:5;s:4:\"type\";i:6;s:7:\"subject\";i:7;s:11:\"description\";i:8;s:6:\"result\";i:9;s:6:\"status\";i:10;s:8:\"priority\";i:11;s:10:\"started_at\";i:12;s:6:\"due_at\";i:13;s:12:\"completed_at\";i:14;s:16:\"next_followup_at\";i:15;s:11:\"reminded_at\";i:16;s:8:\"metadata\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:3;O:19:\"App\\Models\\Activity\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:10:\"activities\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:21:{s:2:\"id\";i:28;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:39;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"call\";s:7:\"subject\";s:39:\"تماس تایید نیاز مشتری\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:3:\"low\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-07 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:11:\"\0*\0original\";a:21:{s:2:\"id\";i:28;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:39;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"call\";s:7:\"subject\";s:39:\"تماس تایید نیاز مشتری\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:3:\"low\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-07 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:9:{s:4:\"type\";s:22:\"App\\Enums\\ActivityType\";s:6:\"status\";s:24:\"App\\Enums\\ActivityStatus\";s:8:\"priority\";s:26:\"App\\Enums\\ActivityPriority\";s:10:\"started_at\";s:8:\"datetime\";s:6:\"due_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:11:\"reminded_at\";s:8:\"datetime\";s:8:\"metadata\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:17:{i:0;s:11:\"customer_id\";i:1;s:7:\"deal_id\";i:2;s:12:\"quotation_id\";i:3;s:7:\"user_id\";i:4;s:11:\"assigned_to\";i:5;s:4:\"type\";i:6;s:7:\"subject\";i:7;s:11:\"description\";i:8;s:6:\"result\";i:9;s:6:\"status\";i:10;s:8:\"priority\";i:11;s:10:\"started_at\";i:12;s:6:\"due_at\";i:13;s:12:\"completed_at\";i:14;s:16:\"next_followup_at\";i:15;s:11:\"reminded_at\";i:16;s:8:\"metadata\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:4;O:19:\"App\\Models\\Activity\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:10:\"activities\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:21:{s:2:\"id\";i:29;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:40;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:7:\"meeting\";s:7:\"subject\";s:40:\"یادآوری تمدید قرارداد\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:6:\"medium\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-08 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:11:\"\0*\0original\";a:21:{s:2:\"id\";i:29;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:40;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:7:\"meeting\";s:7:\"subject\";s:40:\"یادآوری تمدید قرارداد\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:6:\"medium\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-08 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:9:{s:4:\"type\";s:22:\"App\\Enums\\ActivityType\";s:6:\"status\";s:24:\"App\\Enums\\ActivityStatus\";s:8:\"priority\";s:26:\"App\\Enums\\ActivityPriority\";s:10:\"started_at\";s:8:\"datetime\";s:6:\"due_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:11:\"reminded_at\";s:8:\"datetime\";s:8:\"metadata\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:17:{i:0;s:11:\"customer_id\";i:1;s:7:\"deal_id\";i:2;s:12:\"quotation_id\";i:3;s:7:\"user_id\";i:4;s:11:\"assigned_to\";i:5;s:4:\"type\";i:6;s:7:\"subject\";i:7;s:11:\"description\";i:8;s:6:\"result\";i:9;s:6:\"status\";i:10;s:8:\"priority\";i:11;s:10:\"started_at\";i:12;s:6:\"due_at\";i:13;s:12:\"completed_at\";i:14;s:16:\"next_followup_at\";i:15;s:11:\"reminded_at\";i:16;s:8:\"metadata\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:5;O:19:\"App\\Models\\Activity\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:10:\"activities\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:21:{s:2:\"id\";i:30;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:41;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"task\";s:7:\"subject\";s:42:\"جلسه حضوری با مدیر خرید\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:4:\"high\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-09 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:11:\"\0*\0original\";a:21:{s:2:\"id\";i:30;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:41;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"task\";s:7:\"subject\";s:42:\"جلسه حضوری با مدیر خرید\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:4:\"high\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-09 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:9:{s:4:\"type\";s:22:\"App\\Enums\\ActivityType\";s:6:\"status\";s:24:\"App\\Enums\\ActivityStatus\";s:8:\"priority\";s:26:\"App\\Enums\\ActivityPriority\";s:10:\"started_at\";s:8:\"datetime\";s:6:\"due_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:11:\"reminded_at\";s:8:\"datetime\";s:8:\"metadata\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:17:{i:0;s:11:\"customer_id\";i:1;s:7:\"deal_id\";i:2;s:12:\"quotation_id\";i:3;s:7:\"user_id\";i:4;s:11:\"assigned_to\";i:5;s:4:\"type\";i:6;s:7:\"subject\";i:7;s:11:\"description\";i:8;s:6:\"result\";i:9;s:6:\"status\";i:10;s:8:\"priority\";i:11;s:10:\"started_at\";i:12;s:6:\"due_at\";i:13;s:12:\"completed_at\";i:14;s:16:\"next_followup_at\";i:15;s:11:\"reminded_at\";i:16;s:8:\"metadata\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:6;O:19:\"App\\Models\\Activity\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:10:\"activities\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:21:{s:2:\"id\";i:31;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:42;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"call\";s:7:\"subject\";s:34:\"تماس پیگیری پرداخت\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:3:\"low\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-10 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:11:\"\0*\0original\";a:21:{s:2:\"id\";i:31;s:12:\"workspace_id\";i:14;s:11:\"customer_id\";i:42;s:7:\"deal_id\";N;s:12:\"quotation_id\";N;s:7:\"user_id\";i:35;s:11:\"assigned_to\";i:35;s:4:\"type\";s:4:\"call\";s:7:\"subject\";s:34:\"تماس پیگیری پرداخت\";s:11:\"description\";N;s:6:\"result\";N;s:6:\"status\";s:7:\"pending\";s:8:\"priority\";s:3:\"low\";s:10:\"started_at\";N;s:6:\"due_at\";s:19:\"2026-08-10 21:03:18\";s:12:\"completed_at\";N;s:16:\"next_followup_at\";N;s:11:\"reminded_at\";N;s:8:\"metadata\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:9:{s:4:\"type\";s:22:\"App\\Enums\\ActivityType\";s:6:\"status\";s:24:\"App\\Enums\\ActivityStatus\";s:8:\"priority\";s:26:\"App\\Enums\\ActivityPriority\";s:10:\"started_at\";s:8:\"datetime\";s:6:\"due_at\";s:8:\"datetime\";s:12:\"completed_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:11:\"reminded_at\";s:8:\"datetime\";s:8:\"metadata\";s:5:\"array\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:17:{i:0;s:11:\"customer_id\";i:1;s:7:\"deal_id\";i:2;s:12:\"quotation_id\";i:3;s:7:\"user_id\";i:4;s:11:\"assigned_to\";i:5;s:4:\"type\";i:6;s:7:\"subject\";i:7;s:11:\"description\";i:8;s:6:\"result\";i:9;s:6:\"status\";i:10;s:8:\"priority\";i:11;s:10:\"started_at\";i:12;s:6:\"due_at\";i:13;s:12:\"completed_at\";i:14;s:16:\"next_followup_at\";i:15;s:11:\"reminded_at\";i:16;s:8:\"metadata\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:12:\"hotCustomers\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:3:{i:0;O:19:\"App\\Models\\Customer\":34:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:9:\"customers\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:29:{s:2:\"id\";i:38;s:4:\"uuid\";s:36:\"fc8335ce-7c17-4e01-956a-0e1e1a9ea47c\";s:12:\"workspace_id\";i:14;s:4:\"type\";s:6:\"person\";s:4:\"name\";s:17:\"رضا کریمی\";s:12:\"company_name\";N;s:6:\"mobile\";s:11:\"09121000002\";s:17:\"mobile_normalized\";s:11:\"09121000002\";s:5:\"phone\";N;s:5:\"email\";N;s:8:\"province\";N;s:4:\"city\";s:8:\"مشهد\";s:7:\"address\";N;s:11:\"postal_code\";N;s:13:\"economic_code\";N;s:19:\"registration_number\";N;s:11:\"national_id\";N;s:9:\"source_id\";N;s:18:\"partner_company_id\";N;s:13:\"owner_user_id\";i:35;s:10:\"visibility\";s:4:\"team\";s:11:\"temperature\";s:3:\"hot\";s:6:\"status\";s:6:\"active\";s:16:\"last_activity_at\";N;s:16:\"next_followup_at\";N;s:5:\"notes\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"deleted_at\";N;}s:11:\"\0*\0original\";a:29:{s:2:\"id\";i:38;s:4:\"uuid\";s:36:\"fc8335ce-7c17-4e01-956a-0e1e1a9ea47c\";s:12:\"workspace_id\";i:14;s:4:\"type\";s:6:\"person\";s:4:\"name\";s:17:\"رضا کریمی\";s:12:\"company_name\";N;s:6:\"mobile\";s:11:\"09121000002\";s:17:\"mobile_normalized\";s:11:\"09121000002\";s:5:\"phone\";N;s:5:\"email\";N;s:8:\"province\";N;s:4:\"city\";s:8:\"مشهد\";s:7:\"address\";N;s:11:\"postal_code\";N;s:13:\"economic_code\";N;s:19:\"registration_number\";N;s:11:\"national_id\";N;s:9:\"source_id\";N;s:18:\"partner_company_id\";N;s:13:\"owner_user_id\";i:35;s:10:\"visibility\";s:4:\"team\";s:11:\"temperature\";s:3:\"hot\";s:6:\"status\";s:6:\"active\";s:16:\"last_activity_at\";N;s:16:\"next_followup_at\";N;s:5:\"notes\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"deleted_at\";N;}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:4:\"type\";s:22:\"App\\Enums\\CustomerType\";s:10:\"visibility\";s:28:\"App\\Enums\\CustomerVisibility\";s:11:\"temperature\";s:29:\"App\\Enums\\CustomerTemperature\";s:6:\"status\";s:24:\"App\\Enums\\CustomerStatus\";s:16:\"last_activity_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:10:\"deleted_at\";s:8:\"datetime\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:22:{i:0;s:4:\"type\";i:1;s:4:\"name\";i:2;s:12:\"company_name\";i:3;s:6:\"mobile\";i:4;s:5:\"phone\";i:5;s:5:\"email\";i:6;s:8:\"province\";i:7;s:4:\"city\";i:8;s:7:\"address\";i:9;s:11:\"postal_code\";i:10;s:13:\"economic_code\";i:11;s:19:\"registration_number\";i:12;s:11:\"national_id\";i:13;s:9:\"source_id\";i:14;s:18:\"partner_company_id\";i:15;s:13:\"owner_user_id\";i:16;s:10:\"visibility\";i:17;s:11:\"temperature\";i:18;s:6:\"status\";i:19;s:16:\"last_activity_at\";i:20;s:16:\"next_followup_at\";i:21;s:5:\"notes\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}s:16:\"\0*\0forceDeleting\";b:0;}i:1;O:19:\"App\\Models\\Customer\":34:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:9:\"customers\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:29:{s:2:\"id\";i:41;s:4:\"uuid\";s:36:\"89ebf0ab-daa9-4803-a7f2-3f44a736fc29\";s:12:\"workspace_id\";i:14;s:4:\"type\";s:6:\"person\";s:4:\"name\";s:21:\"فاطمه صادقی\";s:12:\"company_name\";N;s:6:\"mobile\";s:11:\"09121000005\";s:17:\"mobile_normalized\";s:11:\"09121000005\";s:5:\"phone\";N;s:5:\"email\";N;s:8:\"province\";N;s:4:\"city\";s:6:\"کرج\";s:7:\"address\";N;s:11:\"postal_code\";N;s:13:\"economic_code\";N;s:19:\"registration_number\";N;s:11:\"national_id\";N;s:9:\"source_id\";N;s:18:\"partner_company_id\";N;s:13:\"owner_user_id\";i:35;s:10:\"visibility\";s:4:\"team\";s:11:\"temperature\";s:3:\"hot\";s:6:\"status\";s:6:\"active\";s:16:\"last_activity_at\";N;s:16:\"next_followup_at\";N;s:5:\"notes\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"deleted_at\";N;}s:11:\"\0*\0original\";a:29:{s:2:\"id\";i:41;s:4:\"uuid\";s:36:\"89ebf0ab-daa9-4803-a7f2-3f44a736fc29\";s:12:\"workspace_id\";i:14;s:4:\"type\";s:6:\"person\";s:4:\"name\";s:21:\"فاطمه صادقی\";s:12:\"company_name\";N;s:6:\"mobile\";s:11:\"09121000005\";s:17:\"mobile_normalized\";s:11:\"09121000005\";s:5:\"phone\";N;s:5:\"email\";N;s:8:\"province\";N;s:4:\"city\";s:6:\"کرج\";s:7:\"address\";N;s:11:\"postal_code\";N;s:13:\"economic_code\";N;s:19:\"registration_number\";N;s:11:\"national_id\";N;s:9:\"source_id\";N;s:18:\"partner_company_id\";N;s:13:\"owner_user_id\";i:35;s:10:\"visibility\";s:4:\"team\";s:11:\"temperature\";s:3:\"hot\";s:6:\"status\";s:6:\"active\";s:16:\"last_activity_at\";N;s:16:\"next_followup_at\";N;s:5:\"notes\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"deleted_at\";N;}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:4:\"type\";s:22:\"App\\Enums\\CustomerType\";s:10:\"visibility\";s:28:\"App\\Enums\\CustomerVisibility\";s:11:\"temperature\";s:29:\"App\\Enums\\CustomerTemperature\";s:6:\"status\";s:24:\"App\\Enums\\CustomerStatus\";s:16:\"last_activity_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:10:\"deleted_at\";s:8:\"datetime\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:22:{i:0;s:4:\"type\";i:1;s:4:\"name\";i:2;s:12:\"company_name\";i:3;s:6:\"mobile\";i:4;s:5:\"phone\";i:5;s:5:\"email\";i:6;s:8:\"province\";i:7;s:4:\"city\";i:8;s:7:\"address\";i:9;s:11:\"postal_code\";i:10;s:13:\"economic_code\";i:11;s:19:\"registration_number\";i:12;s:11:\"national_id\";i:13;s:9:\"source_id\";i:14;s:18:\"partner_company_id\";i:15;s:13:\"owner_user_id\";i:16;s:10:\"visibility\";i:17;s:11:\"temperature\";i:18;s:6:\"status\";i:19;s:16:\"last_activity_at\";i:20;s:16:\"next_followup_at\";i:21;s:5:\"notes\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}s:16:\"\0*\0forceDeleting\";b:0;}i:2;O:19:\"App\\Models\\Customer\":34:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:9:\"customers\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:29:{s:2:\"id\";i:44;s:4:\"uuid\";s:36:\"a3cdcda0-cc9b-4a90-af4b-5dcf6481d707\";s:12:\"workspace_id\";i:14;s:4:\"type\";s:6:\"person\";s:4:\"name\";s:19:\"امیر جعفری\";s:12:\"company_name\";N;s:6:\"mobile\";s:11:\"09121000008\";s:17:\"mobile_normalized\";s:11:\"09121000008\";s:5:\"phone\";N;s:5:\"email\";N;s:8:\"province\";N;s:4:\"city\";s:6:\"رشت\";s:7:\"address\";N;s:11:\"postal_code\";N;s:13:\"economic_code\";N;s:19:\"registration_number\";N;s:11:\"national_id\";N;s:9:\"source_id\";N;s:18:\"partner_company_id\";N;s:13:\"owner_user_id\";i:35;s:10:\"visibility\";s:4:\"team\";s:11:\"temperature\";s:3:\"hot\";s:6:\"status\";s:6:\"active\";s:16:\"last_activity_at\";N;s:16:\"next_followup_at\";N;s:5:\"notes\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"deleted_at\";N;}s:11:\"\0*\0original\";a:29:{s:2:\"id\";i:44;s:4:\"uuid\";s:36:\"a3cdcda0-cc9b-4a90-af4b-5dcf6481d707\";s:12:\"workspace_id\";i:14;s:4:\"type\";s:6:\"person\";s:4:\"name\";s:19:\"امیر جعفری\";s:12:\"company_name\";N;s:6:\"mobile\";s:11:\"09121000008\";s:17:\"mobile_normalized\";s:11:\"09121000008\";s:5:\"phone\";N;s:5:\"email\";N;s:8:\"province\";N;s:4:\"city\";s:6:\"رشت\";s:7:\"address\";N;s:11:\"postal_code\";N;s:13:\"economic_code\";N;s:19:\"registration_number\";N;s:11:\"national_id\";N;s:9:\"source_id\";N;s:18:\"partner_company_id\";N;s:13:\"owner_user_id\";i:35;s:10:\"visibility\";s:4:\"team\";s:11:\"temperature\";s:3:\"hot\";s:6:\"status\";s:6:\"active\";s:16:\"last_activity_at\";N;s:16:\"next_followup_at\";N;s:5:\"notes\";N;s:10:\"created_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"updated_at\";s:19:\"2026-08-07 21:03:18\";s:10:\"deleted_at\";N;}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:4:\"type\";s:22:\"App\\Enums\\CustomerType\";s:10:\"visibility\";s:28:\"App\\Enums\\CustomerVisibility\";s:11:\"temperature\";s:29:\"App\\Enums\\CustomerTemperature\";s:6:\"status\";s:24:\"App\\Enums\\CustomerStatus\";s:16:\"last_activity_at\";s:8:\"datetime\";s:16:\"next_followup_at\";s:8:\"datetime\";s:10:\"deleted_at\";s:8:\"datetime\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:22:{i:0;s:4:\"type\";i:1;s:4:\"name\";i:2;s:12:\"company_name\";i:3;s:6:\"mobile\";i:4;s:5:\"phone\";i:5;s:5:\"email\";i:6;s:8:\"province\";i:7;s:4:\"city\";i:8;s:7:\"address\";i:9;s:11:\"postal_code\";i:10;s:13:\"economic_code\";i:11;s:19:\"registration_number\";i:12;s:11:\"national_id\";i:13;s:9:\"source_id\";i:14;s:18:\"partner_company_id\";i:15;s:13:\"owner_user_id\";i:16;s:10:\"visibility\";i:17;s:11:\"temperature\";i:18;s:6:\"status\";i:19;s:16:\"last_activity_at\";i:20;s:16:\"next_followup_at\";i:21;s:5:\"notes\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}s:16:\"\0*\0forceDeleting\";b:0;}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:14:\"openDealsCount\";i:8;s:15:\"monthSalesTotal\";d:141700000;s:19:\"commissionEstimated\";d:24370400;s:18:\"commissionApproved\";d:0;s:17:\"commissionPayable\";d:0;}',1787064589),('lymosy-cache-f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59','i:3;',1787064578),('lymosy-cache-f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59:timer','i:1787064578;',1787064578),('lymosy-cache-fc074d501302eb2b93e2554793fcaf50b3bf7291','i:3;',1787064601),('lymosy-cache-fc074d501302eb2b93e2554793fcaf50b3bf7291:timer','i:1787064601;',1787064601),('lymosy-cache-owner@example.com|127.0.0.1','i:1;',1786826994),('lymosy-cache-owner@example.com|127.0.0.1:timer','i:1786826994;',1786826994);
/*!40000 ALTER TABLE `cache` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cache_locks`
--

DROP TABLE IF EXISTS `cache_locks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cache_locks` (
  `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `expiration` int NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_locks_expiration_index` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cache_locks`
--

LOCK TABLES `cache_locks` WRITE;
/*!40000 ALTER TABLE `cache_locks` DISABLE KEYS */;
/*!40000 ALTER TABLE `cache_locks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `catalog_categories`
--

DROP TABLE IF EXISTS `catalog_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `catalog_categories` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `parent_id` bigint unsigned DEFAULT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `catalog_categories_parent_id_foreign` (`parent_id`),
  KEY `catalog_categories_workspace_id_parent_id_index` (`workspace_id`,`parent_id`),
  CONSTRAINT `catalog_categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `catalog_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `catalog_categories_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `catalog_categories`
--

LOCK TABLES `catalog_categories` WRITE;
/*!40000 ALTER TABLE `catalog_categories` DISABLE KEYS */;
INSERT INTO `catalog_categories` VALUES (1,3,NULL,'محصولات تلتونیکا',0,'2026-07-20 15:24:49','2026-07-20 15:24:49'),(2,3,1,'GPS',0,'2026-07-20 15:25:04','2026-07-20 15:25:04'),(3,3,1,'سنسورها',0,'2026-07-20 15:25:17','2026-07-20 15:25:17'),(4,3,NULL,'پشتیبانی',0,'2026-07-20 15:27:32','2026-07-20 15:27:32'),(5,3,NULL,'نرم افزار',0,'2026-07-20 15:29:28','2026-07-20 15:29:28'),(6,3,5,'بیتاترکر',0,'2026-07-20 15:29:48','2026-07-20 15:29:48');
/*!40000 ALTER TABLE `catalog_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `catalog_item_versions`
--

DROP TABLE IF EXISTS `catalog_item_versions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `catalog_item_versions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `catalog_item_id` bigint unsigned NOT NULL,
  `price` decimal(18,2) DEFAULT NULL,
  `commission_rate` decimal(7,4) DEFAULT NULL,
  `service_default_cost` decimal(18,2) DEFAULT NULL,
  `availability_status` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `stock_qty` decimal(14,3) DEFAULT NULL,
  `effective_from` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `changed_by` bigint unsigned NOT NULL,
  `change_reason` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `catalog_item_versions_catalog_item_id_foreign` (`catalog_item_id`),
  KEY `catalog_item_versions_changed_by_foreign` (`changed_by`),
  KEY `civ_workspace_item_effective_idx` (`workspace_id`,`catalog_item_id`,`effective_from`),
  CONSTRAINT `catalog_item_versions_catalog_item_id_foreign` FOREIGN KEY (`catalog_item_id`) REFERENCES `catalog_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `catalog_item_versions_changed_by_foreign` FOREIGN KEY (`changed_by`) REFERENCES `users` (`id`),
  CONSTRAINT `catalog_item_versions_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `catalog_item_versions`
--

LOCK TABLES `catalog_item_versions` WRITE;
/*!40000 ALTER TABLE `catalog_item_versions` DISABLE KEYS */;
INSERT INTO `catalog_item_versions` VALUES (1,1,1,2500000.00,5.0000,NULL,'available',25.000,'2026-07-16 06:59:36',1,'ایجاد آیتم کاتالوگ','2026-07-16 06:59:36'),(2,2,2,14400000.00,7.0000,NULL,'available',10.000,'2026-07-17 10:16:04',1,'ایجاد آیتم کاتالوگ','2026-07-17 10:16:04'),(3,3,3,14950000.00,7.0000,NULL,'available',10.000,'2026-07-20 15:26:35',1,'ایجاد آیتم کاتالوگ','2026-07-20 15:26:35'),(4,3,4,2750000.00,10.0000,NULL,'available',100000.000,'2026-07-20 15:28:59',1,'ایجاد آیتم کاتالوگ','2026-07-20 15:28:59'),(5,3,5,465000000.00,10.0000,NULL,'available',10000000.000,'2026-07-20 15:31:17',1,'ایجاد آیتم کاتالوگ','2026-07-20 15:31:17'),(6,3,6,1500000.00,10.0000,NULL,'available',10000000.000,'2026-07-20 15:35:50',1,'ایجاد آیتم کاتالوگ','2026-07-20 15:35:50');
/*!40000 ALTER TABLE `catalog_item_versions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `catalog_items`
--

DROP TABLE IF EXISTS `catalog_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `catalog_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `project_id` bigint unsigned NOT NULL,
  `category_id` bigint unsigned DEFAULT NULL,
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'product',
  `sku` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `unit` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'عدد',
  `current_price` decimal(18,2) NOT NULL DEFAULT '0.00',
  `allow_price_change` tinyint(1) NOT NULL DEFAULT '1',
  `min_price` decimal(18,2) DEFAULT NULL,
  `max_discount_percent` decimal(7,4) NOT NULL DEFAULT '0.0000',
  `default_commission_rate` decimal(7,4) DEFAULT NULL,
  `commission_base_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'after_discount',
  `availability_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'available',
  `stock_qty` decimal(14,3) DEFAULT NULL,
  `service_default_cost` decimal(18,2) DEFAULT NULL,
  `tax_rate` decimal(7,4) NOT NULL DEFAULT '0.0000',
  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `catalog_items_workspace_id_project_id_sku_unique` (`workspace_id`,`project_id`,`sku`),
  KEY `catalog_items_project_id_foreign` (`project_id`),
  KEY `catalog_items_category_id_foreign` (`category_id`),
  KEY `catalog_items_workspace_id_project_id_availability_status_index` (`workspace_id`,`project_id`,`availability_status`),
  CONSTRAINT `catalog_items_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `catalog_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `catalog_items_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `catalog_items_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `catalog_items_chk_1` CHECK (json_valid(`settings`))
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `catalog_items`
--

LOCK TABLES `catalog_items` WRITE;
/*!40000 ALTER TABLE `catalog_items` DISABLE KEYS */;
INSERT INTO `catalog_items` VALUES (1,1,1,NULL,'product','SKU-0001','محصول نمونه','عدد',2500000.00,1,2000000.00,10.0000,5.0000,'after_discount','available',25.000,NULL,9.0000,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(2,2,2,NULL,'product','001','fmb202','عدد',14400000.00,1,12400000.00,10.0000,7.0000,'after_discount','available',10.000,NULL,10.0000,NULL,'2026-07-17 10:16:04','2026-07-17 10:16:04',NULL),(3,3,3,2,'product','001','fmb920','عدد',14950000.00,1,16350000.00,5.0000,7.0000,'after_discount','available',10.000,NULL,10.0000,NULL,'2026-07-20 15:26:35','2026-07-20 15:26:35',NULL),(4,3,3,4,'product','002','پشتیبانی سالانه نرم افزاری','سالانه',2750000.00,1,2750000.00,10.0000,10.0000,'after_discount','available',100000.000,NULL,10.0000,NULL,'2026-07-20 15:28:59','2026-07-20 15:28:59',NULL),(5,3,3,5,'service','003','لایسنس نرم افزاری سامانه کنترل و پایش ماشین آلات بیتاترکر','بدون محدودیت',465000000.00,1,130000000.00,70.0000,10.0000,'after_discount','available',10000000.000,NULL,10.0000,NULL,'2026-07-20 15:31:17','2026-07-20 15:31:17',NULL),(6,3,3,5,'service','004','پشتیبانی سالانه نرم افزاری (مشتری ویژه)','سالانه',1500000.00,1,1200000.00,10.0000,10.0000,'after_discount','available',10000000.000,NULL,10.0000,NULL,'2026-07-20 15:35:50','2026-07-20 15:35:50',NULL),(37,14,35,NULL,'product','SKU-0001','بسته پیاده‌سازی CRM','عدد',21000000.00,1,NULL,10.0000,5.1300,'after_discount','available',32.011,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(38,14,36,NULL,'product','SKU-0002','لایسنس سالانه نرم‌افزار','عدد',23000000.00,1,NULL,10.0000,8.1700,'after_discount','available',68.986,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(39,14,37,NULL,'product','SKU-0003','خدمات میزبانی ابری','عدد',11000000.00,1,NULL,10.0000,1.1200,'after_discount','available',62.753,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(40,14,38,NULL,'product','SKU-0004','مشاوره دیجیتال مارکتینگ','عدد',6000000.00,1,NULL,10.0000,7.7100,'after_discount','available',95.747,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(41,14,39,NULL,'product','SKU-0005','بسته آموزش تیم فروش','عدد',36000000.00,1,NULL,10.0000,5.7200,'after_discount','available',49.458,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(42,14,40,NULL,'product','SKU-0006','پشتیبانی فنی ماهانه','عدد',34000000.00,1,NULL,10.0000,6.2100,'after_discount','available',4.216,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(43,14,41,NULL,'product','SKU-0007','طراحی وب‌سایت اختصاصی','عدد',12000000.00,1,NULL,10.0000,6.5300,'after_discount','available',90.391,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(44,14,42,NULL,'product','SKU-0008','سیستم مدیریت انبار','عدد',9000000.00,1,NULL,10.0000,6.3300,'after_discount','available',78.015,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(45,14,43,NULL,'product','SKU-0009','اپلیکیشن موبایل سفارشی','عدد',29000000.00,1,NULL,10.0000,8.1200,'after_discount','available',64.122,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(46,14,44,NULL,'product','SKU-0010','بسته یکپارچه‌سازی پیامکی','عدد',45000000.00,1,NULL,10.0000,3.4700,'after_discount','available',54.331,NULL,9.0000,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL);
/*!40000 ALTER TABLE `catalog_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `commission_entries`
--

DROP TABLE IF EXISTS `commission_entries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `commission_entries` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `deal_id` bigint unsigned NOT NULL,
  `deal_item_id` bigint unsigned DEFAULT NULL,
  `beneficiary_user_id` bigint unsigned DEFAULT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `commission_rule_id` bigint unsigned DEFAULT NULL,
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `base_amount` decimal(18,2) NOT NULL,
  `rate_snapshot` decimal(7,4) DEFAULT NULL,
  `fixed_snapshot` decimal(18,2) DEFAULT NULL,
  `apply_after_collection` tinyint(1) NOT NULL DEFAULT '0',
  `gross_commission` decimal(18,2) NOT NULL,
  `deduction_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `net_amount` decimal(18,2) NOT NULL,
  `eligible_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `paid_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `remaining_amount` decimal(18,2) NOT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'estimated',
  `calculation_snapshot` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `dispute_reason` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `commission_entries_deal_id_foreign` (`deal_id`),
  KEY `commission_entries_deal_item_id_foreign` (`deal_item_id`),
  KEY `commission_entries_beneficiary_user_id_foreign` (`beneficiary_user_id`),
  KEY `commission_entries_partner_company_id_foreign` (`partner_company_id`),
  KEY `commission_entries_commission_rule_id_foreign` (`commission_rule_id`),
  KEY `commission_entries_beneficiary_status_idx` (`workspace_id`,`beneficiary_user_id`,`status`),
  KEY `commission_entries_deal_idx` (`workspace_id`,`deal_id`),
  CONSTRAINT `commission_entries_beneficiary_user_id_foreign` FOREIGN KEY (`beneficiary_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `commission_entries_commission_rule_id_foreign` FOREIGN KEY (`commission_rule_id`) REFERENCES `commission_rules` (`id`) ON DELETE SET NULL,
  CONSTRAINT `commission_entries_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`),
  CONSTRAINT `commission_entries_deal_item_id_foreign` FOREIGN KEY (`deal_item_id`) REFERENCES `deal_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_entries_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `commission_entries_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_entries_chk_1` CHECK (json_valid(`calculation_snapshot`))
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `commission_entries`
--

LOCK TABLES `commission_entries` WRITE;
/*!40000 ALTER TABLE `commission_entries` DISABLE KEYS */;
INSERT INTO `commission_entries` VALUES (1,1,1,1,3,NULL,1,'payable',7500000.00,6.0000,NULL,0,450000.00,0.00,450000.00,450000.00,450000.00,0.00,'paid','{\"rate\": \"6.0000\", \"method\": \"percentage\", \"computed_at\": \"2026-07-16T10:29:36+00:00\", \"fixed_amount\": null, \"base_amount_type\": \"after_discount\", \"item_base_amount\": \"7500000.00\", \"resolved_rule_id\": 1, \"resolved_rule_name\": \"قاعده پروژه فروش نمونه\", \"item_gross_commission\": \"450000.00\", \"collaborator_share_of_item\": \"450000.00\"}',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,2,2,1,NULL,NULL,'payable',144000000.00,7.0000,NULL,0,10080000.00,0.00,10080000.00,10080000.00,10080000.00,0.00,'paid','{\"rate\": \"7.0000\", \"method\": \"percentage\", \"computed_at\": \"2026-07-19T18:26:33+00:00\", \"fixed_amount\": null, \"base_amount_type\": \"after_discount\", \"item_base_amount\": \"144000000.00\", \"resolved_rule_id\": null, \"resolved_rule_name\": null, \"item_gross_commission\": \"10080000.00\", \"collaborator_share_of_item\": \"10080000.00\"}',NULL,'2026-07-19 14:56:33','2026-07-19 15:00:26'),(9,14,9,9,35,NULL,NULL,'payable',84000000.00,5.1300,NULL,0,4309200.00,0.00,4309200.00,4309200.00,0.00,4309200.00,'estimated','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"5.1300\",\"fixed_amount\":null,\"item_base_amount\":\"84000000.00\",\"item_gross_commission\":\"4309200.00\",\"collaborator_share_of_item\":\"4309200.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:20+00:00\"}',NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(10,14,10,10,35,NULL,NULL,'payable',46000000.00,8.1700,NULL,0,3758200.00,0.00,3758200.00,3758200.00,0.00,3758200.00,'estimated','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"8.1700\",\"fixed_amount\":null,\"item_base_amount\":\"46000000.00\",\"item_gross_commission\":\"3758200.00\",\"collaborator_share_of_item\":\"3758200.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:20+00:00\"}',NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(11,14,11,11,35,NULL,NULL,'payable',22000000.00,1.1200,NULL,0,246400.00,0.00,246400.00,246400.00,0.00,246400.00,'estimated','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"1.1200\",\"fixed_amount\":null,\"item_base_amount\":\"22000000.00\",\"item_gross_commission\":\"246400.00\",\"collaborator_share_of_item\":\"246400.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:21+00:00\"}',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(12,14,12,12,35,NULL,NULL,'payable',6000000.00,7.7100,NULL,0,462600.00,0.00,462600.00,462600.00,0.00,462600.00,'estimated','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"7.7100\",\"fixed_amount\":null,\"item_base_amount\":\"6000000.00\",\"item_gross_commission\":\"462600.00\",\"collaborator_share_of_item\":\"462600.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:21+00:00\"}',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(13,14,13,13,35,NULL,NULL,'payable',144000000.00,5.7200,NULL,0,8236800.00,0.00,8236800.00,8236800.00,0.00,8236800.00,'estimated','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"5.7200\",\"fixed_amount\":null,\"item_base_amount\":\"144000000.00\",\"item_gross_commission\":\"8236800.00\",\"collaborator_share_of_item\":\"8236800.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:21+00:00\"}',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(14,14,14,14,35,NULL,NULL,'payable',68000000.00,6.2100,NULL,0,4222800.00,0.00,4222800.00,4222800.00,0.00,4222800.00,'estimated','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"6.2100\",\"fixed_amount\":null,\"item_base_amount\":\"68000000.00\",\"item_gross_commission\":\"4222800.00\",\"collaborator_share_of_item\":\"4222800.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:21+00:00\"}',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(15,14,15,15,35,NULL,NULL,'payable',48000000.00,6.5300,NULL,0,3134400.00,0.00,3134400.00,3134400.00,0.00,3134400.00,'estimated','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"6.5300\",\"fixed_amount\":null,\"item_base_amount\":\"48000000.00\",\"item_gross_commission\":\"3134400.00\",\"collaborator_share_of_item\":\"3134400.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:21+00:00\"}',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(16,14,16,16,35,NULL,NULL,'payable',9000000.00,6.3300,NULL,0,569700.00,0.00,569700.00,569700.00,569700.00,0.00,'paid','{\"method\":\"percentage\",\"base_amount_type\":\"after_discount\",\"rate\":\"6.3300\",\"fixed_amount\":null,\"item_base_amount\":\"9000000.00\",\"item_gross_commission\":\"569700.00\",\"collaborator_share_of_item\":\"569700.00\",\"resolved_rule_id\":null,\"resolved_rule_name\":null,\"computed_at\":\"2026-08-07T21:03:22+00:00\"}',NULL,'2026-08-07 17:33:22','2026-08-11 15:03:41');
/*!40000 ALTER TABLE `commission_entries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `commission_rules`
--

DROP TABLE IF EXISTS `commission_rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `commission_rules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `scope_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `contract_id` bigint unsigned DEFAULT NULL,
  `project_id` bigint unsigned DEFAULT NULL,
  `catalog_item_id` bigint unsigned DEFAULT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `method` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `base_amount_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `rate` decimal(7,4) DEFAULT NULL,
  `fixed_amount` decimal(18,2) DEFAULT NULL,
  `tiers` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `apply_after_collection` tinyint(1) NOT NULL DEFAULT '0',
  `priority` int unsigned NOT NULL DEFAULT '0',
  `starts_at` timestamp NULL DEFAULT NULL,
  `ends_at` timestamp NULL DEFAULT NULL,
  `conditions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `is_active` 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 `commission_rules_partner_company_id_foreign` (`partner_company_id`),
  KEY `commission_rules_contract_id_foreign` (`contract_id`),
  KEY `commission_rules_project_id_foreign` (`project_id`),
  KEY `commission_rules_catalog_item_id_foreign` (`catalog_item_id`),
  KEY `commission_rules_user_id_foreign` (`user_id`),
  KEY `commission_rules_scope_active_idx` (`workspace_id`,`scope_type`,`is_active`),
  CONSTRAINT `commission_rules_catalog_item_id_foreign` FOREIGN KEY (`catalog_item_id`) REFERENCES `catalog_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_rules_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_rules_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_rules_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_rules_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_rules_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_rules_chk_1` CHECK (json_valid(`tiers`)),
  CONSTRAINT `commission_rules_chk_2` CHECK (json_valid(`conditions`))
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `commission_rules`
--

LOCK TABLES `commission_rules` WRITE;
/*!40000 ALTER TABLE `commission_rules` DISABLE KEYS */;
INSERT INTO `commission_rules` VALUES (1,1,'قاعده پروژه فروش نمونه','project',NULL,NULL,1,NULL,NULL,'percentage','after_discount',6.0000,NULL,NULL,0,10,NULL,NULL,NULL,1,'2026-07-16 06:59:36','2026-07-16 06:59:36',NULL);
/*!40000 ALTER TABLE `commission_rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contract_support_periods`
--

DROP TABLE IF EXISTS `contract_support_periods`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `contract_support_periods` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `contract_id` bigint unsigned NOT NULL,
  `project_id` bigint unsigned DEFAULT NULL,
  `title` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `start_at` datetime DEFAULT NULL,
  `end_at` datetime DEFAULT NULL,
  `expiry_warned_at` datetime DEFAULT NULL,
  `timezone` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Asia/Tehran',
  `service_days` json DEFAULT NULL,
  `service_hours_start` time DEFAULT NULL,
  `service_hours_end` time DEFAULT NULL,
  `response_time_value` int unsigned DEFAULT NULL,
  `response_time_unit` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `resolution_target_value` int unsigned DEFAULT NULL,
  `resolution_target_unit` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `terms` text COLLATE utf8mb4_unicode_ci,
  `allow_ticket_outside_hours` tinyint(1) NOT NULL DEFAULT '0',
  `sla_outside_hours_status` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `holiday_handling` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'exclude',
  `created_by` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contract_support_periods_contract_id_foreign` (`contract_id`),
  KEY `contract_support_periods_project_id_foreign` (`project_id`),
  KEY `contract_support_periods_created_by_foreign` (`created_by`),
  KEY `contract_support_periods_workspace_id_contract_id_status_index` (`workspace_id`,`contract_id`,`status`),
  KEY `contract_support_periods_workspace_id_project_id_index` (`workspace_id`,`project_id`),
  CONSTRAINT `contract_support_periods_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `contract_support_periods_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `contract_support_periods_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE SET NULL,
  CONSTRAINT `contract_support_periods_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contract_support_periods`
--

LOCK TABLES `contract_support_periods` WRITE;
/*!40000 ALTER TABLE `contract_support_periods` DISABLE KEYS */;
INSERT INTO `contract_support_periods` VALUES (1,1,3,4,'پشتیبانی نرم افزاری','active','2026-07-13 18:46:00','2027-06-26 18:46:00',NULL,'Asia/Tehran',NULL,NULL,NULL,8,'hour',NULL,NULL,NULL,1,'paused','exclude',1,'2026-07-26 11:46:21','2026-07-26 12:53:00'),(11,14,34,NULL,'پشتیبانی استاندارد','active','2026-07-07 21:03:17','2027-07-07 21:03:17',NULL,'Asia/Tehran',NULL,NULL,NULL,4,'hour',24,'hour',NULL,0,'paused','exclude',33,'2026-08-07 17:33:17','2026-08-07 17:33:17'),(12,14,35,NULL,'پشتیبانی استاندارد','active','2026-07-07 21:03:17','2027-07-07 21:03:17',NULL,'Asia/Tehran',NULL,NULL,NULL,4,'hour',24,'hour',NULL,0,'paused','exclude',33,'2026-08-07 17:33:17','2026-08-07 17:33:17'),(13,14,36,NULL,'پشتیبانی استاندارد','active','2026-07-07 21:03:18','2027-07-07 21:03:18',NULL,'Asia/Tehran',NULL,NULL,NULL,4,'hour',24,'hour',NULL,0,'paused','exclude',33,'2026-08-07 17:33:18','2026-08-07 17:33:18');
/*!40000 ALTER TABLE `contract_support_periods` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contracts`
--

DROP TABLE IF EXISTS `contracts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `contracts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `partner_company_id` bigint unsigned NOT NULL,
  `title` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `contract_no` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `has_support` tinyint(1) NOT NULL DEFAULT '0',
  `default_commission_method` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percentage',
  `default_base_amount_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'after_discount',
  `default_rate` decimal(7,4) DEFAULT NULL,
  `default_fixed_amount` decimal(18,2) DEFAULT NULL,
  `calculate_after_collection` tinyint(1) NOT NULL DEFAULT '0',
  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contracts_partner_company_id_foreign` (`partner_company_id`),
  KEY `contracts_workspace_id_partner_company_id_status_index` (`workspace_id`,`partner_company_id`,`status`),
  CONSTRAINT `contracts_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `contracts_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `contracts_chk_1` CHECK (json_valid(`settings`))
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contracts`
--

LOCK TABLES `contracts` WRITE;
/*!40000 ALTER TABLE `contracts` DISABLE KEYS */;
INSERT INTO `contracts` VALUES (1,1,1,'قرارداد همکاری فروش','C-1001','2026-05-16',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,3,'قرارداد پشتیبانی ','0003456','2026-07-31','2027-07-31','draft',0,'percentage','without_tax',10.0000,NULL,1,NULL,'2026-07-17 10:03:56','2026-07-17 10:03:56'),(3,1,2,'پشتیبانی سامانه مدیریت کارکرد ماشین آلات آنفو','0034','2026-07-23','2026-08-22','draft',1,'percentage','after_discount',NULL,NULL,1,NULL,'2026-07-26 11:45:15','2026-07-26 12:53:55'),(34,14,35,'قرارداد همکاری 1','C-0001','2026-02-07',NULL,'active',1,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:17','2026-08-07 17:33:17'),(35,14,36,'قرارداد همکاری 2','C-0002','2026-02-07',NULL,'active',1,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:17','2026-08-07 17:33:17'),(36,14,37,'قرارداد همکاری 3','C-0003','2026-02-07',NULL,'active',1,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(37,14,38,'قرارداد همکاری 4','C-0004','2026-02-07',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(38,14,39,'قرارداد همکاری 5','C-0005','2026-02-07',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(39,14,40,'قرارداد همکاری 6','C-0006','2026-02-07',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(40,14,41,'قرارداد همکاری 7','C-0007','2026-02-07',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(41,14,42,'قرارداد همکاری 8','C-0008','2026-02-07',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(42,14,43,'قرارداد همکاری 9','C-0009','2026-02-07',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(43,14,44,'قرارداد همکاری 10','C-0010','2026-02-07',NULL,'active',0,'percentage','after_discount',8.0000,NULL,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18');
/*!40000 ALTER TABLE `contracts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_assignments`
--

DROP TABLE IF EXISTS `customer_assignments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_assignments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `customer_id` bigint unsigned NOT NULL,
  `project_id` bigint unsigned DEFAULT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `role` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'responsible',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `assigned_by` bigint unsigned NOT NULL,
  `assigned_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_assignments_customer_id_foreign` (`customer_id`),
  KEY `customer_assignments_project_id_foreign` (`project_id`),
  KEY `customer_assignments_user_id_foreign` (`user_id`),
  KEY `customer_assignments_partner_company_id_foreign` (`partner_company_id`),
  KEY `customer_assignments_assigned_by_foreign` (`assigned_by`),
  KEY `customer_assignments_workspace_id_customer_id_status_index` (`workspace_id`,`customer_id`,`status`),
  KEY `ca_workspace_user_status_idx` (`workspace_id`,`user_id`,`status`),
  KEY `ca_workspace_project_idx` (`workspace_id`,`project_id`),
  CONSTRAINT `customer_assignments_assigned_by_foreign` FOREIGN KEY (`assigned_by`) REFERENCES `users` (`id`),
  CONSTRAINT `customer_assignments_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_assignments_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_assignments_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_assignments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_assignments_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_assignments`
--

LOCK TABLES `customer_assignments` WRITE;
/*!40000 ALTER TABLE `customer_assignments` DISABLE KEYS */;
INSERT INTO `customer_assignments` VALUES (1,1,1,NULL,3,NULL,'owner','active',1,'2026-07-16 06:59:36','2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,1,2,NULL,1,NULL,'owner','active',1,'2026-07-16 07:18:07','2026-07-16 07:18:07','2026-07-16 07:18:07'),(3,2,3,NULL,1,NULL,'owner','active',1,'2026-07-17 10:05:34','2026-07-17 10:05:34','2026-07-17 10:05:34'),(4,3,4,NULL,6,NULL,'owner','active',6,'2026-07-20 14:11:00','2026-07-20 14:11:00','2026-07-20 14:11:00');
/*!40000 ALTER TABLE `customer_assignments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_contacts`
--

DROP TABLE IF EXISTS `customer_contacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_contacts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `customer_id` bigint unsigned NOT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `position` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT '0',
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_contacts_customer_id_foreign` (`customer_id`),
  KEY `customer_contacts_workspace_id_customer_id_index` (`workspace_id`,`customer_id`),
  CONSTRAINT `customer_contacts_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_contacts_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_contacts`
--

LOCK TABLES `customer_contacts` WRITE;
/*!40000 ALTER TABLE `customer_contacts` DISABLE KEYS */;
INSERT INTO `customer_contacts` VALUES (1,1,1,'مخاطب اصلی','مدیر خرید','09129876543',NULL,NULL,1,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,3,4,'مهندس کریمی','مدیر برنامه ریزی و نظارت ماشین آلات ','09130310863','','',1,'توی شرکت با استفاده از اکسل خیلی اطلاعات درست کرده بودن ','2026-07-22 06:21:39','2026-07-22 06:21:39');
/*!40000 ALTER TABLE `customer_contacts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customers`
--

DROP TABLE IF EXISTS `customers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `customers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `workspace_id` bigint unsigned NOT NULL,
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'person',
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile_normalized` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `province` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8mb4_unicode_ci,
  `postal_code` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `economic_code` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registration_number` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_id` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `source_id` bigint unsigned DEFAULT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `owner_user_id` bigint unsigned NOT NULL,
  `visibility` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'private',
  `temperature` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cold',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `last_activity_at` timestamp NULL DEFAULT NULL,
  `next_followup_at` timestamp NULL DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `customers_uuid_unique` (`uuid`),
  KEY `customers_source_id_foreign` (`source_id`),
  KEY `customers_owner_user_id_foreign` (`owner_user_id`),
  KEY `customers_workspace_id_owner_user_id_status_index` (`workspace_id`,`owner_user_id`,`status`),
  KEY `customers_workspace_id_mobile_normalized_index` (`workspace_id`,`mobile_normalized`),
  KEY `customers_workspace_id_next_followup_at_index` (`workspace_id`,`next_followup_at`),
  KEY `customers_partner_company_id_foreign` (`partner_company_id`),
  CONSTRAINT `customers_owner_user_id_foreign` FOREIGN KEY (`owner_user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `customers_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customers_source_id_foreign` FOREIGN KEY (`source_id`) REFERENCES `lead_sources` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customers_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customers`
--

LOCK TABLES `customers` WRITE;
/*!40000 ALTER TABLE `customers` DISABLE KEYS */;
INSERT INTO `customers` VALUES (1,'d9dac046-1f16-4d45-9fd3-f19014ec2e82',1,'person','مشتری نمونه','شرکت مشتری نمونه','09121234567','09121234567',NULL,NULL,NULL,'تهران',NULL,NULL,NULL,NULL,NULL,1,NULL,3,'team','warm','active','2026-07-16 06:59:36',NULL,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(2,'bff5715b-bda8-4f5b-9175-278ca74622dd',1,'person','مشتری تست آفلاین',NULL,'09123456789','09123456789',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'private','cold','active',NULL,NULL,NULL,'2026-07-16 07:18:07','2026-07-16 07:18:07',NULL),(3,'8c8317e5-ba9e-410e-aff6-1708ef22015e',2,'company','فلاحتدار','شرکت تخت گنبد ','09359691296','09359691296','','','','تهران ','',NULL,NULL,NULL,NULL,NULL,NULL,1,'private','customer','active',NULL,NULL,'','2026-07-17 10:05:34','2026-07-17 10:05:34',NULL),(4,'89acdc00-d8dd-431a-9654-7ff7fce89eb2',3,'company','هادی میرجلیلی','افتخار کویر یزد','09131548761','09131548761','','','','یزد','','','','','',NULL,NULL,6,'private','warm','active','2026-07-22 16:33:09','2026-07-23 20:30:00','','2026-07-20 14:11:00','2026-07-22 16:33:09',NULL),(36,'51754172-80dd-49f4-a52b-c1960d0bce50',14,'person','علی محمدی',NULL,'09121000000','09121000000',NULL,NULL,NULL,'تهران',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','cold','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(37,'f14f1f42-bced-46b7-9f5f-7f212829651f',14,'person','سارا احمدی',NULL,'09121000001','09121000001',NULL,NULL,NULL,'اصفهان',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','warm','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(38,'fc8335ce-7c17-4e01-956a-0e1e1a9ea47c',14,'person','رضا کریمی',NULL,'09121000002','09121000002',NULL,NULL,NULL,'مشهد',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','hot','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(39,'056c6c2c-11be-4162-8f73-6257dafe0489',14,'person','مریم حسینی',NULL,'09121000003','09121000003',NULL,NULL,NULL,'شیراز',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','cold','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(40,'d01d11f2-80d9-4f6c-a1be-3c20e51f2916',14,'person','محمد رضایی',NULL,'09121000004','09121000004',NULL,NULL,NULL,'تبریز',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','warm','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(41,'89ebf0ab-daa9-4803-a7f2-3f44a736fc29',14,'person','فاطمه صادقی',NULL,'09121000005','09121000005',NULL,NULL,NULL,'کرج',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','hot','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(42,'25cc0b44-8d0c-4d4e-9982-6bf16b42fd5d',14,'person','حسین نوری',NULL,'09121000006','09121000006',NULL,NULL,NULL,'اهواز',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','cold','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(43,'1b743f45-1e64-4da6-95a9-081e708b88b4',14,'person','زهرا اکبری',NULL,'09121000007','09121000007',NULL,NULL,NULL,'قم',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','warm','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(44,'a3cdcda0-cc9b-4a90-af4b-5dcf6481d707',14,'person','امیر جعفری',NULL,'09121000008','09121000008',NULL,NULL,NULL,'رشت',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','hot','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(45,'97cf4a75-8030-406f-aa13-dbfd664335c2',14,'person','نگار موسوی',NULL,'09121000009','09121000009',NULL,NULL,NULL,'کرمان',NULL,NULL,NULL,NULL,NULL,NULL,NULL,35,'team','cold','active',NULL,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL);
/*!40000 ALTER TABLE `customers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `deal_collaborators`
--

DROP TABLE IF EXISTS `deal_collaborators`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `deal_collaborators` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `deal_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `role` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `share_percent` decimal(7,4) DEFAULT NULL,
  `fixed_share` decimal(18,2) DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `deal_collaborators_deal_id_user_id_role_unique` (`deal_id`,`user_id`,`role`),
  KEY `deal_collaborators_workspace_id_foreign` (`workspace_id`),
  KEY `deal_collaborators_user_id_foreign` (`user_id`),
  CONSTRAINT `deal_collaborators_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE,
  CONSTRAINT `deal_collaborators_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `deal_collaborators_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `deal_collaborators`
--

LOCK TABLES `deal_collaborators` WRITE;
/*!40000 ALTER TABLE `deal_collaborators` DISABLE KEYS */;
INSERT INTO `deal_collaborators` VALUES (1,1,1,3,'owner',NULL,NULL,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,2,1,'owner',NULL,NULL,NULL,'2026-07-19 14:56:32','2026-07-19 14:56:32'),(9,14,9,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(10,14,10,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(11,14,11,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(12,14,12,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(13,14,13,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(14,14,14,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(15,14,15,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(16,14,16,35,'owner',NULL,NULL,NULL,'2026-08-07 17:33:22','2026-08-07 17:33:22');
/*!40000 ALTER TABLE `deal_collaborators` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `deal_items`
--

DROP TABLE IF EXISTS `deal_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `deal_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `deal_id` bigint unsigned NOT NULL,
  `catalog_item_id` bigint unsigned DEFAULT NULL,
  `item_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sku` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unit` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `qty` decimal(14,3) NOT NULL,
  `unit_price` decimal(18,2) NOT NULL,
  `discount_type` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent',
  `discount_value` decimal(18,4) NOT NULL DEFAULT '0.0000',
  `discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_rate` decimal(7,4) NOT NULL DEFAULT '0.0000',
  `tax_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `service_cost` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_subtotal` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `commission_method` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `commission_rate` decimal(7,4) DEFAULT NULL,
  `commission_fixed_amount` decimal(18,2) DEFAULT NULL,
  `commission_base_type` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `estimated_commission` decimal(18,2) NOT NULL DEFAULT '0.00',
  `final_commission` decimal(18,2) DEFAULT NULL,
  `sort_order` int unsigned NOT NULL DEFAULT '0',
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `deal_items_deal_id_foreign` (`deal_id`),
  KEY `deal_items_catalog_item_id_foreign` (`catalog_item_id`),
  KEY `deal_items_workspace_id_deal_id_index` (`workspace_id`,`deal_id`),
  CONSTRAINT `deal_items_catalog_item_id_foreign` FOREIGN KEY (`catalog_item_id`) REFERENCES `catalog_items` (`id`) ON DELETE SET NULL,
  CONSTRAINT `deal_items_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`) ON DELETE CASCADE,
  CONSTRAINT `deal_items_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `deal_items_chk_1` CHECK (json_valid(`metadata`))
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `deal_items`
--

LOCK TABLES `deal_items` WRITE;
/*!40000 ALTER TABLE `deal_items` DISABLE KEYS */;
INSERT INTO `deal_items` VALUES (1,1,1,1,'product','محصول نمونه','SKU-0001','عدد',3.000,2500000.00,'percent',0.0000,0.00,9.0000,675000.00,0.00,7500000.00,8175000.00,'percentage',5.0000,NULL,'after_discount',375000.00,NULL,1,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,2,2,'product','fmb202','001','عدد',10.000,14400000.00,'fixed',0.0000,0.00,10.0000,14400000.00,0.00,144000000.00,158400000.00,'percentage',7.0000,NULL,'after_discount',10080000.00,NULL,1,NULL,'2026-07-19 14:56:32','2026-07-19 14:56:32'),(9,14,9,37,'product','بسته پیاده‌سازی CRM','SKU-0001','عدد',4.000,21000000.00,'percent',0.0000,0.00,9.0000,7560000.00,0.00,84000000.00,91560000.00,'percentage',5.1300,NULL,'after_discount',4309200.00,NULL,1,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(10,14,10,38,'product','لایسنس سالانه نرم‌افزار','SKU-0002','عدد',2.000,23000000.00,'percent',0.0000,0.00,9.0000,4140000.00,0.00,46000000.00,50140000.00,'percentage',8.1700,NULL,'after_discount',3758200.00,NULL,1,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(11,14,11,39,'product','خدمات میزبانی ابری','SKU-0003','عدد',2.000,11000000.00,'percent',0.0000,0.00,9.0000,1980000.00,0.00,22000000.00,23980000.00,'percentage',1.1200,NULL,'after_discount',246400.00,NULL,1,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(12,14,12,40,'product','مشاوره دیجیتال مارکتینگ','SKU-0004','عدد',1.000,6000000.00,'percent',0.0000,0.00,9.0000,540000.00,0.00,6000000.00,6540000.00,'percentage',7.7100,NULL,'after_discount',462600.00,NULL,1,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(13,14,13,41,'product','بسته آموزش تیم فروش','SKU-0005','عدد',4.000,36000000.00,'percent',0.0000,0.00,9.0000,12960000.00,0.00,144000000.00,156960000.00,'percentage',5.7200,NULL,'after_discount',8236800.00,NULL,1,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(14,14,14,42,'product','پشتیبانی فنی ماهانه','SKU-0006','عدد',2.000,34000000.00,'percent',0.0000,0.00,9.0000,6120000.00,0.00,68000000.00,74120000.00,'percentage',6.2100,NULL,'after_discount',4222800.00,NULL,1,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(15,14,15,43,'product','طراحی وب‌سایت اختصاصی','SKU-0007','عدد',4.000,12000000.00,'percent',0.0000,0.00,9.0000,4320000.00,0.00,48000000.00,52320000.00,'percentage',6.5300,NULL,'after_discount',3134400.00,NULL,1,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21'),(16,14,16,44,'product','سیستم مدیریت انبار','SKU-0008','عدد',1.000,9000000.00,'percent',0.0000,0.00,9.0000,810000.00,0.00,9000000.00,9810000.00,'percentage',6.3300,NULL,'after_discount',569700.00,NULL,1,NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21');
/*!40000 ALTER TABLE `deal_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `deals`
--

DROP TABLE IF EXISTS `deals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `deals` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `uuid` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_id` bigint unsigned DEFAULT NULL,
  `project_id` bigint unsigned NOT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `pipeline_id` bigint unsigned NOT NULL,
  `stage_id` bigint unsigned NOT NULL,
  `seller_user_id` bigint unsigned NOT NULL,
  `source_quotation_id` bigint unsigned DEFAULT NULL,
  `title` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sale_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'direct',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `lost_reason` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `invoice_no` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `subtotal` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `other_cost_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `total_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `paid_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `outstanding_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `service_cost_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `gross_profit` decimal(18,2) NOT NULL DEFAULT '0.00',
  `net_profit` decimal(18,2) NOT NULL DEFAULT '0.00',
  `payment_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid',
  `lock_version` int unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `deals_uuid_unique` (`uuid`),
  KEY `deals_customer_id_foreign` (`customer_id`),
  KEY `deals_project_id_foreign` (`project_id`),
  KEY `deals_partner_company_id_foreign` (`partner_company_id`),
  KEY `deals_pipeline_id_foreign` (`pipeline_id`),
  KEY `deals_stage_id_foreign` (`stage_id`),
  KEY `deals_seller_user_id_foreign` (`seller_user_id`),
  KEY `deals_source_quotation_id_foreign` (`source_quotation_id`),
  KEY `deals_workspace_id_seller_user_id_status_created_at_index` (`workspace_id`,`seller_user_id`,`status`,`created_at`),
  KEY `deals_workspace_id_project_id_stage_id_index` (`workspace_id`,`project_id`,`stage_id`),
  KEY `deals_workspace_status_reason_index` (`workspace_id`,`status`,`lost_reason`),
  CONSTRAINT `deals_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`),
  CONSTRAINT `deals_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `deals_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`),
  CONSTRAINT `deals_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`),
  CONSTRAINT `deals_seller_user_id_foreign` FOREIGN KEY (`seller_user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `deals_source_quotation_id_foreign` FOREIGN KEY (`source_quotation_id`) REFERENCES `quotations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `deals_stage_id_foreign` FOREIGN KEY (`stage_id`) REFERENCES `pipeline_stages` (`id`),
  CONSTRAINT `deals_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `deals`
--

LOCK TABLES `deals` WRITE;
/*!40000 ALTER TABLE `deals` DISABLE KEYS */;
INSERT INTO `deals` VALUES (1,1,'3e0c076d-6f14-4668-a96d-19072004e169',1,1,1,1,1,3,1,'فروش از پیش‌فاکتور Q-1405-00001','direct','open',NULL,NULL,NULL,7500000.00,0.00,675000.00,0.00,8175000.00,4000000.00,4175000.00,0.00,7500000.00,7125000.00,'partial',0,'2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(2,2,'f607a04d-2e5b-4655-8fa2-87153840f575',3,2,3,2,5,1,4,'فروش از پیش‌فاکتور Q-1405-00002','direct','won',NULL,NULL,NULL,144000000.00,0.00,14400000.00,0.00,158400000.00,158400000.00,0.00,0.00,144000000.00,133920000.00,'paid',1,'2026-07-19 14:56:32','2026-07-19 14:57:38',NULL),(9,14,'10968df8-e04c-47aa-a7e6-09241408c6e2',36,35,35,12,37,35,19,'فروش از پیش‌فاکتور Q-1405-00001','direct','won',NULL,'I-1405-00001','2026-08-27',84000000.00,0.00,7560000.00,0.00,91560000.00,45780000.00,45780000.00,0.00,84000000.00,79690800.00,'partial',2,'2026-08-07 17:33:20','2026-08-07 17:33:20',NULL),(10,14,'841e37f9-02c1-4633-a823-d3c6253f16a2',37,36,36,12,37,35,20,'فروش از پیش‌فاکتور Q-1405-00002','direct','won',NULL,'I-1405-00002','2026-08-27',46000000.00,0.00,4140000.00,0.00,50140000.00,25070000.00,25070000.00,0.00,46000000.00,42241800.00,'partial',2,'2026-08-07 17:33:20','2026-08-07 17:33:21',NULL),(11,14,'5295922a-7249-430d-9d4d-e107a71cbd0f',38,37,37,12,38,35,21,'فروش از پیش‌فاکتور Q-1405-00003','direct','open',NULL,NULL,NULL,22000000.00,0.00,1980000.00,0.00,23980000.00,0.00,23980000.00,0.00,22000000.00,21753600.00,'unpaid',2,'2026-08-07 17:33:21','2026-08-11 15:22:13',NULL),(12,14,'b6da5b7f-391a-4464-af7c-3a0ac413e9d0',39,38,38,12,36,35,22,'فروش از پیش‌فاکتور Q-1405-00004','direct','open',NULL,NULL,NULL,6000000.00,0.00,540000.00,0.00,6540000.00,0.00,6540000.00,0.00,6000000.00,5537400.00,'unpaid',1,'2026-08-07 17:33:21','2026-08-07 17:33:21',NULL),(13,14,'9d161618-cfe3-4c3f-9306-f5f0aaf058f6',40,39,39,12,35,35,23,'فروش از پیش‌فاکتور Q-1405-00005','direct','open',NULL,NULL,NULL,144000000.00,0.00,12960000.00,0.00,156960000.00,0.00,156960000.00,0.00,144000000.00,135763200.00,'unpaid',0,'2026-08-07 17:33:21','2026-08-07 17:33:21',NULL),(14,14,'47a21a52-78da-4595-9d32-afb3eda6e4eb',41,40,40,12,35,35,24,'فروش از پیش‌فاکتور Q-1405-00006','direct','open',NULL,NULL,NULL,68000000.00,0.00,6120000.00,0.00,74120000.00,0.00,74120000.00,0.00,68000000.00,63777200.00,'unpaid',0,'2026-08-07 17:33:21','2026-08-07 17:33:21',NULL),(15,14,'19e0c856-a320-4a8e-a617-ef3b357a2921',42,41,41,12,35,35,25,'فروش از پیش‌فاکتور Q-1405-00007','direct','open',NULL,NULL,NULL,48000000.00,0.00,4320000.00,0.00,52320000.00,0.00,52320000.00,0.00,48000000.00,44865600.00,'unpaid',0,'2026-08-07 17:33:21','2026-08-07 17:33:21',NULL),(16,14,'874afcbb-a1a1-4922-96f7-26e3b9d35e51',43,42,42,12,35,35,26,'فروش از پیش‌فاکتور Q-1405-00008','direct','open',NULL,NULL,NULL,9000000.00,0.00,810000.00,0.00,9810000.00,0.00,9810000.00,0.00,9000000.00,8430300.00,'unpaid',0,'2026-08-07 17:33:21','2026-08-07 17:33:22',NULL),(17,14,'74fca0a0-0467-49bf-b936-c93e32b94a73',44,43,NULL,12,35,35,NULL,'معامله مستقیم امیر جعفری','direct','open',NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'unpaid',0,'2026-08-07 17:33:22','2026-08-07 17:33:22',NULL),(18,14,'b968a54f-4273-45ef-ac73-d46ef84fac2a',45,44,NULL,12,36,35,NULL,'معامله مستقیم نگار موسوی','direct','open',NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,'unpaid',0,'2026-08-07 17:33:22','2026-08-07 17:33:22',NULL);
/*!40000 ALTER TABLE `deals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `exports`
--

DROP TABLE IF EXISTS `exports`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `exports` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `type` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `filters` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'queued',
  `file_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `error` text COLLATE utf8mb4_unicode_ci,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `exports_user_id_foreign` (`user_id`),
  KEY `exports_user_status_idx` (`workspace_id`,`user_id`,`status`),
  CONSTRAINT `exports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `exports_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `exports_chk_1` CHECK (json_valid(`filters`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `exports`
--

LOCK TABLES `exports` WRITE;
/*!40000 ALTER TABLE `exports` DISABLE KEYS */;
/*!40000 ALTER TABLE `exports` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `failed_jobs`
--

DROP TABLE IF EXISTS `failed_jobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `failed_jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `failed_jobs`
--

LOCK TABLES `failed_jobs` WRITE;
/*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */;
INSERT INTO `failed_jobs` VALUES (1,'46a42e88-d5fd-4f71-a830-06fbd162e5fe','database','default','{\"uuid\":\"46a42e88-d5fd-4f71-a830-06fbd162e5fe\",\"displayName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"command\":\"O:32:\\\"App\\\\Jobs\\\\GenerateQuotationPdfJob\\\":2:{s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000workspaceId\\\";i:3;s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000quotationId\\\";i:8;}\",\"batchId\":null},\"createdAt\":1784840529,\"delay\":null}','Error: Call to a member function isNotEmpty() on null in D:\\develop\\MiniCRM\\storage\\framework\\views\\0f0e169d3b401c70051ec5a71bf58bf9.php:188\nStack trace:\n#0 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(123): require()\n#1 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Filesystem\\Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}()\n#2 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Engines\\PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire(\'D:\\\\develop\\\\Mini...\', Array)\n#3 D:\\develop\\MiniCRM\\vendor\\livewire\\livewire\\src\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine.php(22): Illuminate\\View\\Engines\\PhpEngine->evaluatePath(\'D:\\\\develop\\\\Mini...\', Array)\n#4 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Engines\\CompilerEngine.php(76): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->evaluatePath(\'D:\\\\develop\\\\Mini...\', Array)\n#5 D:\\develop\\MiniCRM\\vendor\\livewire\\livewire\\src\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine.php(10): Illuminate\\View\\Engines\\CompilerEngine->get(\'D:\\\\develop\\\\Mini...\', Array)\n#6 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php(208): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->get(\'D:\\\\develop\\\\Mini...\', Array)\n#7 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php(191): Illuminate\\View\\View->getContents()\n#8 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php(160): Illuminate\\View\\View->renderContents()\n#9 D:\\develop\\MiniCRM\\vendor\\barryvdh\\laravel-dompdf\\src\\PDF.php(142): Illuminate\\View\\View->render()\n#10 D:\\develop\\MiniCRM\\vendor\\barryvdh\\laravel-dompdf\\src\\Facade\\Pdf.php(66): Barryvdh\\DomPDF\\PDF->loadView(\'pdf.quotation\', Array)\n#11 D:\\develop\\MiniCRM\\app\\Jobs\\GenerateQuotationPdfJob.php(32): Barryvdh\\DomPDF\\Facade\\Pdf::__callStatic(\'loadView\', Array)\n#12 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\GenerateQuotationPdfJob->handle()\n#13 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#14 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#15 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#16 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#17 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#18 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#19 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#20 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#21 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\GenerateQuotationPdfJob), false)\n#22 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#23 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#24 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#25 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\GenerateQuotationPdfJob))\n#26 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#27 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(504): Illuminate\\Queue\\Jobs\\Job->fire()\n#28 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(454): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#29 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(212): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#30 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(149): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#31 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(132): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#32 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#33 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#34 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#35 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#36 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#37 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#38 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#39 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#40 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#43 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#44 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#45 D:\\develop\\MiniCRM\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#46 {main}\n\nNext Illuminate\\View\\ViewException: Call to a member function isNotEmpty() on null (View: D:\\develop\\MiniCRM\\resources\\views\\pdf\\quotation.blade.php) in D:\\develop\\MiniCRM\\storage\\framework\\views\\0f0e169d3b401c70051ec5a71bf58bf9.php:188\nStack trace:\n#0 D:\\develop\\MiniCRM\\vendor\\livewire\\livewire\\src\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine.php(58): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(Error), 0)\n#1 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Engines\\PhpEngine.php(59): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->handleViewException(Object(Error), 0)\n#2 D:\\develop\\MiniCRM\\vendor\\livewire\\livewire\\src\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine.php(22): Illuminate\\View\\Engines\\PhpEngine->evaluatePath(\'D:\\\\develop\\\\Mini...\', Array)\n#3 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Engines\\CompilerEngine.php(76): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->evaluatePath(\'D:\\\\develop\\\\Mini...\', Array)\n#4 D:\\develop\\MiniCRM\\vendor\\livewire\\livewire\\src\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine.php(10): Illuminate\\View\\Engines\\CompilerEngine->get(\'D:\\\\develop\\\\Mini...\', Array)\n#5 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php(208): Livewire\\Mechanisms\\ExtendBlade\\ExtendedCompilerEngine->get(\'D:\\\\develop\\\\Mini...\', Array)\n#6 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php(191): Illuminate\\View\\View->getContents()\n#7 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php(160): Illuminate\\View\\View->renderContents()\n#8 D:\\develop\\MiniCRM\\vendor\\barryvdh\\laravel-dompdf\\src\\PDF.php(142): Illuminate\\View\\View->render()\n#9 D:\\develop\\MiniCRM\\vendor\\barryvdh\\laravel-dompdf\\src\\Facade\\Pdf.php(66): Barryvdh\\DomPDF\\PDF->loadView(\'pdf.quotation\', Array)\n#10 D:\\develop\\MiniCRM\\app\\Jobs\\GenerateQuotationPdfJob.php(32): Barryvdh\\DomPDF\\Facade\\Pdf::__callStatic(\'loadView\', Array)\n#11 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): App\\Jobs\\GenerateQuotationPdfJob->handle()\n#12 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#13 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#14 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#15 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#16 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(129): Illuminate\\Container\\Container->call(Array)\n#17 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#18 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#19 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Bus\\Dispatcher.php(133): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#20 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(136): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(App\\Jobs\\GenerateQuotationPdfJob), false)\n#21 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(180): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#22 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(App\\Jobs\\GenerateQuotationPdfJob))\n#23 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(129): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\n#24 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(App\\Jobs\\GenerateQuotationPdfJob))\n#25 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Jobs\\Job.php(102): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)\n#26 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(504): Illuminate\\Queue\\Jobs\\Job->fire()\n#27 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(454): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#28 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(212): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#29 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(149): Illuminate\\Queue\\Worker->daemon(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#30 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(132): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#31 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#32 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#33 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#34 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#35 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#36 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#37 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#38 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#39 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#40 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#41 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#42 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#43 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#44 D:\\develop\\MiniCRM\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#45 {main}','2026-07-23 17:32:10'),(2,'0a7a685f-1972-4f39-858d-9c4ab677be2d','database','default','{\"uuid\":\"0a7a685f-1972-4f39-858d-9c4ab677be2d\",\"displayName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"command\":\"O:32:\\\"App\\\\Jobs\\\\GenerateQuotationPdfJob\\\":2:{s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000workspaceId\\\";i:1;s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000quotationId\\\";i:1;}\",\"batchId\":null},\"createdAt\":1784899933,\"delay\":null}','Illuminate\\Queue\\MaxAttemptsExceededException: App\\Jobs\\GenerateQuotationPdfJob has been attempted too many times. in D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\MaxAttemptsExceededException.php:24\nStack trace:\n#0 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(883): Illuminate\\Queue\\MaxAttemptsExceededException::forJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob))\n#1 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(592): Illuminate\\Queue\\Worker->maxAttemptsExceededException(Object(Illuminate\\Queue\\Jobs\\DatabaseJob))\n#2 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(493): Illuminate\\Queue\\Worker->markJobAsFailedIfAlreadyExceedsMaxAttempts(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), 1)\n#3 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(454): Illuminate\\Queue\\Worker->process(\'database\', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))\n#4 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Worker.php(377): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), \'database\', Object(Illuminate\\Queue\\WorkerOptions))\n#5 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(149): Illuminate\\Queue\\Worker->runNextJob(\'database\', \'default\', Object(Illuminate\\Queue\\WorkerOptions))\n#6 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Queue\\Console\\WorkCommand.php(132): Illuminate\\Queue\\Console\\WorkCommand->runWorker(\'database\', \'default\')\n#7 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()\n#8 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()\n#9 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))\n#10 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))\n#11 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php(799): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)\n#12 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(211): Illuminate\\Container\\Container->call(Array)\n#13 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Command\\Command.php(341): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#14 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))\n#15 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(1117): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#16 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#17 D:\\develop\\MiniCRM\\vendor\\symfony\\console\\Application.php(195): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#18 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(198): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#19 D:\\develop\\MiniCRM\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#20 D:\\develop\\MiniCRM\\artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput))\n#21 {main}','2026-07-24 10:03:46');
/*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `job_batches`
--

DROP TABLE IF EXISTS `job_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `job_batches` (
  `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int NOT NULL,
  `pending_jobs` int NOT NULL,
  `failed_jobs` int NOT NULL,
  `failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int DEFAULT NULL,
  `created_at` int NOT NULL,
  `finished_at` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `job_batches`
--

LOCK TABLES `job_batches` WRITE;
/*!40000 ALTER TABLE `job_batches` DISABLE KEYS */;
/*!40000 ALTER TABLE `job_batches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `jobs`
--

DROP TABLE IF EXISTS `jobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint unsigned NOT NULL,
  `reserved_at` int unsigned DEFAULT NULL,
  `available_at` int unsigned NOT NULL,
  `created_at` int unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index` (`queue`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `jobs`
--

LOCK TABLES `jobs` WRITE;
/*!40000 ALTER TABLE `jobs` DISABLE KEYS */;
INSERT INTO `jobs` VALUES (38,'default','{\"uuid\":\"68e2fe4b-5052-4da1-b9f3-c9ff953aa0f0\",\"displayName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"command\":\"O:32:\\\"App\\\\Jobs\\\\GenerateQuotationPdfJob\\\":2:{s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000workspaceId\\\";i:14;s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000quotationId\\\";i:22;}\",\"batchId\":null},\"createdAt\":1786216320,\"delay\":null}',0,NULL,1786216320,1786216320),(39,'default','{\"uuid\":\"f886f0e5-50ff-4864-99b4-888b5e6428a3\",\"displayName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"command\":\"O:32:\\\"App\\\\Jobs\\\\GenerateQuotationPdfJob\\\":2:{s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000workspaceId\\\";i:3;s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000quotationId\\\";i:29;}\",\"batchId\":null},\"createdAt\":1786470415,\"delay\":null}',0,NULL,1786470415,1786470415),(40,'default','{\"uuid\":\"95fae5dd-75c4-4e5c-9dcb-53f3c3a39742\",\"displayName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"App\\\\Jobs\\\\GenerateQuotationPdfJob\",\"command\":\"O:32:\\\"App\\\\Jobs\\\\GenerateQuotationPdfJob\\\":2:{s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000workspaceId\\\";i:3;s:45:\\\"\\u0000App\\\\Jobs\\\\GenerateQuotationPdfJob\\u0000quotationId\\\";i:29;}\",\"batchId\":null},\"createdAt\":1786472625,\"delay\":null}',0,NULL,1786472625,1786472625);
/*!40000 ALTER TABLE `jobs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lead_sources`
--

DROP TABLE IF EXISTS `lead_sources`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `lead_sources` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lead_sources_workspace_id_name_unique` (`workspace_id`,`name`),
  CONSTRAINT `lead_sources_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lead_sources`
--

LOCK TABLES `lead_sources` WRITE;
/*!40000 ALTER TABLE `lead_sources` DISABLE KEYS */;
INSERT INTO `lead_sources` VALUES (1,1,'معرفی مشتری','2026-07-16 06:59:36','2026-07-16 06:59:36');
/*!40000 ALTER TABLE `lead_sources` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `migrations`
--

DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `migrations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `migrations`
--

LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` VALUES (1,'0001_01_01_000000_create_users_table',1),(2,'0001_01_01_000001_create_cache_table',1),(3,'0001_01_01_000002_create_jobs_table',1),(4,'2026_07_11_155922_add_profile_fields_to_users_table',1),(5,'2026_07_11_155923_01_create_workspaces_table',1),(6,'2026_07_11_155923_02_create_workspace_users_table',1),(7,'2026_07_11_155924_01_create_workspace_invitations_table',1),(8,'2026_07_11_155924_02_create_audit_logs_table',1),(9,'2026_07_12_081919_create_partner_companies_table',1),(10,'2026_07_12_081920_create_contracts_table',1),(11,'2026_07_12_081920_create_projects_table',1),(12,'2026_07_12_081921_create_catalog_categories_table',1),(13,'2026_07_12_081921_create_catalog_items_table',1),(14,'2026_07_12_081922_create_catalog_item_versions_table',1),(15,'2026_07_13_105303_create_lead_sources_table',1),(16,'2026_07_13_105304_create_customers_table',1),(17,'2026_07_13_105305_create_customer_contacts_table',1),(18,'2026_07_13_105306_create_customer_assignments_table',1),(19,'2026_07_13_105307_create_activities_table',1),(20,'2026_07_15_094646_create_number_sequences_table',1),(21,'2026_07_15_094647_01_create_quotations_table',1),(22,'2026_07_15_094647_02_create_quotation_items_table',1),(23,'2026_07_15_103148_01_create_pipelines_table',1),(24,'2026_07_15_103148_02_create_pipeline_stages_table',1),(25,'2026_07_15_103149_01_create_deals_table',1),(26,'2026_07_15_103149_02_create_deal_items_table',1),(27,'2026_07_15_103149_03_create_deal_collaborators_table',1),(28,'2026_07_15_103150_add_deal_foreign_key_to_quotations_table',1),(29,'2026_07_15_103150_create_payments_table',1),(30,'2026_07_16_090000_01_create_commission_rules_table',1),(31,'2026_07_16_090000_02_create_commission_entries_table',1),(32,'2026_07_16_090000_03_create_settlements_table',1),(33,'2026_07_16_090000_04_create_settlement_items_table',1),(34,'2026_07_17_090000_01_create_attachments_table',1),(35,'2026_07_17_090000_02_create_app_notifications_table',1),(36,'2026_07_17_090000_03_create_push_subscriptions_table',1),(37,'2026_07_17_090000_04_create_exports_table',1),(38,'2026_07_19_191244_add_legal_details_to_workspaces_table',2),(39,'2026_07_19_191245_add_legal_details_to_customers_table',2),(40,'2026_07_21_082027_add_partner_company_to_customers_table',3),(41,'2026_07_21_082028_make_customer_id_nullable_on_deals_table',3),(42,'2026_07_21_082028_make_customer_id_nullable_on_quotations_table',3),(43,'2026_07_22_100000_add_reminded_at_to_activities_table',4),(44,'2026_07_23_181520_create_quotation_notes_table',5),(45,'2026_07_23_181538_create_quotation_note_selections_table',5),(46,'2026_07_24_120000_add_account_type_to_users_table',6),(47,'2026_07_24_120001_add_has_support_to_contracts_table',6),(48,'2026_07_24_120002_create_contract_support_periods_table',6),(49,'2026_07_24_120003_create_support_schedules_table',6),(50,'2026_07_24_120004_create_support_holidays_table',6),(51,'2026_07_24_120005_create_portal_company_accesses_table',7),(52,'2026_07_24_120006_create_portal_project_accesses_table',7),(53,'2026_07_24_120007_create_portal_invitations_table',7),(54,'2026_07_25_090000_create_support_sla_rules_table',8),(55,'2026_07_26_090000_create_tickets_table',9),(56,'2026_07_26_090001_create_ticket_messages_table',9),(57,'2026_07_26_090002_create_ticket_status_histories_table',9),(58,'2026_07_27_090000_add_invoice_fields_to_deals_table',10),(59,'2026_07_28_090000_add_scheduler_tracking_columns',11),(60,'2026_07_28_100000_add_excel_path_to_quotations_table',12),(61,'2026_08_04_130941_add_product_tours_seen_to_users_table',13),(62,'2026_08_05_200005_create_trial_requests_table',14),(63,'2026_08_11_173837_add_custom_note_to_quotations_table',15),(64,'2026_08_14_120000_add_lost_reason_to_deals_table',16),(65,'2026_08_14_130000_create_sales_targets_table',17),(66,'2026_08_15_100000_add_is_platform_admin_to_users_table',18),(67,'2026_08_15_100100_add_status_to_trial_requests_table',18),(68,'2026_08_18_100000_add_note_to_payments_table',19);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `number_sequences`
--

DROP TABLE IF EXISTS `number_sequences`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `number_sequences` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `type` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `year` smallint unsigned NOT NULL,
  `prefix` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_number` int unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `number_sequences_workspace_id_type_year_unique` (`workspace_id`,`type`,`year`),
  CONSTRAINT `number_sequences_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `number_sequences`
--

LOCK TABLES `number_sequences` WRITE;
/*!40000 ALTER TABLE `number_sequences` DISABLE KEYS */;
INSERT INTO `number_sequences` VALUES (1,1,'quotation',1405,'Q',2,'2026-07-16 06:59:36','2026-07-16 15:03:37'),(2,1,'settlement',1405,'S',1,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(3,2,'quotation',1405,'Q',3,'2026-07-17 10:07:32','2026-07-19 15:01:28'),(4,2,'settlement',1405,'S',1,'2026-07-19 15:00:21','2026-07-19 15:00:21'),(5,3,'quotation',1405,'Q',3,'2026-07-22 12:54:11','2026-08-11 14:10:40'),(6,1,'ticket',1405,'T',2,'2026-07-26 13:17:33','2026-07-26 13:27:55'),(9,14,'quotation',1405,'Q',11,'2026-08-07 17:33:18','2026-08-11 15:01:35'),(10,14,'invoice',1405,'I',2,'2026-08-07 17:33:20','2026-08-07 17:33:21'),(11,14,'ticket',1405,'T',10,'2026-08-07 17:33:22','2026-08-07 17:33:54'),(12,14,'settlement',1405,'S',1,'2026-08-11 15:03:37','2026-08-11 15:03:37');
/*!40000 ALTER TABLE `number_sequences` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `partner_companies`
--

DROP TABLE IF EXISTS `partner_companies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `partner_companies` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `legal_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_id` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `economic_code` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8mb4_unicode_ci,
  `city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contract_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_by` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `partner_companies_created_by_foreign` (`created_by`),
  KEY `partner_companies_workspace_id_status_index` (`workspace_id`,`status`),
  CONSTRAINT `partner_companies_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`),
  CONSTRAINT `partner_companies_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `partner_companies`
--

LOCK TABLES `partner_companies` WRITE;
/*!40000 ALTER TABLE `partner_companies` DISABLE KEYS */;
INSERT INTO `partner_companies` VALUES (1,1,'شرکت همکار نمونه','شرکت همکار نمونه (سهامی خاص)',NULL,NULL,NULL,NULL,NULL,NULL,'تهران','none','active',NULL,1,'2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(2,1,'شرکت پادرا معدن ','پادرا معدن ایرانیان ','','','','','','','','none','active','',1,'2026-07-16 15:12:14','2026-07-16 15:12:14',NULL),(3,2,'شرکت تخت گنبد ','','','','','','','','','none','active','',1,'2026-07-17 10:03:01','2026-07-17 10:03:01',NULL),(4,3,'مس درخشان تخت گنبد','مجموعه معدن و كارخانه های فراوری مس درخشان تخت گنبد','','','02126800184','info@tg-copper.com','https://tg-copper.com/','تهران ، خیابـان ولیعصر ، خیابان مقدس اردبیلی ، بعد از میدان الف،خیـابـان سنـگـر ، پـلاک 2 ، طبقـه 2\n','تهران','none','active','مشتری ویژه ',1,'2026-07-20 15:34:39','2026-07-20 15:34:39',NULL),(35,14,'داده‌پردازان آریا','داده‌پردازان آریا (سهامی خاص)',NULL,NULL,'02110000000',NULL,NULL,NULL,'تهران','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(36,14,'بازرگانی پارس تجارت','بازرگانی پارس تجارت (سهامی خاص)',NULL,NULL,'02110000001',NULL,NULL,NULL,'اصفهان','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(37,14,'صنایع البرز','صنایع البرز (سهامی خاص)',NULL,NULL,'02110000002',NULL,NULL,NULL,'مشهد','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(38,14,'فناوران نوین کیهان','فناوران نوین کیهان (سهامی خاص)',NULL,NULL,'02110000003',NULL,NULL,NULL,'شیراز','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(39,14,'توسعه تجارت سبز','توسعه تجارت سبز (سهامی خاص)',NULL,NULL,'02110000004',NULL,NULL,NULL,'تبریز','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(40,14,'مهرآفرین','مهرآفرین (سهامی خاص)',NULL,NULL,'02110000005',NULL,NULL,NULL,'کرج','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(41,14,'راهسازان جنوب','راهسازان جنوب (سهامی خاص)',NULL,NULL,'02110000006',NULL,NULL,NULL,'اهواز','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(42,14,'پخش سراسری رادین','پخش سراسری رادین (سهامی خاص)',NULL,NULL,'02110000007',NULL,NULL,NULL,'قم','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(43,14,'خدمات مالی نگین','خدمات مالی نگین (سهامی خاص)',NULL,NULL,'02110000008',NULL,NULL,NULL,'رشت','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(44,14,'تجهیزات پزشکی سلامت‌گستر','تجهیزات پزشکی سلامت‌گستر (سهامی خاص)',NULL,NULL,'02110000009',NULL,NULL,NULL,'کرمان','none','active',NULL,33,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL);
/*!40000 ALTER TABLE `partner_companies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `password_reset_tokens`
--

DROP TABLE IF EXISTS `password_reset_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `password_reset_tokens`
--

LOCK TABLES `password_reset_tokens` WRITE;
/*!40000 ALTER TABLE `password_reset_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_reset_tokens` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `payments`
--

DROP TABLE IF EXISTS `payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `payments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `deal_id` bigint unsigned NOT NULL,
  `amount` decimal(18,2) NOT NULL,
  `payment_date` date NOT NULL,
  `method` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reference_no` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `received_by` bigint unsigned DEFAULT NULL,
  `confirmed_by` bigint unsigned DEFAULT NULL,
  `confirmed_at` timestamp NULL DEFAULT NULL,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payments_deal_id_foreign` (`deal_id`),
  KEY `payments_received_by_foreign` (`received_by`),
  KEY `payments_confirmed_by_foreign` (`confirmed_by`),
  KEY `payments_workspace_id_deal_id_status_index` (`workspace_id`,`deal_id`,`status`),
  CONSTRAINT `payments_confirmed_by_foreign` FOREIGN KEY (`confirmed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `payments_deal_id_foreign` FOREIGN KEY (`deal_id`) REFERENCES `deals` (`id`),
  CONSTRAINT `payments_received_by_foreign` FOREIGN KEY (`received_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `payments_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payments_chk_1` CHECK (json_valid(`metadata`))
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `payments`
--

LOCK TABLES `payments` WRITE;
/*!40000 ALTER TABLE `payments` DISABLE KEYS */;
INSERT INTO `payments` VALUES (1,1,1,4000000.00,'2026-07-16','transfer','REF-0001',NULL,'confirmed',1,1,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,2,158400000.00,'2026-07-15','transfer','43543534543',NULL,'confirmed',1,1,'2026-07-19 14:57:38',NULL,'2026-07-19 14:57:31','2026-07-19 14:57:38'),(5,14,9,45780000.00,'2026-08-07','transfer','REF-0001',NULL,'confirmed',33,33,'2026-08-07 17:33:20',NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(6,14,10,25070000.00,'2026-08-07','transfer','REF-0002',NULL,'confirmed',33,33,'2026-08-07 17:33:21',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:21');
/*!40000 ALTER TABLE `payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pipeline_stages`
--

DROP TABLE IF EXISTS `pipeline_stages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pipeline_stages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `pipeline_id` bigint unsigned NOT NULL,
  `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `key` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `probability` decimal(5,2) NOT NULL DEFAULT '0.00',
  `sort_order` int unsigned NOT NULL DEFAULT '0',
  `is_won` tinyint(1) NOT NULL DEFAULT '0',
  `is_lost` tinyint(1) NOT NULL DEFAULT '0',
  `color` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pipeline_stages_pipeline_id_key_unique` (`pipeline_id`,`key`),
  KEY `pipeline_stages_workspace_id_foreign` (`workspace_id`),
  CONSTRAINT `pipeline_stages_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pipeline_stages_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pipeline_stages`
--

LOCK TABLES `pipeline_stages` WRITE;
/*!40000 ALTER TABLE `pipeline_stages` DISABLE KEYS */;
INSERT INTO `pipeline_stages` VALUES (1,1,1,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,1,1,'برنده','won',100.00,1,1,0,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(3,1,1,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(4,2,2,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-19 14:48:41','2026-07-19 14:48:41'),(5,2,2,'برنده','won',100.00,1,1,0,NULL,'2026-07-19 14:48:41','2026-07-19 14:48:41'),(6,2,2,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-19 14:48:41','2026-07-19 14:48:41'),(7,3,3,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-20 14:06:42','2026-07-20 14:06:42'),(8,3,3,'برنده','won',100.00,1,1,0,NULL,'2026-07-20 14:06:42','2026-07-20 14:06:42'),(9,3,3,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-20 14:06:42','2026-07-20 14:06:42'),(10,4,4,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-22 06:56:24','2026-07-22 06:56:24'),(11,4,4,'برنده','won',100.00,1,1,0,NULL,'2026-07-22 06:56:24','2026-07-22 06:56:24'),(12,4,4,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-22 06:56:24','2026-07-22 06:56:24'),(13,5,5,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-22 16:29:09','2026-07-22 16:29:09'),(14,5,5,'برنده','won',100.00,1,1,0,NULL,'2026-07-22 16:29:09','2026-07-22 16:29:09'),(15,5,5,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-22 16:29:09','2026-07-22 16:29:09'),(16,6,6,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-22 16:45:41','2026-07-22 16:45:41'),(17,6,6,'برنده','won',100.00,1,1,0,NULL,'2026-07-22 16:45:41','2026-07-22 16:45:41'),(18,6,6,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-22 16:45:41','2026-07-22 16:45:41'),(19,7,7,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-22 17:43:35','2026-07-22 17:43:35'),(20,7,7,'برنده','won',100.00,1,1,0,NULL,'2026-07-22 17:43:35','2026-07-22 17:43:35'),(21,7,7,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-22 17:43:35','2026-07-22 17:43:35'),(22,8,8,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-23 15:32:17','2026-07-23 15:32:17'),(23,8,8,'برنده','won',100.00,1,1,0,NULL,'2026-07-23 15:32:17','2026-07-23 15:32:17'),(24,8,8,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-23 15:32:17','2026-07-23 15:32:17'),(25,9,9,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-07-26 12:33:33','2026-07-26 12:33:33'),(26,9,9,'برنده','won',100.00,1,1,0,NULL,'2026-07-26 12:33:33','2026-07-26 12:33:33'),(27,9,9,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-07-26 12:33:33','2026-07-26 12:33:33'),(28,10,10,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-08-07 12:45:41','2026-08-07 12:45:41'),(29,10,10,'برنده','won',100.00,1,1,0,NULL,'2026-08-07 12:45:41','2026-08-07 12:45:41'),(30,10,10,'ازدست‌رفته','lost',0.00,2,0,1,NULL,'2026-08-07 12:45:41','2026-08-07 12:45:41'),(35,14,12,'مذاکره','negotiation',30.00,0,0,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(36,14,12,'پیشنهاد ارسال‌شده','proposal',60.00,1,0,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(37,14,12,'برنده','won',100.00,2,1,0,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(38,14,12,'ازدست‌رفته','lost',0.00,3,0,1,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18');
/*!40000 ALTER TABLE `pipeline_stages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pipelines`
--

DROP TABLE IF EXISTS `pipelines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pipelines` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pipelines_workspace_id_foreign` (`workspace_id`),
  CONSTRAINT `pipelines_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pipelines`
--

LOCK TABLES `pipelines` WRITE;
/*!40000 ALTER TABLE `pipelines` DISABLE KEYS */;
INSERT INTO `pipelines` VALUES (1,1,'Pipeline پیش‌فرض',1,'active','2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,'Pipeline پیش‌فرض',1,'active','2026-07-19 14:48:41','2026-07-19 14:48:41'),(3,3,'Pipeline پیش‌فرض',1,'active','2026-07-20 14:06:42','2026-07-20 14:06:42'),(4,4,'Pipeline پیش‌فرض',1,'active','2026-07-22 06:56:24','2026-07-22 06:56:24'),(5,5,'Pipeline پیش‌فرض',1,'active','2026-07-22 16:29:09','2026-07-22 16:29:09'),(6,6,'Pipeline پیش‌فرض',1,'active','2026-07-22 16:45:41','2026-07-22 16:45:41'),(7,7,'Pipeline پیش‌فرض',1,'active','2026-07-22 17:43:35','2026-07-22 17:43:35'),(8,8,'Pipeline پیش‌فرض',1,'active','2026-07-23 15:32:16','2026-07-23 15:32:16'),(9,9,'Pipeline پیش‌فرض',1,'active','2026-07-26 12:33:33','2026-07-26 12:33:33'),(10,10,'Pipeline پیش‌فرض',1,'active','2026-08-07 12:45:41','2026-08-07 12:45:41'),(12,14,'Pipeline پیش‌فرض',1,'active','2026-08-07 17:33:18','2026-08-07 17:33:18');
/*!40000 ALTER TABLE `pipelines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `portal_company_accesses`
--

DROP TABLE IF EXISTS `portal_company_accesses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `portal_company_accesses` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `partner_company_id` bigint unsigned NOT NULL,
  `full_company_access` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_financial` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_contracts` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_tickets` tinyint(1) NOT NULL DEFAULT '0',
  `can_create_ticket` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_others_tickets` tinyint(1) NOT NULL DEFAULT '0',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `invited_by` bigint unsigned DEFAULT NULL,
  `granted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_company_accesses_user_id_partner_company_id_unique` (`user_id`,`partner_company_id`),
  KEY `portal_company_accesses_partner_company_id_foreign` (`partner_company_id`),
  KEY `portal_company_accesses_invited_by_foreign` (`invited_by`),
  KEY `portal_company_accesses_ws_company_status_index` (`workspace_id`,`partner_company_id`,`status`),
  CONSTRAINT `portal_company_accesses_invited_by_foreign` FOREIGN KEY (`invited_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `portal_company_accesses_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `portal_company_accesses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `portal_company_accesses_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `portal_company_accesses`
--

LOCK TABLES `portal_company_accesses` WRITE;
/*!40000 ALTER TABLE `portal_company_accesses` DISABLE KEYS */;
INSERT INTO `portal_company_accesses` VALUES (1,1,14,1,1,1,1,1,1,1,'active',1,'2026-07-25 07:43:24','2026-07-25 07:43:24','2026-07-25 07:43:24'),(3,1,17,2,1,1,1,1,1,1,'active',1,'2026-07-26 12:51:31','2026-07-26 12:51:31','2026-07-26 12:51:31'),(4,14,38,35,1,1,1,1,1,1,'active',33,'2026-08-07 17:33:22','2026-08-07 17:33:22','2026-08-07 17:33:22');
/*!40000 ALTER TABLE `portal_company_accesses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `portal_invitations`
--

DROP TABLE IF EXISTS `portal_invitations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `portal_invitations` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `invited_by` bigint unsigned NOT NULL,
  `partner_company_id` bigint unsigned NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `full_company_access` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_financial` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_contracts` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_tickets` tinyint(1) NOT NULL DEFAULT '0',
  `can_create_ticket` tinyint(1) NOT NULL DEFAULT '0',
  `can_view_others_tickets` tinyint(1) NOT NULL DEFAULT '0',
  `project_ids` json DEFAULT NULL,
  `token_hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `expires_at` timestamp NOT NULL,
  `accepted_at` timestamp NULL DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_invitations_token_hash_unique` (`token_hash`),
  KEY `portal_invitations_invited_by_foreign` (`invited_by`),
  KEY `portal_invitations_partner_company_id_foreign` (`partner_company_id`),
  KEY `portal_invitations_workspace_id_partner_company_id_status_index` (`workspace_id`,`partner_company_id`,`status`),
  CONSTRAINT `portal_invitations_invited_by_foreign` FOREIGN KEY (`invited_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `portal_invitations_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `portal_invitations_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `portal_invitations`
--

LOCK TABLES `portal_invitations` WRITE;
/*!40000 ALTER TABLE `portal_invitations` DISABLE KEYS */;
INSERT INTO `portal_invitations` VALUES (1,1,1,1,'manual-portal-test@example.com',1,1,1,1,1,1,NULL,'5e0b00992806d71ee0813818ff1a144a2cd4cb677d49af462cff96eb7b47e477','2026-07-31 17:13:16','2026-07-25 07:43:24','accepted','2026-07-24 17:13:16','2026-07-25 07:43:24'),(2,9,1,2,'damandarya.ir@gmail.com',1,1,1,1,1,0,NULL,'fa97c4aab107c9fd9ac88fe5027e978da3b2ea93c59694dec391479e69f9a67a','2026-08-02 11:50:38','2026-07-26 16:04:54','accepted','2026-07-26 11:50:38','2026-07-26 11:50:38'),(3,1,1,2,'amir.d78@yahoo.com',1,1,1,1,1,1,NULL,'5c7c0d97de85291c0f466a846593b099c608a84009c6485ad2d884807058d4e7','2026-08-02 12:43:36','2026-07-26 12:51:31','accepted','2026-07-26 12:43:36','2026-07-26 12:51:31');
/*!40000 ALTER TABLE `portal_invitations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `portal_project_accesses`
--

DROP TABLE IF EXISTS `portal_project_accesses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `portal_project_accesses` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `project_id` bigint unsigned NOT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `granted_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `portal_project_accesses_user_id_project_id_unique` (`user_id`,`project_id`),
  KEY `portal_project_accesses_project_id_foreign` (`project_id`),
  KEY `portal_project_accesses_workspace_id_project_id_index` (`workspace_id`,`project_id`),
  CONSTRAINT `portal_project_accesses_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `portal_project_accesses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `portal_project_accesses_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `portal_project_accesses`
--

LOCK TABLES `portal_project_accesses` WRITE;
/*!40000 ALTER TABLE `portal_project_accesses` DISABLE KEYS */;
/*!40000 ALTER TABLE `portal_project_accesses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `projects`
--

DROP TABLE IF EXISTS `projects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `projects` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `contract_id` bigint unsigned DEFAULT NULL,
  `manager_user_id` bigint unsigned DEFAULT NULL,
  `code` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'workspace',
  `owner_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'workspace',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `visibility` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'team',
  `service_commission_base` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sale_amount',
  `inventory_policy` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'allow',
  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `projects_workspace_id_code_unique` (`workspace_id`,`code`),
  KEY `projects_partner_company_id_foreign` (`partner_company_id`),
  KEY `projects_contract_id_foreign` (`contract_id`),
  KEY `projects_manager_user_id_foreign` (`manager_user_id`),
  KEY `projects_workspace_id_status_index` (`workspace_id`,`status`),
  CONSTRAINT `projects_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE SET NULL,
  CONSTRAINT `projects_manager_user_id_foreign` FOREIGN KEY (`manager_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `projects_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `projects_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `projects_chk_1` CHECK (json_valid(`settings`))
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `projects`
--

LOCK TABLES `projects` WRITE;
/*!40000 ALTER TABLE `projects` DISABLE KEYS */;
INSERT INTO `projects` VALUES (1,1,1,1,1,'PRJ-001','پروژه فروش نمونه','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(2,2,NULL,NULL,NULL,'01','بیتاترکر','workspace','workspace','active','team','sale_amount','warn',NULL,'2026-07-17 10:00:22','2026-07-17 10:14:58',NULL),(3,3,NULL,NULL,6,'001','بیتاترکر','workspace','workspace','active','team','net_profit','allow',NULL,'2026-07-20 14:16:12','2026-07-20 14:16:12',NULL),(4,1,2,3,NULL,'003','هوشمند سازی و کنترل ماشین آلات','workspace','partner_company','active','team','sale_amount','allow',NULL,'2026-07-26 11:48:00','2026-07-26 11:48:00',NULL),(35,14,35,34,33,'PRJ-001','پروژه داده‌پردازان آریا','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(36,14,36,35,33,'PRJ-002','پروژه بازرگانی پارس تجارت','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:17','2026-08-07 17:33:17',NULL),(37,14,37,36,33,'PRJ-003','پروژه صنایع البرز','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(38,14,38,37,33,'PRJ-004','پروژه فناوران نوین کیهان','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(39,14,39,38,33,'PRJ-005','پروژه توسعه تجارت سبز','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(40,14,40,39,33,'PRJ-006','پروژه مهرآفرین','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(41,14,41,40,33,'PRJ-007','پروژه راهسازان جنوب','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(42,14,42,41,33,'PRJ-008','پروژه پخش سراسری رادین','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(43,14,43,42,33,'PRJ-009','پروژه خدمات مالی نگین','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL),(44,14,44,43,33,'PRJ-010','پروژه تجهیزات پزشکی سلامت‌گستر','partner','partner_company','active','team','sale_amount','allow',NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18',NULL);
/*!40000 ALTER TABLE `projects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `push_subscriptions`
--

DROP TABLE IF EXISTS `push_subscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `push_subscriptions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `endpoint` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
  `keys` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `device` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `push_subscriptions_endpoint_unique` (`workspace_id`,`endpoint`),
  KEY `push_subscriptions_user_id_foreign` (`user_id`),
  CONSTRAINT `push_subscriptions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `push_subscriptions_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `push_subscriptions_chk_1` CHECK (json_valid(`keys`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `push_subscriptions`
--

LOCK TABLES `push_subscriptions` WRITE;
/*!40000 ALTER TABLE `push_subscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `push_subscriptions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quotation_items`
--

DROP TABLE IF EXISTS `quotation_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `quotation_id` bigint unsigned NOT NULL,
  `catalog_item_id` bigint unsigned DEFAULT NULL,
  `item_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sku` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unit` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `qty` decimal(14,3) NOT NULL,
  `unit_price` decimal(18,2) NOT NULL,
  `discount_type` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent',
  `discount_value` decimal(18,4) NOT NULL DEFAULT '0.0000',
  `discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_rate` decimal(7,4) NOT NULL DEFAULT '0.0000',
  `tax_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `service_cost` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_subtotal` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `commission_method` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `commission_rate` decimal(7,4) DEFAULT NULL,
  `commission_fixed_amount` decimal(18,2) DEFAULT NULL,
  `commission_base_type` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `estimated_commission` decimal(18,2) NOT NULL DEFAULT '0.00',
  `sort_order` int unsigned NOT NULL DEFAULT '0',
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `quotation_items_quotation_id_foreign` (`quotation_id`),
  KEY `quotation_items_catalog_item_id_foreign` (`catalog_item_id`),
  KEY `quotation_items_workspace_id_quotation_id_index` (`workspace_id`,`quotation_id`),
  CONSTRAINT `quotation_items_catalog_item_id_foreign` FOREIGN KEY (`catalog_item_id`) REFERENCES `catalog_items` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quotation_items_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `quotation_items_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `quotation_items_chk_1` CHECK (json_valid(`metadata`))
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quotation_items`
--

LOCK TABLES `quotation_items` WRITE;
/*!40000 ALTER TABLE `quotation_items` DISABLE KEYS */;
INSERT INTO `quotation_items` VALUES (1,1,1,1,'product','محصول نمونه','SKU-0001','عدد',3.000,2500000.00,'percent',0.0000,0.00,9.0000,675000.00,0.00,7500000.00,8175000.00,'percentage',5.0000,NULL,'after_discount',375000.00,1,NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(3,2,4,2,'product','fmb202','001','عدد',10.000,14400000.00,'fixed',0.0000,0.00,10.0000,14400000.00,0.00,144000000.00,158400000.00,'percentage',7.0000,NULL,'after_discount',10080000.00,1,NULL,'2026-07-17 10:16:48','2026-07-17 10:16:48'),(4,2,5,2,'product','fmb202','001','عدد',1.000,14400000.00,'percent',0.0000,0.00,10.0000,1440000.00,0.00,14400000.00,15840000.00,'percentage',7.0000,NULL,'after_discount',1008000.00,1,NULL,'2026-07-19 15:01:33','2026-07-19 15:01:33'),(5,3,6,3,'product','fmb920','001','عدد',1.000,14950000.00,'percent',0.0000,0.00,10.0000,1495000.00,0.00,14950000.00,16445000.00,'percentage',7.0000,NULL,'after_discount',1046500.00,1,NULL,'2026-07-22 12:54:18','2026-07-22 12:54:18'),(7,3,6,6,'service','پشتیبانی سالانه نرم افزاری (مشتری ویژه)','004','سالانه',1.000,1500000.00,'percent',5.0000,75000.00,10.0000,142500.00,0.00,1425000.00,1567500.00,'percentage',10.0000,NULL,'after_discount',142500.00,2,NULL,'2026-07-22 13:14:46','2026-07-22 13:14:46'),(8,3,7,3,'product','fmb920','001','عدد',1.000,14950000.00,'percent',0.0000,0.00,10.0000,1495000.00,0.00,14950000.00,16445000.00,'percentage',7.0000,NULL,'after_discount',1046500.00,1,NULL,'2026-07-22 18:59:03','2026-07-22 18:59:03'),(9,3,7,6,'service','پشتیبانی سالانه نرم افزاری (مشتری ویژه)','004','سالانه',1.000,1500000.00,'percent',5.0000,75000.00,10.0000,142500.00,0.00,1425000.00,1567500.00,'percentage',10.0000,NULL,'after_discount',142500.00,2,NULL,'2026-07-22 18:59:03','2026-07-22 18:59:03'),(10,3,7,4,'product','پشتیبانی سالانه نرم افزاری','002','سالانه',1.000,2750000.00,'percent',0.0000,0.00,10.0000,275000.00,0.00,2750000.00,3025000.00,'percentage',10.0000,NULL,'after_discount',275000.00,3,NULL,'2026-07-22 18:59:08','2026-07-22 18:59:08'),(11,3,8,3,'product','fmb920','001','عدد',10.000,14950000.00,'percent',0.0000,0.00,10.0000,14950000.00,0.00,149500000.00,164450000.00,'percentage',7.0000,NULL,'after_discount',10465000.00,1,NULL,'2026-07-23 14:35:02','2026-07-23 14:35:02'),(22,14,19,37,'product','بسته پیاده‌سازی CRM','SKU-0001','عدد',4.000,21000000.00,'percent',0.0000,0.00,9.0000,7560000.00,0.00,84000000.00,91560000.00,'percentage',5.1300,NULL,'after_discount',4309200.00,1,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18'),(23,14,20,38,'product','لایسنس سالانه نرم‌افزار','SKU-0002','عدد',2.000,23000000.00,'percent',0.0000,0.00,9.0000,4140000.00,0.00,46000000.00,50140000.00,'percentage',8.1700,NULL,'after_discount',3758200.00,1,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19'),(24,14,21,39,'product','خدمات میزبانی ابری','SKU-0003','عدد',2.000,11000000.00,'percent',0.0000,0.00,9.0000,1980000.00,0.00,22000000.00,23980000.00,'percentage',1.1200,NULL,'after_discount',246400.00,1,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19'),(25,14,22,40,'product','مشاوره دیجیتال مارکتینگ','SKU-0004','عدد',1.000,6000000.00,'percent',0.0000,0.00,9.0000,540000.00,0.00,6000000.00,6540000.00,'percentage',7.7100,NULL,'after_discount',462600.00,1,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19'),(26,14,23,41,'product','بسته آموزش تیم فروش','SKU-0005','عدد',4.000,36000000.00,'percent',0.0000,0.00,9.0000,12960000.00,0.00,144000000.00,156960000.00,'percentage',5.7200,NULL,'after_discount',8236800.00,1,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19'),(27,14,24,42,'product','پشتیبانی فنی ماهانه','SKU-0006','عدد',2.000,34000000.00,'percent',0.0000,0.00,9.0000,6120000.00,0.00,68000000.00,74120000.00,'percentage',6.2100,NULL,'after_discount',4222800.00,1,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19'),(28,14,25,43,'product','طراحی وب‌سایت اختصاصی','SKU-0007','عدد',4.000,12000000.00,'percent',0.0000,0.00,9.0000,4320000.00,0.00,48000000.00,52320000.00,'percentage',6.5300,NULL,'after_discount',3134400.00,1,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19'),(29,14,26,44,'product','سیستم مدیریت انبار','SKU-0008','عدد',1.000,9000000.00,'percent',0.0000,0.00,9.0000,810000.00,0.00,9000000.00,9810000.00,'percentage',6.3300,NULL,'after_discount',569700.00,1,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(30,14,27,45,'product','اپلیکیشن موبایل سفارشی','SKU-0009','عدد',3.000,29000000.00,'percent',0.0000,0.00,9.0000,7830000.00,0.00,87000000.00,94830000.00,'percentage',8.1200,NULL,'after_discount',7064400.00,1,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(31,14,28,46,'product','بسته یکپارچه‌سازی پیامکی','SKU-0010','عدد',3.000,45000000.00,'percent',0.0000,0.00,9.0000,12150000.00,0.00,135000000.00,147150000.00,'percentage',3.4700,NULL,'after_discount',4684500.00,1,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20'),(33,3,29,NULL,'custom','تستست',NULL,'عدد',1.000,100009090.00,'percent',0.0000,0.00,0.0000,0.00,0.00,100009090.00,100009090.00,NULL,NULL,NULL,NULL,0.00,1,NULL,'2026-08-11 14:16:51','2026-08-11 14:16:51'),(34,14,30,38,'product','لایسنس سالانه نرم‌افزار','SKU-0002','عدد',1.000,23000000.00,'percent',0.0000,0.00,9.0000,2070000.00,0.00,23000000.00,25070000.00,'percentage',8.1700,NULL,'after_discount',1879100.00,1,NULL,'2026-08-11 15:01:42','2026-08-11 15:01:42'),(35,14,31,38,'product','لایسنس سالانه نرم‌افزار','SKU-0002','عدد',1.000,23000000.00,'percent',0.0000,0.00,9.0000,2070000.00,0.00,23000000.00,25070000.00,'percentage',8.1700,NULL,'after_discount',1879100.00,1,NULL,'2026-08-13 11:58:11','2026-08-13 11:58:11');
/*!40000 ALTER TABLE `quotation_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quotation_note_selections`
--

DROP TABLE IF EXISTS `quotation_note_selections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_note_selections` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `quotation_id` bigint unsigned NOT NULL,
  `quotation_note_id` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `quotation_note_selections_quotation_id_quotation_note_id_unique` (`quotation_id`,`quotation_note_id`),
  KEY `quotation_note_selections_quotation_note_id_foreign` (`quotation_note_id`),
  CONSTRAINT `quotation_note_selections_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `quotation_note_selections_quotation_note_id_foreign` FOREIGN KEY (`quotation_note_id`) REFERENCES `quotation_notes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quotation_note_selections`
--

LOCK TABLES `quotation_note_selections` WRITE;
/*!40000 ALTER TABLE `quotation_note_selections` DISABLE KEYS */;
INSERT INTO `quotation_note_selections` VALUES (1,8,1,NULL,NULL);
/*!40000 ALTER TABLE `quotation_note_selections` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quotation_notes`
--

DROP TABLE IF EXISTS `quotation_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_notes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `text` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `quotation_notes_workspace_id_sort_order_index` (`workspace_id`,`sort_order`),
  CONSTRAINT `quotation_notes_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quotation_notes`
--

LOCK TABLES `quotation_notes` WRITE;
/*!40000 ALTER TABLE `quotation_notes` DISABLE KEYS */;
INSERT INTO `quotation_notes` VALUES (1,3,'هزینه‌های ایاب‌وذهاب و اسکان نیروهای اعزامی بر عهده کارفرما خواهد بود.\n',0,'2026-07-23 15:43:57','2026-07-23 15:43:57');
/*!40000 ALTER TABLE `quotation_notes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quotations`
--

DROP TABLE IF EXISTS `quotations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotations` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `uuid` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_id` bigint unsigned DEFAULT NULL,
  `project_id` bigint unsigned NOT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `seller_user_id` bigint unsigned NOT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `issue_date` date NOT NULL,
  `valid_until` date DEFAULT NULL,
  `subtotal` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `other_cost_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `custom_note` text COLLATE utf8mb4_unicode_ci,
  `total_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `service_cost_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `gross_profit` decimal(18,2) NOT NULL DEFAULT '0.00',
  `estimated_commission_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `version_no` int unsigned NOT NULL DEFAULT '1',
  `public_token_hash` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `converted_deal_id` bigint unsigned DEFAULT NULL,
  `pdf_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `excel_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `viewed_at` timestamp NULL DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `converted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `quotations_workspace_id_number_version_no_unique` (`workspace_id`,`number`,`version_no`),
  UNIQUE KEY `quotations_uuid_unique` (`uuid`),
  UNIQUE KEY `quotations_public_token_hash_unique` (`public_token_hash`),
  KEY `quotations_customer_id_foreign` (`customer_id`),
  KEY `quotations_project_id_foreign` (`project_id`),
  KEY `quotations_partner_company_id_foreign` (`partner_company_id`),
  KEY `quotations_seller_user_id_foreign` (`seller_user_id`),
  KEY `quotations_workspace_id_status_issue_date_index` (`workspace_id`,`status`,`issue_date`),
  KEY `quotations_converted_deal_id_foreign` (`converted_deal_id`),
  CONSTRAINT `quotations_converted_deal_id_foreign` FOREIGN KEY (`converted_deal_id`) REFERENCES `deals` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quotations_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`),
  CONSTRAINT `quotations_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quotations_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`),
  CONSTRAINT `quotations_seller_user_id_foreign` FOREIGN KEY (`seller_user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `quotations_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quotations`
--

LOCK TABLES `quotations` WRITE;
/*!40000 ALTER TABLE `quotations` DISABLE KEYS */;
INSERT INTO `quotations` VALUES (1,1,'841b8c45-9515-4af2-b331-42788bc15b09','Q-1405-00001',1,1,1,3,'converted','2026-07-16','2026-07-30',7500000.00,0.00,675000.00,0.00,NULL,8175000.00,0.00,7500000.00,375000.00,1,'c90ed973468e56ca1fa43604113c9101e19c0f7f6e62a80ec9220f77ebe977da',1,'quotations/841b8c45-9515-4af2-b331-42788bc15b09/v1.pdf',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36','2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36','2026-07-24 07:27:49',NULL),(2,1,'a11d26cf-c157-41b3-8a4c-271d4c5a1bc3','Q-1405-00002',1,1,NULL,1,'draft','2026-07-16','2026-07-15',0.00,0.00,0.00,0.00,NULL,0.00,0.00,0.00,0.00,1,NULL,NULL,'quotations/a11d26cf-c157-41b3-8a4c-271d4c5a1bc3/v1.pdf',NULL,NULL,NULL,NULL,NULL,NULL,'2026-07-16 15:03:38','2026-07-24 09:42:34',NULL),(3,2,'bd9fab11-7f42-47a6-a3c8-f9cceb11a8c0','Q-1405-00001',3,2,3,1,'draft','2026-07-17','2026-07-24',0.00,0.00,0.00,0.00,NULL,0.00,0.00,0.00,0.00,1,NULL,NULL,'quotations/bd9fab11-7f42-47a6-a3c8-f9cceb11a8c0/v1.pdf',NULL,NULL,NULL,NULL,NULL,NULL,'2026-07-17 10:07:32','2026-07-19 15:02:41',NULL),(4,2,'6662843b-f363-4cc3-8a0d-1d9a63066613','Q-1405-00002',3,2,3,1,'converted','2026-07-17','2026-07-18',144000000.00,0.00,14400000.00,0.00,NULL,158400000.00,0.00,144000000.00,10080000.00,1,'2f2ba5a4e815052879caa010b145006cd4cde6e1543fd1d3ec892d0ebac3ce24',2,'quotations/6662843b-f363-4cc3-8a0d-1d9a63066613/v1.pdf',NULL,'2026-07-17 10:17:24',NULL,'2026-07-19 14:36:51',NULL,'2026-07-19 14:56:33','2026-07-17 10:16:18','2026-07-19 15:02:42',NULL),(5,2,'155e5938-cac2-4230-a528-c2749d4e5cb4','Q-1405-00003',3,2,3,1,'draft','2026-07-19','2026-07-19',14400000.00,0.00,1440000.00,0.00,NULL,15840000.00,0.00,14400000.00,1008000.00,1,NULL,NULL,'quotations/155e5938-cac2-4230-a528-c2749d4e5cb4/v1.pdf',NULL,NULL,NULL,NULL,NULL,NULL,'2026-07-19 15:01:28','2026-07-19 15:02:42',NULL),(6,3,'b8236c42-27e2-47bb-90be-136bc86577de','Q-1405-00001',4,3,NULL,6,'canceled','2026-07-22','2026-07-22',16375000.00,75000.00,1637500.00,0.00,NULL,18012500.00,0.00,16375000.00,1189000.00,1,'1104d59f5d57108b043e8907a3f1bc347b6773f3e4b98296ead4f5e49da5cdff',NULL,'quotations/b8236c42-27e2-47bb-90be-136bc86577de/v1.pdf',NULL,'2026-07-22 13:14:58',NULL,NULL,NULL,NULL,'2026-07-22 12:54:12','2026-07-22 18:59:03',NULL),(7,3,'24c9e261-58c0-4564-9cb2-1111463b6b81','Q-1405-00001',4,3,NULL,6,'rejected','2026-07-22','2026-07-22',19125000.00,75000.00,1912500.00,0.00,NULL,21037500.00,0.00,19125000.00,1464000.00,2,'7caa28ba3f2c23411911b6e655eed290e2aaf499ca18185182ab93378d4aeedc',NULL,'quotations/24c9e261-58c0-4564-9cb2-1111463b6b81/v2.pdf',NULL,'2026-07-23 16:13:12',NULL,NULL,'2026-07-23 16:13:23',NULL,'2026-07-22 18:59:03','2026-07-23 16:13:23',NULL),(8,3,'148f9c83-e169-44e8-83f7-5208f9b6e829','Q-1405-00002',4,3,NULL,6,'approved','2026-07-23','2026-08-04',149500000.00,0.00,14950000.00,0.00,NULL,164450000.00,0.00,149500000.00,10465000.00,1,'c5c3e475acfb4e3b759a862a96678e09f4b6ff2ca100094ef9a5c547ffcf2552',NULL,'quotations/148f9c83-e169-44e8-83f7-5208f9b6e829/v1.pdf',NULL,'2026-07-24 10:23:19','2026-07-24 10:26:26','2026-07-24 10:56:32',NULL,NULL,'2026-07-23 14:34:52','2026-07-24 10:56:32',NULL),(19,14,'8976c77e-3f89-4e2c-ab5c-7f940edf31a0','Q-1405-00001',36,35,35,35,'converted','2026-08-07','2026-08-21',84000000.00,0.00,7560000.00,0.00,NULL,91560000.00,0.00,84000000.00,4309200.00,1,'11fda615b796453c37b05730374ac69c4e5d75df5fcb1944a0e5f7a18d6dd331',9,NULL,NULL,'2026-08-07 17:33:18','2026-08-07 17:33:18','2026-08-07 17:33:18',NULL,'2026-08-07 17:33:20','2026-08-07 17:33:18','2026-08-07 17:33:20',NULL),(20,14,'f8d81858-956f-4a17-a00d-94f4e75b2615','Q-1405-00002',37,36,36,35,'converted','2026-08-07','2026-08-21',46000000.00,0.00,4140000.00,0.00,NULL,50140000.00,0.00,46000000.00,3758200.00,1,'2423d57b6cd9f8fc2e969439ab7dc4cde11960228d0c4ec336f500517d5cb510',10,NULL,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19','2026-08-07 17:33:19',NULL,'2026-08-07 17:33:20','2026-08-07 17:33:18','2026-08-07 17:33:20',NULL),(21,14,'e5aa5c8d-73ce-43ca-adce-4fe0b2cf361d','Q-1405-00003',38,37,37,35,'converted','2026-08-07','2026-08-21',22000000.00,0.00,1980000.00,0.00,NULL,23980000.00,0.00,22000000.00,246400.00,1,'33e9382d49a4861af6a505fdaeb3f3f3f2a9f90ab882ddc96eb2641fc49e1620',11,NULL,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19','2026-08-07 17:33:19',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:19','2026-08-07 17:33:21',NULL),(22,14,'e55ed865-e0b5-42ba-a3ea-c60ccea2a4b6','Q-1405-00004',39,38,38,35,'converted','2026-08-07','2026-08-21',6000000.00,0.00,540000.00,0.00,NULL,6540000.00,0.00,6000000.00,462600.00,1,'156fbc342471ba229b9bbb820b89d1deb59aed998c9e2f688a89390d8b641bef',12,NULL,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19','2026-08-07 17:33:19',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:19','2026-08-07 17:33:21',NULL),(23,14,'760c502f-bb5a-462a-ba05-dec5eab63406','Q-1405-00005',40,39,39,35,'converted','2026-08-07','2026-08-21',144000000.00,0.00,12960000.00,0.00,NULL,156960000.00,0.00,144000000.00,8236800.00,1,'56b969485cd15e561bb5cd6856affe1d8bfab720ba1d49212e7012470dc36e7a',13,NULL,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19','2026-08-07 17:33:19',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:19','2026-08-07 17:33:21',NULL),(24,14,'bcb9267b-f3b4-40c4-b9aa-08fe613e2177','Q-1405-00006',41,40,40,35,'converted','2026-08-07','2026-08-21',68000000.00,0.00,6120000.00,0.00,NULL,74120000.00,0.00,68000000.00,4222800.00,1,'a037bd8b1e5e92f8c1631c89454a54d8f7faaf46465ad3dbc69754a611a974a1',14,NULL,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19','2026-08-07 17:33:19',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:19','2026-08-07 17:33:21',NULL),(25,14,'c72df9df-244b-428e-a100-d81846f90851','Q-1405-00007',42,41,41,35,'converted','2026-08-07','2026-08-21',48000000.00,0.00,4320000.00,0.00,NULL,52320000.00,0.00,48000000.00,3134400.00,1,'bf1ac3e407b92d98799a4dc2d7d413c26e900583e2b31a730bd1c95b8812ca8b',15,NULL,NULL,'2026-08-07 17:33:19','2026-08-07 17:33:19','2026-08-07 17:33:19',NULL,'2026-08-07 17:33:21','2026-08-07 17:33:19','2026-08-07 17:33:21',NULL),(26,14,'1f2001d1-f333-4eeb-be5a-dcc40d0a1464','Q-1405-00008',43,42,42,35,'converted','2026-08-07','2026-08-21',9000000.00,0.00,810000.00,0.00,NULL,9810000.00,0.00,9000000.00,569700.00,1,'b041b841282ec8c316dc3a91f6ee5253edea987255be832867777193668f75ad',16,NULL,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20','2026-08-07 17:33:20',NULL,'2026-08-07 17:33:22','2026-08-07 17:33:19','2026-08-07 17:33:22',NULL),(27,14,'502f2b36-9505-4619-bc17-951cb7edc098','Q-1405-00009',44,43,43,35,'rejected','2026-08-07','2026-08-21',87000000.00,0.00,7830000.00,0.00,NULL,94830000.00,0.00,87000000.00,7064400.00,1,'bc70da99f9da6d05b24168ff0a55bc054a4c05821aaa910872efb500894529d8',NULL,NULL,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20',NULL,'2026-08-07 17:33:20',NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20',NULL),(28,14,'8c8fc5ff-d868-4d12-ae07-6eda24c83b24','Q-1405-00010',45,44,44,35,'sent','2026-08-07','2026-08-21',135000000.00,0.00,12150000.00,0.00,NULL,147150000.00,0.00,135000000.00,4684500.00,1,'44f4f9db11363358d8bbcaab8794987b8ddf2399ae16f430227d5ea98057e760',NULL,NULL,NULL,'2026-08-07 17:33:20',NULL,NULL,NULL,NULL,'2026-08-07 17:33:20','2026-08-07 17:33:20',NULL),(29,3,'4997d24c-47d8-4987-9a0d-30a54513b2e7','Q-1405-00003',4,3,NULL,6,'draft','2026-08-11','2026-08-12',100009090.00,0.00,0.00,0.00,NULL,100009090.00,0.00,100009090.00,0.00,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-11 14:10:40','2026-08-11 14:16:51',NULL),(30,14,'e9c6bd64-2958-4dd3-925c-13f85f3657ba','Q-1405-00011',44,36,NULL,33,'canceled','2026-08-11','2026-08-16',23000000.00,0.00,2070000.00,0.00,NULL,25070000.00,0.00,23000000.00,1879100.00,1,'bbb52ff01f21a42a6dba7086605aa10ef4a658d4ae48f116aaf75e103b10f5b8',NULL,NULL,NULL,'2026-08-11 15:01:49','2026-08-11 15:01:58',NULL,NULL,NULL,'2026-08-11 15:01:35','2026-08-13 11:58:11',NULL),(31,14,'34d22827-360b-4cb5-9023-618f184e8c17','Q-1405-00011',44,36,NULL,33,'draft','2026-08-13','2026-08-16',23000000.00,0.00,2070000.00,0.00,NULL,25070000.00,0.00,23000000.00,1879100.00,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-13 11:58:11','2026-08-13 11:58:11',NULL);
/*!40000 ALTER TABLE `quotations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sales_targets`
--

DROP TABLE IF EXISTS `sales_targets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_targets` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `period_month` date NOT NULL,
  `amount` decimal(18,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sales_targets_scope_unique` (`workspace_id`,`user_id`,`period_month`),
  KEY `sales_targets_user_id_foreign` (`user_id`),
  KEY `sales_targets_workspace_month_index` (`workspace_id`,`period_month`),
  CONSTRAINT `sales_targets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `sales_targets_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sales_targets`
--

LOCK TABLES `sales_targets` WRITE;
/*!40000 ALTER TABLE `sales_targets` DISABLE KEYS */;
/*!40000 ALTER TABLE `sales_targets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sessions`
--

DROP TABLE IF EXISTS `sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sessions` (
  `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text COLLATE utf8mb4_unicode_ci,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index` (`user_id`),
  KEY `sessions_last_activity_index` (`last_activity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sessions`
--

LOCK TABLES `sessions` WRITE;
/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
INSERT INTO `sessions` VALUES ('44WN5t8L8N7EoOARnqHJvY3xNUZq8mcFHQLiJaNH',33,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiQXhQUnZYTERSbU5odk9jSFY1NW1BNndRRkUyTnFjcGQzU2hZNjZ2QyI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MzM7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vZmZsaW5lL3JlZmVyZW5jZS1kYXRhIjtzOjU6InJvdXRlIjtzOjIyOiJvZmZsaW5lLnJlZmVyZW5jZS1kYXRhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czoyMDoiY3VycmVudF93b3Jrc3BhY2VfaWQiO2k6MTQ7fQ==',1787313986),('4WqNk5GjXNUIYi7LXbYyG4LZmA9V2AN0zTN4Kzy8',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiM2xnaUNENFZsUWpmQkxXMUhHeDdwdjRtaXNKd2V0d1Vvczdiek5ITiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064103),('59OiS4OzSjL9LIyObegttghJTs9oBcgTEg148N30',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiT2VLVFVGS2JPTFJ0aFlhdUg3SE1sUDlaazBhSnFDWk9VU21mQzJGdiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064102),('7OqSOjAeglBTrSaoovNqmTo0WghRj8uSHi0Fl4jR',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoickRBYTZ4cTB3NTR6SmliVllTWEVhcUdBNzhOY3U3MFo2UkxCNTlvNCI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064101),('8NXtxaimqMuYdPFFQYCRm8cJR1Qb4JXKrwifvAjD',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoicEZkeHJMVnNWcE1wWktNdFlCbFJod2dIRUo5UVJzVGRyZVBGWDg5RCI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064104),('asgtoaeHAx3xrwGWoNV5jMJlXSKGLSVFnCDnzLH4',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.34493.1 Chrome/148.0.7778.280 Electron/42.9.2 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiMU5zbWZJa09xcE1QN0wxcDdTWlA0YlUxQUNvblZFbmN6ZThoVU9lSyI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787313799),('cmyYPmXwMEkdFXhZatmNlMMjNT3BHiN0UClyBpSY',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoidHJ2TGd4cEl2TGhVSGtaVzdUdDFJYnFFR0FNaGR4cmVvT1dtRWpFZyI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064100),('eoRMPtoLN6pApn40fmkzAoYL0u7lij9ndfX9VzqB',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiV1lreTZ4ZGppb1ZpMW1FZzhUa0NubXE4ampvMU1QR002V2RlemJ4dyI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064100),('euDqcfC1wXQuZECLUDNGbN6S0YxfFTvGSgCXRl2d',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiZFpSYWFKejVqUmhYR3ZmRnR4bWxSeVg5OUt6MVJPYk5QNXJ6RExiMSI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064101),('Ezmp3qUnyVT8HSlt8HkebjtLDVwyDZz4zD6WahqD',38,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo2OntzOjY6Il90b2tlbiI7czo0MDoieUhaMXl0NW1yZHhoWVg2Q0NTamZmY3dzWXpwVm1LNGk2amZtaEJkWSI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6Mzg7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDk6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vbmJvYXJkaW5nL2NyZWF0ZS13b3Jrc3BhY2UiO3M6NToicm91dGUiO3M6Mjc6Im9uYm9hcmRpbmcuY3JlYXRlLXdvcmtzcGFjZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MjA6ImN1cnJlbnRfd29ya3NwYWNlX2lkIjtpOjE0O3M6MjU6ImN1cnJlbnRfcG9ydGFsX2NvbXBhbnlfaWQiO2k6MzU7fQ==',1787064565),('FIOHcQqOEgrydo8GDA2r2ZcgDyfx3QDaXdSr1Mj6',33,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiOHdMVmphb3Q1ZU8zQ0dQUVFiYjNvbTlHUG5QUUgzb2tzUWxGWDhMVSI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MzM7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vZmZsaW5lL3JlZmVyZW5jZS1kYXRhIjtzOjU6InJvdXRlIjtzOjIyOiJvZmZsaW5lLnJlZmVyZW5jZS1kYXRhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czoyMDoiY3VycmVudF93b3Jrc3BhY2VfaWQiO2k6MTQ7fQ==',1787313864),('HjHHEeN194ybOWXNauKbNUVT1yT2DJzL27FUN8Hs',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiNUxmMDloSmR3aGpRY3NveVJWMzdTY0JuNklXVGNvTmI1Q1piSDFESiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064102),('izDXmU7LAHkPbd3erZ64CIsLPWbStsTp9bdAFKdY',NULL,'127.0.0.1','curl/8.19.0','YTozOntzOjY6Il90b2tlbiI7czo0MDoibHgxYVF6Qnk5emxEcDhOOHNYOUJnOWltYjJwYnJRT3pvSmU1THZhWSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMyI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064100),('Jn6nRnwtQNaKXZb1pIF7bCOeVV5aOKE6VpZkGwW0',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiTmk5NFdUdTkwUXdnWkZQdWFqOW1WNkl2N2xUTURGTkxrcThyTE1aYSI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064103),('kjOf48BoGDF1HsoxT7g2YuKAOfGaxKGMXh2nOjoK',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiMzF4Mm1RMWdsUzNaMldYWkJ3ZURnQVRNTm5Dak9TTElhQjRtVVdrYiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064101),('L7xyaXLxwZzwuNimOiidaBw9oTlrJczUzqlPAqtQ',33,'127.0.0.1','curl/8.19.0','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiYnh4Wms2Ym1SM1FUaldjeExEalN0TzNJM2VuWXB6UWY2WWRVWmE4MCI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MzM7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDA6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9fZHVzay9sb2dpbi8zMy93ZWIiO3M6NToicm91dGUiO3M6MTA6ImR1c2subG9naW4iO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1787064103),('lFynkjImT9o8F0o1gknO1yLZfPX791BsWBxZ2UVG',33,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoibnNlSnhnZVZaYzhEOG5kbWNtS3NIbDdoWkhZcU45a2ZBeGZBanRtUyI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MzM7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vZmZsaW5lL3JlZmVyZW5jZS1kYXRhIjtzOjU6InJvdXRlIjtzOjIyOiJvZmZsaW5lLnJlZmVyZW5jZS1kYXRhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czoyMDoiY3VycmVudF93b3Jrc3BhY2VfaWQiO2k6MTQ7fQ==',1787314021),('McPVtHzUYRVWKYXfCdL91snW9WcetZxpuPQNG1Oe',33,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoidmF6QlBXWFFPSTJGMGhzeTVUNDM4RlVDZ0h4MTU1WkZJbnFoQW5RQyI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MzM7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vZmZsaW5lL3JlZmVyZW5jZS1kYXRhIjtzOjU6InJvdXRlIjtzOjIyOiJvZmZsaW5lLnJlZmVyZW5jZS1kYXRhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czoyMDoiY3VycmVudF93b3Jrc3BhY2VfaWQiO2k6MTQ7fQ==',1787314215),('mXt1alfUY2hy7eC0pKFwMQJTIrFBR6oFQ7UAL1gf',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiam00TEpzcGEyeWdhOW9KZGFLZ0RuUDNtYk5reHRFeFFyNm9yQ2lBbyI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vZmZsaW5lL3JlZmVyZW5jZS1kYXRhIjtzOjU6InJvdXRlIjtzOjIyOiJvZmZsaW5lLnJlZmVyZW5jZS1kYXRhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787067113),('pDNljLbJtqedtJh9MrbIlupqMnRAv8SHbql6IlwI',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoicXVaQzBxU3FMZHVDVEdEUEtLWDhmMWxqWEZiUWNNMmppMVdKSEVLYiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064099),('PUiAS0DEVdHBm3JEiOMyLz7kW0UC3oXoJ2jfvwa7',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YTozOntzOjY6Il90b2tlbiI7czo0MDoiM3pHRml0NkdOejAxbzBaQmhHdnVoaVlUOThGUDVQalRDMzU3T2RyRiI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMyI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064105),('Qqi5UVFeWYFOCp4gjBF3HRTb2Iznnjg7VtWlL3As',38,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo2OntzOjY6Il90b2tlbiI7czo0MDoiVU9rMjRBVlViZFpHd25hTGs2ZXVhSXg0MWNxYTNOamh4OFdpRTNiRyI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6Mzg7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDk6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vbmJvYXJkaW5nL2NyZWF0ZS13b3Jrc3BhY2UiO3M6NToicm91dGUiO3M6Mjc6Im9uYm9hcmRpbmcuY3JlYXRlLXdvcmtzcGFjZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MjA6ImN1cnJlbnRfd29ya3NwYWNlX2lkIjtpOjE0O3M6MjU6ImN1cnJlbnRfcG9ydGFsX2NvbXBhbnlfaWQiO2k6MzU7fQ==',1787064451),('rk7KqjF586UlIpIQr4GkA0sS8YUPCeEa7LToTXdi',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiRWVWVEd6OXp4cmttWGNBb2hrdUI0SXVTenZtUWd3RUNWR2F6SlNOeSI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064099),('rXEX9cTMpjm8a6DziSrFzOSLQTCOrTn1QExbw3mR',33,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoieERtcGY4ZFpJR0d6cGg4NXUwSHVMdG1HenFwczdXV3FwQk83VmhCUiI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MzM7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vZmZsaW5lL3JlZmVyZW5jZS1kYXRhIjtzOjU6InJvdXRlIjtzOjIyOiJvZmZsaW5lLnJlZmVyZW5jZS1kYXRhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czoyMDoiY3VycmVudF93b3Jrc3BhY2VfaWQiO2k6MTQ7fQ==',1787313829),('TfGeKNEKTcBNGXywnoEanVKjhzr6vipX3dHMkROP',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoicWVpdDRlcHhtd0dLbmNMRXo2WUlQOHA2dkJXU2oydUJ3T0ZvUGlOaCI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064099),('UVTUYPH00Ka4p11o39pst9ukDf0PAvtan5Sf5rGs',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoic3M5YzVSQ0tQVEpGb0VSdFp0dEFOWVlhcExxOU5meHRKaHNlZ01ZaSI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064104),('uzQQY3N7SgN4NbOq0BgQA9WeY0XGMd0A1WI5K1s0',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiZWxlYUpBNGtKa2JkcmdYQVc2emVOMzQzdzh5b1Bzd1B4U2piUEtRNCI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064103),('VhZZdbyrGxfCGBOEFUTbj5ZrFO44Jf2ejgVkUUMM',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiaVVDUXI0WUlqeVFpSFBRZUxkak4wQzcyTkN1NVBaN2VIeTRjVEZQVCI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064101),('wfFrkj5NJxi6C9PtrEllLHg6u0StW2TtK1HM5Bwr',33,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/151.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoibkxleVdYSDFNZjRzbWhZakR3MHM0aDk4cWEwaGk0a3B0Y2JWVndkUiI7czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MzM7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NDQ6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMy9vZmZsaW5lL3JlZmVyZW5jZS1kYXRhIjtzOjU6InJvdXRlIjtzOjIyOiJvZmZsaW5lLnJlZmVyZW5jZS1kYXRhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czoyMDoiY3VycmVudF93b3Jrc3BhY2VfaWQiO2k6MTQ7fQ==',1787064153),('wowRIfbbozVv8yllTKNlIk7RvAuHrEvGWjWzD8vl',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoid3hwZEFSS2N0N0lkSkFzWlFad0J2MjlNZFh3cXRLdGxiYWlDTlBuUiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064100),('xIrlCZvrIaUdQKh74R0KaetAMgs5D2dVZ1ktqPet',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.34493.1 Chrome/148.0.7778.280 Electron/42.9.2 Safari/537.36 MSIX','YTozOntzOjY6Il90b2tlbiI7czo0MDoiWG53dXFSS05sQ0tNVFhVaXZEUXlNY2ZCYktFYW5yQkFqNVAweGZtNSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly9sb2NhbGhvc3Q6ODEyMyI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787313800),('yTYgBCSkl77HDK6n9FcWiLSWEINFxiXKT66Guvlf',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.30096.5 Chrome/148.0.7778.280 Electron/42.7.0 Safari/537.36 MSIX','YToyOntzOjY6Il90b2tlbiI7czo0MDoiMk1hNlE0OFFaNGIzMWVpbWNLaTlsV3IzME5HelgxbjcxQUp0bmdhMiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1787064102);
/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `settlement_items`
--

DROP TABLE IF EXISTS `settlement_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settlement_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `settlement_id` bigint unsigned NOT NULL,
  `commission_entry_id` bigint unsigned NOT NULL,
  `amount` decimal(18,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `settlement_items_settlement_id_commission_entry_id_unique` (`settlement_id`,`commission_entry_id`),
  KEY `settlement_items_workspace_id_foreign` (`workspace_id`),
  KEY `settlement_items_commission_entry_id_foreign` (`commission_entry_id`),
  CONSTRAINT `settlement_items_commission_entry_id_foreign` FOREIGN KEY (`commission_entry_id`) REFERENCES `commission_entries` (`id`),
  CONSTRAINT `settlement_items_settlement_id_foreign` FOREIGN KEY (`settlement_id`) REFERENCES `settlements` (`id`) ON DELETE CASCADE,
  CONSTRAINT `settlement_items_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `settlement_items`
--

LOCK TABLES `settlement_items` WRITE;
/*!40000 ALTER TABLE `settlement_items` DISABLE KEYS */;
INSERT INTO `settlement_items` VALUES (1,1,1,1,450000.00,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,2,2,10080000.00,'2026-07-19 15:00:21','2026-07-19 15:00:21'),(3,14,3,16,569700.00,'2026-08-11 15:03:37','2026-08-11 15:03:37');
/*!40000 ALTER TABLE `settlement_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `settlements`
--

DROP TABLE IF EXISTS `settlements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settlements` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `number` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `direction` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `partner_company_id` bigint unsigned DEFAULT NULL,
  `settlement_date` date NOT NULL,
  `total_amount` decimal(18,2) NOT NULL,
  `method` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `receipt_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` bigint unsigned DEFAULT NULL,
  `confirmed_by` bigint unsigned DEFAULT NULL,
  `confirmed_at` timestamp NULL DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `settlements_workspace_id_number_unique` (`workspace_id`,`number`),
  KEY `settlements_user_id_foreign` (`user_id`),
  KEY `settlements_partner_company_id_foreign` (`partner_company_id`),
  KEY `settlements_created_by_foreign` (`created_by`),
  KEY `settlements_confirmed_by_foreign` (`confirmed_by`),
  KEY `settlements_date_status_idx` (`workspace_id`,`settlement_date`,`status`),
  CONSTRAINT `settlements_confirmed_by_foreign` FOREIGN KEY (`confirmed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `settlements_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `settlements_partner_company_id_foreign` FOREIGN KEY (`partner_company_id`) REFERENCES `partner_companies` (`id`) ON DELETE SET NULL,
  CONSTRAINT `settlements_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `settlements_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `settlements`
--

LOCK TABLES `settlements` WRITE;
/*!40000 ALTER TABLE `settlements` DISABLE KEYS */;
INSERT INTO `settlements` VALUES (1,1,'S-1405-00001','payable',3,NULL,'2026-07-16',450000.00,'transfer','confirmed',NULL,1,1,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,2,'S-1405-00001','payable',1,NULL,'2026-07-19',10080000.00,'transfer','confirmed',NULL,1,1,'2026-07-19 15:00:26','','2026-07-19 15:00:21','2026-07-19 15:00:26'),(3,14,'S-1405-00001','payable',35,NULL,'2026-08-12',569700.00,'transfer','confirmed',NULL,33,33,'2026-08-11 15:03:41','','2026-08-11 15:03:37','2026-08-11 15:03:41');
/*!40000 ALTER TABLE `settlements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_holidays`
--

DROP TABLE IF EXISTS `support_holidays`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_holidays` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `contract_support_period_id` bigint unsigned NOT NULL,
  `date` date NOT NULL,
  `title` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_working_day` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_holidays_contract_support_period_id_date_unique` (`contract_support_period_id`,`date`),
  KEY `support_holidays_workspace_id_contract_support_period_id_index` (`workspace_id`,`contract_support_period_id`),
  CONSTRAINT `support_holidays_contract_support_period_id_foreign` FOREIGN KEY (`contract_support_period_id`) REFERENCES `contract_support_periods` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_holidays_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_holidays`
--

LOCK TABLES `support_holidays` WRITE;
/*!40000 ALTER TABLE `support_holidays` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_holidays` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_schedules`
--

DROP TABLE IF EXISTS `support_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_schedules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `contract_support_period_id` bigint unsigned NOT NULL,
  `weekday` tinyint unsigned NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_schedules_period_weekday_unique` (`contract_support_period_id`,`weekday`),
  KEY `support_schedules_workspace_id_contract_support_period_id_index` (`workspace_id`,`contract_support_period_id`),
  CONSTRAINT `support_schedules_contract_support_period_id_foreign` FOREIGN KEY (`contract_support_period_id`) REFERENCES `contract_support_periods` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_schedules_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_schedules`
--

LOCK TABLES `support_schedules` WRITE;
/*!40000 ALTER TABLE `support_schedules` DISABLE KEYS */;
INSERT INTO `support_schedules` VALUES (13,1,1,0,'08:00:00','17:00:00','2026-07-26 12:58:56','2026-07-26 12:58:56'),(14,1,1,1,'08:00:00','17:00:00','2026-07-26 12:58:56','2026-07-26 12:58:56'),(15,1,1,2,'08:00:00','17:00:00','2026-07-26 12:58:56','2026-07-26 12:58:56'),(16,1,1,3,'08:00:00','17:00:00','2026-07-26 12:58:56','2026-07-26 12:58:56'),(17,1,1,4,'08:00:00','17:00:00','2026-07-26 12:58:56','2026-07-26 12:58:56'),(18,1,1,5,'08:00:00','13:00:00','2026-07-26 12:58:56','2026-07-26 12:58:56'),(19,1,1,6,'08:00:00','17:00:00','2026-07-26 12:58:56','2026-07-26 12:58:56'),(65,14,11,0,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(66,14,11,1,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(67,14,11,2,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(68,14,11,3,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(69,14,11,4,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(70,14,12,0,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(71,14,12,1,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(72,14,12,2,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(73,14,12,3,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(74,14,12,4,'08:00:00','17:00:00','2026-08-07 17:33:17','2026-08-07 17:33:17'),(75,14,13,0,'08:00:00','17:00:00','2026-08-07 17:33:18','2026-08-07 17:33:18'),(76,14,13,1,'08:00:00','17:00:00','2026-08-07 17:33:18','2026-08-07 17:33:18'),(77,14,13,2,'08:00:00','17:00:00','2026-08-07 17:33:18','2026-08-07 17:33:18'),(78,14,13,3,'08:00:00','17:00:00','2026-08-07 17:33:18','2026-08-07 17:33:18'),(79,14,13,4,'08:00:00','17:00:00','2026-08-07 17:33:18','2026-08-07 17:33:18');
/*!40000 ALTER TABLE `support_schedules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_sla_rules`
--

DROP TABLE IF EXISTS `support_sla_rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_sla_rules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `contract_support_period_id` bigint unsigned NOT NULL,
  `priority` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `response_time_value` int unsigned NOT NULL,
  `response_time_unit` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `resolution_target_value` int unsigned DEFAULT NULL,
  `resolution_target_unit` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_sla_rules_period_priority_unique` (`contract_support_period_id`,`priority`),
  KEY `support_sla_rules_workspace_id_foreign` (`workspace_id`),
  CONSTRAINT `support_sla_rules_contract_support_period_id_foreign` FOREIGN KEY (`contract_support_period_id`) REFERENCES `contract_support_periods` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_sla_rules_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_sla_rules`
--

LOCK TABLES `support_sla_rules` WRITE;
/*!40000 ALTER TABLE `support_sla_rules` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_sla_rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ticket_messages`
--

DROP TABLE IF EXISTS `ticket_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_messages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `ticket_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `body` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_internal_note` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ticket_messages_ticket_id_foreign` (`ticket_id`),
  KEY `ticket_messages_user_id_foreign` (`user_id`),
  KEY `ticket_messages_workspace_id_ticket_id_index` (`workspace_id`,`ticket_id`),
  CONSTRAINT `ticket_messages_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ticket_messages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ticket_messages_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ticket_messages`
--

LOCK TABLES `ticket_messages` WRITE;
/*!40000 ALTER TABLE `ticket_messages` DISABLE KEYS */;
INSERT INTO `ticket_messages` VALUES (1,1,1,1,'سلام و درود در حال بررسی و رسیدگی هستیم \n',1,'2026-07-26 13:18:45','2026-07-26 13:18:45'),(2,1,1,1,'در حال بررسی هستیم ',0,'2026-07-26 13:18:59','2026-07-26 13:18:59'),(3,1,1,17,'تا کی زمان میبره ',0,'2026-07-26 13:19:14','2026-07-26 13:19:14'),(4,1,1,17,'هرچی سریع تر لطفا بررسی بشه \n',0,'2026-07-26 13:22:21','2026-07-26 13:22:21'),(5,1,1,1,'چشم ',0,'2026-07-26 13:22:33','2026-07-26 13:22:33');
/*!40000 ALTER TABLE `ticket_messages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ticket_status_histories`
--

DROP TABLE IF EXISTS `ticket_status_histories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ticket_status_histories` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `ticket_id` bigint unsigned NOT NULL,
  `from_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `to_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `changed_by` bigint unsigned DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `ticket_status_histories_ticket_id_foreign` (`ticket_id`),
  KEY `ticket_status_histories_changed_by_foreign` (`changed_by`),
  KEY `ticket_status_histories_workspace_id_ticket_id_index` (`workspace_id`,`ticket_id`),
  CONSTRAINT `ticket_status_histories_changed_by_foreign` FOREIGN KEY (`changed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ticket_status_histories_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ticket_status_histories_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ticket_status_histories`
--

LOCK TABLES `ticket_status_histories` WRITE;
/*!40000 ALTER TABLE `ticket_status_histories` DISABLE KEYS */;
INSERT INTO `ticket_status_histories` VALUES (1,1,1,NULL,'new',17,NULL,'2026-07-26 13:17:34'),(2,1,1,'new','in_progress',1,NULL,'2026-07-26 13:18:38'),(3,1,1,'in_progress','cancelled',1,NULL,'2026-07-26 13:22:40'),(4,1,2,NULL,'new',17,NULL,'2026-07-26 13:27:56'),(5,14,3,NULL,'new',33,NULL,'2026-08-07 17:33:23'),(6,14,4,NULL,'new',33,NULL,'2026-08-07 17:33:23'),(7,14,4,'new','open',33,NULL,'2026-08-07 17:33:23'),(8,14,5,NULL,'new',33,NULL,'2026-08-07 17:33:23'),(9,14,5,'new','open',33,NULL,'2026-08-07 17:33:23'),(10,14,5,'open','in_progress',33,NULL,'2026-08-07 17:33:23'),(11,14,6,NULL,'new',33,NULL,'2026-08-07 17:33:23'),(12,14,6,'new','open',33,NULL,'2026-08-07 17:33:23'),(13,14,6,'open','in_progress',33,NULL,'2026-08-07 17:33:23'),(14,14,6,'in_progress','waiting_for_customer',33,NULL,'2026-08-07 17:33:23'),(15,14,7,NULL,'new',33,NULL,'2026-08-07 17:33:52'),(16,14,7,'new','open',33,NULL,'2026-08-07 17:33:52'),(17,14,7,'open','in_progress',33,NULL,'2026-08-07 17:33:52'),(18,14,7,'in_progress','waiting_for_customer',33,NULL,'2026-08-07 17:33:52'),(19,14,7,'waiting_for_customer','resolved',33,NULL,'2026-08-07 17:33:52'),(20,14,8,NULL,'new',33,NULL,'2026-08-07 17:33:53'),(21,14,8,'new','open',33,NULL,'2026-08-07 17:33:53'),(22,14,8,'open','in_progress',33,NULL,'2026-08-07 17:33:53'),(23,14,8,'in_progress','waiting_for_customer',33,NULL,'2026-08-07 17:33:53'),(24,14,8,'waiting_for_customer','resolved',33,NULL,'2026-08-07 17:33:53'),(25,14,8,'resolved','closed',33,NULL,'2026-08-07 17:33:53'),(26,14,9,NULL,'new',33,NULL,'2026-08-07 17:33:53'),(27,14,10,NULL,'new',33,NULL,'2026-08-07 17:33:53'),(28,14,10,'new','open',33,NULL,'2026-08-07 17:33:53'),(29,14,11,NULL,'new',33,NULL,'2026-08-07 17:33:53'),(30,14,11,'new','open',33,NULL,'2026-08-07 17:33:54'),(31,14,11,'open','in_progress',33,NULL,'2026-08-07 17:33:54'),(32,14,12,NULL,'new',33,NULL,'2026-08-07 17:33:54'),(33,14,12,'new','open',33,NULL,'2026-08-07 17:33:54'),(34,14,12,'open','in_progress',33,NULL,'2026-08-07 17:33:54'),(35,14,12,'in_progress','waiting_for_customer',33,NULL,'2026-08-07 17:33:54'),(36,14,12,'waiting_for_customer','waiting_for_internal',33,NULL,'2026-08-13 12:00:02');
/*!40000 ALTER TABLE `ticket_status_histories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tickets`
--

DROP TABLE IF EXISTS `tickets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tickets` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `project_id` bigint unsigned NOT NULL,
  `contract_support_period_id` bigint unsigned DEFAULT NULL,
  `number` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subject` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `category` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `priority` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'normal',
  `status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'new',
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `requester_name` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `requester_contact` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device_ref` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `issue_occurred_at` datetime DEFAULT NULL,
  `raised_by_user_id` bigint unsigned DEFAULT NULL,
  `assigned_to_user_id` bigint unsigned DEFAULT NULL,
  `response_due_at` datetime DEFAULT NULL,
  `resolution_due_at` datetime DEFAULT NULL,
  `first_response_at` datetime DEFAULT NULL,
  `resolved_at` datetime DEFAULT NULL,
  `closed_at` datetime DEFAULT NULL,
  `paused_at` datetime DEFAULT NULL,
  `sla_breach_notified_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tickets_workspace_id_number_unique` (`workspace_id`,`number`),
  KEY `tickets_project_id_foreign` (`project_id`),
  KEY `tickets_contract_support_period_id_foreign` (`contract_support_period_id`),
  KEY `tickets_raised_by_user_id_foreign` (`raised_by_user_id`),
  KEY `tickets_assigned_to_user_id_foreign` (`assigned_to_user_id`),
  KEY `tickets_workspace_id_project_id_status_index` (`workspace_id`,`project_id`,`status`),
  KEY `tickets_workspace_id_assigned_to_user_id_index` (`workspace_id`,`assigned_to_user_id`),
  CONSTRAINT `tickets_assigned_to_user_id_foreign` FOREIGN KEY (`assigned_to_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `tickets_contract_support_period_id_foreign` FOREIGN KEY (`contract_support_period_id`) REFERENCES `contract_support_periods` (`id`) ON DELETE SET NULL,
  CONSTRAINT `tickets_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `tickets_raised_by_user_id_foreign` FOREIGN KEY (`raised_by_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `tickets_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tickets`
--

LOCK TABLES `tickets` WRITE;
/*!40000 ALTER TABLE `tickets` DISABLE KEYS */;
INSERT INTO `tickets` VALUES (1,1,4,1,'T-1405-00001','زیسزسی','hardware_bug','medium','cancelled','زیسزسی',NULL,NULL,NULL,NULL,17,NULL,'2026-07-27 16:00:00',NULL,'2026-07-26 16:48:59',NULL,NULL,NULL,NULL,'2026-07-26 13:17:33','2026-07-26 13:22:40'),(2,1,4,1,'T-1405-00002','یسزیس','hardware_bug','medium','new','زیسزیسزسی',NULL,NULL,NULL,'2026-08-08 12:00:00',17,2,'2026-07-27 16:00:00',NULL,NULL,NULL,NULL,NULL,NULL,'2026-07-26 13:27:55','2026-07-26 13:28:31'),(3,14,35,11,'T-1405-00001','مشکل در ورود به سیستم','software_bug','normal','new','شرح نمونه برای «مشکل در ورود به سیستم» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,NULL,NULL,NULL,NULL,'2026-08-07 17:33:22','2026-08-07 17:33:23'),(4,14,35,11,'T-1405-00002','درخواست افزودن کاربر جدید','hardware_bug','medium','open','شرح نمونه برای «درخواست افزودن کاربر جدید» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,NULL,NULL,NULL,NULL,'2026-08-07 17:33:23','2026-08-07 17:33:23'),(5,14,35,11,'T-1405-00003','کندی در بارگذاری گزارش‌ها','network','important','in_progress','شرح نمونه برای «کندی در بارگذاری گزارش‌ها» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,NULL,NULL,NULL,NULL,'2026-08-07 17:33:23','2026-08-07 17:33:23'),(6,14,35,11,'T-1405-00004','سوال درباره صدور فاکتور','training','critical','waiting_for_customer','شرح نمونه برای «سوال درباره صدور فاکتور» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,NULL,NULL,'2026-08-07 21:03:23',NULL,'2026-08-07 17:33:23','2026-08-07 17:33:23'),(7,14,35,11,'T-1405-00005','خطا در تولید PDF پیش‌فاکتور','development','normal','resolved','شرح نمونه برای «خطا در تولید PDF پیش‌فاکتور» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,'2026-08-07 21:03:52',NULL,NULL,NULL,'2026-08-07 17:33:52','2026-08-07 17:33:52'),(8,14,35,11,'T-1405-00006','درخواست آموزش مجدد تیم','access_request','medium','closed','شرح نمونه برای «درخواست آموزش مجدد تیم» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,'2026-08-07 21:03:53','2026-08-07 21:03:53',NULL,NULL,'2026-08-07 17:33:52','2026-08-07 17:33:53'),(9,14,35,11,'T-1405-00007','عدم دریافت پیامک اطلاع‌رسانی','report_request','important','new','شرح نمونه برای «عدم دریافت پیامک اطلاع‌رسانی» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,NULL,NULL,NULL,NULL,'2026-08-07 17:33:53','2026-08-07 17:33:53'),(10,14,35,11,'T-1405-00008','درخواست تغییر دوره پشتیبانی','other','critical','open','شرح نمونه برای «درخواست تغییر دوره پشتیبانی» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,NULL,NULL,NULL,NULL,'2026-08-07 17:33:53','2026-08-07 17:33:53'),(11,14,35,11,'T-1405-00009','مشکل در همگام‌سازی موبایل','software_bug','normal','in_progress','شرح نمونه برای «مشکل در همگام‌سازی موبایل» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-08 12:00:00','2026-08-10 14:00:00',NULL,NULL,NULL,NULL,NULL,'2026-08-07 17:33:53','2026-08-07 17:33:54'),(12,14,35,11,'T-1405-00010','سوال درباره گزارش پورسانت','hardware_bug','medium','waiting_for_internal','شرح نمونه برای «سوال درباره گزارش پورسانت» جهت نمایش در دمو.',NULL,NULL,NULL,NULL,38,33,'2026-08-14 06:26:08','2026-08-16 08:26:08',NULL,NULL,NULL,NULL,NULL,'2026-08-07 17:33:54','2026-08-13 12:00:02');
/*!40000 ALTER TABLE `tickets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `trial_requests`
--

DROP TABLE IF EXISTS `trial_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `trial_requests` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mobile` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `business_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `activity_type` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
  `team_size` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `city` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'new',
  `handled_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `trial_requests_mobile_index` (`mobile`),
  KEY `trial_requests_status_index` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `trial_requests`
--

LOCK TABLES `trial_requests` WRITE;
/*!40000 ALTER TABLE `trial_requests` DISABLE KEYS */;
INSERT INTO `trial_requests` VALUES (1,'تست کاربر','09123456789','کسب‌وکار تست','home_business','1','تهران','','','new',NULL,'2026-08-07 08:14:21','2026-08-07 08:14:21');
/*!40000 ALTER TABLE `trial_requests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users`
--

DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mobile` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile_normalized` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'staff',
  `is_platform_admin` tinyint(1) NOT NULL DEFAULT '0',
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `locale` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'fa',
  `product_tours_seen` json DEFAULT NULL,
  `timezone` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Asia/Tehran',
  `last_login_at` timestamp NULL DEFAULT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci 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 `users_email_unique` (`email`),
  UNIQUE KEY `users_uuid_unique` (`uuid`),
  UNIQUE KEY `users_mobile_normalized_unique` (`mobile_normalized`),
  KEY `users_account_type_index` (`account_type`),
  KEY `users_is_platform_admin_index` (`is_platform_admin`)
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users`
--

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'b174eb3c-091f-416e-8688-62748324e3b8','مالک نمونه','owner@example.com',NULL,NULL,'staff',1,'2026-07-16 06:59:35','$2y$12$CsqeBcXQQMxkUwFGsWZH6eo2PmTWAMoXIS1K1xLmRTP288szqPQZu','active','fa','[\"staff\"]','Asia/Tehran',NULL,'HsHDZmZOlcFNve7FrmwJSMQvFGDXLo1G8GE7wmMSECaeCyvqZyn7hxAQQAOK','2026-07-16 06:59:36','2026-08-15 16:40:12',NULL),(2,'ef7e5c2f-c561-41fa-89bd-a7fbccfc627e','مدیر فروش نمونه','manager@example.com',NULL,NULL,'staff',0,'2026-07-16 06:59:36','$2y$10$BfctmbpKfbseYcq2lmdYcOWoqf3PkC/7MRKMVGHq/djV5MSE1IWwW','active','fa',NULL,'Asia/Tehran',NULL,'sKPi3ygH92','2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(3,'8fc36b74-6079-4cca-b1dd-e50a49ba7ee5','فروشنده نمونه','seller@example.com',NULL,NULL,'staff',0,'2026-07-16 06:59:36','$2y$10$BfctmbpKfbseYcq2lmdYcOWoqf3PkC/7MRKMVGHq/djV5MSE1IWwW','active','fa',NULL,'Asia/Tehran',NULL,'7tQZN7zRlv','2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(4,'fbe3ab19-f630-488b-adfc-6229ca5f406a','کارشناس مالی نمونه','finance@example.com',NULL,NULL,'staff',0,'2026-07-16 06:59:36','$2y$10$BfctmbpKfbseYcq2lmdYcOWoqf3PkC/7MRKMVGHq/djV5MSE1IWwW','active','fa',NULL,'Asia/Tehran',NULL,'BhmJPZiDnc','2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(5,'95a30a00-04f3-4ca5-b396-3e4420ce9b99','مشاهده‌گر نمونه','viewer@example.com',NULL,NULL,'staff',0,'2026-07-16 06:59:36','$2y$10$BfctmbpKfbseYcq2lmdYcOWoqf3PkC/7MRKMVGHq/djV5MSE1IWwW','active','fa',NULL,'Asia/Tehran',NULL,'Hvjuem7bux','2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(6,'ef8c13ec-7ae3-4421-8a01-f87459cd5f0b','امیر حسین ','amir.d79@yahoo.com',NULL,NULL,'staff',0,NULL,'$2y$12$lzFAE6wKBdq60/Bc7J6XBu03/bCLRRSoYH9BZZtyA/ZLYOUaHYX1y','active','fa','[\"staff\"]','Asia/Tehran',NULL,NULL,'2026-07-20 14:08:19','2026-08-07 11:30:59',NULL),(7,'562b3f79-4607-40df-9c9c-67d5e44e6fbf','UI Test','ui-test-tmp@example.com',NULL,NULL,'staff',0,'2026-07-22 06:55:57','$2y$12$f9oYSlOZ0Nkz/3bi9vpLUekGSfx0F.n3asP8o/pr2ZEWE1AZ8JwIu','active','fa',NULL,'Asia/Tehran',NULL,'SZpcuPeQ72','2026-07-22 06:55:58','2026-07-22 07:14:04','2026-07-22 07:14:04'),(9,'5012e8ab-4f8b-4189-ae10-758253ce186c','UI Test 2','ui-test-tmp2@example.com',NULL,NULL,'staff',0,'2026-07-22 16:29:08','$2y$12$3NuHhWL0SSA1Neb7DrIWx.iuaC4ioOeDfEKpZMFVwC2biXPJsBoVm','active','fa',NULL,'Asia/Tehran',NULL,'ynbzDaU9zu','2026-07-22 16:29:09','2026-07-22 16:33:33','2026-07-22 16:33:33'),(10,'a4f0cf4c-f044-4c25-b4c0-9e1d5934d22a','Owner3','ui-test-owner3@example.com',NULL,NULL,'staff',0,'2026-07-22 16:45:41','$2y$12$PIPy7Jr2WSTWoIs4oISgdOazlOS62G6CLHBUyHpEyIUe2jVK3tSpm','active','fa',NULL,'Asia/Tehran',NULL,'PeesQRbNJy','2026-07-22 16:45:41','2026-07-22 17:06:08','2026-07-22 17:06:08'),(11,'abb2845b-19cd-4656-8faf-6e71833d3981','Seller3','ui-test-seller3@example.com',NULL,NULL,'staff',0,'2026-07-22 16:45:42','$2y$12$sYsqUAuRui0UhmSuxwie5usZ1IOhGgGOlkiZWKu53wpDuC1Fql.ia','active','fa',NULL,'Asia/Tehran',NULL,'mdGvBT0V9u','2026-07-22 16:45:42','2026-07-22 17:06:08','2026-07-22 17:06:08'),(12,'9a475666-99c4-47de-bcd3-3591459d0f13','Owner4','ui-test-owner4@example.com',NULL,NULL,'staff',0,'2026-07-22 17:43:34','$2y$12$Q24.H0OhDOcbRaIS.CheKO9VjQEqlpcwqDJGTbY1MusfoBZwfqrBa','active','fa',NULL,'Asia/Tehran',NULL,'05i8Zk97sE','2026-07-22 17:43:35','2026-07-22 17:52:07','2026-07-22 17:52:07'),(13,'5d72e31f-f600-469f-b64e-437fc5644548','Verify Owner','ui-verify@example.com',NULL,NULL,'staff',0,'2026-07-23 15:32:10','$2y$12$WadwkxKBBuDxaesKkikGfOwq3lGBlEWNQ.aAtbZ48samKylvE.iv6','active','fa',NULL,'Asia/Tehran',NULL,'5ia4lZXGoO','2026-07-23 15:32:15','2026-07-23 17:02:30','2026-07-23 17:02:30'),(14,'934b0486-eb70-444c-866f-516dbdedc54e','کاربر تست پرتال','manual-portal-test@example.com',NULL,NULL,'portal',0,'2026-07-25 07:43:20','$2y$12$wVNW/Nl1OCkSOL.ZaFVZTO6BOFRV238zc4LCQIzDcKyL1o0aK57cm','active','fa',NULL,'Asia/Tehran',NULL,NULL,'2026-07-25 07:43:24','2026-07-25 07:43:24',NULL),(16,'b174eb3c-091f-4d16e-8688-62748324e3b','کاربر پروژه نمونه \r\n','damandarya.ir@gmail.com',NULL,NULL,'portal',0,'2026-07-16 06:59:35','$2y$12$v0sAg9rHTb/VMu9/uXwHqOrC52HW4E6LmDuk/P9rVMLcHkON3H2me','active','fa',NULL,'Asia/Tehran',NULL,'8SNNK2PF25qnrnSE5e3NkF44Wu774Zp1SGeQon1qX0I7j04HWbthPe0NuZdm','2026-07-16 06:59:36','2026-07-16 08:16:13',NULL),(17,'831170ad-d967-4ca2-acc8-d3de4f55648f','پرتابل مشتری تست ','amir.d78@yahoo.com',NULL,NULL,'portal',0,'2026-07-26 12:51:31','$2y$12$95W5ncXm8t9KF7Qzp5bIzeQrG9YOBNIvu/M5QMmBRQAsUSePG2mMm','active','fa',NULL,'Asia/Tehran',NULL,NULL,'2026-07-26 12:51:31','2026-07-26 12:51:31',NULL),(33,'9e336a3e-014a-44f3-8401-3b72ae492772','مدیر دمو','owner@demo.limoc',NULL,NULL,'staff',1,'2026-08-07 17:33:14','$2y$10$FWi4ENjxSM9GP8WlD6/.4OcQvQTe5oueQAArWzYS5jyBqTUr3Vc3.','active','fa','[\"staff\"]','Asia/Tehran',NULL,'PCMiSUvp3lAGRUjnxkSHodHSRgFXFAsApRJRxuvnY1p5p3ECwjsLuAFHWVq3','2026-08-07 17:33:15','2026-08-15 17:19:08',NULL),(34,'2fd199d4-9686-4477-8ee5-96fa90fd1f94','مدیر فروش دمو','manager@demo.limoc',NULL,NULL,'staff',0,'2026-08-07 17:33:15','$2y$12$tVKs1loiqiwXjVqoWwzKr.kr4A32Ap1VZHRQmeGguzSGSnjRoCPCa','active','fa','[\"staff\"]','Asia/Tehran',NULL,'42vDGRr95kpyzmx3fTN9dclP83T6FpilKbjmPnWMgV6xESHsgEeX2Ojyb1bY','2026-08-07 17:33:15','2026-08-08 15:40:24',NULL),(35,'f3ca92cf-808d-4741-932a-9612b924638b','فروشنده دمو','seller@demo.limoc',NULL,NULL,'staff',0,'2026-08-07 17:33:15','$2y$10$IXn7z12n8O4n7bfZDDBWse.jLymk0eEbbF7.gmbtqwJEsX.foOil6','active','fa',NULL,'Asia/Tehran',NULL,'4cE8S3zXKw','2026-08-07 17:33:16','2026-08-08 18:57:38',NULL),(36,'863aa734-8420-4314-981e-7b69b117c5df','کارشناس مالی دمو','finance@demo.limoc',NULL,NULL,'staff',0,'2026-08-07 17:33:16','$2y$12$yMrrRu9.9QlpRxKO0OlRAOw99P/L2bToEYsTBqcmRxfBKP.vD8XQO','active','fa','[\"staff\"]','Asia/Tehran',NULL,'gfopFeVU6R','2026-08-07 17:33:16','2026-08-08 15:41:25',NULL),(37,'30900e79-8919-4a0c-bc72-7fb3f3c83479','مشاهده‌گر دمو','viewer@demo.limoc',NULL,NULL,'staff',0,'2026-08-07 17:33:16','$2y$10$IXn7z12n8O4n7bfZDDBWse.jLymk0eEbbF7.gmbtqwJEsX.foOil6','active','fa',NULL,'Asia/Tehran',NULL,'8VnxT5p1vU','2026-08-07 17:33:17','2026-08-08 18:57:38',NULL),(38,'03bbc22e-36df-4c2d-bcb8-0c3b677813ca','کاربر پرتال دمو','portal@demo.limoc',NULL,NULL,'portal',0,'2026-08-07 17:33:22','$2y$12$lzFAE6wKBdq60/Bc7J6XBu03/bCLRRSoYH9BZZtyA/ZLYOUaHYX1y','active','fa','[\"portal\"]','Asia/Tehran',NULL,'8j7YfuODgsZDv6JndTqRUzgSNuCEqoayLBzS8xP6VKszY1QN6nYO7Fli9M8X','2026-08-07 17:33:22','2026-08-11 15:21:16',NULL);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `workspace_invitations`
--

DROP TABLE IF EXISTS `workspace_invitations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workspace_invitations` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `invited_by` bigint unsigned NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `role_key` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token_hash` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `expires_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `accepted_at` timestamp NULL DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `workspace_invitations_token_hash_unique` (`token_hash`),
  KEY `workspace_invitations_invited_by_foreign` (`invited_by`),
  KEY `workspace_invitations_workspace_id_status_index` (`workspace_id`,`status`),
  CONSTRAINT `workspace_invitations_invited_by_foreign` FOREIGN KEY (`invited_by`) REFERENCES `users` (`id`),
  CONSTRAINT `workspace_invitations_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `workspace_invitations`
--

LOCK TABLES `workspace_invitations` WRITE;
/*!40000 ALTER TABLE `workspace_invitations` DISABLE KEYS */;
INSERT INTO `workspace_invitations` VALUES (1,3,1,'amir.d79@yahoo.com',NULL,'seller','a099b10fbd300975bc983bc017dcebf2513f103ad0de988829f03e5e11bfdb18','2026-07-27 14:07:14',NULL,'pending','2026-07-20 14:07:14','2026-07-20 14:07:14');
/*!40000 ALTER TABLE `workspace_invitations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `workspace_users`
--

DROP TABLE IF EXISTS `workspace_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workspace_users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `workspace_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `role_key` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `manager_user_id` bigint unsigned DEFAULT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `preferences` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `joined_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `last_active_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `workspace_users_workspace_id_user_id_unique` (`workspace_id`,`user_id`),
  KEY `workspace_users_user_id_foreign` (`user_id`),
  KEY `workspace_users_manager_user_id_foreign` (`manager_user_id`),
  KEY `workspace_users_workspace_id_status_index` (`workspace_id`,`status`),
  CONSTRAINT `workspace_users_manager_user_id_foreign` FOREIGN KEY (`manager_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `workspace_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `workspace_users_workspace_id_foreign` FOREIGN KEY (`workspace_id`) REFERENCES `workspaces` (`id`) ON DELETE CASCADE,
  CONSTRAINT `workspace_users_chk_1` CHECK (json_valid(`preferences`))
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `workspace_users`
--

LOCK TABLES `workspace_users` WRITE;
/*!40000 ALTER TABLE `workspace_users` DISABLE KEYS */;
INSERT INTO `workspace_users` VALUES (1,1,1,'owner',NULL,'active',NULL,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(2,1,2,'sales_manager',NULL,'active',NULL,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(3,1,3,'seller',NULL,'active',NULL,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(4,1,4,'finance',NULL,'active',NULL,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(5,1,5,'viewer',NULL,'active',NULL,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(6,2,1,'owner',NULL,'active',NULL,'2026-07-16 09:01:56',NULL,'2026-07-16 09:01:56','2026-07-16 09:01:56'),(7,3,1,'owner',NULL,'active',NULL,'2026-07-20 14:06:42',NULL,'2026-07-20 14:06:42','2026-07-20 14:06:42'),(8,3,6,'seller',NULL,'active',NULL,'2026-07-16 06:59:36',NULL,'2026-07-16 06:59:36','2026-07-16 06:59:36'),(15,9,16,'owner',NULL,'active',NULL,'2026-07-26 12:33:33',NULL,'2026-07-26 12:33:33','2026-07-26 12:33:33'),(16,10,6,'owner',NULL,'active',NULL,'2026-08-07 12:45:41',NULL,'2026-08-07 12:45:41','2026-08-07 12:45:41'),(32,14,33,'owner',NULL,'active',NULL,'2026-08-07 17:33:15',NULL,'2026-08-07 17:33:15','2026-08-07 17:33:15'),(33,14,34,'sales_manager',NULL,'active',NULL,'2026-08-07 17:33:15',NULL,'2026-08-07 17:33:15','2026-08-07 17:33:15'),(34,14,35,'seller',NULL,'active',NULL,'2026-08-07 17:33:16',NULL,'2026-08-07 17:33:16','2026-08-07 17:33:16'),(35,14,36,'finance',NULL,'active',NULL,'2026-08-07 17:33:16',NULL,'2026-08-07 17:33:16','2026-08-07 17:33:16'),(36,14,37,'viewer',NULL,'active',NULL,'2026-08-07 17:33:17',NULL,'2026-08-07 17:33:17','2026-08-07 17:33:17');
/*!40000 ALTER TABLE `workspace_users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `workspaces`
--

DROP TABLE IF EXISTS `workspaces`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workspaces` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner_user_id` bigint unsigned NOT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8mb4_unicode_ci,
  `phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postal_code` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `economic_code` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registration_number` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_id` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slug` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'company',
  `status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `locale` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'fa',
  `timezone` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Asia/Tehran',
  `currency_code` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IRR',
  `logo_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `primary_color` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `workspaces_uuid_unique` (`uuid`),
  UNIQUE KEY `workspaces_slug_unique` (`slug`),
  KEY `workspaces_owner_user_id_foreign` (`owner_user_id`),
  CONSTRAINT `workspaces_owner_user_id_foreign` FOREIGN KEY (`owner_user_id`) REFERENCES `users` (`id`),
  CONSTRAINT `workspaces_chk_1` CHECK (json_valid(`settings`))
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `workspaces`
--

LOCK TABLES `workspaces` WRITE;
/*!40000 ALTER TABLE `workspaces` DISABLE KEYS */;
INSERT INTO `workspaces` VALUES (1,'c2d68d4a-0a71-43d1-89da-ba746ebed05d',1,'شرکت نمونه',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sazman-karyaby-shryf','agency','active','fa','Asia/Tehran','IRR',NULL,NULL,'[]','2026-07-16 06:59:36','2026-07-16 06:59:36',NULL),(2,'3d1de4c3-e457-41dd-9129-fd6ba6eec8b4',1,'بیستون کویر یزد ','یزد','خیابان شهید مطهری-پارک علم و فناوری مرکز اقبال-واحد I240','03538412710',NULL,'411385748977','12760','10840432722','byston-koyr-yzd','company','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-07-16 09:01:56','2026-07-19 17:16:58',NULL),(3,'14ea785a-3287-4425-96dd-1b9e4e017c39',1,'شرکت بیستون کویر یزد ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'shrkt-byston-koyr-yzd','company','active','fa','Asia/Tehran','IRR','workspace-logos/2gjAOvEKrtWwrDXAhGOazxqui7gbersadB1ey2kq.png','#2d2895',NULL,'2026-07-20 14:06:42','2026-07-22 18:42:44',NULL),(4,'9559d285-7d88-4cdd-8472-f15caf8f56f0',7,'UI Test Workspace',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ui-test-workspace','company','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-07-22 06:56:23','2026-07-22 07:14:04','2026-07-22 07:14:04'),(5,'08cc3612-2399-4661-9471-77d6fa1a8b76',9,'UI Test Workspace 2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ui-test-workspace-2','company','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-07-22 16:29:09','2026-07-22 16:33:33','2026-07-22 16:33:33'),(6,'de3de86b-93a0-4f22-972d-fc4183c6aac5',10,'UI Test WS3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ui-test-ws3','company','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-07-22 16:45:41','2026-07-22 17:06:08','2026-07-22 17:06:08'),(7,'64e1a024-6232-4db6-b0ed-53dcc19028b2',12,'UI Test WS4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ui-test-ws4','company','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-07-22 17:43:35','2026-07-22 17:52:07','2026-07-22 17:52:07'),(8,'c598d0c7-c0d2-4350-a060-a2700129e6d9',13,'UI Verify WS',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ui-verify-ws','company','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-07-23 15:32:16','2026-07-23 17:02:30','2026-07-23 17:02:30'),(9,'44e6b26d-9e80-4831-a588-949e81a9ae7a',16,'شرکت بیستون کویر یزد ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'shrkt-byston-koyr-yzd-2','personal','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-07-26 12:33:33','2026-07-26 12:33:33',NULL),(10,'f92dea2d-d970-4126-a14f-33a715e9909b',6,'مهندس تست ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'mhnds-tst','personal','active','fa','Asia/Tehran','IRR',NULL,NULL,NULL,'2026-08-07 12:45:41','2026-08-07 12:45:41',NULL),(14,'178273bd-94e5-46b8-988d-140d4b818f21',33,'کسب‌وکار نمونه (دمو)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'mossh-folad-dlyar','agency','active','fa','Asia/Tehran','IRR',NULL,NULL,'[]','2026-08-07 17:33:15','2026-08-07 17:33:15',NULL);
/*!40000 ALTER TABLE `workspaces` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping events for database 'minicrm'
--

--
-- Dumping routines for database 'minicrm'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-08-22 23:46:42
