-- MySQL dump 10.13  Distrib 9.7.1, for macos14.8 (x86_64)
--
-- Host: 127.0.0.1    Database: meyahealth_refactor_export
-- ------------------------------------------------------
-- Server version	9.7.1

/*!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 */;
SET @MYSQLDUMP_TEMP_LOG_BIN = @@SESSION.SQL_LOG_BIN;
SET @@SESSION.SQL_LOG_BIN= 0;

--
-- GTID state at the beginning of the backup 
--

SET @@GLOBAL.GTID_PURGED=/*!80000 '+'*/ 'feea8968-908c-11f1-93d0-2e30697d3aa9:1-151262';

--
-- 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` bigint NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_expiration_index` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `cache` WRITE;
/*!40000 ALTER TABLE `cache` DISABLE KEYS */;
INSERT INTO `cache` VALUES ('laravel-cache-356a192b7913b04c54574d18c28d46e6395428ab','i:7;',1788102565),('laravel-cache-356a192b7913b04c54574d18c28d46e6395428ab:timer','i:1788102565;',1788102565),('laravel-cache-5c785c036466adea360111aa28563bfd556b5fba','i:1;',1788102547),('laravel-cache-5c785c036466adea360111aa28563bfd556b5fba:timer','i:1788102547;',1788102547);
/*!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` bigint 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 `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,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `scope_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tenant_id` bigint unsigned DEFAULT NULL,
  `category` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `product_id` bigint unsigned DEFAULT NULL,
  `percentage_rate` decimal(5,2) NOT NULL DEFAULT '0.00',
  `fixed_fee` bigint unsigned NOT NULL DEFAULT '0',
  `priority` smallint unsigned NOT NULL DEFAULT '0',
  `effective_from` timestamp NOT NULL,
  `effective_until` timestamp NULL DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `commission_rules_scope_type_is_active_effective_from_index` (`scope_type`,`is_active`,`effective_from`),
  KEY `commission_rules_tenant_id_is_active_index` (`tenant_id`,`is_active`),
  KEY `commission_rules_category_is_active_index` (`category`,`is_active`),
  KEY `commission_rules_product_id_is_active_index` (`product_id`,`is_active`),
  CONSTRAINT `commission_rules_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `commission_rules_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`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 `commission_rules`
--

LOCK TABLES `commission_rules` WRITE;
/*!40000 ALTER TABLE `commission_rules` DISABLE KEYS */;
INSERT INTO `commission_rules` VALUES (1,'Komisi marketplace global','global',NULL,NULL,NULL,10.00,0,0,'2025-12-31 17:00:00',NULL,1,'2026-08-30 11:17:40','2026-08-30 11:17:40');
/*!40000 ALTER TABLE `commission_rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `consultation_messages`
--

DROP TABLE IF EXISTS `consultation_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `consultation_messages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` bigint unsigned NOT NULL,
  `sender_user_id` bigint unsigned DEFAULT NULL,
  `message` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `message_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'text',
  `attachment_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `consultation_messages_sender_user_id_foreign` (`sender_user_id`),
  KEY `consultation_messages_consultation_id_created_at_index` (`consultation_id`,`created_at`),
  CONSTRAINT `consultation_messages_consultation_id_foreign` FOREIGN KEY (`consultation_id`) REFERENCES `consultations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `consultation_messages_sender_user_id_foreign` FOREIGN KEY (`sender_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `consultation_messages`
--

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

--
-- Table structure for table `consultations`
--

DROP TABLE IF EXISTS `consultations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `consultations` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consultation_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `patient_user_id` bigint unsigned NOT NULL,
  `doctor_profile_id` bigint unsigned NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'requested',
  `chief_complaint` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `scheduled_at` timestamp NOT NULL,
  `consultation_fee` bigint unsigned NOT NULL DEFAULT '0',
  `payment_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid',
  `started_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `consultations_consultation_number_unique` (`consultation_number`),
  KEY `consultations_doctor_profile_id_status_scheduled_at_index` (`doctor_profile_id`,`status`,`scheduled_at`),
  KEY `consultations_patient_user_id_created_at_index` (`patient_user_id`,`created_at`),
  CONSTRAINT `consultations_doctor_profile_id_foreign` FOREIGN KEY (`doctor_profile_id`) REFERENCES `doctor_profiles` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `consultations_patient_user_id_foreign` FOREIGN KEY (`patient_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `consultations`
--

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

--
-- Table structure for table `coupon_tenant`
--

DROP TABLE IF EXISTS `coupon_tenant`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `coupon_tenant` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `coupon_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `coupon_tenant_coupon_id_tenant_id_unique` (`coupon_id`,`tenant_id`),
  KEY `coupon_tenant_tenant_id_foreign` (`tenant_id`),
  CONSTRAINT `coupon_tenant_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE CASCADE,
  CONSTRAINT `coupon_tenant_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `coupon_tenant`
--

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

--
-- Table structure for table `coupon_usages`
--

DROP TABLE IF EXISTS `coupon_usages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `coupon_usages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `coupon_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `platform_order_id` bigint unsigned NOT NULL,
  `discount_amount` bigint unsigned NOT NULL,
  `used_at` timestamp NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `coupon_usages_platform_order_id_unique` (`platform_order_id`),
  KEY `coupon_usages_user_id_foreign` (`user_id`),
  KEY `coupon_usages_coupon_id_user_id_index` (`coupon_id`,`user_id`),
  CONSTRAINT `coupon_usages_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE CASCADE,
  CONSTRAINT `coupon_usages_platform_order_id_foreign` FOREIGN KEY (`platform_order_id`) REFERENCES `platform_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `coupon_usages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `coupon_usages`
--

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

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

DROP TABLE IF EXISTS `coupons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `coupons` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `issuer_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tenant_id` bigint unsigned DEFAULT NULL,
  `assigned_user_id` bigint unsigned DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `banner_image_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `terms` text COLLATE utf8mb4_unicode_ci,
  `merchant_scope` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'all',
  `exclude_prescription_products` tinyint(1) NOT NULL DEFAULT '0',
  `included_categories` json DEFAULT NULL,
  `excluded_categories` json DEFAULT NULL,
  `is_featured` tinyint(1) NOT NULL DEFAULT '0',
  `sort_order` int unsigned NOT NULL DEFAULT '0',
  `discount_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `discount_value` int unsigned NOT NULL,
  `max_discount` bigint unsigned DEFAULT NULL,
  `min_purchase` bigint unsigned NOT NULL DEFAULT '0',
  `usage_limit` int unsigned DEFAULT NULL,
  `usage_per_user` int unsigned NOT NULL DEFAULT '1',
  `funding_source` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'platform',
  `starts_at` timestamp NOT NULL,
  `expires_at` timestamp NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `coupons_code_unique` (`code`),
  KEY `coupons_tenant_id_foreign` (`tenant_id`),
  KEY `coupons_assigned_user_id_status_expires_at_index` (`assigned_user_id`,`status`,`expires_at`),
  CONSTRAINT `coupons_assigned_user_id_foreign` FOREIGN KEY (`assigned_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `coupons_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`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 `coupons`
--

LOCK TABLES `coupons` WRITE;
/*!40000 ALTER TABLE `coupons` DISABLE KEYS */;
INSERT INTO `coupons` VALUES (1,'platform',NULL,NULL,'SEHAT20','Diskon Sehat 20%','images/promos/sehat20.svg','Diskon kebutuhan kesehatan harian dari seluruh apotek terverifikasi.','Minimal belanja Rp50.000. Maksimal satu kali pemakaian per akun. Tidak berlaku untuk obat resep.','all',1,NULL,NULL,1,1,'percentage',20,25000,50000,1000,1,'platform','2026-07-30 11:17:40','2027-08-30 11:17:40','active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(2,'platform',NULL,NULL,'VITAMIN15','Vitamin Lebih Hemat','images/promos/vitamin15.svg','Diskon 15% untuk produk kategori vitamin.','Minimal belanja Rp75.000. Berlaku satu kali per akun.','all',0,'[\"vitamin\"]',NULL,1,2,'percentage',15,30000,75000,1000,1,'platform','2026-08-29 11:17:40','2026-11-30 11:17:40','active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(3,'platform',NULL,NULL,'ONGKIR10','Hemat Pengiriman','images/promos/ongkir10.svg','Potongan belanja untuk membantu biaya pengiriman pilihan Biteship.','Minimal belanja Rp100.000. Berlaku satu kali per akun.','all',0,NULL,NULL,1,3,'fixed',10000,10000,100000,1000,1,'platform','2026-08-29 11:17:40','2026-11-30 11:17:40','active','2026-08-30 11:17:40','2026-08-30 11:17:40');
/*!40000 ALTER TABLE `coupons` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_addresses`
--

DROP TABLE IF EXISTS `customer_addresses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_addresses` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `label` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `recipient_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `recipient_phone` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address_line` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `district` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `province` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `postal_code` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_notes` text COLLATE utf8mb4_unicode_ci,
  `latitude` decimal(10,7) DEFAULT NULL,
  `longitude` decimal(10,7) DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_addresses_user_id_is_default_index` (`user_id`,`is_default`),
  CONSTRAINT `customer_addresses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_addresses`
--

LOCK TABLES `customer_addresses` WRITE;
/*!40000 ALTER TABLE `customer_addresses` DISABLE KEYS */;
INSERT INTO `customer_addresses` VALUES (1,1,'Rumah','Pelanggan MeyaHealth','081200000001','Jl. Kemang Raya No. 24','Mampang Prapatan','Jakarta Selatan','DKI Jakarta','12730','Hubungi penerima saat tiba.',NULL,NULL,1,'2026-08-30 11:17:38','2026-08-30 11:17:38');
/*!40000 ALTER TABLE `customer_addresses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `delivery_shipments`
--

DROP TABLE IF EXISTS `delivery_shipments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_shipments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `seller_order_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned NOT NULL,
  `shipping_quote_id` bigint unsigned DEFAULT NULL,
  `recipient_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `recipient_phone` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `delivery_address` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `delivery_notes` text COLLATE utf8mb4_unicode_ci,
  `provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'demo',
  `reference_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `external_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `provider_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `provider_payload` longtext COLLATE utf8mb4_unicode_ci,
  `failure_reason` text COLLATE utf8mb4_unicode_ci,
  `last_event_at` timestamp NULL DEFAULT NULL,
  `booking_started_at` timestamp NULL DEFAULT NULL,
  `reconciliation_required_at` timestamp NULL DEFAULT NULL,
  `courier` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MeyaExpress',
  `service_level` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'regular',
  `tracking_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_fee` bigint unsigned NOT NULL DEFAULT '0',
  `quoted_service` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quoted_cost` bigint unsigned DEFAULT NULL,
  `quoted_eta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quote_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quoted_at` timestamp NULL DEFAULT NULL,
  `revalidated_at` timestamp NULL DEFAULT NULL,
  `selection_strategy_version` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `candidate_count` int unsigned NOT NULL DEFAULT '0',
  `selection_reason` text COLLATE utf8mb4_unicode_ci,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `ready_at` timestamp NULL DEFAULT NULL,
  `picked_up_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `failed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `delivery_shipments_seller_order_id_unique` (`seller_order_id`),
  UNIQUE KEY `delivery_shipments_tracking_number_unique` (`tracking_number`),
  UNIQUE KEY `delivery_shipments_reference_id_unique` (`reference_id`),
  UNIQUE KEY `delivery_shipments_external_id_unique` (`external_id`),
  KEY `delivery_shipments_outlet_id_foreign` (`outlet_id`),
  KEY `delivery_shipments_tenant_id_status_created_at_index` (`tenant_id`,`status`,`created_at`),
  KEY `delivery_shipments_provider_index` (`provider`),
  KEY `delivery_shipments_booking_started_at_index` (`booking_started_at`),
  KEY `delivery_shipments_shipping_quote_id_foreign` (`shipping_quote_id`),
  CONSTRAINT `delivery_shipments_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`),
  CONSTRAINT `delivery_shipments_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `delivery_shipments_shipping_quote_id_foreign` FOREIGN KEY (`shipping_quote_id`) REFERENCES `shipping_quotes` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_shipments_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `delivery_shipments`
--

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

--
-- Table structure for table `digital_prescription_items`
--

DROP TABLE IF EXISTS `digital_prescription_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `digital_prescription_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `digital_prescription_id` bigint unsigned NOT NULL,
  `product_id` bigint unsigned DEFAULT NULL,
  `medicine_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `strength` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dosage` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `frequency` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `duration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` int unsigned NOT NULL,
  `instructions` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `digital_prescription_items_digital_prescription_id_foreign` (`digital_prescription_id`),
  KEY `digital_prescription_items_product_id_foreign` (`product_id`),
  CONSTRAINT `digital_prescription_items_digital_prescription_id_foreign` FOREIGN KEY (`digital_prescription_id`) REFERENCES `digital_prescriptions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `digital_prescription_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `digital_prescription_items`
--

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

--
-- Table structure for table `digital_prescriptions`
--

DROP TABLE IF EXISTS `digital_prescriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `digital_prescriptions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `prescription_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `consultation_id` bigint unsigned NOT NULL,
  `patient_user_id` bigint unsigned NOT NULL,
  `doctor_profile_id` bigint unsigned NOT NULL,
  `clinical_notes` text COLLATE utf8mb4_unicode_ci,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'issued',
  `issued_at` timestamp NOT NULL,
  `fulfilled_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `digital_prescriptions_prescription_number_unique` (`prescription_number`),
  UNIQUE KEY `digital_prescriptions_consultation_id_unique` (`consultation_id`),
  KEY `digital_prescriptions_doctor_profile_id_foreign` (`doctor_profile_id`),
  KEY `digital_prescriptions_patient_user_id_status_index` (`patient_user_id`,`status`),
  CONSTRAINT `digital_prescriptions_consultation_id_foreign` FOREIGN KEY (`consultation_id`) REFERENCES `consultations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `digital_prescriptions_doctor_profile_id_foreign` FOREIGN KEY (`doctor_profile_id`) REFERENCES `doctor_profiles` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `digital_prescriptions_patient_user_id_foreign` FOREIGN KEY (`patient_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `digital_prescriptions`
--

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

--
-- Table structure for table `doctor_bank_accounts`
--

DROP TABLE IF EXISTS `doctor_bank_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctor_bank_accounts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `doctor_profile_id` bigint unsigned NOT NULL,
  `bank_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_holder_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `verification_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `verified_by` bigint unsigned DEFAULT NULL,
  `verified_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text COLLATE utf8mb4_unicode_ci,
  `is_primary` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `doctor_bank_accounts_doctor_profile_id_account_number_unique` (`doctor_profile_id`,`account_number`),
  KEY `doctor_bank_accounts_verified_by_foreign` (`verified_by`),
  CONSTRAINT `doctor_bank_accounts_doctor_profile_id_foreign` FOREIGN KEY (`doctor_profile_id`) REFERENCES `doctor_profiles` (`id`) ON DELETE CASCADE,
  CONSTRAINT `doctor_bank_accounts_verified_by_foreign` FOREIGN KEY (`verified_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctor_bank_accounts`
--

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

--
-- Table structure for table `doctor_earnings`
--

DROP TABLE IF EXISTS `doctor_earnings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctor_earnings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `doctor_profile_id` bigint unsigned NOT NULL,
  `consultation_id` bigint unsigned NOT NULL,
  `gross_amount` bigint unsigned NOT NULL,
  `platform_fee` bigint unsigned NOT NULL DEFAULT '0',
  `net_amount` bigint unsigned NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'available',
  `doctor_withdrawal_request_id` bigint unsigned DEFAULT NULL,
  `available_at` timestamp NOT NULL,
  `withdrawn_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `doctor_earnings_consultation_id_unique` (`consultation_id`),
  KEY `doctor_earnings_doctor_profile_id_status_index` (`doctor_profile_id`,`status`),
  CONSTRAINT `doctor_earnings_consultation_id_foreign` FOREIGN KEY (`consultation_id`) REFERENCES `consultations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `doctor_earnings_doctor_profile_id_foreign` FOREIGN KEY (`doctor_profile_id`) REFERENCES `doctor_profiles` (`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 `doctor_earnings`
--

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

--
-- Table structure for table `doctor_profiles`
--

DROP TABLE IF EXISTS `doctor_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctor_profiles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `registration_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `specialty` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `bio` text COLLATE utf8mb4_unicode_ci,
  `experience_years` smallint unsigned NOT NULL DEFAULT '0',
  `consultation_fee` bigint unsigned NOT NULL DEFAULT '0',
  `photo_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rating` decimal(3,2) NOT NULL DEFAULT '0.00',
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `verified_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `doctor_profiles_user_id_unique` (`user_id`),
  UNIQUE KEY `doctor_profiles_slug_unique` (`slug`),
  UNIQUE KEY `doctor_profiles_registration_number_unique` (`registration_number`),
  KEY `doctor_profiles_status_specialty_index` (`status`,`specialty`),
  CONSTRAINT `doctor_profiles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`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 `doctor_profiles`
--

LOCK TABLES `doctor_profiles` WRITE;
/*!40000 ALTER TABLE `doctor_profiles` DISABLE KEYS */;
INSERT INTO `doctor_profiles` VALUES (1,8,'dr-nadia-samudra-sp-pd','STR-3171-2026-0001','Penyakit Dalam','Dokter spesialis penyakit dalam dengan fokus pada penanganan keluhan metabolik, hipertensi, dan kesehatan dewasa.',9,75000,NULL,4.90,'verified','2026-08-30 11:17:38','2026-08-30 11:17:38','2026-08-30 11:17:38'),(2,9,'dr-raka-pratama-sp-a','STR-3171-2026-0002','Kesehatan Anak','Dokter Kesehatan Anak untuk layanan konsultasi online MeyaHealth.',7,69000,NULL,4.82,'verified','2026-08-30 11:17:38','2026-08-30 11:17:38','2026-08-30 11:17:38'),(3,10,'dr-maya-kirana-sp-dv','STR-3171-2026-0003','Kulit & Kecantikan','Dokter Kulit & Kecantikan untuk layanan konsultasi online MeyaHealth.',11,85000,NULL,4.88,'verified','2026-08-30 11:17:39','2026-08-30 11:17:39','2026-08-30 11:17:39'),(4,11,'dr-satria-wijaya-m-gizi','STR-3171-2026-0004','Diet & Gizi','Dokter Diet & Gizi untuk layanan konsultasi online MeyaHealth.',6,55000,NULL,4.76,'verified','2026-08-30 11:17:39','2026-08-30 11:17:39','2026-08-30 11:17:39'),(5,12,'dr-lestari-amalia','STR-3171-2026-0005','Dokter Umum','Dokter Dokter Umum untuk layanan konsultasi online MeyaHealth.',5,45000,NULL,4.71,'verified','2026-08-30 11:17:39','2026-08-30 11:17:39','2026-08-30 11:17:39');
/*!40000 ALTER TABLE `doctor_profiles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctor_schedules`
--

DROP TABLE IF EXISTS `doctor_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctor_schedules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `doctor_profile_id` bigint unsigned NOT NULL,
  `day_of_week` tinyint unsigned NOT NULL,
  `starts_at` time NOT NULL,
  `ends_at` time NOT NULL,
  `timezone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Asia/Jakarta',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `doctor_schedule_slot_unique` (`doctor_profile_id`,`day_of_week`,`starts_at`,`ends_at`),
  CONSTRAINT `doctor_schedules_doctor_profile_id_foreign` FOREIGN KEY (`doctor_profile_id`) REFERENCES `doctor_profiles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctor_schedules`
--

LOCK TABLES `doctor_schedules` WRITE;
/*!40000 ALTER TABLE `doctor_schedules` DISABLE KEYS */;
INSERT INTO `doctor_schedules` VALUES (1,1,1,'09:00:00','17:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(2,1,2,'09:00:00','17:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(3,1,3,'09:00:00','17:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(4,1,4,'09:00:00','17:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(5,1,5,'09:00:00','17:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(6,2,1,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(7,2,2,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(8,2,3,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(9,2,4,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(10,2,5,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(11,2,6,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(12,3,1,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(13,3,2,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(14,3,3,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(15,3,4,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(16,3,5,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(17,3,6,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(18,4,1,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(19,4,2,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(20,4,3,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(21,4,4,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(22,4,5,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(23,4,6,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(24,5,1,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(25,5,2,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(26,5,3,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(27,5,4,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(28,5,5,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(29,5,6,'10:00:00','18:00:00','Asia/Jakarta',1,'2026-08-30 11:17:39','2026-08-30 11:17:39');
/*!40000 ALTER TABLE `doctor_schedules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctor_withdrawal_requests`
--

DROP TABLE IF EXISTS `doctor_withdrawal_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctor_withdrawal_requests` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `doctor_profile_id` bigint unsigned NOT NULL,
  `doctor_bank_account_id` bigint unsigned NOT NULL,
  `requested_by` bigint unsigned NOT NULL,
  `reviewed_by` bigint unsigned DEFAULT NULL,
  `withdrawal_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `idempotency_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` bigint unsigned NOT NULL,
  `currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IDR',
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `payout_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `request_note` text COLLATE utf8mb4_unicode_ci,
  `review_note` text COLLATE utf8mb4_unicode_ci,
  `requested_at` timestamp NOT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `doctor_withdrawal_requests_withdrawal_number_unique` (`withdrawal_number`),
  UNIQUE KEY `doctor_withdrawal_requests_idempotency_key_unique` (`idempotency_key`),
  KEY `doctor_withdrawal_requests_doctor_bank_account_id_foreign` (`doctor_bank_account_id`),
  KEY `doctor_withdrawal_requests_requested_by_foreign` (`requested_by`),
  KEY `doctor_withdrawal_requests_reviewed_by_foreign` (`reviewed_by`),
  KEY `doctor_withdrawal_requests_doctor_profile_id_status_index` (`doctor_profile_id`,`status`),
  CONSTRAINT `doctor_withdrawal_requests_doctor_bank_account_id_foreign` FOREIGN KEY (`doctor_bank_account_id`) REFERENCES `doctor_bank_accounts` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `doctor_withdrawal_requests_doctor_profile_id_foreign` FOREIGN KEY (`doctor_profile_id`) REFERENCES `doctor_profiles` (`id`) ON DELETE CASCADE,
  CONSTRAINT `doctor_withdrawal_requests_requested_by_foreign` FOREIGN KEY (`requested_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `doctor_withdrawal_requests_reviewed_by_foreign` FOREIGN KEY (`reviewed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctor_withdrawal_requests`
--

LOCK TABLES `doctor_withdrawal_requests` WRITE;
/*!40000 ALTER TABLE `doctor_withdrawal_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `doctor_withdrawal_requests` 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` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` varchar(255) 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`),
  KEY `failed_jobs_connection_queue_failed_at_index` (`connection`,`queue`,`failed_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

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

--
-- Table structure for table `financial_ledger_entries`
--

DROP TABLE IF EXISTS `financial_ledger_entries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `financial_ledger_entries` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned DEFAULT NULL,
  `seller_order_id` bigint unsigned DEFAULT NULL,
  `platform_order_id` bigint unsigned DEFAULT NULL,
  `refund_id` bigint unsigned DEFAULT NULL,
  `withdrawal_request_id` bigint unsigned DEFAULT NULL,
  `idempotency_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `entry_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `direction` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` bigint unsigned NOT NULL,
  `currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IDR',
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `metadata` json DEFAULT NULL,
  `created_by` bigint unsigned DEFAULT NULL,
  `occurred_at` timestamp NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `financial_ledger_entries_idempotency_key_unique` (`idempotency_key`),
  KEY `financial_ledger_entries_platform_order_id_foreign` (`platform_order_id`),
  KEY `financial_ledger_entries_refund_id_foreign` (`refund_id`),
  KEY `financial_ledger_entries_created_by_foreign` (`created_by`),
  KEY `financial_ledger_entries_tenant_id_account_occurred_at_index` (`tenant_id`,`account`,`occurred_at`),
  KEY `financial_ledger_entries_seller_order_id_occurred_at_index` (`seller_order_id`,`occurred_at`),
  KEY `financial_ledger_entries_withdrawal_request_id_occurred_at_index` (`withdrawal_request_id`,`occurred_at`),
  CONSTRAINT `financial_ledger_entries_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `financial_ledger_entries_platform_order_id_foreign` FOREIGN KEY (`platform_order_id`) REFERENCES `platform_orders` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `financial_ledger_entries_refund_id_foreign` FOREIGN KEY (`refund_id`) REFERENCES `refunds` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `financial_ledger_entries_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `financial_ledger_entries_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `financial_ledger_entries_withdrawal_request_id_foreign` FOREIGN KEY (`withdrawal_request_id`) REFERENCES `withdrawal_requests` (`id`) ON DELETE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `financial_ledger_entries`
--

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

--
-- Table structure for table `inventory_batches`
--

DROP TABLE IF EXISTS `inventory_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `inventory_batches` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned NOT NULL,
  `product_id` bigint unsigned NOT NULL,
  `batch_number` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `expired_at` date NOT NULL,
  `quantity` int unsigned NOT NULL DEFAULT '0',
  `purchase_price` bigint unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `inventory_batch_identity_unique` (`tenant_id`,`outlet_id`,`product_id`,`batch_number`),
  KEY `inventory_batches_product_id_foreign` (`product_id`),
  KEY `inventory_batch_expiry_index` (`tenant_id`,`expired_at`,`quantity`),
  KEY `inventory_batch_fefo_index` (`outlet_id`,`product_id`,`expired_at`),
  CONSTRAINT `inventory_batches_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inventory_batches_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `inventory_batches_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `inventory_batches`
--

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

--
-- Table structure for table `inventory_reservations`
--

DROP TABLE IF EXISTS `inventory_reservations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `inventory_reservations` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `seller_order_id` bigint unsigned NOT NULL,
  `order_item_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_inventory_id` bigint unsigned NOT NULL,
  `quantity` int unsigned NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `reserved_at` timestamp NOT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `consumed_at` timestamp NULL DEFAULT NULL,
  `released_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `inventory_reservations_order_item_id_unique` (`order_item_id`),
  KEY `inventory_reservations_tenant_id_foreign` (`tenant_id`),
  KEY `inventory_reservations_seller_order_id_status_index` (`seller_order_id`,`status`),
  KEY `inventory_reservations_outlet_inventory_id_status_index` (`outlet_inventory_id`,`status`),
  CONSTRAINT `inventory_reservations_order_item_id_foreign` FOREIGN KEY (`order_item_id`) REFERENCES `order_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inventory_reservations_outlet_inventory_id_foreign` FOREIGN KEY (`outlet_inventory_id`) REFERENCES `outlet_inventories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inventory_reservations_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inventory_reservations_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`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 `inventory_reservations`
--

LOCK TABLES `inventory_reservations` WRITE;
/*!40000 ALTER TABLE `inventory_reservations` DISABLE KEYS */;
INSERT INTO `inventory_reservations` VALUES (1,1,1,1,1,1,'active','2026-08-30 14:52:55','2026-08-30 15:23:04',NULL,NULL,'2026-08-30 14:52:55','2026-08-30 14:53:04'),(2,2,2,1,1,2,'active','2026-08-30 15:08:39','2026-08-30 15:38:46',NULL,NULL,'2026-08-30 15:08:39','2026-08-30 15:08:46');
/*!40000 ALTER TABLE `inventory_reservations` 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` smallint 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

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

--
-- Table structure for table `medical_device_profiles`
--

DROP TABLE IF EXISTS `medical_device_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `medical_device_profiles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint unsigned NOT NULL,
  `risk_class` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL,
  `device_category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `intended_use` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `registration_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `professional_use_only` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `medical_device_profiles_product_id_unique` (`product_id`),
  CONSTRAINT `medical_device_profiles_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `medical_device_profiles`
--

LOCK TABLES `medical_device_profiles` WRITE;
/*!40000 ALTER TABLE `medical_device_profiles` DISABLE KEYS */;
INSERT INTO `medical_device_profiles` VALUES (1,5,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-1-000005',0,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(2,22,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-1-000022',0,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(3,23,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-1-000023',0,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(4,36,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-2-000005',0,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(5,53,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-2-000022',0,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(6,54,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-2-000023',0,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(7,67,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-3-000005',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(8,84,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-3-000022',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(9,85,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-3-000023',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(10,98,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-4-000005',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(11,115,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-4-000022',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(12,116,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-4-000023',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(13,129,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-5-000005',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(14,146,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-5-000022',0,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(15,147,'B','Diagnostic device','Penggunaan alat kesehatan rumah tangga.','BPOM-5-000023',0,'2026-08-30 11:17:40','2026-08-30 11:17:40');
/*!40000 ALTER TABLE `medical_device_profiles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `medical_records`
--

DROP TABLE IF EXISTS `medical_records`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `medical_records` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` bigint unsigned NOT NULL,
  `patient_user_id` bigint unsigned NOT NULL,
  `doctor_profile_id` bigint unsigned NOT NULL,
  `diagnosis` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `clinical_notes` longtext COLLATE utf8mb4_unicode_ci,
  `advice` longtext COLLATE utf8mb4_unicode_ci,
  `vitals` longtext COLLATE utf8mb4_unicode_ci,
  `recorded_at` timestamp NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `medical_records_consultation_id_unique` (`consultation_id`),
  KEY `medical_records_doctor_profile_id_foreign` (`doctor_profile_id`),
  KEY `medical_records_patient_user_id_recorded_at_index` (`patient_user_id`,`recorded_at`),
  CONSTRAINT `medical_records_consultation_id_foreign` FOREIGN KEY (`consultation_id`) REFERENCES `consultations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `medical_records_doctor_profile_id_foreign` FOREIGN KEY (`doctor_profile_id`) REFERENCES `doctor_profiles` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `medical_records_patient_user_id_foreign` FOREIGN KEY (`patient_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `medical_records`
--

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

--
-- Table structure for table `medicine_profiles`
--

DROP TABLE IF EXISTS `medicine_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `medicine_profiles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint unsigned NOT NULL,
  `generic_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `medicine_class` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `strength` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dosage_form` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `package_size` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `warning_label` text COLLATE utf8mb4_unicode_ci,
  `requires_prescription` tinyint(1) NOT NULL DEFAULT '0',
  `regulatory_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `medicine_profiles_product_id_unique` (`product_id`),
  KEY `medicine_profiles_medicine_class_index` (`medicine_class`),
  CONSTRAINT `medicine_profiles_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=141 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `medicine_profiles`
--

LOCK TABLES `medicine_profiles` WRITE;
/*!40000 ALTER TABLE `medicine_profiles` DISABLE KEYS */;
INSERT INTO `medicine_profiles` VALUES (1,1,'Paracetamol','otc','500 mg','Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(2,2,'Echinacea & Zinc','otc',NULL,'Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(3,3,'Povidone Iodine','limited_otc','10%','Cairan luar','30 ml','Hanya untuk pemakaian luar. Baca aturan pakai sebelum digunakan.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(4,4,'Amlodipine Besilate','hard_drug','10 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(5,6,'Diazepam','psychotropic','5 mg','Tablet','10 tablet','Tidak tersedia untuk transaksi marketplace online.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(6,7,'Paracetamol','otc','120 mg/5 ml','Sirup','60 ml',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(7,8,'Paracetamol','otc','650 mg','Kaplet','4 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(8,9,'Paracetamol + Caffeine','limited_otc','500 mg','Tablet','4 tablet','Perhatikan dosis maksimal harian.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(9,10,'Obat Batuk Hitam','limited_otc','60 ml','Sirup','60 ml','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(10,11,'Herbal','otc',NULL,'Cair','12 sachet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(11,12,'Ascorbic Acid','otc','500 mg','Tablet','60 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(12,13,'Multivitamin','otc',NULL,'Tablet','30 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(13,14,'Hydrotalcite + Mg Hydroxide','otc',NULL,'Tablet kunyah','10 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(14,15,'Lansoprazole','hard_drug','30 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(15,16,'Metformin HCl','hard_drug','500 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(16,17,'Simvastatin','hard_drug','20 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(17,18,'Cetirizine','limited_otc','10 mg','Tablet','10 tablet','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(18,19,'Loratadine','limited_otc','10 mg','Tablet','10 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(19,20,'Plester','otc',NULL,'Plester','1 roll',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(20,21,'Kasa Steril','otc',NULL,'Kasa','10 pcs',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(21,24,'Medical Device','otc',NULL,'Alat kesehatan','25 strip',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(22,25,'Skin Care','otc',NULL,'Cleanser','125 ml',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(23,26,'Acne Care','otc',NULL,'Gel','18 g',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(24,27,'Cajuput Oil','otc',NULL,'Cairan luar','60 ml','Hanya untuk pemakaian luar.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(25,28,'Oral Rehydration Salt','otc',NULL,'Sachet','10 sachet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(26,29,'Amoxicillin Trihydrate','hard_drug','500 mg','Kapsul','10 kapsul','Antibiotik harus dengan resep dokter dan dihabiskan sesuai aturan.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(27,30,'Cefixime','hard_drug','100 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(28,31,'Salbutamol','hard_drug','2 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(29,32,'Paracetamol','otc','500 mg','Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(30,33,'Echinacea & Zinc','otc',NULL,'Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(31,34,'Povidone Iodine','limited_otc','10%','Cairan luar','30 ml','Hanya untuk pemakaian luar. Baca aturan pakai sebelum digunakan.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(32,35,'Amlodipine Besilate','hard_drug','10 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(33,37,'Diazepam','psychotropic','5 mg','Tablet','10 tablet','Tidak tersedia untuk transaksi marketplace online.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(34,38,'Paracetamol','otc','120 mg/5 ml','Sirup','60 ml',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(35,39,'Paracetamol','otc','650 mg','Kaplet','4 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(36,40,'Paracetamol + Caffeine','limited_otc','500 mg','Tablet','4 tablet','Perhatikan dosis maksimal harian.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(37,41,'Obat Batuk Hitam','limited_otc','60 ml','Sirup','60 ml','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(38,42,'Herbal','otc',NULL,'Cair','12 sachet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(39,43,'Ascorbic Acid','otc','500 mg','Tablet','60 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(40,44,'Multivitamin','otc',NULL,'Tablet','30 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(41,45,'Hydrotalcite + Mg Hydroxide','otc',NULL,'Tablet kunyah','10 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(42,46,'Lansoprazole','hard_drug','30 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(43,47,'Metformin HCl','hard_drug','500 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(44,48,'Simvastatin','hard_drug','20 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(45,49,'Cetirizine','limited_otc','10 mg','Tablet','10 tablet','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(46,50,'Loratadine','limited_otc','10 mg','Tablet','10 tablet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(47,51,'Plester','otc',NULL,'Plester','1 roll',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(48,52,'Kasa Steril','otc',NULL,'Kasa','10 pcs',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(49,55,'Medical Device','otc',NULL,'Alat kesehatan','25 strip',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(50,56,'Skin Care','otc',NULL,'Cleanser','125 ml',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(51,57,'Acne Care','otc',NULL,'Gel','18 g',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(52,58,'Cajuput Oil','otc',NULL,'Cairan luar','60 ml','Hanya untuk pemakaian luar.',0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(53,59,'Oral Rehydration Salt','otc',NULL,'Sachet','10 sachet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(54,60,'Amoxicillin Trihydrate','hard_drug','500 mg','Kapsul','10 kapsul','Antibiotik harus dengan resep dokter dan dihabiskan sesuai aturan.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(55,61,'Cefixime','hard_drug','100 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(56,62,'Salbutamol','hard_drug','2 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(57,63,'Paracetamol','otc','500 mg','Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(58,64,'Echinacea & Zinc','otc',NULL,'Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:39','2026-08-30 11:17:39'),(59,65,'Povidone Iodine','limited_otc','10%','Cairan luar','30 ml','Hanya untuk pemakaian luar. Baca aturan pakai sebelum digunakan.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(60,66,'Amlodipine Besilate','hard_drug','10 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(61,68,'Diazepam','psychotropic','5 mg','Tablet','10 tablet','Tidak tersedia untuk transaksi marketplace online.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(62,69,'Paracetamol','otc','120 mg/5 ml','Sirup','60 ml',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(63,70,'Paracetamol','otc','650 mg','Kaplet','4 kaplet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(64,71,'Paracetamol + Caffeine','limited_otc','500 mg','Tablet','4 tablet','Perhatikan dosis maksimal harian.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(65,72,'Obat Batuk Hitam','limited_otc','60 ml','Sirup','60 ml','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(66,73,'Herbal','otc',NULL,'Cair','12 sachet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(67,74,'Ascorbic Acid','otc','500 mg','Tablet','60 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(68,75,'Multivitamin','otc',NULL,'Tablet','30 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(69,76,'Hydrotalcite + Mg Hydroxide','otc',NULL,'Tablet kunyah','10 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(70,77,'Lansoprazole','hard_drug','30 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(71,78,'Metformin HCl','hard_drug','500 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(72,79,'Simvastatin','hard_drug','20 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(73,80,'Cetirizine','limited_otc','10 mg','Tablet','10 tablet','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(74,81,'Loratadine','limited_otc','10 mg','Tablet','10 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(75,82,'Plester','otc',NULL,'Plester','1 roll',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(76,83,'Kasa Steril','otc',NULL,'Kasa','10 pcs',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(77,86,'Medical Device','otc',NULL,'Alat kesehatan','25 strip',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(78,87,'Skin Care','otc',NULL,'Cleanser','125 ml',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(79,88,'Acne Care','otc',NULL,'Gel','18 g',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(80,89,'Cajuput Oil','otc',NULL,'Cairan luar','60 ml','Hanya untuk pemakaian luar.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(81,90,'Oral Rehydration Salt','otc',NULL,'Sachet','10 sachet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(82,91,'Amoxicillin Trihydrate','hard_drug','500 mg','Kapsul','10 kapsul','Antibiotik harus dengan resep dokter dan dihabiskan sesuai aturan.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(83,92,'Cefixime','hard_drug','100 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(84,93,'Salbutamol','hard_drug','2 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(85,94,'Paracetamol','otc','500 mg','Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(86,95,'Echinacea & Zinc','otc',NULL,'Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(87,96,'Povidone Iodine','limited_otc','10%','Cairan luar','30 ml','Hanya untuk pemakaian luar. Baca aturan pakai sebelum digunakan.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(88,97,'Amlodipine Besilate','hard_drug','10 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(89,99,'Diazepam','psychotropic','5 mg','Tablet','10 tablet','Tidak tersedia untuk transaksi marketplace online.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(90,100,'Paracetamol','otc','120 mg/5 ml','Sirup','60 ml',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(91,101,'Paracetamol','otc','650 mg','Kaplet','4 kaplet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(92,102,'Paracetamol + Caffeine','limited_otc','500 mg','Tablet','4 tablet','Perhatikan dosis maksimal harian.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(93,103,'Obat Batuk Hitam','limited_otc','60 ml','Sirup','60 ml','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(94,104,'Herbal','otc',NULL,'Cair','12 sachet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(95,105,'Ascorbic Acid','otc','500 mg','Tablet','60 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(96,106,'Multivitamin','otc',NULL,'Tablet','30 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(97,107,'Hydrotalcite + Mg Hydroxide','otc',NULL,'Tablet kunyah','10 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(98,108,'Lansoprazole','hard_drug','30 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(99,109,'Metformin HCl','hard_drug','500 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(100,110,'Simvastatin','hard_drug','20 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(101,111,'Cetirizine','limited_otc','10 mg','Tablet','10 tablet','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(102,112,'Loratadine','limited_otc','10 mg','Tablet','10 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(103,113,'Plester','otc',NULL,'Plester','1 roll',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(104,114,'Kasa Steril','otc',NULL,'Kasa','10 pcs',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(105,117,'Medical Device','otc',NULL,'Alat kesehatan','25 strip',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(106,118,'Skin Care','otc',NULL,'Cleanser','125 ml',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(107,119,'Acne Care','otc',NULL,'Gel','18 g',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(108,120,'Cajuput Oil','otc',NULL,'Cairan luar','60 ml','Hanya untuk pemakaian luar.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(109,121,'Oral Rehydration Salt','otc',NULL,'Sachet','10 sachet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(110,122,'Amoxicillin Trihydrate','hard_drug','500 mg','Kapsul','10 kapsul','Antibiotik harus dengan resep dokter dan dihabiskan sesuai aturan.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(111,123,'Cefixime','hard_drug','100 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(112,124,'Salbutamol','hard_drug','2 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(113,125,'Paracetamol','otc','500 mg','Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(114,126,'Echinacea & Zinc','otc',NULL,'Kaplet','10 kaplet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(115,127,'Povidone Iodine','limited_otc','10%','Cairan luar','30 ml','Hanya untuk pemakaian luar. Baca aturan pakai sebelum digunakan.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(116,128,'Amlodipine Besilate','hard_drug','10 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(117,130,'Diazepam','psychotropic','5 mg','Tablet','10 tablet','Tidak tersedia untuk transaksi marketplace online.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(118,131,'Paracetamol','otc','120 mg/5 ml','Sirup','60 ml',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(119,132,'Paracetamol','otc','650 mg','Kaplet','4 kaplet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(120,133,'Paracetamol + Caffeine','limited_otc','500 mg','Tablet','4 tablet','Perhatikan dosis maksimal harian.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(121,134,'Obat Batuk Hitam','limited_otc','60 ml','Sirup','60 ml','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(122,135,'Herbal','otc',NULL,'Cair','12 sachet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(123,136,'Ascorbic Acid','otc','500 mg','Tablet','60 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(124,137,'Multivitamin','otc',NULL,'Tablet','30 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(125,138,'Hydrotalcite + Mg Hydroxide','otc',NULL,'Tablet kunyah','10 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(126,139,'Lansoprazole','hard_drug','30 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(127,140,'Metformin HCl','hard_drug','500 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(128,141,'Simvastatin','hard_drug','20 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(129,142,'Cetirizine','limited_otc','10 mg','Tablet','10 tablet','Dapat menyebabkan kantuk.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(130,143,'Loratadine','limited_otc','10 mg','Tablet','10 tablet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(131,144,'Plester','otc',NULL,'Plester','1 roll',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(132,145,'Kasa Steril','otc',NULL,'Kasa','10 pcs',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(133,148,'Medical Device','otc',NULL,'Alat kesehatan','25 strip',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(134,149,'Skin Care','otc',NULL,'Cleanser','125 ml',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(135,150,'Acne Care','otc',NULL,'Gel','18 g',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(136,151,'Cajuput Oil','otc',NULL,'Cairan luar','60 ml','Hanya untuk pemakaian luar.',0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(137,152,'Oral Rehydration Salt','otc',NULL,'Sachet','10 sachet',NULL,0,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(138,153,'Amoxicillin Trihydrate','hard_drug','500 mg','Kapsul','10 kapsul','Antibiotik harus dengan resep dokter dan dihabiskan sesuai aturan.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(139,154,'Cefixime','hard_drug','100 mg','Kapsul','10 kapsul','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40'),(140,155,'Salbutamol','hard_drug','2 mg','Tablet','10 tablet','Harus dengan resep dokter.',1,'active','2026-08-30 11:17:40','2026-08-30 11:17:40');
/*!40000 ALTER TABLE `medicine_profiles` 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=79 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_08_27_122827_create_tenants_table',1),(5,'2026_08_27_122828_create_pharmacy_outlets_table',1),(6,'2026_08_27_122829_create_products_table',1),(7,'2026_08_27_122830_create_medicine_profiles_table',1),(8,'2026_08_27_122831_create_tenant_product_listings_table',1),(9,'2026_08_27_122832_create_outlet_inventories_table',1),(10,'2026_08_27_122833_create_regulatory_rules_table',1),(11,'2026_08_27_122834_create_prescriptions_table',1),(12,'2026_08_27_122835_create_prescription_review_requests_table',1),(13,'2026_08_27_122836_create_prescription_review_logs_table',1),(14,'2026_08_27_122837_create_platform_orders_table',1),(15,'2026_08_27_122838_create_seller_orders_table',1),(16,'2026_08_27_122839_create_order_items_table',1),(17,'2026_08_27_122840_create_coupons_table',1),(18,'2026_08_27_125456_add_platform_role_to_users_table',1),(19,'2026_08_27_125457_create_tenant_users_table',1),(20,'2026_08_27_131414_create_notifications_table',1),(21,'2026_08_27_203432_add_referral_fields_to_users_and_coupons_tables',1),(22,'2026_08_27_203433_create_referral_attributions_table',1),(23,'2026_08_27_203434_create_referral_rewards_table',1),(24,'2026_08_27_205420_create_customer_addresses_table',1),(25,'2026_08_27_205421_create_inventory_reservations_table',1),(26,'2026_08_27_205422_create_delivery_shipments_table',1),(27,'2026_08_27_205423_create_commission_rules_table',1),(28,'2026_08_27_205424_create_settlements_table',1),(29,'2026_08_27_205425_create_settlement_items_table',1),(30,'2026_08_27_205426_add_phase_six_fields_to_orders_tables',1),(31,'2026_08_27_211040_create_patient_profiles_table',1),(32,'2026_08_27_211041_create_doctor_profiles_table',1),(33,'2026_08_27_211042_create_doctor_schedules_table',1),(34,'2026_08_27_211043_create_consultations_table',1),(35,'2026_08_27_211044_create_consultation_messages_table',1),(36,'2026_08_27_211045_create_medical_records_table',1),(37,'2026_08_27_211046_create_digital_prescriptions_table',1),(38,'2026_08_27_211047_create_digital_prescription_items_table',1),(39,'2026_08_27_211048_add_digital_prescription_fields_to_prescriptions_table',1),(40,'2026_08_27_212154_create_tenant_licenses_table',1),(41,'2026_08_27_212155_create_pharmacists_table',1),(42,'2026_08_27_212156_create_medical_device_profiles_table',1),(43,'2026_08_27_212157_create_product_submissions_table',1),(44,'2026_08_27_212158_add_governance_fields_to_products_table',1),(45,'2026_08_27_213045_create_coupon_usages_table',1),(46,'2026_08_27_213423_create_payments_table',1),(47,'2026_08_28_085907_add_unique_consultation_to_digital_prescriptions_table',1),(48,'2026_08_28_090536_create_product_regulatory_histories_table',1),(49,'2026_08_28_091140_add_provider_fields_to_delivery_shipments_table',1),(50,'2026_08_28_091141_add_shipping_fields_to_products_and_outlets_tables',1),(51,'2026_08_28_091727_create_refunds_table',1),(52,'2026_08_28_091728_create_financial_ledger_entries_table',1),(53,'2026_08_28_161920_create_inventory_batches_table',1),(54,'2026_08_28_162545_add_recovery_fields_to_refunds_and_delivery_shipments_tables',1),(55,'2026_08_28_162846_create_settlement_ledger_allocations_table',1),(56,'2026_08_28_222005_create_shipping_quotes_table',1),(57,'2026_08_28_222006_create_tenant_bank_accounts_table',1),(58,'2026_08_28_222007_create_withdrawal_requests_table',1),(59,'2026_08_28_222008_add_shipping_quote_snapshot_to_orders_and_shipments_table',1),(60,'2026_08_28_222009_add_withdrawal_reference_to_financial_ledger_entries_table',1),(61,'2026_08_28_222010_add_upload_first_checkout_fields_to_prescription_review_requests_table',1),(62,'2026_08_29_000001_add_province_and_district_to_pharmacy_outlets_table',1),(63,'2026_08_29_042033_extend_coupons_for_promotions',1),(64,'2026_08_29_042034_create_coupon_tenant_table',1),(65,'2026_08_29_042035_add_tenant_id_to_products_table',1),(66,'2026_08_29_042036_create_point_wallets_table',1),(67,'2026_08_29_042037_create_point_transactions_table',1),(68,'2026_08_29_042038_create_pharmacy_conversations_table',1),(69,'2026_08_29_042039_create_pharmacy_messages_table',1),(70,'2026_08_29_042040_create_doctor_bank_accounts_table',1),(71,'2026_08_29_042041_create_doctor_earnings_table',1),(72,'2026_08_29_042042_create_doctor_withdrawal_requests_table',1),(73,'2026_08_29_103304_add_customer_preferences_to_users_table',1),(74,'2026_08_29_154916_change_shipping_quotes_provider_payload_to_long_text',1),(75,'2026_08_30_110343_refactor_products_to_tenant_owned_commercial_catalog',1),(76,'2026_08_30_120154_consolidate_pharmacy_accounts_and_remove_product_listings',1),(77,'2026_08_30_204121_create_personal_access_tokens_table',2),(78,'2026_08_30_214610_create_mobile_cart_items_table',3);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `mobile_cart_items`
--

DROP TABLE IF EXISTS `mobile_cart_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mobile_cart_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `product_id` bigint unsigned NOT NULL,
  `quantity` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `mobile_cart_items_user_id_product_id_unique` (`user_id`,`product_id`),
  KEY `mobile_cart_items_product_id_foreign` (`product_id`),
  CONSTRAINT `mobile_cart_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `mobile_cart_items_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`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 `mobile_cart_items`
--

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

--
-- Table structure for table `notifications`
--

DROP TABLE IF EXISTS `notifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `notifications` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notifiable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notifiable_id` bigint unsigned NOT NULL,
  `data` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `notifications`
--

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

--
-- Table structure for table `order_items`
--

DROP TABLE IF EXISTS `order_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `order_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `seller_order_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `product_id` bigint unsigned NOT NULL,
  `product_name_snapshot` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sku_snapshot` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `classification_snapshot` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `price` bigint unsigned NOT NULL,
  `quantity` int unsigned NOT NULL,
  `subtotal` bigint unsigned NOT NULL,
  `requires_prescription` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_items_seller_order_id_foreign` (`seller_order_id`),
  KEY `order_items_product_id_foreign` (`product_id`),
  KEY `order_items_tenant_id_seller_order_id_index` (`tenant_id`,`seller_order_id`),
  CONSTRAINT `order_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `order_items_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_items_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`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 `order_items`
--

LOCK TABLES `order_items` WRITE;
/*!40000 ALTER TABLE `order_items` DISABLE KEYS */;
INSERT INTO `order_items` VALUES (1,1,1,1,'Panadol 500 mg','SKU-1-0001','otc',12500,1,12500,0,'2026-08-30 14:52:55','2026-08-30 14:52:55'),(2,2,1,1,'Panadol 500 mg','SKU-1-0001','otc',12500,2,25000,0,'2026-08-30 15:08:39','2026-08-30 15:08:39');
/*!40000 ALTER TABLE `order_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `outlet_inventories`
--

DROP TABLE IF EXISTS `outlet_inventories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `outlet_inventories` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned NOT NULL,
  `product_id` bigint unsigned DEFAULT NULL,
  `quantity_available` int unsigned NOT NULL DEFAULT '0',
  `quantity_reserved` int unsigned NOT NULL DEFAULT '0',
  `reorder_level` int unsigned NOT NULL DEFAULT '10',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `inventory_tenant_outlet_product_unique` (`tenant_id`,`outlet_id`,`product_id`),
  KEY `outlet_inventories_outlet_id_foreign` (`outlet_id`),
  KEY `outlet_inventories_product_id_foreign` (`product_id`),
  KEY `inventory_tenant_outlet_product_index` (`tenant_id`,`outlet_id`,`product_id`),
  CONSTRAINT `outlet_inventories_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `outlet_inventories_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `outlet_inventories_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=156 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `outlet_inventories`
--

LOCK TABLES `outlet_inventories` WRITE;
/*!40000 ALTER TABLE `outlet_inventories` DISABLE KEYS */;
INSERT INTO `outlet_inventories` VALUES (1,1,1,1,24,3,10,'2026-08-30 11:17:39','2026-08-30 15:08:39'),(2,1,1,2,25,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(3,1,1,3,26,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(4,1,1,4,27,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(5,1,1,5,28,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(6,1,1,6,29,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(7,1,1,7,30,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(8,1,1,8,31,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(9,1,1,9,32,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(10,1,1,10,33,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(11,1,1,11,34,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(12,1,1,12,35,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(13,1,1,13,36,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(14,1,1,14,37,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(15,1,1,15,38,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(16,1,1,16,39,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(17,1,1,17,40,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(18,1,1,18,41,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(19,1,1,19,42,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(20,1,1,20,43,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(21,1,1,21,44,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(22,1,1,22,45,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(23,1,1,23,46,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(24,1,1,24,47,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(25,1,1,25,48,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(26,1,1,26,49,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(27,1,1,27,50,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(28,1,1,28,51,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(29,1,1,29,52,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(30,1,1,30,53,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(31,1,1,31,54,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(32,2,2,32,24,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(33,2,2,33,25,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(34,2,2,34,26,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(35,2,2,35,27,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(36,2,2,36,28,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(37,2,2,37,29,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(38,2,2,38,30,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(39,2,2,39,31,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(40,2,2,40,32,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(41,2,2,41,33,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(42,2,2,42,34,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(43,2,2,43,35,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(44,2,2,44,36,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(45,2,2,45,37,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(46,2,2,46,38,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(47,2,2,47,39,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(48,2,2,48,40,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(49,2,2,49,41,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(50,2,2,50,42,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(51,2,2,51,43,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(52,2,2,52,44,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(53,2,2,53,45,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(54,2,2,54,46,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(55,2,2,55,47,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(56,2,2,56,48,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(57,2,2,57,49,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(58,2,2,58,50,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(59,2,2,59,51,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(60,2,2,60,52,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(61,2,2,61,53,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(62,2,2,62,54,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(63,3,3,63,24,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(64,3,3,64,25,0,10,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(65,3,3,65,26,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(66,3,3,66,27,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(67,3,3,67,28,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(68,3,3,68,29,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(69,3,3,69,30,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(70,3,3,70,31,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(71,3,3,71,32,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(72,3,3,72,33,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(73,3,3,73,34,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(74,3,3,74,35,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(75,3,3,75,36,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(76,3,3,76,37,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(77,3,3,77,38,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(78,3,3,78,39,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(79,3,3,79,40,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(80,3,3,80,41,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(81,3,3,81,42,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(82,3,3,82,43,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(83,3,3,83,44,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(84,3,3,84,45,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(85,3,3,85,46,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(86,3,3,86,47,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(87,3,3,87,48,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(88,3,3,88,49,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(89,3,3,89,50,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(90,3,3,90,51,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(91,3,3,91,52,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(92,3,3,92,53,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(93,3,3,93,54,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(94,4,4,94,24,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(95,4,4,95,25,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(96,4,4,96,26,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(97,4,4,97,27,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(98,4,4,98,28,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(99,4,4,99,29,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(100,4,4,100,30,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(101,4,4,101,31,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(102,4,4,102,32,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(103,4,4,103,33,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(104,4,4,104,34,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(105,4,4,105,35,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(106,4,4,106,36,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(107,4,4,107,37,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(108,4,4,108,38,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(109,4,4,109,39,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(110,4,4,110,40,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(111,4,4,111,41,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(112,4,4,112,42,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(113,4,4,113,43,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(114,4,4,114,44,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(115,4,4,115,45,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(116,4,4,116,46,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(117,4,4,117,47,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(118,4,4,118,48,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(119,4,4,119,49,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(120,4,4,120,50,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(121,4,4,121,51,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(122,4,4,122,52,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(123,4,4,123,53,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(124,4,4,124,54,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(125,5,5,125,24,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(126,5,5,126,25,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(127,5,5,127,26,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(128,5,5,128,27,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(129,5,5,129,28,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(130,5,5,130,29,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(131,5,5,131,30,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(132,5,5,132,31,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(133,5,5,133,32,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(134,5,5,134,33,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(135,5,5,135,34,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(136,5,5,136,35,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(137,5,5,137,36,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(138,5,5,138,37,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(139,5,5,139,38,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(140,5,5,140,39,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(141,5,5,141,40,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(142,5,5,142,41,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(143,5,5,143,42,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(144,5,5,144,43,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(145,5,5,145,44,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(146,5,5,146,45,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(147,5,5,147,46,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(148,5,5,148,47,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(149,5,5,149,48,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(150,5,5,150,49,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(151,5,5,151,50,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(152,5,5,152,51,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(153,5,5,153,52,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(154,5,5,154,53,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40'),(155,5,5,155,54,0,10,'2026-08-30 11:17:40','2026-08-30 11:17:40');
/*!40000 ALTER TABLE `outlet_inventories` 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 `patient_profiles`
--

DROP TABLE IF EXISTS `patient_profiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patient_profiles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `date_of_birth` date DEFAULT NULL,
  `gender` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `blood_type` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `allergies` text COLLATE utf8mb4_unicode_ci,
  `emergency_contact_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `emergency_contact_phone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `patient_profiles_user_id_unique` (`user_id`),
  CONSTRAINT `patient_profiles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `patient_profiles`
--

LOCK TABLES `patient_profiles` WRITE;
/*!40000 ALTER TABLE `patient_profiles` DISABLE KEYS */;
INSERT INTO `patient_profiles` VALUES (1,1,'1994-05-17','male','O+','eyJpdiI6InN2RGtXN2ZZNkhkSG9SVFR5TE4xR0E9PSIsInZhbHVlIjoiQTY5VXlxWFByd3dNaWlUajVscUJxTWpKRzR3R1N5YUp3bU9NNXlWNVFlQ0RsY2lBNXhFQjhRRnhZYTN6TkpZQSIsIm1hYyI6ImZjOGJlYzY5NDc2MzU2OTZhNjQ5OGNlYmQ1ODM1OTk3MThkZWE2MWI1MzJhMzgzMTg1NzRjNDY4NDc5YTNkZTMiLCJ0YWciOiIifQ==','Keluarga Pelanggan','081200000099','2026-08-30 11:17:38','2026-08-30 11:17:38');
/*!40000 ALTER TABLE `patient_profiles` 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,
  `platform_order_id` bigint unsigned NOT NULL,
  `seller_order_id` bigint unsigned NOT NULL,
  `provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `external_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` bigint unsigned NOT NULL,
  `currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IDR',
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `provider_response` longtext COLLATE utf8mb4_unicode_ci,
  `paid_at` timestamp NULL DEFAULT NULL,
  `failed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payments_external_id_unique` (`external_id`),
  KEY `payments_platform_order_id_foreign` (`platform_order_id`),
  KEY `payments_seller_order_id_status_index` (`seller_order_id`,`status`),
  CONSTRAINT `payments_platform_order_id_foreign` FOREIGN KEY (`platform_order_id`) REFERENCES `platform_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payments_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`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 `payments`
--

LOCK TABLES `payments` WRITE;
/*!40000 ALTER TABLE `payments` DISABLE KEYS */;
INSERT INTO `payments` VALUES (1,1,1,'midtrans','PAY-XDQZ9C5M38EISTMEOFLE',20500,'IDR','pending','eyJpdiI6ImhlMlNJMllST1g3ekdrYTBsMDRFbFE9PSIsInZhbHVlIjoiOVIveVVndzUzVlc1NituWGNpZVVRK0cyWjUwaWpTVE1TM0JqSnlUYW53a0duQnVmVFpyNlRmaUs1S3RKbEpQaXd1WFVpYXBvakcxR1JWaU9TalVZcGJPcDNVRDBWWlExUzg0NC9jSnhza2crUVJjK0c2amdlbmZia2pQcDlhS2FYVTdsMW1IN0U4cDdPUlV4dklxa3hkell6dnF2T2FDakJnTTk0VWhUYXB5ZlFuWFJsZitxMDVFK2hJRWVpSllWdExVeUhta3FLcWlraUpMZXpERUZXNHBGWndOeVpTRnB3OWNEUVl0RW9uYz0iLCJtYWMiOiI4ZTI5NmE2MDUzMGY0M2U2OWFhNzEwMDM2NWFmN2ZkMTNjZGUxMzM1YzJkNWM0Mjk3ZGEwYmQ2NDc5NTE3NjJjIiwidGFnIjoiIn0=',NULL,NULL,'2026-08-30 14:53:04','2026-08-30 14:53:04'),(2,2,2,'midtrans','PAY-W1OWHPDFPVGKTTUAG3ZX',35000,'IDR','pending','eyJpdiI6IjExUTNGd1RsUklKcVZyT0tRWnZCbnc9PSIsInZhbHVlIjoiZ0xyVVhSTHRZNXdWcnB2dmJ1SHp0U0RZLzNHSDZjWVVaTDRPYzhHMmVKcXczdENMd2Joa1BrSHdvaTlrZkhJajJjNHE1b3ByNyszd1Q2TERoNStGb1NxK0dackxya281VXlXWVNCSlBwZHY5QTVzQi9nMURuRmFhL2ZjeUhlWVpFMks4WXdUV2JMYjNJRFRuSUJlMTJFbmN2blFwNUVVY2xrSlBKUmhCNHRMbS92RjNqSlR3SUlQaUM4UkNLeEdPL1RMTXhOU2RNVzNLZTZkZDV4REcxL3BibGZ6QVptTFc3Wnk0UVRSZTJIRT0iLCJtYWMiOiJjMGRhMGU0OGIwZmQxNTc1NTlhOWRiMmIyNzMwYTg5MWM0OTc4Nzc0MmRhMTEzZDZlYjA4YzEwZThhNjc4ZjIzIiwidGFnIjoiIn0=',NULL,NULL,'2026-08-30 15:08:46','2026-08-30 15:08:46');
/*!40000 ALTER TABLE `payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `personal_access_tokens`
--

DROP TABLE IF EXISTS `personal_access_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `personal_access_tokens` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_id` bigint unsigned NOT NULL,
  `name` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `abilities` text COLLATE utf8mb4_unicode_ci,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`),
  KEY `personal_access_tokens_expires_at_index` (`expires_at`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `personal_access_tokens`
--

LOCK TABLES `personal_access_tokens` WRITE;
/*!40000 ALTER TABLE `personal_access_tokens` DISABLE KEYS */;
INSERT INTO `personal_access_tokens` VALUES (1,'App\\Models\\User',1,'iOS simulator recovery check','491a4ee57ecf6c330ecb37885e1d85aaf462eb9c6c63162054eba31e2120d324','[\"customer\"]',NULL,NULL,'2026-08-30 14:35:36','2026-08-30 14:35:36'),(2,'App\\Models\\User',1,'MeyaHealth iOS','d0dc4720a6147257bd38f04a94f72da413792c49dd985af63e00af63cdd46b53','[\"customer\"]','2026-08-30 15:08:47',NULL,'2026-08-30 14:37:38','2026-08-30 15:08:47'),(3,'App\\Models\\User',1,'API checkout verification','de723a66e289dea273142291af230140c99b2f7653f61bba4d87f092054fe39c','[\"customer\"]','2026-08-30 14:52:55',NULL,'2026-08-30 14:52:52','2026-08-30 14:52:55'),(4,'App\\Models\\User',1,'API payment verification','b2e6c23cb9bcaf2836b0e7e5c4ddef062272738548b820e281a96feab4e95c2b','[\"customer\"]','2026-08-30 14:53:04',NULL,'2026-08-30 14:53:03','2026-08-30 14:53:04');
/*!40000 ALTER TABLE `personal_access_tokens` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pharmacists`
--

DROP TABLE IF EXISTS `pharmacists`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacists` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `professional_registration_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `practice_license_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `license_expired_at` date NOT NULL,
  `document_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `verification_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pharmacists_tenant_id_professional_registration_number_unique` (`tenant_id`,`professional_registration_number`),
  UNIQUE KEY `pharmacists_tenant_id_user_id_unique` (`tenant_id`,`user_id`),
  KEY `pharmacists_user_id_foreign` (`user_id`),
  KEY `pharmacists_outlet_id_foreign` (`outlet_id`),
  KEY `pharmacists_tenant_id_verification_status_is_active_index` (`tenant_id`,`verification_status`,`is_active`),
  CONSTRAINT `pharmacists_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pharmacists_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pharmacists_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`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 `pharmacists`
--

LOCK TABLES `pharmacists` WRITE;
/*!40000 ALTER TABLE `pharmacists` DISABLE KEYS */;
INSERT INTO `pharmacists` VALUES (1,3,1,1,'Owner Laut Sehat','STRA-DEMO-0001','SIPA-DEMO-0001','2031-01-01',NULL,'approved',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(2,4,2,2,'Owner Bumi Medika','STRA-DEMO-0002','SIPA-DEMO-0002','2031-01-01',NULL,'approved',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(3,5,3,3,'Owner Nusantara Farma','STRA-DEMO-0003','SIPA-DEMO-0003','2031-01-01',NULL,'approved',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(4,6,4,4,'Owner Klinik Farma','STRA-DEMO-0004','SIPA-DEMO-0004','2031-01-01',NULL,'approved',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(5,7,5,5,'Owner Srikandi Care','STRA-DEMO-0005','SIPA-DEMO-0005','2031-01-01',NULL,'approved',1,'2026-08-30 11:17:39','2026-08-30 11:17:39');
/*!40000 ALTER TABLE `pharmacists` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pharmacy_conversations`
--

DROP TABLE IF EXISTS `pharmacy_conversations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_conversations` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `customer_user_id` bigint unsigned NOT NULL,
  `product_id` bigint unsigned DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `last_message_at` timestamp NULL DEFAULT NULL,
  `closed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pharmacy_conversations_product_id_foreign` (`product_id`),
  KEY `pharmacy_conversations_tenant_id_status_last_message_at_index` (`tenant_id`,`status`,`last_message_at`),
  KEY `pharmacy_conversations_customer_user_id_last_message_at_index` (`customer_user_id`,`last_message_at`),
  CONSTRAINT `pharmacy_conversations_customer_user_id_foreign` FOREIGN KEY (`customer_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pharmacy_conversations_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pharmacy_conversations_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pharmacy_conversations`
--

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

--
-- Table structure for table `pharmacy_messages`
--

DROP TABLE IF EXISTS `pharmacy_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_messages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `pharmacy_conversation_id` bigint unsigned NOT NULL,
  `sender_user_id` bigint unsigned NOT NULL,
  `message` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pharmacy_messages_sender_user_id_foreign` (`sender_user_id`),
  KEY `pharmacy_messages_pharmacy_conversation_id_created_at_index` (`pharmacy_conversation_id`,`created_at`),
  CONSTRAINT `pharmacy_messages_pharmacy_conversation_id_foreign` FOREIGN KEY (`pharmacy_conversation_id`) REFERENCES `pharmacy_conversations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pharmacy_messages_sender_user_id_foreign` FOREIGN KEY (`sender_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pharmacy_messages`
--

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

--
-- Table structure for table `pharmacy_outlets`
--

DROP TABLE IF EXISTS `pharmacy_outlets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_outlets` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `province` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `district` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postal_code` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitude` decimal(10,7) DEFAULT NULL,
  `longitude` decimal(10,7) DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `operational_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pharmacy_outlets_tenant_id_code_unique` (`tenant_id`,`code`),
  UNIQUE KEY `pharmacy_outlets_tenant_unique` (`tenant_id`),
  CONSTRAINT `pharmacy_outlets_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`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 `pharmacy_outlets`
--

LOCK TABLES `pharmacy_outlets` WRITE;
/*!40000 ALTER TABLE `pharmacy_outlets` DISABLE KEYS */;
INSERT INTO `pharmacy_outlets` VALUES (1,1,'Apotek Laut Sehat Pusat','JKT-01','Jl. Kemang Raya No. 18, Jakarta Selatan','DKI Jakarta','Jakarta Selatan','Kemang','12730',-6.2607000,106.8106000,'021-555-0188','open','2026-08-30 11:17:36','2026-08-30 11:17:36'),(2,2,'Apotek Bumi Medika Pusat','JKT-01','Jl. Kemang Raya No. 18, Jakarta Selatan','DKI Jakarta','Jakarta Selatan','Kemang','12730',-6.2607000,106.8106000,'021-555-0271','open','2026-08-30 11:17:36','2026-08-30 11:17:36'),(3,3,'Apotek Nusantara Farma Pusat','JKT-01','Jl. Kemang Raya No. 18, Jakarta Selatan','DKI Jakarta','Jakarta Selatan','Kemang','12730',-6.2607000,106.8106000,'021-555-0391','open','2026-08-30 11:17:36','2026-08-30 11:17:36'),(4,4,'Klinik Farma Medika Pusat','JKT-01','Jl. Kemang Raya No. 18, Jakarta Selatan','DKI Jakarta','Jakarta Selatan','Kemang','12730',-6.2607000,106.8106000,'022-555-0410','open','2026-08-30 11:17:36','2026-08-30 11:17:36'),(5,5,'Apotek Srikandi Care Pusat','JKT-01','Jl. Kemang Raya No. 18, Jakarta Selatan','DKI Jakarta','Jakarta Selatan','Kemang','12730',-6.2607000,106.8106000,'031-555-0505','open','2026-08-30 11:17:36','2026-08-30 11:17:36');
/*!40000 ALTER TABLE `pharmacy_outlets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `platform_orders`
--

DROP TABLE IF EXISTS `platform_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `platform_orders` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `order_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `coupon_id` bigint unsigned DEFAULT NULL,
  `customer_address_id` bigint unsigned DEFAULT NULL,
  `recipient_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `recipient_phone` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_address` text COLLATE utf8mb4_unicode_ci,
  `delivery_notes` text COLLATE utf8mb4_unicode_ci,
  `subtotal` bigint unsigned NOT NULL,
  `discount_total` bigint unsigned NOT NULL DEFAULT '0',
  `shipping_total` bigint unsigned NOT NULL DEFAULT '0',
  `grand_total` bigint unsigned NOT NULL,
  `payment_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid',
  `paid_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `platform_orders_order_number_unique` (`order_number`),
  KEY `platform_orders_user_id_foreign` (`user_id`),
  KEY `platform_orders_coupon_id_foreign` (`coupon_id`),
  KEY `platform_orders_customer_address_id_foreign` (`customer_address_id`),
  CONSTRAINT `platform_orders_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE SET NULL,
  CONSTRAINT `platform_orders_customer_address_id_foreign` FOREIGN KEY (`customer_address_id`) REFERENCES `customer_addresses` (`id`) ON DELETE SET NULL,
  CONSTRAINT `platform_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `platform_orders`
--

LOCK TABLES `platform_orders` WRITE;
/*!40000 ALTER TABLE `platform_orders` DISABLE KEYS */;
INSERT INTO `platform_orders` VALUES (1,'MY-260830-XH3FK4',1,NULL,1,'Pelanggan MeyaHealth','081200000001','Jl. Kemang Raya No. 24, Mampang Prapatan, Jakarta Selatan, DKI Jakarta, 12730','Hubungi penerima saat tiba.',12500,0,8000,20500,'unpaid',NULL,'2026-08-30 14:52:55','2026-08-30 14:52:55'),(2,'MY-260830-YY2O2Q',1,NULL,1,'Pelanggan MeyaHealth','081200000001','Jl. Kemang Raya No. 24, Mampang Prapatan, Jakarta Selatan, DKI Jakarta, 12730','Hubungi penerima saat tiba.',25000,0,10000,35000,'unpaid',NULL,'2026-08-30 15:08:39','2026-08-30 15:08:39');
/*!40000 ALTER TABLE `platform_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `point_transactions`
--

DROP TABLE IF EXISTS `point_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `point_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `point_wallet_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `idempotency_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `direction` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `points` bigint unsigned NOT NULL,
  `balance_after` bigint unsigned NOT NULL,
  `source_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `source_id` bigint unsigned DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `metadata` json DEFAULT NULL,
  `occurred_at` timestamp NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `point_transactions_idempotency_key_unique` (`idempotency_key`),
  KEY `point_transactions_point_wallet_id_foreign` (`point_wallet_id`),
  KEY `point_transactions_source_type_source_id_index` (`source_type`,`source_id`),
  KEY `point_transactions_user_id_occurred_at_index` (`user_id`,`occurred_at`),
  CONSTRAINT `point_transactions_point_wallet_id_foreign` FOREIGN KEY (`point_wallet_id`) REFERENCES `point_wallets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `point_transactions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `point_transactions`
--

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

--
-- Table structure for table `point_wallets`
--

DROP TABLE IF EXISTS `point_wallets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `point_wallets` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `balance` bigint unsigned NOT NULL DEFAULT '0',
  `lifetime_earned` bigint unsigned NOT NULL DEFAULT '0',
  `lifetime_redeemed` bigint unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `point_wallets_user_id_unique` (`user_id`),
  CONSTRAINT `point_wallets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `point_wallets`
--

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

--
-- Table structure for table `prescription_review_logs`
--

DROP TABLE IF EXISTS `prescription_review_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `prescription_review_logs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `prescription_review_request_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `reviewer_id` bigint unsigned DEFAULT NULL,
  `previous_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `new_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reason` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prescription_review_logs_prescription_review_request_id_foreign` (`prescription_review_request_id`),
  KEY `prescription_review_logs_reviewer_id_foreign` (`reviewer_id`),
  KEY `prescription_review_logs_tenant_id_created_at_index` (`tenant_id`,`created_at`),
  CONSTRAINT `prescription_review_logs_prescription_review_request_id_foreign` FOREIGN KEY (`prescription_review_request_id`) REFERENCES `prescription_review_requests` (`id`) ON DELETE CASCADE,
  CONSTRAINT `prescription_review_logs_reviewer_id_foreign` FOREIGN KEY (`reviewer_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `prescription_review_logs_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `prescription_review_logs`
--

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

--
-- Table structure for table `prescription_review_requests`
--

DROP TABLE IF EXISTS `prescription_review_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `prescription_review_requests` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `prescription_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned NOT NULL,
  `customer_address_id` bigint unsigned DEFAULT NULL,
  `seller_order_id` bigint unsigned DEFAULT NULL,
  `matched_items` json DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'submitted',
  `submitted_at` timestamp NOT NULL,
  `review_started_at` timestamp NULL DEFAULT NULL,
  `reviewed_by` bigint unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `prescription_review_requests_prescription_id_foreign` (`prescription_id`),
  KEY `prescription_review_requests_outlet_id_foreign` (`outlet_id`),
  KEY `prescription_review_requests_reviewed_by_foreign` (`reviewed_by`),
  KEY `prescription_review_requests_tenant_id_status_index` (`tenant_id`,`status`),
  KEY `prescription_review_requests_customer_address_id_foreign` (`customer_address_id`),
  CONSTRAINT `prescription_review_requests_customer_address_id_foreign` FOREIGN KEY (`customer_address_id`) REFERENCES `customer_addresses` (`id`) ON DELETE SET NULL,
  CONSTRAINT `prescription_review_requests_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `prescription_review_requests_prescription_id_foreign` FOREIGN KEY (`prescription_id`) REFERENCES `prescriptions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `prescription_review_requests_reviewed_by_foreign` FOREIGN KEY (`reviewed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `prescription_review_requests_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `prescription_review_requests`
--

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

--
-- Table structure for table `prescriptions`
--

DROP TABLE IF EXISTS `prescriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `prescriptions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ulid` char(26) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `digital_prescription_id` bigint unsigned DEFAULT NULL,
  `patient_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `patient_age` tinyint unsigned NOT NULL,
  `source` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'external_upload',
  `file_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version` int unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `prescriptions_ulid_unique` (`ulid`),
  UNIQUE KEY `prescriptions_digital_prescription_id_unique` (`digital_prescription_id`),
  KEY `prescriptions_user_id_foreign` (`user_id`),
  CONSTRAINT `prescriptions_digital_prescription_id_foreign` FOREIGN KEY (`digital_prescription_id`) REFERENCES `digital_prescriptions` (`id`) ON DELETE SET NULL,
  CONSTRAINT `prescriptions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `prescriptions`
--

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

--
-- Table structure for table `product_regulatory_histories`
--

DROP TABLE IF EXISTS `product_regulatory_histories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_regulatory_histories` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint unsigned NOT NULL,
  `previous_classification` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `new_classification` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `regulation_reference` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `changed_by` bigint unsigned DEFAULT NULL,
  `changed_at` timestamp NOT NULL,
  PRIMARY KEY (`id`),
  KEY `product_regulatory_histories_changed_by_foreign` (`changed_by`),
  KEY `product_regulatory_histories_product_id_changed_at_index` (`product_id`,`changed_at`),
  CONSTRAINT `product_regulatory_histories_changed_by_foreign` FOREIGN KEY (`changed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `product_regulatory_histories_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `product_regulatory_histories`
--

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

--
-- Table structure for table `products`
--

DROP TABLE IF EXISTS `products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `products` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned DEFAULT NULL,
  `ulid` char(26) COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sku` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `brand` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `manufacturer` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `dosage` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unit` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registration_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `image_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `shipping_weight_grams` int unsigned NOT NULL DEFAULT '200',
  `price` bigint unsigned DEFAULT NULL,
  `compare_price` bigint unsigned DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `marketplace_visible` tinyint(1) NOT NULL DEFAULT '1',
  `platform_visibility_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'visible',
  `platform_visibility_reason` text COLLATE utf8mb4_unicode_ci,
  `platform_disabled_at` timestamp NULL DEFAULT NULL,
  `platform_disabled_by` bigint unsigned DEFAULT NULL,
  `created_by` bigint unsigned DEFAULT NULL,
  `approved_by` bigint unsigned DEFAULT NULL,
  `approved_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 `products_ulid_unique` (`ulid`),
  UNIQUE KEY `products_slug_unique` (`slug`),
  UNIQUE KEY `products_tenant_sku_unique` (`tenant_id`,`sku`),
  KEY `products_product_type_index` (`product_type`),
  KEY `products_category_index` (`category`),
  KEY `products_status_index` (`status`),
  KEY `products_created_by_foreign` (`created_by`),
  KEY `products_approved_by_foreign` (`approved_by`),
  KEY `products_tenant_id_status_index` (`tenant_id`,`status`),
  KEY `products_platform_disabled_by_foreign` (`platform_disabled_by`),
  KEY `products_marketplace_visibility_index` (`tenant_id`,`status`,`marketplace_visible`,`platform_visibility_status`),
  CONSTRAINT `products_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `products_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `products_platform_disabled_by_foreign` FOREIGN KEY (`platform_disabled_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `products_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=156 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `products`
--

LOCK TABLES `products` WRITE;
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
INSERT INTO `products` VALUES (1,1,'01M1967BNRW3DZ8XVTCKVA85NH','medicine','Panadol 500 mg','panadol-500-mg','SKU-1-0001','Panadol','Haleon','500 mg','10 kaplet','BPOM-1-000001','Membantu meredakan demam, sakit kepala, dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,12500,14800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(2,1,'01M1967BP5PYK5SXN786KWQ6CS','medicine','Imboost Force Ultimate','imboost-force-ultimate','SKU-1-0002','Imboost','Soho',NULL,'10 kaplet','BPOM-1-000002','Suplemen untuk membantu memelihara daya tahan tubuh setiap hari.','/images/products/imboost.svg','vitamin',200,44700,52900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(3,1,'01M1967BPBSJV4A54MSZCKFGHW','medicine','Betadine Solution 30 ml','betadine-solution-30ml','SKU-1-0003','Betadine','Mundipharma','10%','30 ml','BPOM-1-000003','Antiseptik untuk pertolongan pertama pada luka ringan.','/images/products/betadine.svg','obat',200,19800,23000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(4,1,'01M1967BPH81DM4TTCNC9XEN01','medicine','Amlodipine 10 mg','amlodipine-10-mg','SKU-1-0004','Generik','Kimia Farma','10 mg','10 tablet','BPOM-1-000004','Obat antihipertensi yang hanya dapat dibeli dengan resep dan persetujuan apoteker.','/images/products/amlodipine.svg','obat',200,18400,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(5,1,'01M1967BPPE4C2P4PMHW3G8K7P','medical_device','Omron Digital Thermometer','omron-digital-thermometer','SKU-1-0005','Omron','Omron Healthcare',NULL,'1 unit','BPOM-1-000005','Termometer digital cepat dan nyaman untuk seluruh keluarga.','/images/products/thermometer.svg','alat-kesehatan',200,89900,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(6,1,'01M1967BPXE1Y2N27W1Z6KMB0H','medicine','Diazepam 5 mg','diazepam-5-mg','SKU-1-0006','Generik','Indofarma','5 mg','10 tablet','BPOM-1-000006','Tersimpan di master produk untuk klasifikasi, tetapi tidak diperjualbelikan secara online.','/images/products/restricted.svg','obat',200,22000,NULL,'active',0,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(7,1,'01M1967BQ2X0HJS5EHGCJF1YHT','medicine','Paracetamol Sirup 60 ml','paracetamol-sirup-60ml','SKU-1-0007','Generik','Kimia Farma','120 mg/5 ml','60 ml','BPOM-1-000007','Sirup penurun demam untuk anak sesuai aturan pakai.','/images/products/panadol.svg','ibu-anak',200,18500,21000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(8,1,'01M1967BQ8AGNDABXZZ62AXD0B','medicine','Sanmol Forte 650 mg','sanmol-forte-650-mg','SKU-1-0008','Sanmol','Sanbe Farma','650 mg','4 kaplet','BPOM-1-000008','Pereda demam dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,9200,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(9,1,'01M1967BQETCGY6P49D7H5MWDK','medicine','Bodrex Extra','bodrex-extra','SKU-1-0009','Bodrex','Tempo Scan','500 mg','4 tablet','BPOM-1-000009','Membantu meredakan sakit kepala dan gejala flu ringan.','/images/products/imboost.svg','flu-batuk',200,7800,9800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(10,1,'01M1967BQM4WRYQC2XR4V2ERHG','medicine','OBH Combi Batuk Flu 60 ml','obh-combi-batuk-flu-60ml','SKU-1-0010','OBH Combi','Combiphar','60 ml','60 ml','BPOM-1-000010','Sirup untuk membantu meredakan batuk dan gejala flu.','/images/products/betadine.svg','flu-batuk',200,17600,21900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(11,1,'01M1967BQSTS62QSZ3EHWY9FM9','medicine','Tolak Angin Cair 12 Sachet','tolak-angin-cair-12-sachet','SKU-1-0011','Tolak Angin','Sido Muncul',NULL,'12 sachet','BPOM-1-000011','Herbal untuk membantu menjaga kondisi tubuh saat masuk angin.','/images/products/imboost.svg','herbal',200,39500,45000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(12,1,'01M1967BQYFVXDMTF835W84ADH','medicine','Blackmores Vitamin C 500 mg','blackmores-vitamin-c-500-mg','SKU-1-0012','Blackmores','Blackmores','500 mg','60 tablet','BPOM-1-000012','Vitamin C untuk membantu memenuhi kebutuhan harian.','/images/products/imboost.svg','vitamin',200,129000,155000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(13,1,'01M1967BR37AQH3V02V2XFB3C0','medicine','Enervon-C Multivitamin','enervon-c-multivitamin','SKU-1-0013','Enervon-C','Darya-Varia',NULL,'30 tablet','BPOM-1-000013','Multivitamin untuk membantu menjaga stamina.','/images/products/imboost.svg','vitamin',200,36800,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(14,1,'01M1967BR77JEWX6G314MY3FC2','medicine','Promag Tablet','promag-tablet','SKU-1-0014','Promag','Kalbe',NULL,'10 tablet','BPOM-1-000014','Antasida untuk membantu meredakan gejala maag.','/images/products/betadine.svg','pencernaan',200,9800,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(15,1,'01M1967BRCDF6QZ40VJPXCP6Z4','medicine','Lansoprazole 30 mg','lansoprazole-30-mg','SKU-1-0015','Generik','Hexpharm','30 mg','10 kapsul','BPOM-1-000015','Obat lambung yang memerlukan resep dokter.','/images/products/amlodipine.svg','pencernaan',200,22000,50000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(16,1,'01M1967BRG7ACSGXVEK2KKJBFN','medicine','Metformin 500 mg','metformin-500-mg','SKU-1-0016','Generik','Dexa Medica','500 mg','10 tablet','BPOM-1-000016','Obat diabetes oral yang memerlukan resep dokter.','/images/products/amlodipine.svg','diabetes',200,15500,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(17,1,'01M1967BRP41R23FYRFSRN3FVB','medicine','Simvastatin 20 mg','simvastatin-20-mg','SKU-1-0017','Generik','Indofarma','20 mg','10 tablet','BPOM-1-000017','Obat penurun kolesterol yang memerlukan resep dokter.','/images/products/amlodipine.svg','kolesterol',200,17200,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(18,1,'01M1967BRVGSF65DVC18Z3TFC0','medicine','Cetirizine 10 mg','cetirizine-10-mg','SKU-1-0018','Generik','Bernofarm','10 mg','10 tablet','BPOM-1-000018','Antihistamin untuk gejala alergi, gunakan sesuai aturan pakai.','/images/products/amlodipine.svg','alergi',200,13500,16000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(19,1,'01M1967BS04PRMCNQWRG598BQ8','medicine','Loratadine 10 mg','loratadine-10-mg','SKU-1-0019','Generik','Novell','10 mg','10 tablet','BPOM-1-000019','Antihistamin non-sedatif untuk membantu mengurangi alergi.','/images/products/amlodipine.svg','alergi',200,14600,17500,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(20,1,'01M1967BS6WPDB25ADB5SAHWJS','medicine','Hansaplast Roll Kain','hansaplast-roll-kain','SKU-1-0020','Hansaplast','Beiersdorf',NULL,'1 roll','BPOM-1-000020','Plester roll kain untuk kebutuhan pertolongan pertama.','/images/products/betadine.svg','first-aid',200,14800,18000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(21,1,'01M1967BSDY0P8Q5HSPECSTG92','medicine','Kasa Steril 16x16','kasa-steril-16x16','SKU-1-0021','OneMed','OneMed',NULL,'10 pcs','BPOM-1-000021','Kasa steril untuk perawatan luka.','/images/products/betadine.svg','first-aid',200,12500,15000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(22,1,'01M1967BSPAC3QKMDPGVGYMYH7','medical_device','Masker Medis 3 Ply','masker-medis-3-ply','SKU-1-0022','Sensi','Arista Latindo',NULL,'50 pcs','BPOM-1-000022','Masker medis 3 ply untuk perlindungan harian.','/images/products/thermometer.svg','alat-kesehatan',200,32000,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(23,1,'01M1967BSX6DSRP6RDSNWX5JSZ','medical_device','Blood Pressure Monitor Digital','blood-pressure-monitor-digital','SKU-1-0023','Omron','Omron Healthcare',NULL,'1 unit','BPOM-1-000023','Tensimeter digital untuk pemantauan tekanan darah di rumah.','/images/products/thermometer.svg','alat-kesehatan',200,489000,565000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(24,1,'01M1967BT4BZ1FWY1YAYTMN725','medicine','Accu-Chek Strip 25','accu-chek-strip-25','SKU-1-0024','Accu-Chek','Roche',NULL,'25 strip','BPOM-1-000024','Strip cek gula darah untuk perangkat kompatibel.','/images/products/thermometer.svg','diabetes',200,126000,145000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(25,1,'01M1967BT9ZVTPGR8ZYVWBREQK','medicine','Cetaphil Gentle Skin Cleanser','cetaphil-gentle-skin-cleanser','SKU-1-0025','Cetaphil','Galderma',NULL,'125 ml','BPOM-1-000025','Pembersih wajah lembut untuk kulit sensitif.','/images/products/imboost.svg','skincare',200,93500,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(26,1,'01M1967BTDGSQPPKS4CZ6SDDTX','medicine','Acnes Sealing Jell','acnes-sealing-jell','SKU-1-0026','Acnes','Rohto',NULL,'18 g','BPOM-1-000026','Gel perawatan kulit berjerawat.','/images/products/betadine.svg','skincare',200,28500,35000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(27,1,'01M1967BTJNBKJ0QDQ1VT40STT','medicine','Minyak Kayu Putih 60 ml','minyak-kayu-putih-60ml','SKU-1-0027','Cap Lang','Eagle Indo Pharma',NULL,'60 ml','BPOM-1-000027','Minyak kayu putih untuk membantu menghangatkan tubuh.','/images/products/betadine.svg','ibu-anak',200,24800,29000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(28,1,'01M1967BTR7K9MXBD7SNGJCS9H','medicine','Oralit Sachet','oralit-sachet','SKU-1-0028','Generik','Kimia Farma',NULL,'10 sachet','BPOM-1-000028','Larutan rehidrasi oral untuk membantu mengganti cairan tubuh.','/images/products/imboost.svg','pencernaan',200,8200,10000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(29,1,'01M1967BTWRA07WH2EAGX8Q2JH','medicine','Amoxicillin 500 mg','amoxicillin-500-mg','SKU-1-0029','Generik','Phapros','500 mg','10 kapsul','BPOM-1-000029','Antibiotik yang hanya dapat ditebus dengan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,25500,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(30,1,'01M1967BV29C02EJ63QT1RCJE5','medicine','Cefixime 100 mg','cefixime-100-mg','SKU-1-0030','Generik','Dexa Medica','100 mg','10 kapsul','BPOM-1-000030','Antibiotik yang membutuhkan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,46500,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(31,1,'01M1967BV72MWNBQNKY61RS9DM','medicine','Salbutamol 2 mg','salbutamol-2-mg','SKU-1-0031','Generik','Kimia Farma','2 mg','10 tablet','BPOM-1-000031','Obat bronkodilator yang membutuhkan resep dokter.','/images/products/amlodipine.svg','pernapasan',200,12000,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(32,2,'01M1967BVCMX5W8117N41HRYVZ','medicine','Panadol 500 mg','panadol-500-mg-apotek-bumi-medika','SKU-2-0001','Panadol','Haleon','500 mg','10 kaplet','BPOM-2-000001','Membantu meredakan demam, sakit kepala, dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,13700,14800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(33,2,'01M1967BVJKXP78C5GX0F0WWAM','medicine','Imboost Force Ultimate','imboost-force-ultimate-apotek-bumi-medika','SKU-2-0002','Imboost','Soho',NULL,'10 kaplet','BPOM-2-000002','Suplemen untuk membantu memelihara daya tahan tubuh setiap hari.','/images/products/imboost.svg','vitamin',200,45900,52900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(34,2,'01M1967BVPS7V6J072NH7JRXXV','medicine','Betadine Solution 30 ml','betadine-solution-30ml-apotek-bumi-medika','SKU-2-0003','Betadine','Mundipharma','10%','30 ml','BPOM-2-000003','Antiseptik untuk pertolongan pertama pada luka ringan.','/images/products/betadine.svg','obat',200,21000,23000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(35,2,'01M1967BVVESD0H5XTE8NXYXBW','medicine','Amlodipine 10 mg','amlodipine-10-mg-apotek-bumi-medika','SKU-2-0004','Generik','Kimia Farma','10 mg','10 tablet','BPOM-2-000004','Obat antihipertensi yang hanya dapat dibeli dengan resep dan persetujuan apoteker.','/images/products/amlodipine.svg','obat',200,19600,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(36,2,'01M1967BW299ZN19PZ3X901CZ8','medical_device','Omron Digital Thermometer','omron-digital-thermometer-apotek-bumi-medika','SKU-2-0005','Omron','Omron Healthcare',NULL,'1 unit','BPOM-2-000005','Termometer digital cepat dan nyaman untuk seluruh keluarga.','/images/products/thermometer.svg','alat-kesehatan',200,91100,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(37,2,'01M1967BW8CEKRJ5HTWER93ZDW','medicine','Diazepam 5 mg','diazepam-5-mg-apotek-bumi-medika','SKU-2-0006','Generik','Indofarma','5 mg','10 tablet','BPOM-2-000006','Tersimpan di master produk untuk klasifikasi, tetapi tidak diperjualbelikan secara online.','/images/products/restricted.svg','obat',200,23200,NULL,'active',0,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(38,2,'01M1967BWC85XMEN4WEETCP86Q','medicine','Paracetamol Sirup 60 ml','paracetamol-sirup-60ml-apotek-bumi-medika','SKU-2-0007','Generik','Kimia Farma','120 mg/5 ml','60 ml','BPOM-2-000007','Sirup penurun demam untuk anak sesuai aturan pakai.','/images/products/panadol.svg','ibu-anak',200,19700,21000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(39,2,'01M1967BWHXC0T4MRAXH5YK0FK','medicine','Sanmol Forte 650 mg','sanmol-forte-650-mg-apotek-bumi-medika','SKU-2-0008','Sanmol','Sanbe Farma','650 mg','4 kaplet','BPOM-2-000008','Pereda demam dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,10400,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(40,2,'01M1967BWRZH49NFK87KF60B2T','medicine','Bodrex Extra','bodrex-extra-apotek-bumi-medika','SKU-2-0009','Bodrex','Tempo Scan','500 mg','4 tablet','BPOM-2-000009','Membantu meredakan sakit kepala dan gejala flu ringan.','/images/products/imboost.svg','flu-batuk',200,9000,9800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(41,2,'01M1967BWX606J99TCR45Z98JF','medicine','OBH Combi Batuk Flu 60 ml','obh-combi-batuk-flu-60ml-apotek-bumi-medika','SKU-2-0010','OBH Combi','Combiphar','60 ml','60 ml','BPOM-2-000010','Sirup untuk membantu meredakan batuk dan gejala flu.','/images/products/betadine.svg','flu-batuk',200,18800,21900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(42,2,'01M1967BX3SF336SYN57HV0GD9','medicine','Tolak Angin Cair 12 Sachet','tolak-angin-cair-12-sachet-apotek-bumi-medika','SKU-2-0011','Tolak Angin','Sido Muncul',NULL,'12 sachet','BPOM-2-000011','Herbal untuk membantu menjaga kondisi tubuh saat masuk angin.','/images/products/imboost.svg','herbal',200,40700,45000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(43,2,'01M1967BX8HM04NHNBN126QYJC','medicine','Blackmores Vitamin C 500 mg','blackmores-vitamin-c-500-mg-apotek-bumi-medika','SKU-2-0012','Blackmores','Blackmores','500 mg','60 tablet','BPOM-2-000012','Vitamin C untuk membantu memenuhi kebutuhan harian.','/images/products/imboost.svg','vitamin',200,130200,155000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(44,2,'01M1967BXDBCB1KPCE2GV1Z4Y1','medicine','Enervon-C Multivitamin','enervon-c-multivitamin-apotek-bumi-medika','SKU-2-0013','Enervon-C','Darya-Varia',NULL,'30 tablet','BPOM-2-000013','Multivitamin untuk membantu menjaga stamina.','/images/products/imboost.svg','vitamin',200,38000,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(45,2,'01M1967BXJ697DC24B2K41KANF','medicine','Promag Tablet','promag-tablet-apotek-bumi-medika','SKU-2-0014','Promag','Kalbe',NULL,'10 tablet','BPOM-2-000014','Antasida untuk membantu meredakan gejala maag.','/images/products/betadine.svg','pencernaan',200,11000,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(46,2,'01M1967BXR2HKRPZMQGN53DA4V','medicine','Lansoprazole 30 mg','lansoprazole-30-mg-apotek-bumi-medika','SKU-2-0015','Generik','Hexpharm','30 mg','10 kapsul','BPOM-2-000015','Obat lambung yang memerlukan resep dokter.','/images/products/amlodipine.svg','pencernaan',200,23200,50000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(47,2,'01M1967BXZ8ZSQ7WBDGWJ46BG8','medicine','Metformin 500 mg','metformin-500-mg-apotek-bumi-medika','SKU-2-0016','Generik','Dexa Medica','500 mg','10 tablet','BPOM-2-000016','Obat diabetes oral yang memerlukan resep dokter.','/images/products/amlodipine.svg','diabetes',200,16700,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(48,2,'01M1967BY5Z63K0052FH9ZN62W','medicine','Simvastatin 20 mg','simvastatin-20-mg-apotek-bumi-medika','SKU-2-0017','Generik','Indofarma','20 mg','10 tablet','BPOM-2-000017','Obat penurun kolesterol yang memerlukan resep dokter.','/images/products/amlodipine.svg','kolesterol',200,18400,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(49,2,'01M1967BYA5ZEN4Y5QD7C5FVWX','medicine','Cetirizine 10 mg','cetirizine-10-mg-apotek-bumi-medika','SKU-2-0018','Generik','Bernofarm','10 mg','10 tablet','BPOM-2-000018','Antihistamin untuk gejala alergi, gunakan sesuai aturan pakai.','/images/products/amlodipine.svg','alergi',200,14700,16000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(50,2,'01M1967BYGZ7TKP8ANK5MSVNYK','medicine','Loratadine 10 mg','loratadine-10-mg-apotek-bumi-medika','SKU-2-0019','Generik','Novell','10 mg','10 tablet','BPOM-2-000019','Antihistamin non-sedatif untuk membantu mengurangi alergi.','/images/products/amlodipine.svg','alergi',200,15800,17500,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(51,2,'01M1967BYRMWGFPJ6PM70751S0','medicine','Hansaplast Roll Kain','hansaplast-roll-kain-apotek-bumi-medika','SKU-2-0020','Hansaplast','Beiersdorf',NULL,'1 roll','BPOM-2-000020','Plester roll kain untuk kebutuhan pertolongan pertama.','/images/products/betadine.svg','first-aid',200,16000,18000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(52,2,'01M1967BYXC6E2FWPD12XDXN2A','medicine','Kasa Steril 16x16','kasa-steril-16x16-apotek-bumi-medika','SKU-2-0021','OneMed','OneMed',NULL,'10 pcs','BPOM-2-000021','Kasa steril untuk perawatan luka.','/images/products/betadine.svg','first-aid',200,13700,15000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(53,2,'01M1967BZ266SFPE7D9YEXVE7B','medical_device','Masker Medis 3 Ply','masker-medis-3-ply-apotek-bumi-medika','SKU-2-0022','Sensi','Arista Latindo',NULL,'50 pcs','BPOM-2-000022','Masker medis 3 ply untuk perlindungan harian.','/images/products/thermometer.svg','alat-kesehatan',200,33200,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(54,2,'01M1967BZ7JFD4SWWSYCHXV9WM','medical_device','Blood Pressure Monitor Digital','blood-pressure-monitor-digital-apotek-bumi-medika','SKU-2-0023','Omron','Omron Healthcare',NULL,'1 unit','BPOM-2-000023','Tensimeter digital untuk pemantauan tekanan darah di rumah.','/images/products/thermometer.svg','alat-kesehatan',200,490200,565000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(55,2,'01M1967BZCRMSDJ7ZGFVNSQKAD','medicine','Accu-Chek Strip 25','accu-chek-strip-25-apotek-bumi-medika','SKU-2-0024','Accu-Chek','Roche',NULL,'25 strip','BPOM-2-000024','Strip cek gula darah untuk perangkat kompatibel.','/images/products/thermometer.svg','diabetes',200,127200,145000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(56,2,'01M1967BZGME3M592MJ0Y2EDD2','medicine','Cetaphil Gentle Skin Cleanser','cetaphil-gentle-skin-cleanser-apotek-bumi-medika','SKU-2-0025','Cetaphil','Galderma',NULL,'125 ml','BPOM-2-000025','Pembersih wajah lembut untuk kulit sensitif.','/images/products/imboost.svg','skincare',200,94700,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(57,2,'01M1967BZP9D187HJN3EKZBDDP','medicine','Acnes Sealing Jell','acnes-sealing-jell-apotek-bumi-medika','SKU-2-0026','Acnes','Rohto',NULL,'18 g','BPOM-2-000026','Gel perawatan kulit berjerawat.','/images/products/betadine.svg','skincare',200,29700,35000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(58,2,'01M1967BZVVH9F3BJA25V0E138','medicine','Minyak Kayu Putih 60 ml','minyak-kayu-putih-60ml-apotek-bumi-medika','SKU-2-0027','Cap Lang','Eagle Indo Pharma',NULL,'60 ml','BPOM-2-000027','Minyak kayu putih untuk membantu menghangatkan tubuh.','/images/products/betadine.svg','ibu-anak',200,26000,29000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(59,2,'01M1967C008N57D8ZARR89QKMD','medicine','Oralit Sachet','oralit-sachet-apotek-bumi-medika','SKU-2-0028','Generik','Kimia Farma',NULL,'10 sachet','BPOM-2-000028','Larutan rehidrasi oral untuk membantu mengganti cairan tubuh.','/images/products/imboost.svg','pencernaan',200,9400,10000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(60,2,'01M1967C04P3FT7TBTDNW2KGEP','medicine','Amoxicillin 500 mg','amoxicillin-500-mg-apotek-bumi-medika','SKU-2-0029','Generik','Phapros','500 mg','10 kapsul','BPOM-2-000029','Antibiotik yang hanya dapat ditebus dengan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,26700,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(61,2,'01M1967C09PFY42MJ887G1Z4PG','medicine','Cefixime 100 mg','cefixime-100-mg-apotek-bumi-medika','SKU-2-0030','Generik','Dexa Medica','100 mg','10 kapsul','BPOM-2-000030','Antibiotik yang membutuhkan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,47700,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(62,2,'01M1967C0EZCRS0TTCNGY0T0TP','medicine','Salbutamol 2 mg','salbutamol-2-mg-apotek-bumi-medika','SKU-2-0031','Generik','Kimia Farma','2 mg','10 tablet','BPOM-2-000031','Obat bronkodilator yang membutuhkan resep dokter.','/images/products/amlodipine.svg','pernapasan',200,13200,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(63,3,'01M1967C0M2D1YFCJ7N5033AZA','medicine','Panadol 500 mg','panadol-500-mg-apotek-nusantara-farma','SKU-3-0001','Panadol','Haleon','500 mg','10 kaplet','BPOM-3-000001','Membantu meredakan demam, sakit kepala, dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,14900,14800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(64,3,'01M1967C0S7315BC6R9TPD00XK','medicine','Imboost Force Ultimate','imboost-force-ultimate-apotek-nusantara-farma','SKU-3-0002','Imboost','Soho',NULL,'10 kaplet','BPOM-3-000002','Suplemen untuk membantu memelihara daya tahan tubuh setiap hari.','/images/products/imboost.svg','vitamin',200,47100,52900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(65,3,'01M1967C0XBJ82GF4RCRM0K7TK','medicine','Betadine Solution 30 ml','betadine-solution-30ml-apotek-nusantara-farma','SKU-3-0003','Betadine','Mundipharma','10%','30 ml','BPOM-3-000003','Antiseptik untuk pertolongan pertama pada luka ringan.','/images/products/betadine.svg','obat',200,22200,23000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39',NULL),(66,3,'01M1967C136J89KEEY5AGAZMZG','medicine','Amlodipine 10 mg','amlodipine-10-mg-apotek-nusantara-farma','SKU-3-0004','Generik','Kimia Farma','10 mg','10 tablet','BPOM-3-000004','Obat antihipertensi yang hanya dapat dibeli dengan resep dan persetujuan apoteker.','/images/products/amlodipine.svg','obat',200,20800,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(67,3,'01M1967C1CFNHHNSCHG1Y08KKC','medical_device','Omron Digital Thermometer','omron-digital-thermometer-apotek-nusantara-farma','SKU-3-0005','Omron','Omron Healthcare',NULL,'1 unit','BPOM-3-000005','Termometer digital cepat dan nyaman untuk seluruh keluarga.','/images/products/thermometer.svg','alat-kesehatan',200,92300,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(68,3,'01M1967C1HZ636J76K9S5HM5GM','medicine','Diazepam 5 mg','diazepam-5-mg-apotek-nusantara-farma','SKU-3-0006','Generik','Indofarma','5 mg','10 tablet','BPOM-3-000006','Tersimpan di master produk untuk klasifikasi, tetapi tidak diperjualbelikan secara online.','/images/products/restricted.svg','obat',200,24400,NULL,'active',0,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(69,3,'01M1967C1P2VHTX649CGGNXC4A','medicine','Paracetamol Sirup 60 ml','paracetamol-sirup-60ml-apotek-nusantara-farma','SKU-3-0007','Generik','Kimia Farma','120 mg/5 ml','60 ml','BPOM-3-000007','Sirup penurun demam untuk anak sesuai aturan pakai.','/images/products/panadol.svg','ibu-anak',200,20900,21000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(70,3,'01M1967C1VGBNHJ8AXK930XFY5','medicine','Sanmol Forte 650 mg','sanmol-forte-650-mg-apotek-nusantara-farma','SKU-3-0008','Sanmol','Sanbe Farma','650 mg','4 kaplet','BPOM-3-000008','Pereda demam dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,11600,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(71,3,'01M1967C1ZWHC5B96DRFYZ3M84','medicine','Bodrex Extra','bodrex-extra-apotek-nusantara-farma','SKU-3-0009','Bodrex','Tempo Scan','500 mg','4 tablet','BPOM-3-000009','Membantu meredakan sakit kepala dan gejala flu ringan.','/images/products/imboost.svg','flu-batuk',200,10200,9800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(72,3,'01M1967C249DMN4PYGKGJT5Q1H','medicine','OBH Combi Batuk Flu 60 ml','obh-combi-batuk-flu-60ml-apotek-nusantara-farma','SKU-3-0010','OBH Combi','Combiphar','60 ml','60 ml','BPOM-3-000010','Sirup untuk membantu meredakan batuk dan gejala flu.','/images/products/betadine.svg','flu-batuk',200,20000,21900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(73,3,'01M1967C28ATWJJSJRK04RAVZT','medicine','Tolak Angin Cair 12 Sachet','tolak-angin-cair-12-sachet-apotek-nusantara-farma','SKU-3-0011','Tolak Angin','Sido Muncul',NULL,'12 sachet','BPOM-3-000011','Herbal untuk membantu menjaga kondisi tubuh saat masuk angin.','/images/products/imboost.svg','herbal',200,41900,45000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(74,3,'01M1967C2DSYYDMGC3V14W8MHY','medicine','Blackmores Vitamin C 500 mg','blackmores-vitamin-c-500-mg-apotek-nusantara-farma','SKU-3-0012','Blackmores','Blackmores','500 mg','60 tablet','BPOM-3-000012','Vitamin C untuk membantu memenuhi kebutuhan harian.','/images/products/imboost.svg','vitamin',200,131400,155000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(75,3,'01M1967C2JP0TYPVRDMGWR7J2K','medicine','Enervon-C Multivitamin','enervon-c-multivitamin-apotek-nusantara-farma','SKU-3-0013','Enervon-C','Darya-Varia',NULL,'30 tablet','BPOM-3-000013','Multivitamin untuk membantu menjaga stamina.','/images/products/imboost.svg','vitamin',200,39200,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(76,3,'01M1967C2PDNHZTFM3G9ZD2XK0','medicine','Promag Tablet','promag-tablet-apotek-nusantara-farma','SKU-3-0014','Promag','Kalbe',NULL,'10 tablet','BPOM-3-000014','Antasida untuk membantu meredakan gejala maag.','/images/products/betadine.svg','pencernaan',200,12200,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(77,3,'01M1967C2VMCGTA0QYMYVWCD4Z','medicine','Lansoprazole 30 mg','lansoprazole-30-mg-apotek-nusantara-farma','SKU-3-0015','Generik','Hexpharm','30 mg','10 kapsul','BPOM-3-000015','Obat lambung yang memerlukan resep dokter.','/images/products/amlodipine.svg','pencernaan',200,24400,50000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(78,3,'01M1967C2ZST7GG3BYRJ6SFH5J','medicine','Metformin 500 mg','metformin-500-mg-apotek-nusantara-farma','SKU-3-0016','Generik','Dexa Medica','500 mg','10 tablet','BPOM-3-000016','Obat diabetes oral yang memerlukan resep dokter.','/images/products/amlodipine.svg','diabetes',200,17900,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(79,3,'01M1967C344TYP2ZKQZTYMAHSJ','medicine','Simvastatin 20 mg','simvastatin-20-mg-apotek-nusantara-farma','SKU-3-0017','Generik','Indofarma','20 mg','10 tablet','BPOM-3-000017','Obat penurun kolesterol yang memerlukan resep dokter.','/images/products/amlodipine.svg','kolesterol',200,19600,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(80,3,'01M1967C392EDEPWQ9EPR98FBY','medicine','Cetirizine 10 mg','cetirizine-10-mg-apotek-nusantara-farma','SKU-3-0018','Generik','Bernofarm','10 mg','10 tablet','BPOM-3-000018','Antihistamin untuk gejala alergi, gunakan sesuai aturan pakai.','/images/products/amlodipine.svg','alergi',200,15900,16000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(81,3,'01M1967C3DT2DRAVFM52EE76H1','medicine','Loratadine 10 mg','loratadine-10-mg-apotek-nusantara-farma','SKU-3-0019','Generik','Novell','10 mg','10 tablet','BPOM-3-000019','Antihistamin non-sedatif untuk membantu mengurangi alergi.','/images/products/amlodipine.svg','alergi',200,17000,17500,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(82,3,'01M1967C3JM7KTD849ZZD86CAB','medicine','Hansaplast Roll Kain','hansaplast-roll-kain-apotek-nusantara-farma','SKU-3-0020','Hansaplast','Beiersdorf',NULL,'1 roll','BPOM-3-000020','Plester roll kain untuk kebutuhan pertolongan pertama.','/images/products/betadine.svg','first-aid',200,17200,18000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(83,3,'01M1967C3Q8EA9HK5GRXSJMDQY','medicine','Kasa Steril 16x16','kasa-steril-16x16-apotek-nusantara-farma','SKU-3-0021','OneMed','OneMed',NULL,'10 pcs','BPOM-3-000021','Kasa steril untuk perawatan luka.','/images/products/betadine.svg','first-aid',200,14900,15000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(84,3,'01M1967C3VKMK0NM8XTWDH3TZM','medical_device','Masker Medis 3 Ply','masker-medis-3-ply-apotek-nusantara-farma','SKU-3-0022','Sensi','Arista Latindo',NULL,'50 pcs','BPOM-3-000022','Masker medis 3 ply untuk perlindungan harian.','/images/products/thermometer.svg','alat-kesehatan',200,34400,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(85,3,'01M1967C3Z4HATVEE6HW65FP3D','medical_device','Blood Pressure Monitor Digital','blood-pressure-monitor-digital-apotek-nusantara-farma','SKU-3-0023','Omron','Omron Healthcare',NULL,'1 unit','BPOM-3-000023','Tensimeter digital untuk pemantauan tekanan darah di rumah.','/images/products/thermometer.svg','alat-kesehatan',200,491400,565000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(86,3,'01M1967C44XRRCTSZ7S20ZA76D','medicine','Accu-Chek Strip 25','accu-chek-strip-25-apotek-nusantara-farma','SKU-3-0024','Accu-Chek','Roche',NULL,'25 strip','BPOM-3-000024','Strip cek gula darah untuk perangkat kompatibel.','/images/products/thermometer.svg','diabetes',200,128400,145000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(87,3,'01M1967C48JWZ5B4NBSBY03A1A','medicine','Cetaphil Gentle Skin Cleanser','cetaphil-gentle-skin-cleanser-apotek-nusantara-farma','SKU-3-0025','Cetaphil','Galderma',NULL,'125 ml','BPOM-3-000025','Pembersih wajah lembut untuk kulit sensitif.','/images/products/imboost.svg','skincare',200,95900,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(88,3,'01M1967C4D2VGA76MZCSHXYB6K','medicine','Acnes Sealing Jell','acnes-sealing-jell-apotek-nusantara-farma','SKU-3-0026','Acnes','Rohto',NULL,'18 g','BPOM-3-000026','Gel perawatan kulit berjerawat.','/images/products/betadine.svg','skincare',200,30900,35000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(89,3,'01M1967C4JRP8Y7J6RFDFCMGG6','medicine','Minyak Kayu Putih 60 ml','minyak-kayu-putih-60ml-apotek-nusantara-farma','SKU-3-0027','Cap Lang','Eagle Indo Pharma',NULL,'60 ml','BPOM-3-000027','Minyak kayu putih untuk membantu menghangatkan tubuh.','/images/products/betadine.svg','ibu-anak',200,27200,29000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(90,3,'01M1967C4PE4W79C5XAE9X38E7','medicine','Oralit Sachet','oralit-sachet-apotek-nusantara-farma','SKU-3-0028','Generik','Kimia Farma',NULL,'10 sachet','BPOM-3-000028','Larutan rehidrasi oral untuk membantu mengganti cairan tubuh.','/images/products/imboost.svg','pencernaan',200,10600,10000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(91,3,'01M1967C4VZ0NG2RTZZ8084EK8','medicine','Amoxicillin 500 mg','amoxicillin-500-mg-apotek-nusantara-farma','SKU-3-0029','Generik','Phapros','500 mg','10 kapsul','BPOM-3-000029','Antibiotik yang hanya dapat ditebus dengan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,27900,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(92,3,'01M1967C4Z3ZJD5S3C8R7CG5RA','medicine','Cefixime 100 mg','cefixime-100-mg-apotek-nusantara-farma','SKU-3-0030','Generik','Dexa Medica','100 mg','10 kapsul','BPOM-3-000030','Antibiotik yang membutuhkan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,48900,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(93,3,'01M1967C545DH62922TTFG58R5','medicine','Salbutamol 2 mg','salbutamol-2-mg-apotek-nusantara-farma','SKU-3-0031','Generik','Kimia Farma','2 mg','10 tablet','BPOM-3-000031','Obat bronkodilator yang membutuhkan resep dokter.','/images/products/amlodipine.svg','pernapasan',200,14400,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(94,4,'01M1967C58VRM9HP54X0VPFCXB','medicine','Panadol 500 mg','panadol-500-mg-klinik-farma-medika','SKU-4-0001','Panadol','Haleon','500 mg','10 kaplet','BPOM-4-000001','Membantu meredakan demam, sakit kepala, dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,16100,14800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(95,4,'01M1967C5D4R16X29Z9MXV4YA2','medicine','Imboost Force Ultimate','imboost-force-ultimate-klinik-farma-medika','SKU-4-0002','Imboost','Soho',NULL,'10 kaplet','BPOM-4-000002','Suplemen untuk membantu memelihara daya tahan tubuh setiap hari.','/images/products/imboost.svg','vitamin',200,48300,52900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(96,4,'01M1967C5H1TSZ3VQ3MA76THRZ','medicine','Betadine Solution 30 ml','betadine-solution-30ml-klinik-farma-medika','SKU-4-0003','Betadine','Mundipharma','10%','30 ml','BPOM-4-000003','Antiseptik untuk pertolongan pertama pada luka ringan.','/images/products/betadine.svg','obat',200,23400,23000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(97,4,'01M1967C5PS8EMQEF8VDMJWF49','medicine','Amlodipine 10 mg','amlodipine-10-mg-klinik-farma-medika','SKU-4-0004','Generik','Kimia Farma','10 mg','10 tablet','BPOM-4-000004','Obat antihipertensi yang hanya dapat dibeli dengan resep dan persetujuan apoteker.','/images/products/amlodipine.svg','obat',200,22000,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(98,4,'01M1967C5T6D2QSRJ12C8S20VM','medical_device','Omron Digital Thermometer','omron-digital-thermometer-klinik-farma-medika','SKU-4-0005','Omron','Omron Healthcare',NULL,'1 unit','BPOM-4-000005','Termometer digital cepat dan nyaman untuk seluruh keluarga.','/images/products/thermometer.svg','alat-kesehatan',200,93500,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(99,4,'01M1967C5ZM7MR8G59PSZ7Q268','medicine','Diazepam 5 mg','diazepam-5-mg-klinik-farma-medika','SKU-4-0006','Generik','Indofarma','5 mg','10 tablet','BPOM-4-000006','Tersimpan di master produk untuk klasifikasi, tetapi tidak diperjualbelikan secara online.','/images/products/restricted.svg','obat',200,25600,NULL,'active',0,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(100,4,'01M1967C65RXH48V2R010M355R','medicine','Paracetamol Sirup 60 ml','paracetamol-sirup-60ml-klinik-farma-medika','SKU-4-0007','Generik','Kimia Farma','120 mg/5 ml','60 ml','BPOM-4-000007','Sirup penurun demam untuk anak sesuai aturan pakai.','/images/products/panadol.svg','ibu-anak',200,22100,21000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(101,4,'01M1967C69SMR0BDWHGCMBJGH3','medicine','Sanmol Forte 650 mg','sanmol-forte-650-mg-klinik-farma-medika','SKU-4-0008','Sanmol','Sanbe Farma','650 mg','4 kaplet','BPOM-4-000008','Pereda demam dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,12800,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(102,4,'01M1967C6E46WNFE0C1C5WWD10','medicine','Bodrex Extra','bodrex-extra-klinik-farma-medika','SKU-4-0009','Bodrex','Tempo Scan','500 mg','4 tablet','BPOM-4-000009','Membantu meredakan sakit kepala dan gejala flu ringan.','/images/products/imboost.svg','flu-batuk',200,11400,9800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(103,4,'01M1967C6K2ZZQB2GBMBY78XGQ','medicine','OBH Combi Batuk Flu 60 ml','obh-combi-batuk-flu-60ml-klinik-farma-medika','SKU-4-0010','OBH Combi','Combiphar','60 ml','60 ml','BPOM-4-000010','Sirup untuk membantu meredakan batuk dan gejala flu.','/images/products/betadine.svg','flu-batuk',200,21200,21900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(104,4,'01M1967C6RNZ036QQF9EF4EHRA','medicine','Tolak Angin Cair 12 Sachet','tolak-angin-cair-12-sachet-klinik-farma-medika','SKU-4-0011','Tolak Angin','Sido Muncul',NULL,'12 sachet','BPOM-4-000011','Herbal untuk membantu menjaga kondisi tubuh saat masuk angin.','/images/products/imboost.svg','herbal',200,43100,45000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(105,4,'01M1967C6WQWC4XZ3YRYE6437F','medicine','Blackmores Vitamin C 500 mg','blackmores-vitamin-c-500-mg-klinik-farma-medika','SKU-4-0012','Blackmores','Blackmores','500 mg','60 tablet','BPOM-4-000012','Vitamin C untuk membantu memenuhi kebutuhan harian.','/images/products/imboost.svg','vitamin',200,132600,155000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(106,4,'01M1967C713ZK9TA6T6EK9C9B1','medicine','Enervon-C Multivitamin','enervon-c-multivitamin-klinik-farma-medika','SKU-4-0013','Enervon-C','Darya-Varia',NULL,'30 tablet','BPOM-4-000013','Multivitamin untuk membantu menjaga stamina.','/images/products/imboost.svg','vitamin',200,40400,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(107,4,'01M1967C76J6KZF1ZETPY38CN2','medicine','Promag Tablet','promag-tablet-klinik-farma-medika','SKU-4-0014','Promag','Kalbe',NULL,'10 tablet','BPOM-4-000014','Antasida untuk membantu meredakan gejala maag.','/images/products/betadine.svg','pencernaan',200,13400,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(108,4,'01M1967C7APYHXYD731B9HVD8R','medicine','Lansoprazole 30 mg','lansoprazole-30-mg-klinik-farma-medika','SKU-4-0015','Generik','Hexpharm','30 mg','10 kapsul','BPOM-4-000015','Obat lambung yang memerlukan resep dokter.','/images/products/amlodipine.svg','pencernaan',200,25600,50000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(109,4,'01M1967C7F7F5ARGW259V55XD2','medicine','Metformin 500 mg','metformin-500-mg-klinik-farma-medika','SKU-4-0016','Generik','Dexa Medica','500 mg','10 tablet','BPOM-4-000016','Obat diabetes oral yang memerlukan resep dokter.','/images/products/amlodipine.svg','diabetes',200,19100,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(110,4,'01M1967C7K73B2PPNZWSQKN8M7','medicine','Simvastatin 20 mg','simvastatin-20-mg-klinik-farma-medika','SKU-4-0017','Generik','Indofarma','20 mg','10 tablet','BPOM-4-000017','Obat penurun kolesterol yang memerlukan resep dokter.','/images/products/amlodipine.svg','kolesterol',200,20800,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(111,4,'01M1967C7RBB36TQVFD1MMN980','medicine','Cetirizine 10 mg','cetirizine-10-mg-klinik-farma-medika','SKU-4-0018','Generik','Bernofarm','10 mg','10 tablet','BPOM-4-000018','Antihistamin untuk gejala alergi, gunakan sesuai aturan pakai.','/images/products/amlodipine.svg','alergi',200,17100,16000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(112,4,'01M1967C7W1B93H5W0EQYEXQ8F','medicine','Loratadine 10 mg','loratadine-10-mg-klinik-farma-medika','SKU-4-0019','Generik','Novell','10 mg','10 tablet','BPOM-4-000019','Antihistamin non-sedatif untuk membantu mengurangi alergi.','/images/products/amlodipine.svg','alergi',200,18200,17500,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(113,4,'01M1967C81B67NFT2WCFSQQC32','medicine','Hansaplast Roll Kain','hansaplast-roll-kain-klinik-farma-medika','SKU-4-0020','Hansaplast','Beiersdorf',NULL,'1 roll','BPOM-4-000020','Plester roll kain untuk kebutuhan pertolongan pertama.','/images/products/betadine.svg','first-aid',200,18400,18000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(114,4,'01M1967C852SBYCGFVSE9ZQFWX','medicine','Kasa Steril 16x16','kasa-steril-16x16-klinik-farma-medika','SKU-4-0021','OneMed','OneMed',NULL,'10 pcs','BPOM-4-000021','Kasa steril untuk perawatan luka.','/images/products/betadine.svg','first-aid',200,16100,15000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(115,4,'01M1967C8A5A5EN3K57V2504ME','medical_device','Masker Medis 3 Ply','masker-medis-3-ply-klinik-farma-medika','SKU-4-0022','Sensi','Arista Latindo',NULL,'50 pcs','BPOM-4-000022','Masker medis 3 ply untuk perlindungan harian.','/images/products/thermometer.svg','alat-kesehatan',200,35600,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(116,4,'01M1967C8ESF9DGYM6VTF87TPK','medical_device','Blood Pressure Monitor Digital','blood-pressure-monitor-digital-klinik-farma-medika','SKU-4-0023','Omron','Omron Healthcare',NULL,'1 unit','BPOM-4-000023','Tensimeter digital untuk pemantauan tekanan darah di rumah.','/images/products/thermometer.svg','alat-kesehatan',200,492600,565000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(117,4,'01M1967C8KWYPJVB54TD9ARDVK','medicine','Accu-Chek Strip 25','accu-chek-strip-25-klinik-farma-medika','SKU-4-0024','Accu-Chek','Roche',NULL,'25 strip','BPOM-4-000024','Strip cek gula darah untuk perangkat kompatibel.','/images/products/thermometer.svg','diabetes',200,129600,145000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(118,4,'01M1967C8QQ5ZYQQW9SPEVPC6K','medicine','Cetaphil Gentle Skin Cleanser','cetaphil-gentle-skin-cleanser-klinik-farma-medika','SKU-4-0025','Cetaphil','Galderma',NULL,'125 ml','BPOM-4-000025','Pembersih wajah lembut untuk kulit sensitif.','/images/products/imboost.svg','skincare',200,97100,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(119,4,'01M1967C8WQE8SHCRH31CWG4X7','medicine','Acnes Sealing Jell','acnes-sealing-jell-klinik-farma-medika','SKU-4-0026','Acnes','Rohto',NULL,'18 g','BPOM-4-000026','Gel perawatan kulit berjerawat.','/images/products/betadine.svg','skincare',200,32100,35000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(120,4,'01M1967C909RMTHSVER8K5Q1C5','medicine','Minyak Kayu Putih 60 ml','minyak-kayu-putih-60ml-klinik-farma-medika','SKU-4-0027','Cap Lang','Eagle Indo Pharma',NULL,'60 ml','BPOM-4-000027','Minyak kayu putih untuk membantu menghangatkan tubuh.','/images/products/betadine.svg','ibu-anak',200,28400,29000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(121,4,'01M1967C95JZ2JVHVQWQMHS28P','medicine','Oralit Sachet','oralit-sachet-klinik-farma-medika','SKU-4-0028','Generik','Kimia Farma',NULL,'10 sachet','BPOM-4-000028','Larutan rehidrasi oral untuk membantu mengganti cairan tubuh.','/images/products/imboost.svg','pencernaan',200,11800,10000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(122,4,'01M1967C9AKG0XSK518JQKN2FH','medicine','Amoxicillin 500 mg','amoxicillin-500-mg-klinik-farma-medika','SKU-4-0029','Generik','Phapros','500 mg','10 kapsul','BPOM-4-000029','Antibiotik yang hanya dapat ditebus dengan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,29100,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(123,4,'01M1967C9ECTHQBHTG5KQPM77Z','medicine','Cefixime 100 mg','cefixime-100-mg-klinik-farma-medika','SKU-4-0030','Generik','Dexa Medica','100 mg','10 kapsul','BPOM-4-000030','Antibiotik yang membutuhkan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,50100,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(124,4,'01M1967C9KF27Y96YTNZ0MNQ3M','medicine','Salbutamol 2 mg','salbutamol-2-mg-klinik-farma-medika','SKU-4-0031','Generik','Kimia Farma','2 mg','10 tablet','BPOM-4-000031','Obat bronkodilator yang membutuhkan resep dokter.','/images/products/amlodipine.svg','pernapasan',200,15600,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(125,5,'01M1967C9Q6PDXK29SXV7TCRZK','medicine','Panadol 500 mg','panadol-500-mg-apotek-srikandi-care','SKU-5-0001','Panadol','Haleon','500 mg','10 kaplet','BPOM-5-000001','Membantu meredakan demam, sakit kepala, dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,17300,14800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(126,5,'01M1967C9WQANB9Y7Z06SE4V4S','medicine','Imboost Force Ultimate','imboost-force-ultimate-apotek-srikandi-care','SKU-5-0002','Imboost','Soho',NULL,'10 kaplet','BPOM-5-000002','Suplemen untuk membantu memelihara daya tahan tubuh setiap hari.','/images/products/imboost.svg','vitamin',200,49500,52900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(127,5,'01M1967CA0SZ4TPSX7GJ6WSBH7','medicine','Betadine Solution 30 ml','betadine-solution-30ml-apotek-srikandi-care','SKU-5-0003','Betadine','Mundipharma','10%','30 ml','BPOM-5-000003','Antiseptik untuk pertolongan pertama pada luka ringan.','/images/products/betadine.svg','obat',200,24600,23000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(128,5,'01M1967CA5SBT7FDYA53AR0Q81','medicine','Amlodipine 10 mg','amlodipine-10-mg-apotek-srikandi-care','SKU-5-0004','Generik','Kimia Farma','10 mg','10 tablet','BPOM-5-000004','Obat antihipertensi yang hanya dapat dibeli dengan resep dan persetujuan apoteker.','/images/products/amlodipine.svg','obat',200,23200,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(129,5,'01M1967CAA547WMWF27TWSGKQY','medical_device','Omron Digital Thermometer','omron-digital-thermometer-apotek-srikandi-care','SKU-5-0005','Omron','Omron Healthcare',NULL,'1 unit','BPOM-5-000005','Termometer digital cepat dan nyaman untuk seluruh keluarga.','/images/products/thermometer.svg','alat-kesehatan',200,94700,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(130,5,'01M1967CAFRHE8KSKCG36FWCHM','medicine','Diazepam 5 mg','diazepam-5-mg-apotek-srikandi-care','SKU-5-0006','Generik','Indofarma','5 mg','10 tablet','BPOM-5-000006','Tersimpan di master produk untuk klasifikasi, tetapi tidak diperjualbelikan secara online.','/images/products/restricted.svg','obat',200,26800,NULL,'active',0,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(131,5,'01M1967CANAW64GYN1WV9NHWSW','medicine','Paracetamol Sirup 60 ml','paracetamol-sirup-60ml-apotek-srikandi-care','SKU-5-0007','Generik','Kimia Farma','120 mg/5 ml','60 ml','BPOM-5-000007','Sirup penurun demam untuk anak sesuai aturan pakai.','/images/products/panadol.svg','ibu-anak',200,23300,21000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(132,5,'01M1967CB06XWDQF46CF99YMWA','medicine','Sanmol Forte 650 mg','sanmol-forte-650-mg-apotek-srikandi-care','SKU-5-0008','Sanmol','Sanbe Farma','650 mg','4 kaplet','BPOM-5-000008','Pereda demam dan nyeri ringan hingga sedang.','/images/products/panadol.svg','obat',200,14000,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(133,5,'01M1967CBBRZEJ23JGT6SSM4P0','medicine','Bodrex Extra','bodrex-extra-apotek-srikandi-care','SKU-5-0009','Bodrex','Tempo Scan','500 mg','4 tablet','BPOM-5-000009','Membantu meredakan sakit kepala dan gejala flu ringan.','/images/products/imboost.svg','flu-batuk',200,12600,9800,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(134,5,'01M1967CBHA707RZC2CRHHX281','medicine','OBH Combi Batuk Flu 60 ml','obh-combi-batuk-flu-60ml-apotek-srikandi-care','SKU-5-0010','OBH Combi','Combiphar','60 ml','60 ml','BPOM-5-000010','Sirup untuk membantu meredakan batuk dan gejala flu.','/images/products/betadine.svg','flu-batuk',200,22400,21900,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(135,5,'01M1967CBN797WY310VQVXHPYD','medicine','Tolak Angin Cair 12 Sachet','tolak-angin-cair-12-sachet-apotek-srikandi-care','SKU-5-0011','Tolak Angin','Sido Muncul',NULL,'12 sachet','BPOM-5-000011','Herbal untuk membantu menjaga kondisi tubuh saat masuk angin.','/images/products/imboost.svg','herbal',200,44300,45000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(136,5,'01M1967CBT9QTE2QJYXYBE0V4H','medicine','Blackmores Vitamin C 500 mg','blackmores-vitamin-c-500-mg-apotek-srikandi-care','SKU-5-0012','Blackmores','Blackmores','500 mg','60 tablet','BPOM-5-000012','Vitamin C untuk membantu memenuhi kebutuhan harian.','/images/products/imboost.svg','vitamin',200,133800,155000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(137,5,'01M1967CC0VYFXESQ2WHRVT3Y8','medicine','Enervon-C Multivitamin','enervon-c-multivitamin-apotek-srikandi-care','SKU-5-0013','Enervon-C','Darya-Varia',NULL,'30 tablet','BPOM-5-000013','Multivitamin untuk membantu menjaga stamina.','/images/products/imboost.svg','vitamin',200,41600,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(138,5,'01M1967CC4QSF6WR6XNVSZS7X7','medicine','Promag Tablet','promag-tablet-apotek-srikandi-care','SKU-5-0014','Promag','Kalbe',NULL,'10 tablet','BPOM-5-000014','Antasida untuk membantu meredakan gejala maag.','/images/products/betadine.svg','pencernaan',200,14600,12000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(139,5,'01M1967CC9W1S4PX0M570M07K9','medicine','Lansoprazole 30 mg','lansoprazole-30-mg-apotek-srikandi-care','SKU-5-0015','Generik','Hexpharm','30 mg','10 kapsul','BPOM-5-000015','Obat lambung yang memerlukan resep dokter.','/images/products/amlodipine.svg','pencernaan',200,26800,50000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(140,5,'01M1967CCDY8E43XA62VYV2Y00','medicine','Metformin 500 mg','metformin-500-mg-apotek-srikandi-care','SKU-5-0016','Generik','Dexa Medica','500 mg','10 tablet','BPOM-5-000016','Obat diabetes oral yang memerlukan resep dokter.','/images/products/amlodipine.svg','diabetes',200,20300,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(141,5,'01M1967CCKRNY0EAFPEHCFYNHV','medicine','Simvastatin 20 mg','simvastatin-20-mg-apotek-srikandi-care','SKU-5-0017','Generik','Indofarma','20 mg','10 tablet','BPOM-5-000017','Obat penurun kolesterol yang memerlukan resep dokter.','/images/products/amlodipine.svg','kolesterol',200,22000,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(142,5,'01M1967CCS2E9KSAGAJ3CE7W11','medicine','Cetirizine 10 mg','cetirizine-10-mg-apotek-srikandi-care','SKU-5-0018','Generik','Bernofarm','10 mg','10 tablet','BPOM-5-000018','Antihistamin untuk gejala alergi, gunakan sesuai aturan pakai.','/images/products/amlodipine.svg','alergi',200,18300,16000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(143,5,'01M1967CCYHVHNZ4CBW5A6P500','medicine','Loratadine 10 mg','loratadine-10-mg-apotek-srikandi-care','SKU-5-0019','Generik','Novell','10 mg','10 tablet','BPOM-5-000019','Antihistamin non-sedatif untuk membantu mengurangi alergi.','/images/products/amlodipine.svg','alergi',200,19400,17500,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(144,5,'01M1967CD3D3TPQX2HSYJDMEAR','medicine','Hansaplast Roll Kain','hansaplast-roll-kain-apotek-srikandi-care','SKU-5-0020','Hansaplast','Beiersdorf',NULL,'1 roll','BPOM-5-000020','Plester roll kain untuk kebutuhan pertolongan pertama.','/images/products/betadine.svg','first-aid',200,19600,18000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(145,5,'01M1967CD7Y633HYXYAJ177CKD','medicine','Kasa Steril 16x16','kasa-steril-16x16-apotek-srikandi-care','SKU-5-0021','OneMed','OneMed',NULL,'10 pcs','BPOM-5-000021','Kasa steril untuk perawatan luka.','/images/products/betadine.svg','first-aid',200,17300,15000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(146,5,'01M1967CDCYJ19EV8JVW5VAQJM','medical_device','Masker Medis 3 Ply','masker-medis-3-ply-apotek-srikandi-care','SKU-5-0022','Sensi','Arista Latindo',NULL,'50 pcs','BPOM-5-000022','Masker medis 3 ply untuk perlindungan harian.','/images/products/thermometer.svg','alat-kesehatan',200,36800,42000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(147,5,'01M1967CDHV3CTR696B5TZZ6YT','medical_device','Blood Pressure Monitor Digital','blood-pressure-monitor-digital-apotek-srikandi-care','SKU-5-0023','Omron','Omron Healthcare',NULL,'1 unit','BPOM-5-000023','Tensimeter digital untuk pemantauan tekanan darah di rumah.','/images/products/thermometer.svg','alat-kesehatan',200,493800,565000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(148,5,'01M1967CDNZK8CE1BF48AH2YKY','medicine','Accu-Chek Strip 25','accu-chek-strip-25-apotek-srikandi-care','SKU-5-0024','Accu-Chek','Roche',NULL,'25 strip','BPOM-5-000024','Strip cek gula darah untuk perangkat kompatibel.','/images/products/thermometer.svg','diabetes',200,130800,145000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(149,5,'01M1967CDTTNJFTE60VQ2QYVDR','medicine','Cetaphil Gentle Skin Cleanser','cetaphil-gentle-skin-cleanser-apotek-srikandi-care','SKU-5-0025','Cetaphil','Galderma',NULL,'125 ml','BPOM-5-000025','Pembersih wajah lembut untuk kulit sensitif.','/images/products/imboost.svg','skincare',200,98300,110000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(150,5,'01M1967CDYDV7XYERCBW8ECMZK','medicine','Acnes Sealing Jell','acnes-sealing-jell-apotek-srikandi-care','SKU-5-0026','Acnes','Rohto',NULL,'18 g','BPOM-5-000026','Gel perawatan kulit berjerawat.','/images/products/betadine.svg','skincare',200,33300,35000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(151,5,'01M1967CE31V8P4C139Y0JTCXE','medicine','Minyak Kayu Putih 60 ml','minyak-kayu-putih-60ml-apotek-srikandi-care','SKU-5-0027','Cap Lang','Eagle Indo Pharma',NULL,'60 ml','BPOM-5-000027','Minyak kayu putih untuk membantu menghangatkan tubuh.','/images/products/betadine.svg','ibu-anak',200,29600,29000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(152,5,'01M1967CE7G0MG4SHREHD3WSMM','medicine','Oralit Sachet','oralit-sachet-apotek-srikandi-care','SKU-5-0028','Generik','Kimia Farma',NULL,'10 sachet','BPOM-5-000028','Larutan rehidrasi oral untuk membantu mengganti cairan tubuh.','/images/products/imboost.svg','pencernaan',200,13000,10000,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(153,5,'01M1967CECMB0SE1C4HAYRY775','medicine','Amoxicillin 500 mg','amoxicillin-500-mg-apotek-srikandi-care','SKU-5-0029','Generik','Phapros','500 mg','10 kapsul','BPOM-5-000029','Antibiotik yang hanya dapat ditebus dengan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,30300,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(154,5,'01M1967CEHGPC5KY2G27AXSFFQ','medicine','Cefixime 100 mg','cefixime-100-mg-apotek-srikandi-care','SKU-5-0030','Generik','Dexa Medica','100 mg','10 kapsul','BPOM-5-000030','Antibiotik yang membutuhkan resep dokter.','/images/products/amlodipine.svg','antibiotik',200,51300,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL),(155,5,'01M1967CENQ0C8C5TAX1DY6XT8','medicine','Salbutamol 2 mg','salbutamol-2-mg-apotek-srikandi-care','SKU-5-0031','Generik','Kimia Farma','2 mg','10 tablet','BPOM-5-000031','Obat bronkodilator yang membutuhkan resep dokter.','/images/products/amlodipine.svg','pernapasan',200,16800,NULL,'active',1,'visible',NULL,NULL,NULL,NULL,NULL,NULL,'2026-08-30 11:17:40','2026-08-30 11:17:40',NULL);
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `referral_attributions`
--

DROP TABLE IF EXISTS `referral_attributions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `referral_attributions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `referrer_user_id` bigint unsigned NOT NULL,
  `referred_user_id` bigint unsigned NOT NULL,
  `eligible_seller_order_id` bigint unsigned DEFAULT NULL,
  `referral_code_snapshot` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'registered',
  `fraud_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'clear',
  `fraud_flags` json DEFAULT NULL,
  `fraud_reviewed_by` bigint unsigned DEFAULT NULL,
  `fraud_reviewed_at` timestamp NULL DEFAULT NULL,
  `fraud_review_reason` text COLLATE utf8mb4_unicode_ci,
  `registration_ip_hash` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `device_hash` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registered_at` timestamp NOT NULL,
  `qualified_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `referral_attributions_referred_user_id_unique` (`referred_user_id`),
  KEY `referral_attributions_eligible_seller_order_id_foreign` (`eligible_seller_order_id`),
  KEY `referral_attributions_fraud_reviewed_by_foreign` (`fraud_reviewed_by`),
  KEY `referral_referrer_status_registered_idx` (`referrer_user_id`,`status`,`registered_at`),
  KEY `referral_attributions_device_hash_registered_at_index` (`device_hash`,`registered_at`),
  KEY `referral_ip_registered_idx` (`registration_ip_hash`,`registered_at`),
  CONSTRAINT `referral_attributions_eligible_seller_order_id_foreign` FOREIGN KEY (`eligible_seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `referral_attributions_fraud_reviewed_by_foreign` FOREIGN KEY (`fraud_reviewed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `referral_attributions_referred_user_id_foreign` FOREIGN KEY (`referred_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `referral_attributions_referrer_user_id_foreign` FOREIGN KEY (`referrer_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `referral_attributions`
--

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

--
-- Table structure for table `referral_rewards`
--

DROP TABLE IF EXISTS `referral_rewards`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `referral_rewards` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `referral_attribution_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `coupon_id` bigint unsigned NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'issued',
  `issued_at` timestamp NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `referral_rewards_referral_attribution_id_unique` (`referral_attribution_id`),
  UNIQUE KEY `referral_rewards_coupon_id_unique` (`coupon_id`),
  KEY `referral_rewards_user_id_status_issued_at_index` (`user_id`,`status`,`issued_at`),
  CONSTRAINT `referral_rewards_coupon_id_foreign` FOREIGN KEY (`coupon_id`) REFERENCES `coupons` (`id`) ON DELETE CASCADE,
  CONSTRAINT `referral_rewards_referral_attribution_id_foreign` FOREIGN KEY (`referral_attribution_id`) REFERENCES `referral_attributions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `referral_rewards_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `referral_rewards`
--

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

--
-- Table structure for table `refunds`
--

DROP TABLE IF EXISTS `refunds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `refunds` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `seller_order_id` bigint unsigned NOT NULL,
  `platform_order_id` bigint unsigned NOT NULL,
  `payment_id` bigint unsigned NOT NULL,
  `requested_by` bigint unsigned DEFAULT NULL,
  `processed_by` bigint unsigned DEFAULT NULL,
  `refund_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` bigint unsigned NOT NULL,
  `currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IDR',
  `reason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `order_status_before` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `provider_refund_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'requested',
  `provider_response` longtext COLLATE utf8mb4_unicode_ci,
  `failure_reason` text COLLATE utf8mb4_unicode_ci,
  `requested_at` timestamp NOT NULL,
  `processing_started_at` timestamp NULL DEFAULT NULL,
  `processed_at` timestamp NULL DEFAULT NULL,
  `failed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `refunds_refund_key_unique` (`refund_key`),
  UNIQUE KEY `refunds_provider_refund_id_unique` (`provider_refund_id`),
  KEY `refunds_payment_id_foreign` (`payment_id`),
  KEY `refunds_requested_by_foreign` (`requested_by`),
  KEY `refunds_processed_by_foreign` (`processed_by`),
  KEY `refunds_seller_order_id_status_index` (`seller_order_id`,`status`),
  KEY `refunds_platform_order_id_status_index` (`platform_order_id`,`status`),
  KEY `refunds_processing_started_at_index` (`processing_started_at`),
  CONSTRAINT `refunds_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `payments` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `refunds_platform_order_id_foreign` FOREIGN KEY (`platform_order_id`) REFERENCES `platform_orders` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `refunds_processed_by_foreign` FOREIGN KEY (`processed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `refunds_requested_by_foreign` FOREIGN KEY (`requested_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `refunds_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `refunds`
--

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

--
-- Table structure for table `regulatory_rules`
--

DROP TABLE IF EXISTS `regulatory_rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `regulatory_rules` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `product_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `medicine_class` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rule_code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `requires_prescription` tinyint(1) NOT NULL DEFAULT '0',
  `requires_pharmacist_review` tinyint(1) NOT NULL DEFAULT '0',
  `can_sell_online` tinyint(1) NOT NULL DEFAULT '1',
  `max_quantity` int unsigned DEFAULT NULL,
  `effective_from` date NOT NULL,
  `effective_until` date DEFAULT NULL,
  `regulation_reference` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `regulatory_rules_rule_code_unique` (`rule_code`),
  KEY `regulatory_rule_lookup` (`product_type`,`medicine_class`,`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `regulatory_rules`
--

LOCK TABLES `regulatory_rules` WRITE;
/*!40000 ALTER TABLE `regulatory_rules` DISABLE KEYS */;
INSERT INTO `regulatory_rules` VALUES (1,'medicine','otc','MED-OTC-2026',0,0,1,10,'2026-01-01',NULL,'Baseline compliance PRD v1.2',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(2,'medicine','limited_otc','MED-LOT-2026',0,0,1,4,'2026-01-01',NULL,'Baseline compliance PRD v1.2',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(3,'medicine','hard_drug','MED-HARD-2026',1,1,1,3,'2026-01-01',NULL,'Baseline compliance PRD v1.2',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(4,'medicine','narcotic','MED-NAR-2026',1,1,0,NULL,'2026-01-01',NULL,'Baseline compliance PRD v1.2',1,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(5,'medicine','psychotropic','MED-PSY-2026',1,1,0,NULL,'2026-01-01',NULL,'Baseline compliance PRD v1.2',1,'2026-08-30 11:17:39','2026-08-30 11:17:39');
/*!40000 ALTER TABLE `regulatory_rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seller_orders`
--

DROP TABLE IF EXISTS `seller_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `seller_orders` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `platform_order_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned NOT NULL,
  `shipping_quote_id` bigint unsigned DEFAULT NULL,
  `outlet_selection_reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `outlet_selection_strategy_version` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `outlet_candidate_count` int unsigned NOT NULL DEFAULT '0',
  `prescription_review_request_id` bigint unsigned DEFAULT NULL,
  `seller_order_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subtotal` bigint unsigned NOT NULL,
  `discount` bigint unsigned NOT NULL DEFAULT '0',
  `discount_platform` bigint unsigned NOT NULL DEFAULT '0',
  `discount_tenant` bigint unsigned NOT NULL DEFAULT '0',
  `shipping` bigint unsigned NOT NULL DEFAULT '0',
  `shipping_provider` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quoted_service` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quoted_cost` bigint unsigned DEFAULT NULL,
  `quoted_eta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quote_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quoted_at` timestamp NULL DEFAULT NULL,
  `shipping_revalidated_at` timestamp NULL DEFAULT NULL,
  `commission_rate` decimal(5,2) NOT NULL DEFAULT '0.00',
  `platform_fee` bigint unsigned NOT NULL DEFAULT '0',
  `payment_gateway_fee` bigint unsigned NOT NULL DEFAULT '0',
  `refund_total` bigint unsigned NOT NULL DEFAULT '0',
  `seller_net_amount` bigint unsigned NOT NULL DEFAULT '0',
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `seller_orders_seller_order_number_unique` (`seller_order_number`),
  KEY `seller_orders_platform_order_id_foreign` (`platform_order_id`),
  KEY `seller_orders_outlet_id_foreign` (`outlet_id`),
  KEY `seller_orders_tenant_id_status_index` (`tenant_id`,`status`),
  KEY `seller_orders_shipping_quote_id_foreign` (`shipping_quote_id`),
  CONSTRAINT `seller_orders_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`),
  CONSTRAINT `seller_orders_platform_order_id_foreign` FOREIGN KEY (`platform_order_id`) REFERENCES `platform_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seller_orders_shipping_quote_id_foreign` FOREIGN KEY (`shipping_quote_id`) REFERENCES `shipping_quotes` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seller_orders_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`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 `seller_orders`
--

LOCK TABLES `seller_orders` WRITE;
/*!40000 ALTER TABLE `seller_orders` DISABLE KEYS */;
INSERT INTO `seller_orders` VALUES (1,1,1,1,1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','v1.3-distance-stock-price',1,NULL,'SO-TPRMNI46',12500,0,0,0,8000,'biteship','sicepat reg',8000,'1 - 2 days','SQ-260830-PKF5G7ILBY','2026-08-30 14:52:54','2026-08-30 14:52:55',10.00,1250,410,0,10840,'pending_payment',NULL,'2026-08-30 14:52:55','2026-08-30 14:53:04'),(2,2,1,1,8,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','v1.3-distance-stock-price',1,NULL,'SO-SALMAA73',25000,0,0,0,10000,'biteship','jne reg',10000,'1 - 2 days','SQ-260830-A41AUXPKWG','2026-08-30 15:08:27','2026-08-30 15:08:39',10.00,2500,700,0,21800,'pending_payment',NULL,'2026-08-30 15:08:39','2026-08-30 15:08:46');
/*!40000 ALTER TABLE `seller_orders` 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 ('1oStEmZg3jsgSsrF5TwUSDPLK6qSPRYB3LyMpkZM',NULL,'127.0.0.1','curl/8.7.1','eyJfdG9rZW4iOiJteWtUUWlzTU9ZNFNOUkVOUzZzTTRHQkMxelhxWWp5aDRweHBQdkRPIiwiX3ByZXZpb3VzIjp7InVybCI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDAwIiwicm91dGUiOiJob21lIn0sIl9mbGFzaCI6eyJvbGQiOltdLCJuZXciOltdfX0=',1788100691),('Q8qeFryKwNF9Jrkp3KtXiurYsskbfD8TvuckFAVS',NULL,'127.0.0.1','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36','eyJfdG9rZW4iOiJ0Q2lOckUzdE5OVzJCZW1CMlNaZnJmcExVMlJyMjhHNkxxeHpLWEpTIiwiX3ByZXZpb3VzIjp7InVybCI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDAwIiwicm91dGUiOiJob21lIn0sIl9mbGFzaCI6eyJvbGQiOltdLCJuZXciOltdfSwiY3VzdG9tZXJfbG9jYXRpb24iOnsic3RhdHVzIjoiZ3JhbnRlZCIsImxhdGl0dWRlIjotNi4zNDY1MDA5LCJsb25naXR1ZGUiOjEwNi42OTk1ODkzLCJhY2N1cmFjeSI6NDAsImNhcHR1cmVkX2F0IjoiMjAyNi0wOC0zMFQyMTozNDo0NCswNzowMCJ9fQ==',1788102709);
/*!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,
  `settlement_id` bigint unsigned NOT NULL,
  `seller_order_id` bigint unsigned NOT NULL,
  `gross_sales` bigint unsigned NOT NULL,
  `discount_tenant` bigint unsigned NOT NULL DEFAULT '0',
  `discount_platform` bigint unsigned NOT NULL DEFAULT '0',
  `platform_commission` bigint unsigned NOT NULL DEFAULT '0',
  `payment_gateway_fee` bigint unsigned NOT NULL DEFAULT '0',
  `refund_total` bigint unsigned NOT NULL DEFAULT '0',
  `seller_net` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `settlement_items_seller_order_id_unique` (`seller_order_id`),
  KEY `settlement_items_settlement_id_foreign` (`settlement_id`),
  CONSTRAINT `settlement_items_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `settlement_items_settlement_id_foreign` FOREIGN KEY (`settlement_id`) REFERENCES `settlements` (`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 `settlement_items`
--

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

--
-- Table structure for table `settlement_ledger_allocations`
--

DROP TABLE IF EXISTS `settlement_ledger_allocations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settlement_ledger_allocations` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `settlement_id` bigint unsigned NOT NULL,
  `financial_ledger_entry_id` bigint unsigned NOT NULL,
  `allocation_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `settlement_ledger_allocation_unique` (`settlement_id`,`financial_ledger_entry_id`),
  KEY `ledger_allocation_amount_index` (`financial_ledger_entry_id`,`amount`),
  CONSTRAINT `settlement_ledger_allocations_financial_ledger_entry_id_foreign` FOREIGN KEY (`financial_ledger_entry_id`) REFERENCES `financial_ledger_entries` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `settlement_ledger_allocations_settlement_id_foreign` FOREIGN KEY (`settlement_id`) REFERENCES `settlements` (`id`) ON DELETE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `settlement_ledger_allocations`
--

LOCK TABLES `settlement_ledger_allocations` WRITE;
/*!40000 ALTER TABLE `settlement_ledger_allocations` DISABLE KEYS */;
/*!40000 ALTER TABLE `settlement_ledger_allocations` 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,
  `settlement_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `period_start` date NOT NULL,
  `period_end` date NOT NULL,
  `gross_sales` bigint unsigned NOT NULL DEFAULT '0',
  `discount_tenant` bigint unsigned NOT NULL DEFAULT '0',
  `discount_platform` bigint unsigned NOT NULL DEFAULT '0',
  `platform_commission` bigint unsigned NOT NULL DEFAULT '0',
  `payment_gateway_fee` bigint unsigned NOT NULL DEFAULT '0',
  `refund_total` bigint unsigned NOT NULL DEFAULT '0',
  `adjustment_total` bigint unsigned NOT NULL DEFAULT '0',
  `seller_net` bigint unsigned NOT NULL DEFAULT '0',
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `generated_by` bigint unsigned DEFAULT NULL,
  `paid_by` bigint unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `payment_reference` varchar(255) COLLATE utf8mb4_unicode_ci 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_tenant_id_period_start_period_end_unique` (`tenant_id`,`period_start`,`period_end`),
  UNIQUE KEY `settlements_settlement_number_unique` (`settlement_number`),
  KEY `settlements_generated_by_foreign` (`generated_by`),
  KEY `settlements_paid_by_foreign` (`paid_by`),
  KEY `settlements_status_period_end_index` (`status`,`period_end`),
  CONSTRAINT `settlements_generated_by_foreign` FOREIGN KEY (`generated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `settlements_paid_by_foreign` FOREIGN KEY (`paid_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `settlements_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `settlements`
--

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

--
-- Table structure for table `shipping_quotes`
--

DROP TABLE IF EXISTS `shipping_quotes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `shipping_quotes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned NOT NULL,
  `customer_address_id` bigint unsigned NOT NULL,
  `platform_order_id` bigint unsigned DEFAULT NULL,
  `seller_order_id` bigint unsigned DEFAULT NULL,
  `provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'demo',
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `courier_company` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `courier_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `courier_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `service_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `service_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `price` bigint unsigned NOT NULL,
  `currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IDR',
  `eta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'quoted',
  `provider_payload` longtext COLLATE utf8mb4_unicode_ci,
  `selection_strategy_version` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'v1.3-distance-stock-price',
  `candidate_count` int unsigned NOT NULL DEFAULT '0',
  `selection_reason` text COLLATE utf8mb4_unicode_ci,
  `quoted_at` timestamp NOT NULL,
  `expires_at` timestamp NOT NULL,
  `revalidated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `shipping_quotes_reference_unique` (`reference`),
  KEY `shipping_quotes_outlet_id_foreign` (`outlet_id`),
  KEY `shipping_quotes_customer_address_id_foreign` (`customer_address_id`),
  KEY `shipping_quotes_platform_order_id_foreign` (`platform_order_id`),
  KEY `shipping_quotes_seller_order_id_foreign` (`seller_order_id`),
  KEY `shipping_quotes_user_id_status_expires_at_index` (`user_id`,`status`,`expires_at`),
  KEY `shipping_quotes_tenant_id_outlet_id_status_index` (`tenant_id`,`outlet_id`,`status`),
  CONSTRAINT `shipping_quotes_customer_address_id_foreign` FOREIGN KEY (`customer_address_id`) REFERENCES `customer_addresses` (`id`) ON DELETE CASCADE,
  CONSTRAINT `shipping_quotes_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `shipping_quotes_platform_order_id_foreign` FOREIGN KEY (`platform_order_id`) REFERENCES `platform_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `shipping_quotes_seller_order_id_foreign` FOREIGN KEY (`seller_order_id`) REFERENCES `seller_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `shipping_quotes_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE,
  CONSTRAINT `shipping_quotes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shipping_quotes`
--

LOCK TABLES `shipping_quotes` WRITE;
/*!40000 ALTER TABLE `shipping_quotes` DISABLE KEYS */;
INSERT INTO `shipping_quotes` VALUES (1,1,1,1,1,1,1,'biteship','SQ-260830-PKF5G7ILBY','sicepat','reg','SiCepat','Reguler','reg',8000,'IDR','1 - 2 days','1 - 2 days','used','eyJpdiI6Ikw2K3Z0dWlBaTNCQnhpUm1vaHdzZUE9PSIsInZhbHVlIjoidTVFYW5JeDJoK1lWaXA0TkVueUJ3NjVKYzJhaUU2R1J0UlBWQ244TCtSdys5K3JrdTl4Q2VuQ2lHbE94azFTd0J3cTVGV0pNNXlSVnBSZ0hBZ0pVcEgyU0lsRVNxdGtoL2tXYjdqaVRKVXRuVVU3bVJUOENHOFZabmZBd0JqWk8yRlhybDhYWlduWDNuaXIxRjZkb0lJL3JYTlFiOHBJbm51UCt4YVU5MlowKzBLVjlSKytwdnhkMjY5dlRzUGxuYWNBdkJyc1BYTTFxTS81WUdPcnlmbFFrZFhjamluQXA0ZFIrYjNiQWJsY01Fdy9BeWhjcTBsdDZBUXdyWWp6dmVhemwwS2hjdjFCMjI5OCswVXo3UVppWlFRV1hlWDF3R0NrbC9oWkxVSEtVQXRMR1BwODZwOU5SVERHYU1XMlJNekZSRXQxNG5EbmxLdUNSaVJobktjMDdNbnFWQ0UyQWhnMWR1U0ppUk5NckpRWUo1Q2pBa1BFZ2ZLODY0eS8zQXQxM2FuRUltRndCSG1hSGkycmhqT0djSGhnaUtrQ3lSVEhYaUxmVUd5TzlzbE1vS3h4NURVSjNVcnNEVFFlOVpnMlhySlBMV3NlZE1SZ3R3dldCeS9rWk4yUTJMOVA2d1RpazJIWmc3TWpKVGtpNUdUSzljVStUVHlMeXhxUFdZSU9TNkNWVnBVUzY5dmJHVG9JTnJtckc4WVNpZTZNczZPdUYzSCtvV3pMeHMrMW13bWV2UHpvam1oRmw0SGZWalJGSDY1RFBFaTBmWlF6M3k0aTVnR0V5NVMreXJsbVE0cTdYRlpZYXpOYzJtdXVDM2Qzbzc3b01rN1BpUHlQSzFpelJVNTF4Y0d2Y2sxaG8zV1hoVnJlUWVIWnErSnVqcWtVS2FCaEs4bWFNR0w3UXBLallBUTZ6T3ZBT0tYQ1RUSXNhbU1QcmRGc3VHZ1dkdDhNK3ZRMDNkbzBGaGhCUXlLYW9sbkhNV1AzUllTSTg3UjUyVjBDLzJ0aXFHc0d5RmxYb3poQWdVZ1UyVHhxNHFiNVZleXFPbDNhcDFLeFNwZUdEenJSbWpHN3lSY1dFYTdhNlR2OEhIN3FsM2RIaVRJa2ZXcld0Z09ZUzlaRjkzWGhIb0NJWStPbVQ3U05lVnV5UmE0SE9zWWZDVnVJblc5KzJNdkJXV1hadHhNNHUiLCJtYWMiOiJiZjQwMGExMGMxZDUwMzkzMjU1N2ZjMjNmMzA3OTg5MTE0MGFmZjlkOGE2ZWM2MDM3OThhYTVjNjUyNTkwMzAzIiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 14:52:54','2026-08-30 15:07:54','2026-08-30 14:52:55','2026-08-30 14:52:55','2026-08-30 14:52:55'),(2,1,1,1,1,NULL,NULL,'biteship','SQ-260830-5LE0MAJU6Q','jne','reg','JNE','Reguler','reg',10000,'IDR','1 - 2 days','1 - 2 days','expired','eyJpdiI6IkErSzlGRmYwYjlrNXBGeHRNSEZ4Mmc9PSIsInZhbHVlIjoiUk1hMzhKa2ZaZUNGVU8zMHA3dnZyMjlpY1NHYllpZVZSazZ3bDhmbmRHYTl5Y2s4Mk5LdkQwYjZ2VzBDY0pFdk9NSVpBaVA0S1RDTnJaZi82bTFtVTV6UU1NTVQyMEFWbTJmR3pTd0NqZGM1ekJjUG9xRS8zMGhQb3pXVWZFeVNLSkFvNERqOXh2M0xLbkN0eXNpazhjeE5FdldFbmFuM0pzWXpNeE53eHd3NWdac1M4ZXhpVzRLNEowRFQ1Mm51RTZ5VVdJNDdSUHJsUlJtaGE5T0d2MEFTYnZoNXlaWDU3M2tObDcyTkNOOFBEeXlYNFMzNXpBN0g0Z2x2WEpBZURBaUQrWlh0ck5iWFYzdmR1NHFQM3ZZdFdhbUxsK3poL2dBRnBuSlR2WGZsQ0JaSVNhT2tyejJCTVNWUy9ZMHBSSkpFYm94YUZGZ3p3NllSY3pPUWI5c0liU3ZOU25oNnFUS1RNR3hhVUZsbUN5SjlhV1R0cDMxZUlyL1BxV3Q3eXJUeEpjdTMzNzB5MEovSFAzdEtZR3BmM3BUamtqSTdaOE82em5JSERyYkZkVXlkMGdzTGNIMlQ5NFdqYzczckl3cERaT3NZOWlFWkVyOGVDVW1ZZHAyZmpseW1GNjJ1ZHcyQ000Ny9YaXY2bkFRMWRoQWU0QWNKM010SVZPN0greGZnMkNqY3JaL2JIVXdnRlVPVzNUd3BGQXYyQUJuN04vMnFodFBkWnpwMndWeTU5R1ZYNFZoeVNCaWxubGRrdGxva0lHQTFBNkdlYTBsQzJnK0JtSEdjRlIwYkZVS0VmU2ovYjgzYzJ5WFNXb2huV3JGcVdoUFNmQm5QR0NlcXNZUnNraFhLZm1OQ1JpVUFYZkg1bVRNYktFK1pFNElxaEVlSHUyb1JuSm5ybmM5WGdOelllWVViaVhwQkpVdjJIYmduQVNtQzdrR21hYUlrRUp4N01jM3pzTEptb0laU1FlWnFzdmFYYThWK1RyamQ1amNyOVoyYzBtMVdRemJlOUl6SER1M1dyYUl4RGthNGZqbTdJMjlRbFMrSnZBbXd2NGlxK1pIWU9vMHRwMzh2QjJvUlNZVjhabS9KUlZuNkVqcmRFMzRMeTFHZmxsQ0lOVmpZcnMvdDNFVHpYRWFrUkI0WTlUUUsrTGVKdXd5aGFVM0Y1WW4rR2RERUJ4NXgiLCJtYWMiOiJiZjlmMTEwNjI2MGFkNGEwMmI4MjUyZTc2NDU4ODZjOTBlNmUzOWZiNDcxOTQ4YzkzZDhkMDFhNmJjNWJiNTI2IiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 14:52:54','2026-08-30 15:07:54',NULL,'2026-08-30 14:52:55','2026-08-30 15:08:27'),(3,1,1,1,1,NULL,NULL,'biteship','SQ-260830-STRZVOL8QA','jnt','ez','J&T','EZ','ez',10000,'IDR','2 - 3 days','2 - 3 days','expired','eyJpdiI6IjNudVZRMWVlQkRHQnFlckVadTkwOEE9PSIsInZhbHVlIjoiUnRORzBNUDZ6eC9aR0ZPbDgrRkpNdWZ4eTIwcEttb2RBeXJKUjZjWGl4aFJvN3FLME5ZK1dhclROTWNrSmhxTHJOK2wxckJzdHBmQllObnV0b3d5SmhKVk5IVURNT0RhMWZtVFpmOE1HVU9JY0poRWI0MEVwOC9pQTRxNWR6dCtUS21iNVV3WEwwdy8rcVd1RDJiNHo5UmVYd0gzZ1NwaUpKQlVwTk1oTE95emE3bnlDUUgzVEFiTk40M2pEUEpGK0dINTNzeFd4YjYvWVQvNW1JY2ZCKzNqUGlpamZWblZSMmY2aGpUcy9LaFJhZStIQVZtSThESlQ1b3VsYU82VVlMeU1HL3BDZGZLM0YvaDNlb3Y2RUVseUMzRWlLOHg3b0lPYjNncnBTY25JaHk1Z0pPc2FwdnY3V1VmL0JWb0htdE80QkZVMnQxQXkxczFhYkU5UmlBKzR6R2VWQVlYLzRtakZvWldLOEd0VTczczhrWTBXbUVNZ1FhYm5aS3MvUzlNbkh0a3RnNFlOQlUzbkZpN3ZDY1JIOW1oNUU2ZURWdzhOamI0eFQ1RTVIZVpwWTJmUmQ1NHRXWUpkSlU3MklqRzNKL0RIR3NnSDdTem1Lb3k0a29qUFJJTXRQZG8wSEV2M25jUGJiaGRIWmtKYzE1UXlCRG5FYThNT2FpZWFUM1Z6TFVoMDVLUkhaL1gxd21seWlOTjQ3a0VXT2JTcVJpdTJyMnRCQjNsMlpCa2RheEpnSklGLzBhYnFKUVhIWkRwbXh1S0w1N3FNbmZpMUh4akFlVHkwbjhuZkNXOFhURXViVlNhQVJBZWh3UkVBZ3c1VFFzSE9tMzFyOGtmK3RET3Rnem14R0h4Rnd5Q3Y1WngzVWtqS1YxeEY2Rm9QaFhReW1NSW4wRU16b1I5ZUxzdXQ4UlZpcVhaS0RzMkpXY3Z1cmxMSzZmRVVEekttbjhtdHFJTWI5M0RNS0pwbUZ5WWhPT1pJN3NtbGRLNloydXh6MTFyeUpabVcwNG9oSVdUVmM3cjlDbkd1alczdjFJR0VtUWsrZm1NSkt2VnJ1d2dIUTlJOHpUOTYrdjhGcDJpeW45aWtKZWhiOWFMWWpKeURSNERMcEs3cWprUmJ2b0sxZVpaVmxTYllwTURNd0Y2eCsrbGRiWlU9IiwibWFjIjoiN2Y3YzY5YmYwNjg5NmQxZWY2MjQ4ODQyMjc4N2MxM2ZiODk0OTliNGVhYTg2NTk5ODQ5MWZkODY2MjYwM2RmMSIsInRhZyI6IiJ9','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 14:52:54','2026-08-30 15:07:54',NULL,'2026-08-30 14:52:55','2026-08-30 15:08:27'),(4,1,1,1,1,NULL,NULL,'biteship','SQ-260830-UZ0D9YU4XN','sicepat','best','SiCepat','Besok Sampai Tujuan','best',14000,'IDR','1 days','1 days','expired','eyJpdiI6IklubVRvUno3Z2tacUFlMG5aQUtOQWc9PSIsInZhbHVlIjoiOUdQeURvOW1zRjZzUFJ5QldqWWFMaThOdUhRQnF6Nk0rSW9OemE2WjFNd0E1UnhIZzFFeUtYcDFRTSs0ZTc2eCtLZTZTZ2lSTlY3ZGtoM3p4eit1UVdWalVRL1hiMC9oTy9oRjl6eGU3cktLUXdTWCtzOVM5R3BLWjFIam5OK050WmpYTi9ZVDFvK25LVWhhOTVTdjA0ZzdwaUxIU0swYVlJcy9qZkxMckhqWHNCcThXN05TM1l5QzVWM2tWUk5tL2t1UWZmeElsWVdBNGRZNE1wOHB0YjZlRjdwcTJhYUZLdmtvc1JWOHZjMHVCR29sdGxlL1QzYi80a21GdXBJMC9jVmk1SmJFNHF2YjBxMVMvOGF0Mkx5bWFYcExoY0tvN1dvOGl1QndzMXR5dWxSVHM5T1IvS292WVRycG9FMUpUUTh4UUllNzRqdkFnelpLUlJHL0cxNFlJdTdXR211bWlBeGNqZ3J6TUJDekt2dXYzR3IrRjA5a0p4KzJRWkczdzNyWlRDMmRwRmJnZGxjSllIRUxLTXNlYVA2UVh5dDVDNUFZdXptd3NhdGNqMFNrcTdGZDA1RjYrZDNJcXRCeDduN0FOQ3hRVWltWGNHM2lPYTN6YmRUU3BiRWhJWXVnbmJ4WDM5bVZZdnpta0VKbW9JS3FrNk1GMlFGbkxZNllWR09vbWozMk12UmhFdmhDaXhtNmJidE5nbFJFT0tLc0JiMjU5OXNzcDlkZCthbnhXZ0l3aEhCb1VBYkNlMjhtUkxuZlNBanV2RUNIcytlUmFWakVpK0pzR3YrZ0ZXNG9vWXZVWGV6K3NiU2RlajhaSGlGM1lpOHBhUER2TWVmYWhUemVBQTNFc3AxVnh4dTh3UU9MNEVvVGdyTkFlcW5pRldRNitxTjBmVko3bzZsUHBJYVpGK1VvUi82ZTlCSEdHMU1MWFpNREIvdU9ma3JEZlpHd2x5UzA1K2drUUZLMzVJM0prVWVpTWJRSnplMkFmcHpqZ2Y3UFJTY1BoNUtNcE9xQ0dLbkltUFg1RVhYOTZxU2htY3FRQUltYzJ4dk5lOFpKWEdsTzB2bGorVFFOeUJQSTg4MFhmeGVvMElKS0pTc1VnSkNiWG1KZ0JzdDZ6YlJYZElMMzcvYzhhcmZPaktScVNYb01BTTNEV2JOb25TcjVLQkl0RWdBODVzVHgwdGlOSmRKelI5R3JCY0VIRkpwUllRPT0iLCJtYWMiOiJiYTJkZWM2NzQ4NWM5MDY4NGRkODA4MjhiYjlmYjExMjEzMTJhYWZhMmY5Zjc5YWMyYTEzOWJkY2Y5MGRlMzViIiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 14:52:54','2026-08-30 15:07:54',NULL,'2026-08-30 14:52:55','2026-08-30 15:08:27'),(5,1,1,1,1,NULL,NULL,'biteship','SQ-260830-U0JMESJVBV','jne','yes','JNE','Yakin Esok Sampai (YES)','yes',18000,'IDR','1 - 1 days','1 - 1 days','expired','eyJpdiI6IjBwUmFNT0x2bVlJTDhod0kvai9rdFE9PSIsInZhbHVlIjoiK3pjUnVpNFhqOGMxMk02NXk1QmZBb052Z2d6MHRrckdWd3lhaUlhQ3F3NjRKeXVBZXc0aDNKUTduelI0M3JZOHorWHZvcXVSVlUrRzhmdzk1YkJ4SklVRWJNb1prOGxVcWZoOWwyZ1h1UUZOUUp2ei8vZXFpNW5HV0lCdkkzclpvbjdiM0RnRXhoaml1dXpSUW4wZkJTbnFybis4VjhLMlFVa3pRTnlVeUZNUDljbVJoNm1PaXlWalZSSGlBL1ZTL0FIS3hiSkNWTHd5ZWwwanpJTmNzdit0RDJqSEJGU0d2MUhaRmw4bUk5Q0dlYzlMWFZtRmQ5clFuWnZvOTZqTnlUcVc3OVZFWmpQaE5yVENQdjhUZ0psT2QwOXpkZFFjMklJZWlrNzdHaGRtR0xCamtNSWkyNk9PSTNGTzB2T1ozNXlsSWFGeEFtZ0o2TWE1ZHhjWFk4RGtYenF2Y0xqNklYNVd6OGVOZnBuci92Mm9YeHlubHBZckJpQ2VWbCtwaU5NNXFhNS9HSUJUNDNmNmk2TGNEMjZSYklqMjVVQy8xTnhxTXVsS1hTMWorejl0MEdrZTJ5SnF0bDRCUnE0RXZ3YXdHYzhXdWFPRGhDUEs3djRjcTZDQlNXVmtDS2swYVN0Y2V3RTdDSG9WK0pJbldrSmJpUkYvZ3NoRVdjdVMwSUI2dndMMU5QSVdUa2ZuSUpBZVFWZFdSYXJ2ZGdZRG1IZ0p6S0FnRlZXSDVSOU8xN09EYW5uYkJqOWplUTNHcm9ZZUpxN3JXaXh1bDArOUxYalhQWUV6aHo0QTZhMkMxUmVoWW1SRE1VN1ZoaWdtakMycThjVzNtd2VzOCtGVmxaMlBRMDlhL0VuNFlvQ29maHFPcFQ5Q3M1Z3Fxd05aWDV1UHhVSU96djVSeHJLcUhNMURZc3l6UEN4QUh1UWpmdTB2T0g3L0RlanpkdUZRTWxQbHV0WVYvdHQzMlRSMmJ3WlFPWDV5OFVGR3dyeW1ZYUFvWGFkaEoySEhGSEtURUExN21jZ2s1bDRGNUREc2tqQ2xrVWVtQXNGbWd0SlhmSGQvdllieE5rRVRlaXhnNDQ2LytiQjBvQXNQODkwYkRXVGtrbWcwc2RTWlVVN3c0am1QQ1NUU1Z1REFldmkyQUdjRnRRejFOSVI5ZTEzTkh5bWk0MGV5VTNOWDJ0amlvRk4zWHBvSlVLTkJhUmRZbjVwNWVRPT0iLCJtYWMiOiIxMmIxMzFmOTUzNGQyNTE5MDVhNmY3NzA5NGQ5OGY4NGI4MTYxNTdlOTIyMGNmMzIwODNlN2RhMmM1ZThhYWQyIiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 14:52:54','2026-08-30 15:07:54',NULL,'2026-08-30 14:52:55','2026-08-30 15:08:27'),(6,1,1,1,1,NULL,NULL,'biteship','SQ-260830-XENVT5CWL2','jne','jtr','JNE','JNE Trucking','jtr',40000,'IDR','3 - 4 days','3 - 4 days','expired','eyJpdiI6IkxxbFJFemN6WDFISzVSM1AxOG9VRWc9PSIsInZhbHVlIjoiWnBYSVkySHZ6U0gzei95cCthZ1VJUkw2cElZM3ljeEhGcHpKQnhoS3dTMXFjU1VPNW1oREwzSldyUE5UVGNMS3dleHlra2V3RGFIeVRkTEg5QklhV2dpNzdvenkxMXBZSWdCWnFyZjBYMHVJcGl0dFl6YUY5blNJVlpnNUJYU3ZLRE5GaWtsb1Y2bFNLdndSYlkxN0VrN2wxODhmc2dKK2pxOUpDZ212MXJmYkl4YjFPUGErS0hwdkQrTFdxTFFNRFEzTXF6NnkyQXRqbVB3Z0h5Mks1ZDY3ZFhZSnB2QjlheENCZkZLekhCVnJySHRTbDZmbkdhclpGZ1FrK2UrN1ZzL2tXeURJMWtlUGViUmQ2OWF6aitWV1ZsaEFtVU55cHg1MStDVkRRcTl0bU90QUlKRlJDVUxGT2tVamowbkpvUEhDeWF4ZXkxelNCZlBvVjFiUFl0ZGk2bDRYQmcvM0kvamJoRytlU1ZNZUVGc1AybWtRVUk2cXByT3NMNCtIbUNvSFRUYUJiOXFwYlducWZ5MnhKVlE5a2tkOGp2RzZNbkpRZGFHNjViREZzZllvcFpNSEJCaTJiNzFDM3Y1Z09JZ0VxVHdrQW9pMVk4N0VEaDZJRFhMYmRvWGlzSmZDN2xGUVloOXZMRUg5NnAzcTNJaytMQVFjMHV6Z2pjREZzeVB3Sk4rY1RHbW9YR0FiOEdsYW4wZjc1VlF6REE5cHZ5d3EvaU5qeE9XQUJBMFZtTUJBQm5LQ0d5VjdBRDlnOUpWREdKczJMY2NpVk1TUUZjNnNYbzBVQnVpbEdCUGwxekVDRjdQdWdEUlZqVExtYkhQelp0SFluQ0FxK0tIemRMMmlna0dNcVBqU2ZjNGZwTTJITG42RitVd1FWRm1aOTNHOVhrTktuQ0NoWFhjR2V0a0dPUk1mS29zVmFGcFAzOFIwcVZjZWtlam54S05ieThrVlBTSEVIc0Rtc0RxNm9Qc0NSanVUKzU2dGhwSHBNK1NzRExKeE9GcklpWi9FaTZwSlZ0T1ZzV2VyZE9wSkxyaDZuUnYzMU54TmkySnk2aGVTWFdzaGFYT1lEeGEyZzlJVUVNeDJ3WnM0bEtaaUF1WWhUK2ZtaDdYSFhMNGRaZTFSMjZKU1BHNXdFVUU5azhoSFF1d3pTUVZSM2pXNWlrdmFTSGlhdktIM1B5azhWL25pMmUrdysvZXlEMU5HS1U1Z2l4Z21EaVlya1l3ck1xcUJDQWJ5dkVjPSIsIm1hYyI6ImI3ZTM0NzdiYmExNTVkZDFjMmViZGQ0NWFhY2UzYWZkY2RkNGVhNzcxMDBkMTdlNjUyOTY5ODliOTgyNjg2ZDMiLCJ0YWciOiIifQ==','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 14:52:54','2026-08-30 15:07:54',NULL,'2026-08-30 14:52:55','2026-08-30 15:08:27'),(7,1,1,1,1,NULL,NULL,'biteship','SQ-260830-KAXPBJK5VG','sicepat','reg','SiCepat','Reguler','reg',8000,'IDR','1 - 2 days','1 - 2 days','quoted','eyJpdiI6InhES0dzTHJIYTRVM2c0VjFFMGd3WkE9PSIsInZhbHVlIjoiVHR5Y3lVRnVoTkg1RDN3OEZXcTlCR0dDNXlMZ2UzVmlMbzMxMXJSc3NtZCtuZHl4UDBFWjRSUkVSK0dGLzltRXZpaHdxL05sRlhvYzdtK3YrZExUNUxHcDBEQVBINzRLbHF2UUJmbHNwbU4vTTVjWEFuUEoxTUp5NFlzenN6MzQrZGpLVWFrWS96ZDJNKzJxRi9IcG12ZWl0Y2NkQngxQ1NYUmtjUk51eG9Oanorb3RPdDhpcEJKOXNrMFFaUkVvMTI2dDRqYTc0SEdvK0kvQVVIbzNFeXB1bnNUTVVmZFZwM1QyTTUvN1ZVOTNYcXpaa3F1WVlNS2U5dkRIS2pzeVVBR2hiV3BEbURJZ3U1RFIwK0RHa016VHM3dTI0eGxQdm53SCt3TGNTK3BVRVc4aFlwSTdFMWFUeU40STRsQmF4L1dNL1lWQzNqc0dvUUFmQ3duWEVDem1HeHllb0tHdDZZYTRnREkvZXpJUTRjK0kya04vSURPcUg0MmRmbi9zWWkvT3ltWkNyb3VzazRPODJHWmNhcXhRR0tYM0JjRlllNmlyMlFDckpEdGVwbEh1N3VYMFJ0QUJWNmt4K3JYenlsUzJ4eUxyeC82Z2VQWE5xazNENGxjeE9BaFNzYWJyQTRGN3BVbVVITkRuT2VWb3VoZ1piWlVmYlZybW9PYU9UbE5VNEs4bFR4ZFhVTFZCQXBER2x0N3dTYWNLN3BYeTZoOWErVHpWLzlpVmtyQ0RhY0RNdDgrLzRHMWVOSTBrSkZJV0FHVkVhaGIzTjVua3VlanhUVjd4S1Q0ZHNRcWY4c3hWTlJ2MjI2TjZVN3hBclhXNnJnczFkMWFaaW54Tis0c2dDMGI5SmJDeERzeVJ0OEM4U0lKRHBuM1BDWkNNVjBxWFVWOGlKd2pXaGJrMWlJMDJ3elNCSjBXSlNWZ1hja0NFYlFlbDArOGY0SFJlSUh3SmZtUHNEdEc4RFhUUjc2R0dNdEtqeGJyaTY5TytVcmVvWC9kYmMxZTdUbEJkZXdMM3JlOUlVNGRSQUVvZkVDK1NKOGF4NmE4ZUs1OHVja0hWOW5oRFp0UXYvV1VMMThibzB6eXZOa2doMGc3dmF3TUxBRjl2bUJMUjBZc3NROGhJRDBhKzdUajI4TWloZFFDb0UxalhrRXJTblRpZ0k5OHNRUS9NNVNodlZTMFAiLCJtYWMiOiJmY2ZiNGE3ZTRjMDVhMDU2MDEyOTQzZWMxM2E1OTZhNTBhMTFjNGI5ODc3ZTY2YzBkNzI3NWVlZjFlZmZlMWExIiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 15:08:27','2026-08-30 15:23:27',NULL,'2026-08-30 15:08:28','2026-08-30 15:08:28'),(8,1,1,1,1,2,2,'biteship','SQ-260830-A41AUXPKWG','jne','reg','JNE','Reguler','reg',10000,'IDR','1 - 2 days','1 - 2 days','used','eyJpdiI6Img0LytOS2t6TUx1dTJ1dWczSnVZVnc9PSIsInZhbHVlIjoibk9DbXhKZjZnZnJiUDYrUkR3MWFTOUF5cW1RNW1PTVdJUnM4cTh0elcveWx5OExvbjFlZDVmWlNaRzIvWmd1QXA4ZVJVUXFuTGhPTjVCRktpUkV2M0Q3eXprNVJndUFnWlhMYTJoSXI2SEdaMjVISWF6THl3ZE91NkU4RU01bEo3MUFnaHFmOHZTNWNjYmpnb2NaRm4rbU9hZFhrc2l6dHQza0ljcUJwSy9jc1RHV0llcHF0d0YxWng1Y3UrZjlBWDd4dlI3VmFkVCt5ZzF5Y04weWRNWk45UXEwZ0dxeFROZ3pHaGZuRCt6L2ZscGtKcjJjY3FYMjNhVW9TeE5ub251QS82OFBvdFJibWgwVXRtZEVSMHQyazZpUzhMaGE1TnRLUUU0Q1kxNzFBcUhteHZGTlp3OGR6SzZUQ2VPUFQ4UGNCL091L2EwdHRTNndpaERaaTR5NGNWOWxSaWZYMG53MUIxdW5tN1Rta3N1OXBvc0I2RUc4Um5rWC9hYytWb0wwUGVFRmpaZEw4RlByVEMzVHBLdFU0ZzJ3aDlveGpZWldVeUtqaG9QSTkrRFFkLzhjRGpNVFhaTk8zVFc5VXprMlBBcDl6R01KVWNqeDBBUTU1bnNvTGNiMEN4Z0lEOXY5UjZsMWJwRTF1TmVwWmtHdXBLQmM1VkFvcXlFZ0pBc2tpL0pvbkp5cG1obVI1MnU5UFVIb2IwZ3Azd0xQOVZ0NCsyNjkvMkZpdVU1eER1ZHJNaGFvQWs5T3BZTXdZdDBvZkdTZkJUUE4rNFpsNHF3M25EbmpSY3BRTTVVclFEK2xIaFM2RzlYdUo5ekVoTkhPUUQ1cG5vd0ExbUtCbjNNMlRYTXk2QVhNNnJUZHhzV2xYOGdZZlM3azhUcWZpcHhFNUdiZklZOGNqNEhtVythdkd6RzNqSnBGR2ZEQ0d0akk5Nm54eDB1Wmp1SGZ4VVhETGxna3BsdzBLZk53NkpONDgzMkR4aTBCZ0JkaTA3eE0wTnRLYldvQ0tOSmtOZmdaQ0Q2TjFSSzhCbUFIeTR4cDBSb3VoRTRaRG5vM3I2cGRDYXc2TFhMcm1LOEt6UGxoVVZTYmtjMUtMME1QcnFvRWZvZzY5bVc0TjVqM3ZiT1dXUEc5ZTdzSi9tM0JhczlZQWl4L0pXNThPRWp6N0w3Mk1aVXNqWm53WWRKaS8iLCJtYWMiOiI0N2JkOGI3OWRlMjJhODU1ZDA5ODA1NjdhYjFkNDRhZDVlNDMwNzFlZTNmMDI0OTc5YTBmOWYxZTgxMzIzOWU5IiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 15:08:27','2026-08-30 15:23:27','2026-08-30 15:08:39','2026-08-30 15:08:28','2026-08-30 15:08:39'),(9,1,1,1,1,NULL,NULL,'biteship','SQ-260830-83F9OAPMBV','jnt','ez','J&T','EZ','ez',10000,'IDR','2 - 3 days','2 - 3 days','quoted','eyJpdiI6IklFT1p1YTJRcUo0bTlTOHkycEdaUkE9PSIsInZhbHVlIjoia1prS3JlT3VoeG8rUUpnUUNqK2s0RkY2RTdQeTQ3UHBRVUNxbWc5QmJhY0VEbGNtdTUvd3JkdHAxaE44blRGOWk0d2xyUFljMkMzTW5CWElDRkJCdUZjeHVmUzlaVys3ZDhnQ2VDemlDMXkvZkVJTytrTUxxcjFwWC8yOE9DcnZjd0xNQUZhcTJDZGVQa2g5R2crRnR5aTRZTFhiSHJxdmNWeDkwTkdpb0E3cCtoMWRIWnljTjhIQnRqZTJPWnJsdHdhSXNkMHVTcjhQcWNNeFR0U3hLeE1sZ0NRazFadElkcUhBYkhuanNpT2lEYmZZMnIyclZHVzl0Ty96dXhaaVFtUDVpcjdiUDRaY01jcUtpeDd1cVptblhsaFVJWVBveGw1REVkVXREVDBhcXJhTEkyN0xGTEdTdGlDcGFOTUpKSW1uSzdvMlBwNmVUMUVIOUcrNnl3Zy81dU1iWnJaZUY0R3pwWlpyMEIrODBRUmp3djlFN2RZSXVQdE95ckYvcUIvalMyNHR2VitlS0NkYVVsN2dWNElzY3hZS25LTWNHRElCQWxxM2hlbzNzZmJ3VHRVSlV1dkh0VmR2dFpaZ3pxL2xNVlZHcnpHTUg3Nmo2aXEwUlBLMVpnbnpUS1FXMklZUGVzUFdDZUJRU1pzYUJxcm9rOVUxYXIvS1dNbkVGbEE3T1h5UTV0czZqTi9ZRlllbEMyNHo5UWRsM2Z6Z09qUFpseFNSckV0ZjF6VTVsYjM2UGYwSGJDUTVhMDk3Uk1ZYkx0a3lLSjNydXRQRU5JM0VBRklzdEhMazNWR1U2ZkM0Ym8vMzJoTSs0aGwzTjVkNWtvUG92LzFYMjV4SGo3SjJla1lmdDNmeXNUVzRrWDhUNjgzUXQzY0RjeThsanpocGJoc2RHVWxMNW41U2ttNk9UVkJwcjlCNTZMcFhqK0RMbWI1YVVTTmwwK05HTHNIOWNmT1VDZnk1QWlnMzAydmp2MVF1TnJRWUNPV1VmRDZoSno4MlRmK0pjWnFpYUVjSlpCdW5WS1BwMmM4Y1lQRkZldE0wK1hLUy85ZndIWkJZNmFhaDdJcldLeEpHUzBQZElsQUtqOEpHTVh4enpjOHhBeUNoS2VEcTQxYXBIU29mcEsrVnk2bFAxNWZ5M296UTdaZ0hhclk9IiwibWFjIjoiYzVhNzExYTJiZGViNWViYTlmMWJmYzE2Nzg2ZTZhOTg1ZGEzYWQxNTZkODczODRlZGVkMzllOWZlYTc0NGE3NyIsInRhZyI6IiJ9','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 15:08:27','2026-08-30 15:23:27',NULL,'2026-08-30 15:08:28','2026-08-30 15:08:28'),(10,1,1,1,1,NULL,NULL,'biteship','SQ-260830-KHILQZNFYJ','sicepat','best','SiCepat','Besok Sampai Tujuan','best',14000,'IDR','1 days','1 days','quoted','eyJpdiI6InRDdzU2bm4xZXpzdU1iRVZTa1NLSVE9PSIsInZhbHVlIjoicXh5TmNkR2l3T0QrQVBGdktlQkUyTHRRdTQ1dkI3TU9oaHNZNUVHNTBKTEM2aFYySHA4Y00rVjdhemg0SGhPUW1TVmoyL0NRT01oMlpxQTgxSS9YQ3E3YkhtRXFGVWJRVVZjeXR5VktsRVoraHB5bGpYTDZhZ1ljMHA4eHYxcmZpVExnUE5valR1OEhRWVdqRGY4U3hwRDZPbXRtWXplOGd0ZTFvVXVjV2hlc1VVc2xlblRzaXFzM0NTN0dUSnZaZyt0TDRXbWZJMUR2V3h2Z1haZ0E1SVdiZVVZdG1ueERYbUFaR3pVd3F5QWM5YVRtSE5oNWpKQzNHTXhrMHozVXZDRGpLQ2kwdlFQUWFzVVhWRUdaMHFtVlluSjdGY2hadGFyY1Q4MjF2ZSthcWNFaGlwdHR2TlpTQk52ZDJQK1p3K0lscnE4Y3ZkUXB0dW13MHNxNVNObjhWSndadEpIbUdFYlBXNGpOQ0lxK2wvSE55RE1mQWFZTjBvWVJBSlNRbHk3Y09FRHk4QW83RkJHVmxLL2o3ZCs3WU9QQnAyODRxWmc1eSsxd3BkVm9mczVROUR4VGFGVVIwZHdBTTQzenllS0FtVjczaGJ2d0F0QVFhRmk0ZUhBcEZITlpkQ1Z5cjY2UnNHNlUzajd1c2dxNW50ZG1OQnJ3RE9pZHlNdGxoZkxiRGRoOVVCTHdSZStLckR4QzhkV1pSd3hSQTNQOWIwUjdQTGs3a0lkMkplcGt0b0pWNzUveDBzWGtFcDYrVXFLRGRybkNmQnErWVVCdllGNXlVVWJ5N0k0VkZWQ3pkOUkwUXdGUUJybmhGdXJLU29hN3lmVjZLSUpyMXpzWWJTWmN0Zm9kRHFjU1dXaVRCVDY5cFgzRU1DTlJ6OEg2NndrRXhpeHQ3bWE3SEFhVTNNV2FCV3ozOUFlaXE2cDBPc2xrblpBbERhTERBcDJDTW41UWpJVUdEZ2N2YVNXRmMzSTQxcW9aRlBERUpTd2VFdmtzdWFUcVRwNk16YWJoUnlqRU8xNmxFb0toSi9yYVY1V0JkR050QUd0OW4rM3FJRW8zYUQ0M2NKelVSRzB6UU5RYkVNSm8xMTc0aUk4Z2NYSjMxOEJqK2drQWovQmhtUjVUT3VBREtaNVBUenVzRWZpU2dIMVpFUUlCVXNsTWptTkxpRnFiUVZOZ1BNV3B3NlAvcFJBV2h6SGx6UDExSzhSRllBPT0iLCJtYWMiOiI3ZGE4ZWFjOWNkZDNlMmY4YWY2MTllODIwNWIwMWZkY2YyN2FjNTJmNmM0YmRiMzY2ZDc4YjFkOTY2MTlhZGYyIiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 15:08:27','2026-08-30 15:23:27',NULL,'2026-08-30 15:08:28','2026-08-30 15:08:28'),(11,1,1,1,1,NULL,NULL,'biteship','SQ-260830-GGQJSWA1KQ','jne','yes','JNE','Yakin Esok Sampai (YES)','yes',18000,'IDR','1 - 1 days','1 - 1 days','quoted','eyJpdiI6ImZicGthUEVxVnNOTGV1SVRsSi9KS2c9PSIsInZhbHVlIjoiaUR3bDMvQ2ZyTWJ6YUx1N2NmNmR5ZjVMNHdOZmNrdVJYZENDQUNuL1VOZ3BjQWhCOVEydjliaGx3bE96cUJjanJvZXI1ZlJidzE0SW1OeGJiSGRCS2VEcDdVTFFPM3F0Qk8vTnZoby9hbnBIRHkzc0tXd2dYdDRYWkpHVlVITlFQS3RoTWttbnAvNm54N3lYbTgzL1ltTEZzOXBMZ082Mm56YkNUd3FGb3dzeTNNT3duc01SMHdDTEl6aVJFQTJzaGcxcDcwSjlMeVZqVFcrQlpVSkV2dStIT3lIMlpFRVdLOXU4RUtjWkI3b2YzR3ZEM3EwelN4SDVLZVdhMzlGL09mb3oxMy9Pc0tEUm5WekhtRnlvYkZsVXpRaHQzUDVwa2lnOFRsRFd6YnJHenJPa0pGUXRJNkh0R2dzU2xoa2JzdXVGOExHNHBNWnUxZE1WL2NUbEZmbXRld2NXOWloaEZFYlQ4RmFKZkxoYlZINTY3dGpISlkyOGFGOFA3T25ibjlrVmlPZ1JvQzdYL2pVbHFiTzc3eiszSnF4NkgzOUc2N2RsZ1NmOU5CcFNPVWhYcytUNTh4eUVSdHduUytTZTZSQ045OWVCMGIvWlRGWjQ4VThsby9YRm14RUVnV1dISXIrN0dqYWpnVWJ6NWdtOThLSmR3Y1Y1bDVxTEs2NDE1bEFGMTMrNUVob3p1elpTUWx3SW5ub0g2TkloTjVKRDErZTI2SkdQN0x0R0FUMkMrcjlnK2gxdHZIYnhhZkNLbDBab3FOR1k1aDRDVzZFY0dLWGFWNVE5V0ZyWVM2ZHZBL0VWSTBQd0x1eTcwMnpkbjVqMkdKVVRENWl6cHRyTlNGNWpIYzdrbyt3N1VLUXFtTTBFL2Q2djlYSmVtTXhiY3kwQUZMLzkxck5lcUFUMWMxd0lYbjd3ZmJnbFNJRDFhUFA5WmdwS05kRnBCeHR2S3pWZENxa0JVVEZnTjFtMll4ZWN2d1FWYmhiaXNOc1YzWVJNNWtJbFlkQ1hqdWdCNW9XaDd6bjVnSXJnd29xdGZwL1NmS2NvUld0QTZmNFhLZTUxaGdjRVhHekNYRW1GYlhRcDdxdlNMaXZVaXp0UU1tV01VTG5lRExJRUg0SS9JeGdEbmdsemdMZlpPUSt2VTFZaGxMQkgzN0p2Q3gxSi8wNmU0SlBIVXJ5YVpyM25LRGJzeHNVSWN3RlB6SGFrVXVVeTBnPT0iLCJtYWMiOiI4NWRiYWIyNDcxM2Q2ZjcwYTA5Y2FlZjI0YjVlYjljMTVkY2ZjZDUyODBkOTI4NjkwNmZlNDk4N2MxOTA5ZjQxIiwidGFnIjoiIn0=','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 15:08:27','2026-08-30 15:23:27',NULL,'2026-08-30 15:08:28','2026-08-30 15:08:28'),(12,1,1,1,1,NULL,NULL,'biteship','SQ-260830-YXRW0RABJW','jne','jtr','JNE','JNE Trucking','jtr',40000,'IDR','3 - 4 days','3 - 4 days','quoted','eyJpdiI6IkNHeU5JR3ZGbmhTSk5pT0NMMnF2ZWc9PSIsInZhbHVlIjoid2xjaEI0Nlc5TjJHM3F5K3ZvUTZPMVNCTHBSWEp4TEtFYW1PUDE2OTFVdTB5Q0FyOVVXQ2E0bDkzT0lpOFhTU0VXejB2L2l4Zmt1VVZPbVcrNnVZaHJ0WWJSRlhwMGR3c2tveDdFWExxam9iTW0wUUl0RFhKbm9EUnFTOVk5TmZJS1J0d1lYeExvTjF0WHJiYTV6YWY3T2Y4TklCbE1XTnpZQ3dRcC9ML2JRM0tScVAwTFBhWkM1cnV4UkVyVnJHa2tHejlEZ1dxR0pwRTdDU1ZwcWUvUmxWa3l6WWJsNTB6dXk2M0lPR0xoRUJoVDUxWUJ4S09nR0RYYTBhcnFUY0NzTUpVek1aWHpENjNPUS9PQkdnWXdScEpIOEJ4NGg5Qy9RNWg2MW5NZ2J0RURYM2lnTVNBdjlvdkYxMmpiMk1JY28ySGV0SlBmemp3aEFxYU5CQm5wbWdWVE1EdzRyT1g5WTZSTUV6eWNFUTlTYVJ0STc0ZGlSai9ROFZGRlJJNEY0aTI1a2dNcDJwOGFpb2RHUUo1QmJRWENJbEF0WTF0eDJabUF1c285TVZKd1NjS0l5T1RBN1U1TUFJU2dsTHFVVjdLNys3RElQaWNqVy9BQ2Y5UXYwckNwNTA3aWtJS1dFQlJLcHdRYk5KRUs5OVhyd0RzTzdtMTl2c2Y1cysxK28rMFh1TkpHalRoVlZpa3M1WDhSVnNlSFFRN3hpYmZReHNkaEFsWlNDdittd1FhTjIxK2VKb0t6VlhaWXJSa1lxN0FjNGtXbmF4ckZuL0cxSEFPSmtrcDUwWlA5NWwybmI4elM4Nk5rYWFMcStEeGhhRXlVOXFoWXQzaXFXcW1MT2kySmFVdnpGZHJoV1RnUExFN21IS3dsTDYyQUI4dGkzR0FJenBCOTZOR3UzdW5EcTc4ZUNOeGRwNExhQzNpNkp1cmkvbTVRMEhnK29aZlQwbU9WemVGMkZFTURTV1hHQmdlMjc2Q2lDUGhXUi9ocU1MK2J5b3JDTDFlbVFOeDdhdDJvdDhLNDQ1MzhhSEZKWGNyK0NxcXB6SUtpRnFpNnhHaHNNSFlRUjFhTzdhaGhwN0N6ZFR6YTNPSU0xL21zcW9XallFS0VVdThWZnA2dWlBK1FwUFhNZUVLT2YydHc1bVliWlZWNFEycm9XNWU0cDRNK1FZRWZVVjJDeEZXTkNtUDNDcE56b1hhdnZVSVRSRWQ2SzgxQ0h4ZDE0R2RvMmdXSStjN1owPSIsIm1hYyI6ImYyMWNmNTg4YTA1NGNmMTlmMWMwNDJkZDczMDRhZGE2NjkyYjBjOWNkYTNkZDdkYzE1YzNmOWQ4NjZlYzFlN2IiLCJ0YWciOiIifQ==','v1.3-distance-stock-price',1,'Outlet aktif dengan stok lengkap; opsi kurir dinormalisasi dari provider dan diurutkan berdasarkan biaya.','2026-08-30 15:08:27','2026-08-30 15:23:27',NULL,'2026-08-30 15:08:28','2026-08-30 15:08:28');
/*!40000 ALTER TABLE `shipping_quotes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tenant_bank_accounts`
--

DROP TABLE IF EXISTS `tenant_bank_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tenant_bank_accounts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `bank_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_holder_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `verification_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `verified_by` bigint unsigned DEFAULT NULL,
  `verified_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text COLLATE utf8mb4_unicode_ci,
  `withdrawal_cooldown_until` timestamp NULL DEFAULT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tenant_bank_accounts_verified_by_foreign` (`verified_by`),
  KEY `tenant_bank_accounts_tenant_id_verification_status_index` (`tenant_id`,`verification_status`),
  CONSTRAINT `tenant_bank_accounts_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE,
  CONSTRAINT `tenant_bank_accounts_verified_by_foreign` FOREIGN KEY (`verified_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tenant_bank_accounts`
--

LOCK TABLES `tenant_bank_accounts` WRITE;
/*!40000 ALTER TABLE `tenant_bank_accounts` DISABLE KEYS */;
INSERT INTO `tenant_bank_accounts` VALUES (1,1,'BCA','eyJpdiI6InMvd3k5Q0czNVVBWGdOUXBmRitTQ3c9PSIsInZhbHVlIjoiY25KR3p1ZmxneGN6S2ZEVE1udk5hQT09IiwibWFjIjoiOWQ2ZDllNTJiNDllZDAyMDU0ZWNmYjU0ZTAxNzdjYjQ2YjVkMmE4NThmMjU2YTg5YjllNDViNjcwNDE0MzVmZiIsInRhZyI6IiJ9','PT Laut Sehat Indonesia','approved',2,'2026-08-30 11:17:37',NULL,NULL,1,'2026-08-30 11:17:37','2026-08-30 11:17:37'),(2,2,'BCA','eyJpdiI6ImJZZy8vVlZhQ1gzRGkxREt3bnBsYUE9PSIsInZhbHVlIjoiV2ZmQ1laM09NK0JYeUFOZ2R0VHFzZz09IiwibWFjIjoiOTA3MDNiYjViYTIyZDFhOWI5YmU1MDFmOWYzMDY2Njg0MWQyZWQ0YTIzNDBhNDM2OWVkNjlhNjMzMDljNGZmZSIsInRhZyI6IiJ9','PT Bumi Medika Nusantara','approved',2,'2026-08-30 11:17:37',NULL,NULL,1,'2026-08-30 11:17:37','2026-08-30 11:17:37'),(3,3,'BCA','eyJpdiI6IjVnZGFZOS9aRTlua0FlbjY4UFFOQ1E9PSIsInZhbHVlIjoiZ1p2T2FDb0Ywd0dldUZMVjNUVVpwZz09IiwibWFjIjoiMWY5ZmUwYmY3M2ZjYWIzNjI5N2Q4N2UzZTdhYTIzOGEzMTBhOTJlZjM4YjQwODAxMjUyYjJmOWNlY2IzNGYxNSIsInRhZyI6IiJ9','PT Nusantara Farma Sejahtera','approved',2,'2026-08-30 11:17:37',NULL,NULL,1,'2026-08-30 11:17:37','2026-08-30 11:17:37'),(4,4,'BCA','eyJpdiI6IlF4ZkZDdXU2U09oV1RzS2VTekprckE9PSIsInZhbHVlIjoiSVN0Q3Q2d1V0c1ZaL0pKcjNvbzk0dz09IiwibWFjIjoiY2I3YjRkODE3YzFkYThiODk5M2YwYjZlYjhmM2Y3MjFmZWViYTc2YTBmYTRhN2YwNzFlZGVjMmRiOGUwOWNjNiIsInRhZyI6IiJ9','CV Klinik Farma Medika','approved',2,'2026-08-30 11:17:38',NULL,NULL,1,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(5,5,'BCA','eyJpdiI6Ii9mQ3NIYk9vSFh1cWFmR21LVjVpdUE9PSIsInZhbHVlIjoieit1QkJONlBQeU5JV2JiU3MxUXJSUT09IiwibWFjIjoiYTEwN2Y5ODZkZDcyYzg5NDQ3OGY1YWJiMmJlM2Q5MmZlMzY3ZDQzZDg1ZjFhMTMyMTkyZmMyM2RiMTQxYzIzOCIsInRhZyI6IiJ9','PT Srikandi Care Indonesia','approved',2,'2026-08-30 11:17:38',NULL,NULL,1,'2026-08-30 11:17:38','2026-08-30 11:17:38');
/*!40000 ALTER TABLE `tenant_bank_accounts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tenant_licenses`
--

DROP TABLE IF EXISTS `tenant_licenses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tenant_licenses` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `outlet_id` bigint unsigned DEFAULT NULL,
  `license_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `license_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `issued_at` date NOT NULL,
  `expired_at` date NOT NULL,
  `document_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `verification_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `verified_by` bigint unsigned DEFAULT NULL,
  `verified_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tenant_licenses_tenant_id_license_type_license_number_unique` (`tenant_id`,`license_type`,`license_number`),
  KEY `tenant_licenses_outlet_id_foreign` (`outlet_id`),
  KEY `tenant_licenses_verified_by_foreign` (`verified_by`),
  KEY `tenant_licenses_verification_status_expired_at_index` (`verification_status`,`expired_at`),
  CONSTRAINT `tenant_licenses_outlet_id_foreign` FOREIGN KEY (`outlet_id`) REFERENCES `pharmacy_outlets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `tenant_licenses_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE,
  CONSTRAINT `tenant_licenses_verified_by_foreign` FOREIGN KEY (`verified_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tenant_licenses`
--

LOCK TABLES `tenant_licenses` WRITE;
/*!40000 ALTER TABLE `tenant_licenses` DISABLE KEYS */;
INSERT INTO `tenant_licenses` VALUES (1,1,1,'Izin Apotek','SIA-DEMO-001','2026-01-01','2031-01-01','seed/tenant-license-demo.pdf','approved',NULL,'2026-08-30 11:17:39',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(2,2,2,'Izin Apotek','SIA-DEMO-002','2026-01-01','2031-01-01','seed/tenant-license-demo.pdf','approved',NULL,'2026-08-30 11:17:39',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(3,3,3,'Izin Apotek','SIA-DEMO-003','2026-01-01','2031-01-01','seed/tenant-license-demo.pdf','approved',NULL,'2026-08-30 11:17:39',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(4,4,4,'Izin Apotek','SIA-DEMO-004','2026-01-01','2031-01-01','seed/tenant-license-demo.pdf','approved',NULL,'2026-08-30 11:17:39',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(5,5,5,'Izin Apotek','SIA-DEMO-005','2026-01-01','2031-01-01','seed/tenant-license-demo.pdf','approved',NULL,'2026-08-30 11:17:39',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39');
/*!40000 ALTER TABLE `tenant_licenses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tenant_users`
--

DROP TABLE IF EXISTS `tenant_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tenant_users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `role` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tenant_users_tenant_id_user_id_unique` (`tenant_id`,`user_id`),
  UNIQUE KEY `tenant_users_tenant_unique` (`tenant_id`),
  UNIQUE KEY `tenant_users_user_unique` (`user_id`),
  KEY `tenant_users_tenant_id_role_status_index` (`tenant_id`,`role`,`status`),
  CONSTRAINT `tenant_users_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE,
  CONSTRAINT `tenant_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`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 `tenant_users`
--

LOCK TABLES `tenant_users` WRITE;
/*!40000 ALTER TABLE `tenant_users` DISABLE KEYS */;
INSERT INTO `tenant_users` VALUES (1,1,3,'pharmacy','active','2026-08-30 11:17:37','2026-08-30 11:17:37'),(2,2,4,'pharmacy','active','2026-08-30 11:17:37','2026-08-30 11:17:37'),(3,3,5,'pharmacy','active','2026-08-30 11:17:37','2026-08-30 11:17:37'),(4,4,6,'pharmacy','active','2026-08-30 11:17:38','2026-08-30 11:17:38'),(5,5,7,'pharmacy','active','2026-08-30 11:17:38','2026-08-30 11:17:38');
/*!40000 ALTER TABLE `tenant_users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tenants`
--

DROP TABLE IF EXISTS `tenants`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `tenants` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ulid` char(26) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `business_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `verification_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `commission_rate` decimal(5,2) NOT NULL DEFAULT '10.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tenants_ulid_unique` (`ulid`),
  UNIQUE KEY `tenants_slug_unique` (`slug`),
  KEY `tenants_status_index` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tenants`
--

LOCK TABLES `tenants` WRITE;
/*!40000 ALTER TABLE `tenants` DISABLE KEYS */;
INSERT INTO `tenants` VALUES (1,'01M19678J9S2ZDEXQ0V5KW9RS6','Apotek Laut Sehat','apotek-laut-sehat','PT Laut Sehat Indonesia','active','approved','halo@lautsehat.id','021-555-0188',NULL,10.00,'2026-08-30 11:17:36','2026-08-30 11:17:36'),(2,'01M19678JR8A6D9JVJMTTF4E1W','Apotek Bumi Medika','apotek-bumi-medika','PT Bumi Medika Nusantara','active','approved','care@bumimedika.id','021-555-0271',NULL,10.00,'2026-08-30 11:17:36','2026-08-30 11:17:36'),(3,'01M19678JVYSSREVCN8Z211G88','Apotek Nusantara Farma','apotek-nusantara-farma','PT Nusantara Farma Sejahtera','active','approved','halo@nusantarafarma.id','021-555-0391',NULL,10.00,'2026-08-30 11:17:36','2026-08-30 11:17:36'),(4,'01M19678JW9RKAKCP0AM6GV0Z8','Klinik Farma Medika','klinik-farma-medika','CV Klinik Farma Medika','active','approved','support@klinikfarma.id','022-555-0410',NULL,10.00,'2026-08-30 11:17:36','2026-08-30 11:17:36'),(5,'01M19678JY6GRVJ4CDZC77RBSX','Apotek Srikandi Care','apotek-srikandi-care','PT Srikandi Care Indonesia','active','approved','care@srikandicare.id','031-555-0505',NULL,10.00,'2026-08-30 11:17:36','2026-08-30 11:17:36');
/*!40000 ALTER TABLE `tenants` 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,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(24) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `avatar_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notify_in_app` tinyint(1) NOT NULL DEFAULT '1',
  `notify_email` tinyint(1) NOT NULL DEFAULT '1',
  `google_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `google_avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `platform_role` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'customer',
  `referral_code` varchar(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `users_email_unique` (`email`),
  UNIQUE KEY `users_phone_unique` (`phone`),
  UNIQUE KEY `users_referral_code_unique` (`referral_code`),
  UNIQUE KEY `users_google_id_unique` (`google_id`),
  KEY `users_platform_role_index` (`platform_role`)
) ENGINE=InnoDB AUTO_INCREMENT=13 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,'Pelanggan MeyaHealth','customer@meyahealth.test','081200000001',NULL,1,1,NULL,NULL,'customer','MEYASEHAT','2026-08-30 11:17:36','$2y$12$APDAgmtkFvP566IyxfYGTuhFxTyTP8N2JAdYqli5yylR2z2b0FDLG',NULL,'2026-08-30 11:17:36','2026-08-30 11:17:36'),(2,'Admin MeyaHealth','admin@meyahealth.test','081200000003',NULL,1,1,NULL,NULL,'super_admin','ADMINMEYA','2026-08-30 11:17:36','$2y$12$NgaE96OB/DnCJHvFojc9cemFO86fFzMtFWUHbzOOSCShBCh9xYex6',NULL,'2026-08-30 11:17:37','2026-08-30 11:17:37'),(3,'Owner Laut Sehat','owner.lautsehat@meyahealth.test','081210000001',NULL,1,1,NULL,NULL,'pharmacy','OWNERLAUT','2026-08-30 11:17:37','$2y$12$1ZNGBiCXBk75AciMfigDhOxk1OVLV5EijDoQ5P0vIDiQuUnGyE5Ca',NULL,'2026-08-30 11:17:37','2026-08-30 11:17:37'),(4,'Owner Bumi Medika','owner.bumimedika@meyahealth.test','081210000002',NULL,1,1,NULL,NULL,'pharmacy','OWNERBUMI','2026-08-30 11:17:37','$2y$12$FsZRGta31Ap4.MKt6MvhL.JHXXgV5HbL6uxeO2B6FAQv6qN7GpBwm',NULL,'2026-08-30 11:17:37','2026-08-30 11:17:37'),(5,'Owner Nusantara Farma','owner.nusantarafarma@meyahealth.test','081210000003',NULL,1,1,NULL,NULL,'pharmacy','OWNERNUSA','2026-08-30 11:17:37','$2y$12$V75Rgg9BlzqfSk6Y80Sz3OTGqxvVTu/PzSPwhr1O2wUG7hevBnfTy',NULL,'2026-08-30 11:17:37','2026-08-30 11:17:37'),(6,'Owner Klinik Farma','owner.klinikfarma@meyahealth.test','081210000004',NULL,1,1,NULL,NULL,'pharmacy','OWNERKLINIK','2026-08-30 11:17:37','$2y$12$uXZcRVEdDZ4Xig5cm3Ycqenm.RIsH8ojogkUWTwMK5QWZVicGUPNS',NULL,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(7,'Owner Srikandi Care','owner.srikandi@meyahealth.test','081210000005',NULL,1,1,NULL,NULL,'pharmacy','OWNERSRIKANDI','2026-08-30 11:17:38','$2y$12$3AxEq6zYSzjOO09uQJxpqOCk5l4sBvnjeuYbM3HO2MeUS1ji.4W0i',NULL,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(8,'dr. Nadia Samudra, Sp.PD','dokter@meyahealth.test','081200000004',NULL,1,1,NULL,NULL,'doctor','DRNADIA','2026-08-30 11:17:38','$2y$12$ft/pC.SySAe1mjMvWsLFUef6itYIsBRNRKEZliHIYoLkrJxwwt5Nm',NULL,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(9,'dr. Raka Pratama, Sp.A','dokter.anak@meyahealth.test','081200000005',NULL,1,1,NULL,NULL,'doctor','DOKTERANAK','2026-08-30 11:17:38','$2y$12$o0yAysilFhywUvk.R.DvkutEdLnPq7VLElqOrnIJN.Tl9tZY1a3tW',NULL,'2026-08-30 11:17:38','2026-08-30 11:17:38'),(10,'dr. Maya Kirana, Sp.DV','dokter.kulit@meyahealth.test','081200000006',NULL,1,1,NULL,NULL,'doctor','DOKTERKULIT','2026-08-30 11:17:38','$2y$12$2WTSD1XQdSspb0H6zCjttOC2Uzj4qiGPm.MFwDOaSqCYk197.5pd.',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(11,'dr. Satria Wijaya, M.Gizi','dokter.gizi@meyahealth.test','081200000007',NULL,1,1,NULL,NULL,'doctor','DOKTERGIZI','2026-08-30 11:17:39','$2y$12$gWauiJZvvpmV8vRE0OFtnOpiaXirjd5wBvoS22BlEmmYyT6xS4O3K',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39'),(12,'dr. Lestari Amalia','dokter.umum@meyahealth.test','081200000008',NULL,1,1,NULL,NULL,'doctor','DOKTERUMUM','2026-08-30 11:17:39','$2y$12$PRdDrYMiM.uLTpKfYJ/EEucT789HZSF1cIuZMXY0fYXA5GfrNZcsW',NULL,'2026-08-30 11:17:39','2026-08-30 11:17:39');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `withdrawal_requests`
--

DROP TABLE IF EXISTS `withdrawal_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `withdrawal_requests` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` bigint unsigned NOT NULL,
  `tenant_bank_account_id` bigint unsigned NOT NULL,
  `requested_by` bigint unsigned NOT NULL,
  `reviewed_by` bigint unsigned DEFAULT NULL,
  `processed_by` bigint unsigned DEFAULT NULL,
  `reserve_ledger_entry_id` bigint unsigned DEFAULT NULL,
  `withdrawal_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `idempotency_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` bigint unsigned NOT NULL,
  `currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IDR',
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `payout_provider` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'manual',
  `payout_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `proof_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `request_note` text COLLATE utf8mb4_unicode_ci,
  `review_note` text COLLATE utf8mb4_unicode_ci,
  `failure_reason` text COLLATE utf8mb4_unicode_ci,
  `requested_at` timestamp NOT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `processing_started_at` timestamp NULL DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `reversed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `withdrawal_requests_withdrawal_number_unique` (`withdrawal_number`),
  UNIQUE KEY `withdrawal_requests_idempotency_key_unique` (`idempotency_key`),
  KEY `withdrawal_requests_tenant_bank_account_id_foreign` (`tenant_bank_account_id`),
  KEY `withdrawal_requests_requested_by_foreign` (`requested_by`),
  KEY `withdrawal_requests_reviewed_by_foreign` (`reviewed_by`),
  KEY `withdrawal_requests_processed_by_foreign` (`processed_by`),
  KEY `withdrawal_requests_reserve_ledger_entry_id_foreign` (`reserve_ledger_entry_id`),
  KEY `withdrawal_requests_tenant_id_status_requested_at_index` (`tenant_id`,`status`,`requested_at`),
  CONSTRAINT `withdrawal_requests_processed_by_foreign` FOREIGN KEY (`processed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `withdrawal_requests_requested_by_foreign` FOREIGN KEY (`requested_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `withdrawal_requests_reserve_ledger_entry_id_foreign` FOREIGN KEY (`reserve_ledger_entry_id`) REFERENCES `financial_ledger_entries` (`id`) ON DELETE SET NULL,
  CONSTRAINT `withdrawal_requests_reviewed_by_foreign` FOREIGN KEY (`reviewed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `withdrawal_requests_tenant_bank_account_id_foreign` FOREIGN KEY (`tenant_bank_account_id`) REFERENCES `tenant_bank_accounts` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `withdrawal_requests_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `withdrawal_requests`
--

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

--
-- Dumping events for database 'meyahealth_refactor_export'
--

--
-- Dumping routines for database 'meyahealth_refactor_export'
--
SET @@SESSION.SQL_LOG_BIN = @MYSQLDUMP_TEMP_LOG_BIN;
/*!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-30 22:18:30
