-- Table structure for `homepage_section_items`

CREATE TABLE `homepage_section_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `section_id` int NOT NULL,
  `item_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ref_id` int DEFAULT NULL,
  `label` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sublabel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `image_media_id` int DEFAULT NULL,
  `link_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `button_text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sort_order` int NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) NOT NULL DEFAULT '1',
  `extra_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_homepage_section_items_section_id` (`section_id`),
  KEY `idx_homepage_section_items_sort_order` (`section_id`,`sort_order`),
  KEY `idx_homepage_section_items_ref_id` (`item_type`,`ref_id`),
  KEY `idx_homepage_section_items_image_media` (`image_media_id`),
  CONSTRAINT `fk_homepage_section_items_image_media` FOREIGN KEY (`image_media_id`) REFERENCES `media` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `fk_homepage_section_items_section` FOREIGN KEY (`section_id`) REFERENCES `homepage_sections` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `homepage_section_items` (`id`, `section_id`, `item_type`, `ref_id`, `label`, `sublabel`, `image_media_id`, `link_url`, `button_text`, `sort_order`, `is_enabled`, `extra_json`) VALUES
('1', '1', 'category', '40', 'Polos', NULL, NULL, NULL, NULL, '1', '1', '{}'),
('2', '1', 'category', '38', 'Women', NULL, NULL, NULL, NULL, '2', '1', '{}'),
('3', '1', 'category', '37', 'Jeans', NULL, NULL, NULL, NULL, '3', '1', '{}'),
('4', '1', 'category', '36', 'Bottoms', NULL, NULL, NULL, NULL, '4', '1', '{}'),
('5', '1', 'category', '39', 'Abayas', NULL, NULL, NULL, NULL, '5', '1', '{}'),
('6', '1', 'category', '35', 'Hoodies', NULL, NULL, NULL, NULL, '6', '1', '{}'),
('7', '1', 'category', '33', 'T-Shirts', NULL, NULL, NULL, NULL, '7', '1', '{}'),
('8', '1', 'category', '1', 'Shop', NULL, NULL, NULL, NULL, '8', '1', '{}'),
('9', '1', 'category', '11', 'Cart Category', NULL, NULL, NULL, NULL, '9', '1', '{}'),
('10', '1', 'category', '12', 'Cat 4', NULL, NULL, NULL, NULL, '10', '1', '{}'),
('11', '1', 'category', '32', 'Men', NULL, NULL, NULL, NULL, '11', '1', '{}'),
('12', '1', 'category', '27', 'Accessories', NULL, NULL, NULL, NULL, '12', '1', '{}');

-- --------------------------------------------------------
-- Table structure for `homepage_sections`

CREATE TABLE `homepage_sections` (
  `id` int NOT NULL AUTO_INCREMENT,
  `homepage_id` int NOT NULL,
  `section_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `section_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `section_name` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int NOT NULL DEFAULT '0',
  `is_enabled` tinyint(1) NOT NULL DEFAULT '1',
  `visibility_desktop` tinyint(1) NOT NULL DEFAULT '1',
  `visibility_tablet` tinyint(1) NOT NULL DEFAULT '1',
  `visibility_mobile` tinyint(1) NOT NULL DEFAULT '1',
  `layout_mode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'boxed',
  `container_width` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'normal',
  `background_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none',
  `background_color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `background_image_media_id` int DEFAULT NULL,
  `background_gradient` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `text_color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `heading_color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subheading_color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `accent_color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `padding_top` int NOT NULL DEFAULT '24',
  `padding_bottom` int NOT NULL DEFAULT '24',
  `margin_top` int NOT NULL DEFAULT '0',
  `margin_bottom` int NOT NULL DEFAULT '0',
  `border_radius` int NOT NULL DEFAULT '0',
  `box_shadow` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `custom_css_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `config_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_homepage_sections_section_code` (`section_code`),
  KEY `idx_homepage_sections_homepage_id` (`homepage_id`),
  KEY `idx_homepage_sections_sort_order` (`homepage_id`,`sort_order`),
  KEY `idx_homepage_sections_enabled` (`homepage_id`,`is_enabled`),
  KEY `idx_homepage_sections_bg_media` (`background_image_media_id`),
  CONSTRAINT `fk_homepage_sections_bg_media` FOREIGN KEY (`background_image_media_id`) REFERENCES `media` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `fk_homepage_sections_homepage` FOREIGN KEY (`homepage_id`) REFERENCES `homepage_configs` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `homepage_sections` (`id`, `homepage_id`, `section_code`, `section_type`, `section_name`, `sort_order`, `is_enabled`, `visibility_desktop`, `visibility_tablet`, `visibility_mobile`, `layout_mode`, `container_width`, `background_type`, `background_color`, `background_image_media_id`, `background_gradient`, `text_color`, `heading_color`, `subheading_color`, `accent_color`, `padding_top`, `padding_bottom`, `margin_top`, `margin_bottom`, `border_radius`, `box_shadow`, `custom_css_class`, `config_json`) VALUES
('1', '1', 'category-showcase-1776858176050', 'category_showcase', 'Category Showcase', '4', '1', '1', '1', '1', 'full', 'full', 'gradient', '#ffffff', '11', NULL, '#334155', '#111827', '#64748b', '#2563eb', '24', '24', '0', '0', '11', 'none', NULL, '{"title":"Shop by Category","subtitle":"Browse our collections","description":"","showSearch":false,"searchPlaceholder":"Search categories","sourceType":"latest","layout":"grid","desktopColumns":"10","tabletColumns":"5","mobileColumns":"3","maxItems":"99","showButton":true,"buttonText":"View All Categories","buttonLink":"/shop","titleStyle":{"fontSize":"10","fontWeight":"599"},"categoryThemeStyle":"small_modern","taxonomyThemeStyle":"mini_logo_strip","button":{"text":"View More","style":"ghost","bgColor":"#0284c7","textColor":"#0284c7","borderColor":"transparent","borderRadius":8,"paddingX":0,"paddingY":0}}'),
('2', '1', 'product-showcase-1776858286012', 'product_showcase', 'Product Showcase', '5', '1', '1', '1', '1', 'full', 'full', 'none', '#0a0a0a', NULL, NULL, '#ffffff', '#ffffff', '#64748b', '#2563eb', '24', '24', '0', '0', '16', 'none', NULL, '{"title":"Featured Products","subtitle":"Top picks for you","description":"","showSearch":true,"searchPlaceholder":"Search products","sourceType":"category","layout":"carousel","desktopColumns":6,"tabletColumns":3,"mobileColumns":2,"maxItems":12,"showPrice":true,"showSalePrice":true,"showAddToCart":true,"buttonText":"View All","buttonLink":"/shop","selectedCategoryIds":[26],"showStockStatus":true,"showCategory":true,"showBrand":true,"showStockQuantity":true}'),
('11', '1', 'banner-with-products-1779696532418', 'banner_with_products', 'Banner With Products', '3', '1', '1', '1', '1', 'full', 'full', 'none', '#ffffff', NULL, NULL, '#334155', '#111827', '#64748b', '#2563eb', '24', '24', '0', '0', '20', 'none', NULL, '{"comboLayout":"banner_left","bannerMode":"slider","bannerWidth":42,"productsWidth":58,"sectionGap":20,"bannerRadius":22,"minHeight":360,"autoplay":true,"autoplaySpeed":3500,"showDots":true,"showArrows":true,"slidesCount":3,"slides":[{"title":"Featured Collection","subtitle":"Fresh picks","description":"Pair a rich banner with selected products in the same section.","imageMediaId":"","imageUrl":"","overlayEnabled":true,"overlayColor":"#000000","overlayOpacity":0.35,"textAlign":"left","contentPosition":"center-left","titleStyle":{"color":"#ffffff","align":"left","fontSize":34,"fontWeight":900,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"subtitleStyle":{"color":"#ffffff","align":"left","fontSize":18,"fontWeight":700,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"descriptionStyle":{"color":"#f8fafc","align":"left","fontSize":14,"fontWeight":500,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.5,"textShadow":"none"},"button":{"enabled":true,"text":"Shop Now","link":"/shop","newTab":false,"style":"solid","bgColor":"#2563eb","textColor":"#ffffff","borderColor":"#2563eb","borderRadius":12,"paddingX":18,"paddingY":12,"fontSize":14,"fontWeight":800,"shadow":"none"},"slideRadius":22,"minHeightDesktop":380,"minHeightTablet":320,"minHeightMobile":220},{"title":"Advertisement Title","subtitle":"Short subtitle","description":"Promotion description goes here.","imageMediaId":"","imageUrl":"","overlayEnabled":true,"overlayColor":"#000000","overlayOpacity":0.35,"textAlign":"left","contentPosition":"center-left","titleStyle":{"color":"#ffffff","align":"left","fontSize":34,"fontWeight":900,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"subtitleStyle":{"color":"#ffffff","align":"left","fontSize":18,"fontWeight":700,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"descriptionStyle":{"color":"#f8fafc","align":"left","fontSize":14,"fontWeight":500,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.5,"textShadow":"none"},"button":{"enabled":true,"text":"Shop Now","link":"/shop","newTab":false,"style":"solid","bgColor":"#2563eb","textColor":"#ffffff","borderColor":"#2563eb","borderRadius":12,"paddingX":18,"paddingY":12,"fontSize":14,"fontWeight":800,"shadow":"none"},"slideRadius":22,"minHeightDesktop":380,"minHeightTablet":320,"minHeightMobile":220},{"title":"Advertisement Title","subtitle":"Short subtitle","description":"Promotion description goes here.","imageMediaId":"","imageUrl":"","overlayEnabled":true,"overlayColor":"#000000","overlayOpacity":0.35,"textAlign":"left","contentPosition":"center-left","titleStyle":{"color":"#ffffff","align":"left","fontSize":34,"fontWeight":900,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"subtitleStyle":{"color":"#ffffff","align":"left","fontSize":18,"fontWeight":700,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"descriptionStyle":{"color":"#f8fafc","align":"left","fontSize":14,"fontWeight":500,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.5,"textShadow":"none"},"button":{"enabled":true,"text":"Shop Now","link":"/shop","newTab":false,"style":"solid","bgColor":"#2563eb","textColor":"#ffffff","borderColor":"#2563eb","borderRadius":12,"paddingX":18,"paddingY":12,"fontSize":14,"fontWeight":800,"shadow":"none"},"slideRadius":22,"minHeightDesktop":380,"minHeightTablet":320,"minHeightMobile":220}],"sourceType":"category","productLayout":"carousel","desktopColumns":"4","tabletColumns":"3","mobileColumns":"2","maxItems":"15","cardRadius":16,"cardBg":"#ffffff","cardBorderColor":"#e2e8f0","cardShadow":"soft","imageRadius":14,"showPrice":true,"showSalePrice":true,"showBrand":true,"showCategory":true,"priceColor":"#111827","salePriceColor":"#dc2626","button":{"enabled":true,"text":"Shop Collection","link":"/shop","newTab":false,"style":"solid","bgColor":"#2563eb","textColor":"#ffffff","borderColor":"#2563eb","borderRadius":12,"paddingX":18,"paddingY":12,"fontSize":14,"fontWeight":800,"shadow":"none"},"sliderMode":"three","selectedCategoryIds":[26],"showStockStatus":true,"showStockQuantity":true}'),
('14', '1', 'dynamic-product-banner-1784722346353', 'dynamic_product_banner', 'Dynamic Product Banner', '2', '1', '1', '1', '1', 'boxed', 'normal', 'none', '#ffffff', NULL, NULL, '#334155', '#111827', '#64748b', '#2563eb', '24', '24', '0', '0', '20', 'none', NULL, '{"title":"Made in Pakistan","subtitle":"Fresh local picks","description":"","theme":"soft_green","bgDesktopMediaId":318,"bgTabletMediaId":316,"bgMobileMediaId":317,"bgDesktopUrl":"/uploads/1782487353164-346670546.png","bgTabletUrl":"/uploads/1782487297495-194934475.png","bgMobileUrl":"/uploads/1782487319377-129352508.jpg","bgFit":"cover","bgPosition":"center","overlayColor":"#ffffff","overlayOpacity":0.18,"animationStyle":"float","layout":"text_top_products_bottom","sourceType":"category","selectedCategoryIds":[26],"selectedCollectionIds":[],"maxItems":8,"desktopProductCount":4,"tabletProductCount":3,"mobileProductCount":2,"sectionHeightDesktop":520,"sectionHeightTablet":500,"sectionHeightMobile":540,"maxWidth":1180,"contentGap":18,"borderRadius":24,"textPosition":"top_center","productPosition":"bottom","titleStyle":{"color":"#ffffff","align":"center","fontSize":46,"fontWeight":950,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"subtitleStyle":{"color":"#f8fafc","align":"center","fontSize":16,"fontWeight":800,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"cardStyle":"glass","cardBg":"#ffffff","cardBorderColor":"#eef2f7","cardRadius":18,"cardShadow":"soft","productImageSize":150,"productCardMinHeight":250,"priceColor":"#111827","oldPriceColor":"#94a3b8","discountBg":"#e0f2fe","discountColor":"#0369a1","showProductImage":true,"showProductName":true,"showSellingPrice":true,"showOldPrice":true,"showDiscount":true,"showQuantitySelector":true,"showAddToCart":true,"showCategoryName":true,"showCollectionName":true,"showProductBadge":true,"showStockStatus":true,"button":{"enabled":true,"text":"Shop Now","link":"/shop","newTab":false,"style":"solid","bgColor":"#22c55e","textColor":"#ffffff","borderColor":"#22c55e","borderRadius":999,"paddingX":18,"paddingY":12,"fontSize":14,"fontWeight":800,"shadow":"none"},"themeColors":{"background":"#dff6e8","accent":"#57c785","text":"#0f172a","card":"#ffffff"}}'),
('15', '1', 'grouped-items-1784736458721', 'grouped_items', 'Grouped Items', '1', '1', '1', '1', '1', 'boxed', 'normal', 'none', '#ffffff', NULL, NULL, '#334155', '#111827', '#64748b', '#2563eb', '24', '24', '0', '0', '20', 'none', NULL, '{"title":"Grouped Items","subtitle":"Better value bundles","description":"","titleStyle":{"color":"#111827","align":"left","fontSize":28,"fontWeight":900,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"subtitleStyle":{"color":"#64748b","align":"left","fontSize":14,"fontWeight":500,"italic":false,"underline":false,"uppercase":false,"letterSpacing":0,"lineHeight":1.4,"textShadow":"none"},"headerAlign":"left","layout":"carousel","desktopColumns":3,"tabletColumns":2,"mobileColumns":1,"maxItems":8,"cardRadius":18,"cardBg":"#ffffff","cardBorderColor":"#e2e8f0","cardShadow":"soft","button":{"enabled":true,"text":"View Shop","link":"/shop","newTab":false,"style":"solid","bgColor":"#2563eb","textColor":"#ffffff","borderColor":"#2563eb","borderRadius":12,"paddingX":18,"paddingY":12,"fontSize":14,"fontWeight":800,"shadow":"none"},"sourceType":"latest"}');

-- --------------------------------------------------------
-- Table structure for `important_pages`

CREATE TABLE `important_pages` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `page_key` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(160) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(160) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `show_in_main_menu` tinyint(1) NOT NULL DEFAULT '0',
  `show_in_footer` tinyint(1) NOT NULL DEFAULT '1',
  `hero_enabled` tinyint(1) NOT NULL DEFAULT '1',
  `hero_title` varchar(220) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hero_subtitle` text COLLATE utf8mb4_unicode_ci,
  `hero_bg_media_id` bigint DEFAULT NULL,
  `hero_bg_color` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#0f172a',
  `hero_gradient_from` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#0f172a',
  `hero_gradient_to` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#2563eb',
  `hero_overlay_color` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#000000',
  `hero_overlay_opacity` decimal(4,2) NOT NULL DEFAULT '0.45',
  `page_heading` varchar(220) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `heading_text_color` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#0f172a',
  `heading_text_size` int NOT NULL DEFAULT '42',
  `content_layout` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'boxed',
  `body_html` mediumtext COLLATE utf8mb4_unicode_ci,
  `sort_order` int NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_important_pages_key` (`page_key`),
  UNIQUE KEY `uq_important_pages_slug` (`slug`),
  KEY `idx_important_pages_active` (`is_active`,`sort_order`),
  KEY `idx_important_pages_media` (`hero_bg_media_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `important_pages` (`id`, `page_key`, `title`, `slug`, `is_active`, `show_in_main_menu`, `show_in_footer`, `hero_enabled`, `hero_title`, `hero_subtitle`, `hero_bg_media_id`, `hero_bg_color`, `hero_gradient_from`, `hero_gradient_to`, `hero_overlay_color`, `hero_overlay_opacity`, `page_heading`, `heading_text_color`, `heading_text_size`, `content_layout`, `body_html`, `sort_order`) VALUES
('1', 'about-us', '', 'about-us', '1', '1', '1', '0', 'About Us', 'Learn more about our store, values, and service.', NULL, '#0f172a', '#0f172a', '#2563eb', '#000000', '0.45', 'About Us', '#0f172a', '42', 'full', '\n<section style="width:100%; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; background:#f7f8f4; color:#1f2933; box-sizing:border-box;">\n\n  <!-- Hero Section -->\n  <div style="width:100%; background:linear-gradient(135deg, #143d2b 0%, #1f5c3b 55%, #d7a742 100%); padding:70px 18px; box-sizing:border-box; text-align:center;">\n    <div style="max-width:1100px; margin:0 auto;">\n      <p style="margin:0 0 12px; font-size:14px; letter-spacing:2px; text-transform:uppercase; color:#f7e7b2; font-weight:700;">\n        About Afzal Wholesaler\n      </p>\n\n      <h1 style="margin:0; font-size:clamp(32px, 5vw, 56px); line-height:1.15; color:#ffffff; font-weight:800;">\n        Trusted Wholesale Partner for Businesses\n      </h1>\n\n      <p style="max-width:850px; margin:22px auto 0; font-size:clamp(16px, 2vw, 20px); line-height:1.8; color:#f2f7f0;">\n        Afzal Wholesaler is the online and offline wholesale arm of Afzal Traders, serving businesses with quality FMCG products at competitive prices.\n      </p>\n    </div>\n  </div>\n\n  <!-- Main Content -->\n  <div style="max-width:1180px; margin:0 auto; padding:55px 18px; box-sizing:border-box;">\n\n    <!-- Intro Card -->\n    <div style="background:#ffffff; border-radius:24px; padding:clamp(24px, 5vw, 48px); box-shadow:0 18px 45px rgba(0,0,0,0.08); border:1px solid rgba(20,61,43,0.08); box-sizing:border-box;">\n      <h2 style="margin:0 0 18px; font-size:clamp(26px, 4vw, 40px); line-height:1.25; color:#143d2b; font-weight:800;">\n        Serving Retailers, Shopkeepers & Business Clients\n      </h2>\n\n      <p style="margin:0 0 18px; font-size:17px; line-height:1.9; color:#4b5563;">\n        We operate exclusively in the B2B sector, supplying retailers, shopkeepers, and business clients across Dina and surrounding areas.\n      </p>\n\n      <p style="margin:0; font-size:17px; line-height:1.9; color:#4b5563;">\n        Our mission remains simple: deliver top-quality products, competitive rates, and reliable service to our business partners.\n      </p>\n    </div>\n\n    <!-- Journey Timeline -->\n    <div style="display:flex; flex-wrap:wrap; gap:24px; margin-top:34px; box-sizing:border-box;">\n\n      <div style="flex:1 1 280px; background:#143d2b; border-radius:22px; padding:32px; box-sizing:border-box; color:#ffffff; box-shadow:0 14px 35px rgba(20,61,43,0.22);">\n        <div style="font-size:42px; font-weight:900; color:#d7a742; margin-bottom:12px;">\n          1992\n        </div>\n        <h3 style="margin:0 0 12px; font-size:22px; line-height:1.35; color:#ffffff;">\n          The Beginning\n        </h3>\n        <p style="margin:0; font-size:16px; line-height:1.8; color:#e8f0ea;">\n          Afzal Traders started as a distribution business, building trust and strong relationships with local retailers.\n        </p>\n      </div>\n\n      <div style="flex:1 1 280px; background:#ffffff; border-radius:22px; padding:32px; box-sizing:border-box; border:1px solid rgba(20,61,43,0.10); box-shadow:0 14px 35px rgba(0,0,0,0.07);">\n        <div style="font-size:42px; font-weight:900; color:#d7a742; margin-bottom:12px;">\n          2008\n        </div>\n        <h3 style="margin:0 0 12px; font-size:22px; line-height:1.35; color:#143d2b;">\n          Wholesale Expansion\n        </h3>\n        <p style="margin:0; font-size:16px; line-height:1.8; color:#4b5563;">\n          We expanded into Ghalla Mandi, Dina, launching complete wholesale operations to better serve the growing market.\n        </p>\n      </div>\n\n      <div style="flex:1 1 280px; background:#ffffff; border-radius:22px; padding:32px; box-sizing:border-box; border:1px solid rgba(20,61,43,0.10); box-shadow:0 14px 35px rgba(0,0,0,0.07);">\n        <div style="font-size:42px; font-weight:900; color:#d7a742; margin-bottom:12px;">\n          Today\n        </div>\n        <h3 style="margin:0 0 12px; font-size:22px; line-height:1.35; color:#143d2b;">\n          Tradition Meets Technology\n        </h3>\n        <p style="margin:0; font-size:16px; line-height:1.8; color:#4b5563;">\n          Afzal Traders continues its physical wholesale store, while Afzal Wholesaler offers convenient online ordering.\n        </p>\n      </div>\n\n    </div>\n\n    <!-- Feature Cards -->\n    <div style="margin-top:42px; display:flex; flex-wrap:wrap; gap:24px; box-sizing:border-box;">\n\n      <div style="flex:1 1 260px; background:#ffffff; border-radius:22px; padding:30px; box-sizing:border-box; border:1px solid rgba(215,167,66,0.35); box-shadow:0 12px 30px rgba(0,0,0,0.06);">\n        <div style="width:56px; height:56px; border-radius:16px; background:#f4ead0; display:flex; align-items:center; justify-content:center; font-size:28px; margin-bottom:18px;">\n          🚚\n        </div>\n        <h3 style="margin:0 0 12px; font-size:21px; color:#143d2b; line-height:1.35;">\n          Local Focus, Swift Service\n        </h3>\n        <p style="margin:0; font-size:16px; line-height:1.8; color:#4b5563;">\n          Proudly serving Dina city and its surroundings, we guarantee delivery within 48 hours. Orders placed after midnight are delivered the very next day, ensuring freshness and punctuality.\n        </p>\n      </div>\n\n      <div style="flex:1 1 260px; background:#ffffff; border-radius:22px; padding:30px; box-sizing:border-box; border:1px solid rgba(215,167,66,0.35); box-shadow:0 12px 30px rgba(0,0,0,0.06);">\n        <div style="width:56px; height:56px; border-radius:16px; background:#f4ead0; display:flex; align-items:center; justify-content:center; font-size:28px; margin-bottom:18px;">\n          ✅\n        </div>\n        <h3 style="margin:0 0 12px; font-size:21px; color:#143d2b; line-height:1.35;">\n          Say Hello to Convenience\n        </h3>\n        <p style="margin:0; font-size:16px; line-height:1.8; color:#4b5563;">\n          Enjoy unlimited free deliveries to your store and easy returns as long as you have your invoice. Delivery charges are also waived for orders above ₨5,000.\n        </p>\n      </div>\n\n      <div style="flex:1 1 260px; background:#ffffff; border-radius:22px; padding:30px; box-sizing:border-box; border:1px solid rgba(215,167,66,0.35); box-shadow:0 12px 30px rgba(0,0,0,0.06);">\n        <div style="width:56px; height:56px; border-radius:16px; background:#f4ead0; display:flex; align-items:center; justify-content:center; font-size:28px; margin-bottom:18px;">\n          🛒\n        </div>\n        <h3 style="margin:0 0 12px; font-size:21px; color:#143d2b; line-height:1.35;">\n          Diverse Product Range\n        </h3>\n        <p style="margin:0; font-size:16px; line-height:1.8; color:#4b5563;">\n          Browse a versatile lineup that includes Pakistani brands, baby care, beverages, tea and coffee, personal care, spices and desserts, snacks, cleaning essentials, disposables, and plenty more.\n        </p>\n      </div>\n\n    </div>\n\n    <!-- Product Categories -->\n    <div style="margin-top:42px; background:#143d2b; border-radius:26px; padding:clamp(26px, 5vw, 46px); box-sizing:border-box; color:#ffffff; overflow:hidden;">\n      <h2 style="margin:0 0 16px; font-size:clamp(25px, 4vw, 38px); line-height:1.25; color:#ffffff; font-weight:800;">\n        Wholesale Products for Everyday Business Needs\n      </h2>\n\n      <p style="margin:0 0 26px; max-width:850px; font-size:17px; line-height:1.8; color:#e8f0ea;">\n        From daily-use FMCG items to essential retail supplies, Afzal Wholesaler helps shops and businesses stock reliable products with ease.\n      </p>\n\n      <div style="display:flex; flex-wrap:wrap; gap:12px; box-sizing:border-box;">\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Pakistani Brands</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Baby Care</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Beverages</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Tea & Coffee</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Personal Care</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Spices & Desserts</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Snacks</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Cleaning Essentials</span>\n        <span style="display:inline-block; padding:11px 16px; border-radius:999px; background:rgba(255,255,255,0.12); color:#ffffff; font-size:15px;">Disposables</span>\n      </div>\n    </div>\n\n    <!-- Contact CTA -->\n    <div style="margin-top:42px; background:#ffffff; border-radius:26px; padding:clamp(28px, 5vw, 48px); box-sizing:border-box; text-align:center; border:1px solid rgba(20,61,43,0.10); box-shadow:0 16px 38px rgba(0,0,0,0.07);">\n      <p style="margin:0 0 10px; font-size:14px; letter-spacing:2px; text-transform:uppercase; color:#d7a742; font-weight:800;">\n        Contact & Support\n      </p>\n\n      <h2 style="margin:0 0 16px; font-size:clamp(25px, 4vw, 38px); line-height:1.25; color:#143d2b; font-weight:800;">\n        Need Assistance With Your Order?\n      </h2>\n\n      <p style="max-width:720px; margin:0 auto 26px; font-size:17px; line-height:1.8; color:#4b5563;">\n        For orders, inquiries, or support, our team is ready to assist you with reliable wholesale service.\n      </p>\n\n      <a href="mailto:ch.afzal646@gmail.com" style="display:inline-block; text-decoration:none; background:#143d2b; color:#ffffff; padding:15px 26px; border-radius:999px; font-size:16px; font-weight:700; box-shadow:0 12px 28px rgba(20,61,43,0.25);">\n        Email: ch.afzal646@gmail.com\n      </a>\n    </div>\n\n  </div>\n</section>\n```\n', '10'),
('2', 'privacy-policy', 'Privacy Policy', 'privacy-policy', '1', '1', '1', '1', 'Privacy Policy', 'How customer data and privacy are handled.', NULL, '#0f172a', '#0f172a', '#2563eb', '#000000', '0.45', 'Privacy Policy', '#0f172a', '42', 'boxed', '<p>Write your Privacy Policy here.</p>', '20'),
('3', 'terms-and-conditions', 'Terms and Conditions', 'terms-and-conditions', '1', '1', '1', '1', 'Terms and Conditions', 'Store terms, order rules, and service conditions.', NULL, '#0f172a', '#0f172a', '#2563eb', '#000000', '0.45', 'Terms and Conditions', '#0f172a', '42', 'boxed', '<p>Write your Terms and Conditions here.</p>', '30');

-- --------------------------------------------------------
-- Table structure for `integration_api_clients`

CREATE TABLE `integration_api_clients` (
  `id` int NOT NULL AUTO_INCREMENT,
  `client_name` varchar(160) NOT NULL,
  `client_type` varchar(60) NOT NULL DEFAULT 'third_party',
  `api_key` varchar(80) NOT NULL,
  `secret_hash` varchar(128) NOT NULL,
  `bearer_token_hash` varchar(128) DEFAULT NULL,
  `refresh_token_hash` varchar(128) DEFAULT NULL,
  `status` enum('active','suspended','revoked') NOT NULL DEFAULT 'active',
  `allowed_ips` text,
  `allowed_branches` text,
  `rate_limit_per_hour` int NOT NULL DEFAULT '1000',
  `last_used_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `api_key` (`api_key`),
  KEY `idx_integration_clients_status` (`status`),
  KEY `idx_integration_clients_type` (`client_type`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `integration_api_clients` (`id`, `client_name`, `client_type`, `api_key`, `secret_hash`, `bearer_token_hash`, `refresh_token_hash`, `status`, `allowed_ips`, `allowed_branches`, `rate_limit_per_hour`, `last_used_at`) VALUES
('3', 'IPOS', 'POS', 'ik_480773ec8285ec78d8ed99493b57935237f4cfe4a9b16774', '619d7712b248a85bacde5b3029b1a01681404141e9c44e1049ed44c11e2dfde0', NULL, NULL, 'active', '', '', '1000', NULL);

-- --------------------------------------------------------
-- Table structure for `integration_api_endpoints`

CREATE TABLE `integration_api_endpoints` (
  `id` int NOT NULL AUTO_INCREMENT,
  `endpoint_path` varchar(190) NOT NULL,
  `http_method` varchar(12) NOT NULL DEFAULT 'POST',
  `engine_code` varchar(80) NOT NULL,
  `required_scope` varchar(120) DEFAULT NULL,
  `allowed_fields_json` json DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `description` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_integration_endpoint` (`endpoint_path`,`http_method`)
) ENGINE=InnoDB AUTO_INCREMENT=104 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `integration_api_endpoints` (`id`, `endpoint_path`, `http_method`, `engine_code`, `required_scope`, `allowed_fields_json`, `is_active`, `description`) VALUES
('1', '/api/v1/integration/auth/token', 'POST', 'auth', NULL, '["apiKey","apiSecret"]', '1', 'Issue bearer token for an API client.'),
('2', '/api/v1/integration/products', 'GET', 'products', 'Products.Read', '["sku","search","category","collection","status"]', '1', 'Read products and catalog data.'),
('3', '/api/v1/integration/products/update', 'POST', 'products', 'Products.UpdatePrice', '["sku","price","salePrice","stockQuantity","branchCode"]', '1', 'Update product price and stock by SKU.'),
('4', '/api/v1/integration/stock/update', 'POST', 'inventory', 'Products.UpdateStock', '["sku","stockQuantity","branchCode","operation"]', '1', 'Update product or branch stock by SKU.'),
('5', '/api/v1/integration/prices/update', 'POST', 'products', 'Products.UpdatePrice', '["sku","price","salePrice","costPrice"]', '1', 'Update product prices by SKU.'),
('6', '/api/v1/integration/orders', 'GET', 'orders', 'Orders.Read', '["from","to","status","order_status","payment_status","fulfillment_status","orderNo","search","limit"]', '1', 'Read and filter orders.'),
('7', '/api/v1/integration/customers', 'GET', 'customers', 'Customers.Read', '["search","status","group"]', '1', 'Read customers.'),
('8', '/api/v1/integration/invoices', 'GET', 'invoices', 'Invoices.Read', '["orderNo","invoiceNo"]', '1', 'Read invoices.'),
('9', '/api/v1/integration/webhooks/test', 'POST', 'webhooks', 'Webhooks.Test', '["eventType","payload"]', '1', 'Test webhook delivery.'),
('12', '/api/v1/integration/products', 'POST', 'products', 'Products.Create', '["sku","name","price","salePrice","stockQuantity","status","categoryIds","collectionIds"]', '1', 'Create products.'),
('13', '/api/v1/integration/products/{sku}', 'PUT', 'products', 'Products.Update', '["name","description","status","price","salePrice","stockQuantity","manageStock"]', '1', 'Update product master data by SKU.'),
('14', '/api/v1/integration/products/{sku}', 'DELETE', 'products', 'Products.Delete', '["sku"]', '1', 'Delete or archive products by SKU.'),
('18', '/api/v1/integration/wholesale/tiers', 'GET', 'wholesale', 'Wholesale.PriceTiers.Read', '["sku","collectionCode","customerGroup"]', '1', 'Read wholesale price tiers.'),
('19', '/api/v1/integration/wholesale/tiers', 'POST', 'wholesale', 'Wholesale.PriceTiers.Update', '["sku","collectionCode","minQty","price","discountType","discountValue"]', '1', 'Create or update wholesale tiers.'),
('21', '/api/v1/integration/orders', 'POST', 'orders', 'Orders.Create', '["customer","items","payment","shipping","remarks"]', '1', 'Create orders.'),
('22', '/api/v1/integration/orders/{id}', 'PUT', 'orders', 'Orders.Update', '["order_status","payment_status","fulfillment_status","remarks","is_customer_visible"]', '1', 'Update order workflow statuses.'),
('24', '/api/v1/integration/customers', 'POST', 'customers', 'Customers.Create', '["name","phone","email","addresses","status"]', '1', 'Create customers.'),
('25', '/api/v1/integration/customers/{id}', 'PUT', 'customers', 'Customers.Update', '["name","phone","email","status","group"]', '1', 'Update customers.'),
('27', '/api/v1/integration/payments', 'GET', 'payments', 'Payments.Read', '["orderNo","status","from","to"]', '1', 'Read payments.'),
('28', '/api/v1/integration/payments/update', 'POST', 'payments', 'Payments.Update', '["orderNo","paymentStatus","transactionId","amount"]', '1', 'Update payment state.'),
('29', '/api/v1/integration/collections', 'GET', 'catalog', 'Collections.Read', '["search","status"]', '1', 'Read collections.'),
('30', '/api/v1/integration/collections/{id}/products', 'POST', 'catalog', 'Collections.Update', '["sku","action"]', '1', 'Add or remove products from collections.'),
('31', '/api/v1/integration/branches/map', 'POST', 'branches', 'Branches.Map', '["externalBranchCode","branchCode","storeName"]', '1', 'Create or update branch/store mappings.'),
('32', '/api/v1/integration/reports/sales', 'GET', 'reports', 'Reports.Sales', '["from","to","branchCode","groupBy"]', '1', 'Read sales reporting data.'),
('33', '/api/v1/integration/files', 'POST', 'files', 'Files.Upload', '["fileName","contentType","base64"]', '1', 'Upload media or documents.'),
('35', '/api/v1/integration/categories', 'GET', 'catalog', 'Categories.Read', '["search","status"]', '1', 'Read categories.'),
('36', '/api/v1/integration/categories', 'POST', 'catalog', 'Categories.Update', '["name","slug","parentId","status"]', '1', 'Create categories.'),
('37', '/api/v1/integration/categories/{id}', 'PUT', 'catalog', 'Categories.Update', '["name","slug","parentId","status"]', '1', 'Update categories.'),
('38', '/api/v1/integration/brands', 'GET', 'catalog', 'Brands.Read', '["search","status"]', '1', 'Read brands.'),
('39', '/api/v1/integration/brands', 'POST', 'catalog', 'Brands.Update', '["name","slug","status"]', '1', 'Create brands.'),
('40', '/api/v1/integration/attributes', 'GET', 'catalog', 'Attributes.Read', '["search","type"]', '1', 'Read attributes and values.'),
('41', '/api/v1/integration/attributes', 'POST', 'catalog', 'Attributes.Update', '["name","code","values"]', '1', 'Create or update attributes.'),
('42', '/api/v1/integration/products/{sku}/status', 'POST', 'products', 'Products.UpdateStatus', '["sku","status"]', '1', 'Update product status.'),
('43', '/api/v1/integration/products/{sku}/seo', 'POST', 'products', 'Products.UpdateSeo', '["sku","slug","seoTitle","seoDescription"]', '1', 'Update product SEO.'),
('44', '/api/v1/integration/products/{sku}/images', 'POST', 'products', 'Products.UpdateImages', '["sku","imageUrls","mediaIds","replace"]', '1', 'Update product images.'),
('45', '/api/v1/integration/products/{sku}/attributes', 'POST', 'products', 'Products.UpdateAttributes', '["sku","attributes"]', '1', 'Update product attributes.'),
('46', '/api/v1/integration/products/{sku}/variations', 'POST', 'products', 'Products.UpdateVariations', '["sku","variations"]', '1', 'Create or update variations.'),
('47', '/api/v1/integration/products/{sku}/collections', 'POST', 'products', 'Products.UpdateCollections', '["sku","collectionIds","collectionCodes","action"]', '1', 'Attach or remove product collections.'),
('48', '/api/v1/integration/products/{sku}/categories', 'POST', 'products', 'Products.UpdateCategories', '["sku","categoryIds","categoryCodes","action"]', '1', 'Attach or remove product categories.'),
('49', '/api/v1/integration/products/{sku}/suppliers', 'POST', 'products', 'Products.UpdateSuppliers', '["sku","supplierIds","supplierCodes"]', '1', 'Update product suppliers.'),
('50', '/api/v1/integration/inventory/adjust', 'POST', 'inventory', 'Inventory.Adjust', '["sku","branchCode","quantity","reason","reference"]', '1', 'Post inventory adjustments.'),
('51', '/api/v1/integration/inventory/transfer', 'POST', 'inventory', 'Inventory.Transfer', '["sku","fromBranchCode","toBranchCode","quantity","reference"]', '1', 'Transfer inventory between branches.'),
('52', '/api/v1/integration/inventory/low-stock-rules', 'POST', 'inventory', 'Inventory.LowStockRules', '["sku","branchCode","lowStockThreshold"]', '1', 'Update low stock rules.'),
('53', '/api/v1/integration/wholesale/settings', 'GET', 'wholesale', 'Wholesale.Read', '["includeProductRules"]', '1', 'Read wholesale mode settings.'),
('54', '/api/v1/integration/wholesale/settings', 'PUT', 'wholesale', 'Wholesale.Settings', '["enabled","quantityIncrements","tierPricing","bulkOrder"]', '1', 'Update wholesale mode settings.'),
('55', '/api/v1/integration/wholesale/products/{sku}/rules', 'GET', 'wholesale', 'Wholesale.ProductRules.Read', '["sku"]', '1', 'Read product wholesale rules.'),
('56', '/api/v1/integration/wholesale/products/{sku}/rules', 'POST', 'wholesale', 'Wholesale.ProductRules.Update', '["sku","manageOwnTiers","minQty","increment","tiers"]', '1', 'Update product wholesale rules.'),
('57', '/api/v1/integration/wholesale/collections/{id}/rules', 'GET', 'wholesale', 'Wholesale.CollectionRules.Read', '["id"]', '1', 'Read collection wholesale rules.'),
('58', '/api/v1/integration/wholesale/collections/{id}/rules', 'POST', 'wholesale', 'Wholesale.CollectionRules.Update', '["collectionId","minQty","increment","tiers"]', '1', 'Update collection wholesale rules.'),
('59', '/api/v1/integration/wholesale/registrations', 'GET', 'wholesale', 'Wholesale.Registration.Read', '["status","from","to"]', '1', 'Read wholesale registration requests.'),
('60', '/api/v1/integration/wholesale/registrations/{id}/approve', 'POST', 'wholesale', 'Wholesale.Registration.Approve', '["id","status","remarks","customerGroup"]', '1', 'Approve or reject wholesale registration requests.'),
('61', '/api/v1/integration/orders/{id}/status', 'POST', 'orders', 'Orders.UpdateStatus', '["order_status","payment_status","fulfillment_status","remarks","is_customer_visible"]', '1', 'Change order, payment, and fulfillment statuses.'),
('62', '/api/v1/integration/orders/{id}/fulfillment', 'POST', 'orders', 'Orders.UpdateFulfillment', '["shipment_status","fulfillment_status","tracking_no","tracking_url","carrier_code","carrier_name","service_name","remarks","is_customer_visible"]', '1', 'Update dispatch, shipment status, carrier, and tracking information.'),
('63', '/api/v1/integration/orders/{id}/remarks', 'POST', 'orders', 'Orders.UpdateRemarks', '["remarks","is_customer_visible"]', '1', 'Add or replace integration-visible order remarks.'),
('64', '/api/v1/integration/orders/{id}/cancel', 'POST', 'orders', 'Orders.Cancel', '["reason","remarks","is_customer_visible"]', '1', 'Cancel an order through the integration API.'),
('65', '/api/v1/integration/orders/{id}/refund', 'POST', 'orders', 'Orders.Refund', '["id","amount","reason","paymentReference"]', '1', 'Create refund.'),
('66', '/api/v1/integration/orders/{id}/logs', 'GET', 'orders', 'Orders.Logs.Read', '["id"]', '1', 'Read order status and activity history.'),
('67', '/api/v1/integration/customers/{id}/approve', 'POST', 'customers', 'Customers.Approve', '["id","status","remarks"]', '1', 'Approve or reject customers.'),
('68', '/api/v1/integration/customers/{id}/addresses', 'GET', 'customers', 'Customers.Addresses.Read', '["id"]', '1', 'Read customer addresses.'),
('69', '/api/v1/integration/customers/{id}/addresses', 'POST', 'customers', 'Customers.Addresses.Update', '["id","addresses"]', '1', 'Update customer addresses.'),
('70', '/api/v1/integration/customers/{id}/groups', 'POST', 'customers', 'Customers.Groups.Update', '["id","groupCode","membershipTier"]', '1', 'Update customer groups.'),
('71', '/api/v1/integration/invoices', 'POST', 'invoices', 'Invoices.Create', '["orderNo","invoiceDate","items"]', '1', 'Create invoice.'),
('72', '/api/v1/integration/invoices/{id}', 'PUT', 'invoices', 'Invoices.Update', '["id","status","remarks"]', '1', 'Update invoice.'),
('73', '/api/v1/integration/invoices/{id}/download', 'GET', 'invoices', 'Invoices.Download', '["id","format"]', '1', 'Download invoice document.'),
('74', '/api/v1/integration/packaging-slips', 'GET', 'invoices', 'PackagingSlips.Read', '["orderNo","from","to"]', '1', 'Read packaging slips.'),
('75', '/api/v1/integration/packaging-slips/{id}/download', 'GET', 'invoices', 'PackagingSlips.Download', '["id","format"]', '1', 'Download packaging slip.'),
('76', '/api/v1/integration/payments', 'POST', 'payments', 'Payments.Create', '["orderNo","amount","method","transactionId"]', '1', 'Create payment.'),
('77', '/api/v1/integration/payments/{id}/refund', 'POST', 'payments', 'Payments.Refund', '["id","amount","reason"]', '1', 'Refund payment.'),
('78', '/api/v1/integration/branches', 'GET', 'branches', 'Branches.Read', '["search","status"]', '1', 'Read branches.'),
('79', '/api/v1/integration/branches/{code}/inventory', 'GET', 'branches', 'Branches.Inventory.Read', '["code","sku"]', '1', 'Read branch inventory.'),
('80', '/api/v1/integration/branches/{code}/inventory', 'POST', 'branches', 'Branches.Inventory.Update', '["code","sku","stockQuantity"]', '1', 'Update branch inventory.'),
('81', '/api/v1/integration/reports/inventory', 'GET', 'reports', 'Reports.Inventory', '["from","to","branchCode","groupBy"]', '1', 'Read inventory reports.'),
('82', '/api/v1/integration/reports/customers', 'GET', 'reports', 'Reports.Customers', '["from","to","groupBy"]', '1', 'Read customer reports.'),
('83', '/api/v1/integration/reports/wholesale', 'GET', 'reports', 'Reports.Wholesale', '["from","to","customerGroup"]', '1', 'Read wholesale reports.'),
('84', '/api/v1/integration/files', 'GET', 'files', 'Files.Read', '["search","type"]', '1', 'Read file metadata.'),
('85', '/api/v1/integration/files/{id}', 'DELETE', 'files', 'Files.Delete', '["id"]', '1', 'Delete uploaded file.'),
('86', '/api/v1/integration/webhooks', 'GET', 'webhooks', 'Webhooks.Read', '["eventType","status"]', '1', 'Read webhook configuration.'),
('87', '/api/v1/integration/webhooks', 'POST', 'webhooks', 'Webhooks.Manage', '["eventType","webhookUrl","secretKey","retryCount"]', '1', 'Create webhook configuration.'),
('88', '/api/v1/integration/webhooks/{id}/retry', 'POST', 'webhooks', 'Webhooks.Retry', '["id"]', '1', 'Retry webhook delivery.'),
('89', '/api/v1/integration/retry-queue', 'GET', 'integrations', 'Integration.Retry.Manage', '["status","clientId"]', '1', 'Read integration retry queue.'),
('90', '/api/v1/integration/retry-queue/{id}/retry', 'POST', 'integrations', 'Integration.Retry.Manage', '["id"]', '1', 'Retry failed integration job.'),
('91', '/api/v1/integration/logs', 'GET', 'integrations', 'Integration.Logs.Read', '["clientId","from","to","statusCode"]', '1', 'Read integration logs.'),
('92', '/api/v1/integration/mappings', 'GET', 'integrations', 'Integration.Mappings.Manage', '["clientId","mappingName"]', '1', 'Read field mappings.'),
('93', '/api/v1/integration/mappings', 'POST', 'integrations', 'Integration.Mappings.Manage', '["clientId","mappingName","sourceField","targetField"]', '1', 'Create field mappings.'),
('94', '/api/v1/integration/settings', 'GET', 'integrations', 'Integration.Settings.Manage', '["clientId"]', '1', 'Read integration settings.'),
('95', '/api/v1/integration/settings', 'PUT', 'integrations', 'Integration.Settings.Manage', '["clientId","rateLimit","allowedIps","allowedBranches"]', '1', 'Update integration settings.'),
('97', '/api/v1/integration/orders/{id}', 'GET', 'orders', 'Orders.Read', '["id"]', '1', 'Read a full order detail bundle by order id or order number.');

-- --------------------------------------------------------
-- Table structure for `integration_api_logs`

CREATE TABLE `integration_api_logs` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `request_id` varchar(80) NOT NULL,
  `client_id` int DEFAULT NULL,
  `api_key` varchar(80) DEFAULT NULL,
  `endpoint` varchar(190) NOT NULL,
  `method` varchar(12) NOT NULL,
  `status_code` int NOT NULL,
  `request_json` json DEFAULT NULL,
  `response_json` json DEFAULT NULL,
  `error_message` varchar(255) DEFAULT NULL,
  `ip_address` varchar(80) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_integration_logs_client` (`client_id`,`created_at`),
  KEY `idx_integration_logs_endpoint` (`endpoint`,`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `integration_api_logs`

-- --------------------------------------------------------
-- Table structure for `integration_api_scopes`

CREATE TABLE `integration_api_scopes` (
  `id` int NOT NULL AUTO_INCREMENT,
  `scope_code` varchar(120) NOT NULL,
  `scope_name` varchar(160) NOT NULL,
  `module_code` varchar(80) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `sort_order` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `scope_code` (`scope_code`)
) ENGINE=InnoDB AUTO_INCREMENT=103 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `integration_api_scopes` (`id`, `scope_code`, `scope_name`, `module_code`, `description`, `is_active`, `sort_order`) VALUES
('1', 'Products.Read', 'Read Products', 'products', 'Read product catalog data.', '1', '10'),
('2', 'Products.UpdatePrice', 'Update Product Prices', 'products', 'Update regular and sale prices by SKU.', '1', '20'),
('3', 'Products.UpdateStock', 'Update Product Stock', 'inventory', 'Update stock quantity by SKU.', '1', '201'),
('4', 'Orders.Read', 'Read Orders', 'orders', 'Read order data.', '1', '300'),
('5', 'Orders.Create', 'Create Orders', 'orders', 'Create orders through integration APIs.', '1', '301'),
('6', 'Customers.Read', 'Read Customers', 'customers', 'Read customer records.', '1', '400'),
('7', 'Customers.Create', 'Create Customers', 'customers', 'Create customer records.', '1', '401'),
('8', 'Invoices.Read', 'Read Invoices', 'invoices', 'Read invoices.', '1', '500'),
('9', 'Payments.Update', 'Update Payments', 'payments', 'Update payment states.', '1', '602'),
('10', 'Webhooks.Test', 'Test Webhooks', 'webhooks', 'Send webhook test payloads.', '1', '1102'),
('12', 'Products.Create', 'Create Products', 'products', 'Create simple or variable products.', '1', '11'),
('13', 'Products.Update', 'Update Products', 'products', 'Update product master data.', '1', '12'),
('14', 'Products.Delete', 'Delete Products', 'products', 'Delete products through integration APIs.', '1', '13'),
('15', 'Products.UpdateStatus', 'Update Product Status', 'products', 'Update product active, draft, hidden, or archived state.', '1', '14'),
('17', 'Products.UpdateSalePrice', 'Update Sale Price', 'products', 'Update sale price and sale schedules.', '1', '21'),
('18', 'Products.UpdateCost', 'Update Cost Price', 'products', 'Update product cost or purchase price.', '1', '22'),
('19', 'Products.UpdateSku', 'Update SKU', 'products', 'Update product SKU and SKU aliases.', '1', '23'),
('20', 'Products.UpdateImages', 'Update Product Images', 'products', 'Attach, replace, or remove product images.', '1', '24'),
('21', 'Products.UpdateSeo', 'Update Product SEO', 'products', 'Update SEO title, description, slug, and metadata.', '1', '25'),
('22', 'Products.UpdateAttributes', 'Update Product Attributes', 'products', 'Update product attributes and assigned attribute values.', '1', '26'),
('23', 'Products.UpdateVariations', 'Update Variations', 'products', 'Create or update variable product variations.', '1', '27'),
('24', 'Products.UpdateCollections', 'Update Product Collections', 'products', 'Attach or remove products from collections.', '1', '28'),
('25', 'Products.UpdateCategories', 'Update Product Categories', 'products', 'Attach or remove products from categories.', '1', '29'),
('26', 'Products.UpdateSuppliers', 'Update Product Suppliers', 'products', 'Update product supplier relationships.', '1', '30'),
('27', 'Products.UpdateBarcodeSku', 'Update Barcode/SKU', 'products', 'Update barcode-compatible SKU references where enabled.', '1', '31'),
('28', 'Wholesale.Read', 'Read Wholesale', 'wholesale', 'Read wholesale settings, tiers, and product rules.', '1', '100'),
('29', 'Wholesale.Settings', 'Wholesale Settings', 'wholesale', 'Change global wholesale settings.', '1', '101'),
('30', 'Wholesale.PriceTiers.Read', 'Read Wholesale Price Tiers', 'wholesale', 'Read wholesale price tiers and quantity breaks.', '1', '102'),
('31', 'Wholesale.PriceTiers.Update', 'Update Wholesale Price Tiers', 'wholesale', 'Create, update, or remove wholesale quantity price tiers.', '1', '103'),
('32', 'Wholesale.ProductRules.Read', 'Read Product Wholesale Rules', 'wholesale', 'Read per-product wholesale rules.', '1', '104'),
('33', 'Wholesale.ProductRules.Update', 'Update Product Wholesale Rules', 'wholesale', 'Change per-product wholesale mode, tier inheritance, and increments.', '1', '105'),
('34', 'Wholesale.CollectionRules.Read', 'Read Collection Wholesale Rules', 'wholesale', 'Read collection-based wholesale rules.', '1', '106'),
('35', 'Wholesale.CollectionRules.Update', 'Update Collection Wholesale Rules', 'wholesale', 'Change collection wholesale rules and product membership pricing behavior.', '1', '107'),
('36', 'Wholesale.Registration.Read', 'Read Wholesale Registrations', 'wholesale', 'Read wholesale registration requests.', '1', '108'),
('37', 'Wholesale.Registration.Approve', 'Approve Wholesale Registrations', 'wholesale', 'Approve or reject wholesale access requests.', '1', '109'),
('38', 'Inventory.Read', 'Read Inventory', 'inventory', 'Read stock, low-stock, and branch inventory data.', '1', '200'),
('40', 'Inventory.Adjust', 'Adjust Inventory', 'inventory', 'Post inventory adjustments.', '1', '202'),
('41', 'Inventory.Transfer', 'Transfer Inventory', 'inventory', 'Transfer stock between branches or stores.', '1', '203'),
('42', 'Inventory.ManageStockFlag', 'Manage Stock Flag', 'inventory', 'Enable or disable manage-stock behavior for products.', '1', '204'),
('43', 'Inventory.LowStockRules', 'Low Stock Rules', 'inventory', 'Read or update low-stock thresholds.', '1', '205'),
('46', 'Orders.Update', 'Update Orders', 'orders', 'Update order header, customer, and shipping data.', '1', '302'),
('47', 'Orders.UpdateStatus', 'Update Order Status', 'orders', 'Change order status and order workflow state.', '1', '303'),
('48', 'Orders.UpdateFulfillment', 'Update Fulfillment', 'orders', 'Update fulfillment and dispatch status.', '1', '304'),
('49', 'Orders.UpdateRemarks', 'Update Order Remarks', 'orders', 'Add or update order remarks and internal notes.', '1', '305'),
('50', 'Orders.Cancel', 'Cancel Orders', 'orders', 'Cancel orders through integration APIs.', '1', '306'),
('51', 'Orders.Refund', 'Refund Orders', 'orders', 'Create or update refund records.', '1', '307'),
('52', 'Orders.Logs.Read', 'Read Order Logs', 'orders', 'Read order history and activity logs.', '1', '308'),
('55', 'Customers.Update', 'Update Customers', 'customers', 'Update customer profiles.', '1', '402'),
('56', 'Customers.Delete', 'Delete Customers', 'customers', 'Delete customer records.', '1', '403'),
('57', 'Customers.Approve', 'Approve Customers', 'customers', 'Approve or reject customer registration requests.', '1', '404'),
('58', 'Customers.Addresses.Read', 'Read Customer Addresses', 'customers', 'Read customer address book data.', '1', '405'),
('59', 'Customers.Addresses.Update', 'Update Customer Addresses', 'customers', 'Create or update customer addresses.', '1', '406'),
('60', 'Customers.Groups.Update', 'Update Customer Groups', 'customers', 'Assign customer groups, tiers, or memberships.', '1', '407'),
('62', 'Invoices.Create', 'Create Invoices', 'invoices', 'Create invoices.', '1', '501'),
('63', 'Invoices.Update', 'Update Invoices', 'invoices', 'Update invoice metadata and status.', '1', '502'),
('64', 'Invoices.Download', 'Download Invoices', 'invoices', 'Download generated invoice documents.', '1', '503'),
('65', 'PackagingSlips.Read', 'Read Packaging Slips', 'invoices', 'Read packaging slip data.', '1', '504'),
('66', 'PackagingSlips.Download', 'Download Packaging Slips', 'invoices', 'Download generated packaging slips.', '1', '505'),
('67', 'Payments.Read', 'Read Payments', 'payments', 'Read payment records.', '1', '600'),
('68', 'Payments.Create', 'Create Payments', 'payments', 'Create payment records.', '1', '601'),
('70', 'Payments.Refund', 'Refund Payments', 'payments', 'Update refunds and payment reversals.', '1', '603'),
('71', 'Collections.Read', 'Read Collections', 'catalog', 'Read collections and product memberships.', '1', '700'),
('72', 'Collections.Create', 'Create Collections', 'catalog', 'Create collections.', '1', '701'),
('73', 'Collections.Update', 'Update Collections', 'catalog', 'Update collection details and filters.', '1', '702'),
('74', 'Collections.Delete', 'Delete Collections', 'catalog', 'Delete collections.', '1', '703'),
('75', 'Categories.Read', 'Read Categories', 'catalog', 'Read categories.', '1', '704'),
('76', 'Categories.Update', 'Update Categories', 'catalog', 'Create or update categories.', '1', '705'),
('77', 'Brands.Read', 'Read Brands', 'catalog', 'Read brands.', '1', '706'),
('78', 'Brands.Update', 'Update Brands', 'catalog', 'Create or update brands.', '1', '707'),
('79', 'Attributes.Read', 'Read Attributes', 'catalog', 'Read attributes and values.', '1', '708'),
('80', 'Attributes.Update', 'Update Attributes', 'catalog', 'Create or update attributes and values.', '1', '709'),
('81', 'Branches.Read', 'Read Branches', 'branches', 'Read branches and store mappings.', '1', '800'),
('82', 'Branches.Map', 'Map Branches', 'branches', 'Map external branch/store codes to internal branches.', '1', '801'),
('83', 'Branches.Inventory.Read', 'Read Branch Inventory', 'branches', 'Read branch-level stock.', '1', '802'),
('84', 'Branches.Inventory.Update', 'Update Branch Inventory', 'branches', 'Update branch-level stock.', '1', '803'),
('85', 'Reports.Read', 'Read Reports', 'reports', 'Read analytics and reporting data.', '1', '900'),
('86', 'Reports.Sales', 'Read Sales Reports', 'reports', 'Read sales reports.', '1', '901'),
('87', 'Reports.Inventory', 'Read Inventory Reports', 'reports', 'Read inventory reports.', '1', '902'),
('88', 'Reports.Customers', 'Read Customer Reports', 'reports', 'Read customer reports.', '1', '903'),
('89', 'Reports.Wholesale', 'Read Wholesale Reports', 'reports', 'Read wholesale analytics.', '1', '904'),
('90', 'Files.Read', 'Read Files', 'files', 'Read allowed media and document metadata.', '1', '1000'),
('91', 'Files.Upload', 'Upload Files', 'files', 'Upload media or document files through integration APIs.', '1', '1001'),
('92', 'Files.Delete', 'Delete Files', 'files', 'Delete media or document files through integration APIs.', '1', '1002'),
('93', 'Webhooks.Read', 'Read Webhooks', 'webhooks', 'Read webhook configuration.', '1', '1100'),
('94', 'Webhooks.Manage', 'Manage Webhooks', 'webhooks', 'Create, update, or delete webhook configuration.', '1', '1101'),
('96', 'Webhooks.Retry', 'Retry Webhooks', 'webhooks', 'Retry failed webhook deliveries.', '1', '1103'),
('97', 'Integration.Clients.Manage', 'Manage API Clients', 'integrations', 'Create, suspend, revoke, or rotate integration clients.', '1', '1200'),
('98', 'Integration.Scopes.Manage', 'Manage Client Scopes', 'integrations', 'Assign scopes to integration clients.', '1', '1201'),
('99', 'Integration.Mappings.Manage', 'Manage Field Mappings', 'integrations', 'Manage field and value mappings.', '1', '1202'),
('100', 'Integration.Logs.Read', 'Read Integration Logs', 'integrations', 'Read integration logs and failed requests.', '1', '1203'),
('101', 'Integration.Retry.Manage', 'Manage Retry Queue', 'integrations', 'Retry or clear failed integration jobs.', '1', '1204'),
('102', 'Integration.Settings.Manage', 'Manage Integration Settings', 'integrations', 'Manage integration engine settings.', '1', '1205');

-- --------------------------------------------------------
-- Table structure for `integration_client_scopes`

CREATE TABLE `integration_client_scopes` (
  `client_id` int NOT NULL,
  `scope_id` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`client_id`,`scope_id`),
  KEY `fk_integration_client_scope_scope` (`scope_id`),
  CONSTRAINT `fk_integration_client_scope_client` FOREIGN KEY (`client_id`) REFERENCES `integration_api_clients` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fk_integration_client_scope_scope` FOREIGN KEY (`scope_id`) REFERENCES `integration_api_scopes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `integration_client_scopes`

-- --------------------------------------------------------
-- Table structure for `integration_field_mappings`

CREATE TABLE `integration_field_mappings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `client_id` int DEFAULT NULL,
  `mapping_name` varchar(120) NOT NULL DEFAULT 'default',
  `source_field` varchar(120) NOT NULL,
  `target_field` varchar(120) NOT NULL,
  `direction` enum('incoming','outgoing') NOT NULL DEFAULT 'incoming',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_integration_field_mapping_client` (`client_id`,`mapping_name`,`direction`),
  CONSTRAINT `fk_integration_field_mapping_client` FOREIGN KEY (`client_id`) REFERENCES `integration_api_clients` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `integration_field_mappings`

-- --------------------------------------------------------
-- Table structure for `integration_retry_queue`

CREATE TABLE `integration_retry_queue` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `client_id` int DEFAULT NULL,
  `job_type` varchar(80) NOT NULL,
  `payload_json` json DEFAULT NULL,
  `attempts` int NOT NULL DEFAULT '0',
  `max_attempts` int NOT NULL DEFAULT '3',
  `status` enum('pending','running','failed','done') NOT NULL DEFAULT 'pending',
  `last_error` varchar(255) DEFAULT NULL,
  `next_run_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_integration_retry_status` (`status`,`next_run_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `integration_retry_queue`

-- --------------------------------------------------------
-- Table structure for `integration_sync_history`

CREATE TABLE `integration_sync_history` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `client_id` int DEFAULT NULL,
  `sync_type` varchar(80) NOT NULL,
  `status` enum('success','failed','partial') NOT NULL DEFAULT 'success',
  `reference_code` varchar(120) DEFAULT NULL,
  `summary` varchar(255) DEFAULT NULL,
  `details_json` json DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_integration_sync_client` (`client_id`,`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `integration_sync_history`

-- --------------------------------------------------------
-- Table structure for `integration_webhooks`

CREATE TABLE `integration_webhooks` (
  `id` int NOT NULL AUTO_INCREMENT,
  `client_id` int DEFAULT NULL,
  `event_type` varchar(120) NOT NULL,
  `webhook_url` varchar(500) NOT NULL,
  `secret_key` varchar(160) DEFAULT NULL,
  `retry_count` int NOT NULL DEFAULT '3',
  `status` enum('active','paused','disabled') NOT NULL DEFAULT 'active',
  `last_response` text,
  `last_status_code` int DEFAULT NULL,
  `last_triggered_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `fk_integration_webhook_client` (`client_id`),
  KEY `idx_integration_webhooks_event` (`event_type`,`status`),
  CONSTRAINT `fk_integration_webhook_client` FOREIGN KEY (`client_id`) REFERENCES `integration_api_clients` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `integration_webhooks`

-- --------------------------------------------------------
-- Table structure for `invoices`

CREATE TABLE `invoices` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `order_id` bigint NOT NULL,
  `source_return_id` bigint DEFAULT NULL,
  `invoice_no` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `invoice_type` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sale',
  `invoice_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'issued',
  `invoice_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `currency_code` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PKR',
  `subtotal_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `shipping_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `grand_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `pdf_media_id` int DEFAULT NULL,
  `created_by_user_id` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `coupon_code` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `coupon_discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `points_redeemed` decimal(18,2) NOT NULL DEFAULT '0.00',
  `points_value_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `external_invoice_no` varchar(120) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_invoices_no` (`invoice_no`),
  KEY `idx_invoices_order` (`order_id`),
  KEY `idx_invoices_status` (`invoice_status`)
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `invoices` (`id`, `order_id`, `source_return_id`, `invoice_no`, `invoice_type`, `invoice_status`, `currency_code`, `subtotal_amount`, `discount_amount`, `tax_amount`, `shipping_amount`, `grand_total`, `pdf_media_id`, `created_by_user_id`, `coupon_code`, `coupon_discount_amount`, `points_redeemed`, `points_value_amount`, `external_invoice_no`) VALUES
('2', '2', NULL, 'INV000001', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '100.00', '100.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('3', '3', NULL, 'INV000002', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '100.00', '100.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('4', '4', NULL, 'INVv000003', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '100.00', '100.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('5', '5', NULL, 'INVv000004', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '100.00', '100.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('6', '6', NULL, 'INVv000005', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '100.00', '100.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('7', '7', NULL, 'INVv000006', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '100.00', '100.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('8', '8', NULL, 'INVv000007', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('9', '9', NULL, 'INVv000008', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('10', '10', NULL, 'INVv000009', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('11', '11', NULL, 'INVv000010', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('12', '12', NULL, 'INVv000011', 'sale', 'issued', 'PKR', '9996.00', '0.00', '499.80', '0.00', '10495.80', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('13', '13', NULL, 'INVv000012', 'sale', 'issued', 'PKR', '3499.00', '0.00', '0.00', '0.00', '3499.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('14', '14', NULL, 'INVv000013', 'sale', 'issued', 'PKR', '2499.00', '0.00', '399.84', '0.00', '2898.84', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('15', '15', NULL, 'INVv000014', 'sale', 'issued', 'PKR', '2499.00', '0.00', '399.84', '0.00', '2898.84', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('16', '16', NULL, 'INVv000015', 'sale', 'issued', 'PKR', '4998.00', '0.00', '799.68', '0.00', '5797.68', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('17', '17', NULL, 'INVv000016', 'sale', 'issued', 'PKR', '2499.00', '0.00', '399.84', '100.00', '2998.84', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('18', '18', NULL, 'INVv000017', 'sale', 'issued', 'PKR', '11464.00', '0.00', '499.80', '0.00', '11963.80', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('19', '19', NULL, 'INVv000018', 'sale', 'issued', 'PKR', '2499.00', '0.00', '399.84', '0.00', '2898.84', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('20', '20', NULL, 'INVv000019', 'sale', 'issued', 'PKR', '2499.00', '0.00', '124.95', '0.00', '2623.95', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('21', '21', NULL, 'INVv000020', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('28', '28', NULL, 'INVv000021', 'sale', 'issued', 'PKR', '2499.00', '0.00', '124.95', '0.00', '2623.95', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('29', '29', NULL, 'INVv000022', 'sale', 'issued', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('30', '30', NULL, 'INVv000023', 'sale', 'issued', 'PKR', '2499.00', '0.00', '124.95', '0.00', '2623.95', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('31', '32', NULL, 'INVv000024', 'sale', 'issued', 'PKR', '1000.00', '0.00', '0.00', '0.00', '1000.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('32', '33', NULL, 'INVv000025', 'sale', 'issued', 'PKR', '1000.00', '0.00', '0.00', '0.00', '1000.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('33', '34', NULL, 'INVv000026', 'sale', 'issued', 'PKR', '1500.00', '0.00', '240.00', '0.00', '1740.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('34', '35', NULL, 'INVv000027', 'sale', 'issued', 'PKR', '49980.00', '45980.00', '640.00', '0.00', '4640.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL),
('35', '32', '1', 'RINV-ORD000024-MRF598ST', 'return', 'issued', 'PKR', '-500.00', '0.00', '0.00', '-120.00', '-620.00', NULL, '1', NULL, '0.00', '0.00', '0.00', NULL),
('36', '34', '2', 'RINV-ORD000026-MRF5Z9R7', 'return', 'issued', 'PKR', '-450.00', '0.00', '-72.00', '0.00', '-522.00', NULL, '1', NULL, '0.00', '0.00', '0.00', NULL),
('37', '36', NULL, 'INVv000028', 'sale', 'issued', 'PKR', '49980.00', '45980.00', '640.00', '0.00', '4640.00', NULL, NULL, NULL, '0.00', '0.00', '0.00', NULL);

-- --------------------------------------------------------
-- Table structure for `localofflinelicensechallenges`

CREATE TABLE `localofflinelicensechallenges` (
  `AutoNo` bigint NOT NULL AUTO_INCREMENT,
  `ChallengeId` varchar(80) NOT NULL,
  `ChallengeCode` mediumtext NOT NULL,
  `Nonce` varchar(80) NOT NULL,
  `UsedOn` datetime DEFAULT NULL,
  `CreatedOn` datetime NOT NULL,
  `ExpiresOn` datetime NOT NULL,
  PRIMARY KEY (`AutoNo`),
  UNIQUE KEY `ChallengeId` (`ChallengeId`),
  KEY `idx_local_license_challenges_created` (`CreatedOn`)
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `localofflinelicensechallenges` (`AutoNo`, `ChallengeId`, `ChallengeCode`, `Nonce`, `UsedOn`, `CreatedOn`, `ExpiresOn`) VALUES
('1', '253087ac-0d22-4187-9404-25c174245392', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoibG9jYWxob3N0IiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiI4ODcwNTA2MTYyMTQ0NTNiZjBiOTQxOWIyNDdiOTE1YmE0MTk2YzE2MTg0NmMwZDU1YWE4ZGQ3YWI3MTM3NmU2IiwiY2hhbGxlbmdlX2lkIjoiMjUzMDg3YWMtMGQyMi00MTg3LTk0MDQtMjVjMTc0MjQ1MzkyIiwiY3JlYXRlZF9hdCI6IjIwMjYtMDctMTFUMTc6MjA6MDguMTE0WiIsIm5vbmNlIjoiZDNjM2UwOWQ5OGE4MGNhN2Y5OTM5MWJkMDQyN2Q4YWMifQ', 'd3c3e09d98a80ca7f99391bd0427d8ac', NULL, '2026-07-11 22:20:08', '2026-07-12 22:20:08'),
('2', 'cd06ddcd-eaf2-4a11-98a1-ab42da64436a', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoibG9jYWxob3N0IiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiI4ODcwNTA2MTYyMTQ0NTNiZjBiOTQxOWIyNDdiOTE1YmE0MTk2YzE2MTg0NmMwZDU1YWE4ZGQ3YWI3MTM3NmU2I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dlX2lkIjoiYTFjNjYyM2MtYmZjOC00NTAxLTllODItOTI0NGFjOGUyNjFmIiwiY3JlYXRlZF9hdCI6IjIwMjYtMDctMTFUMTc6MzQ6MTMuNDEzWiIsIm5vbmNlIjoiZTY4MTViODEyNTE1OWRmMmZlMDk1OWUyMzQxYmJjMTIifQ', 'e6815b8125159df2fe0959e2341bbc12', NULL, '2026-07-11 22:34:13', '2026-07-12 22:34:13'),
('27', '4c54c803-13b0-4308-9678-99240300196f', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoiMTI3LjAuMC4xIiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiJkZjE1Mzg0NGE3NGFmYzNiZjJlMWY4NDkxOTNmMTRmOWE4ZWQ4ZTNmNzZkMjEwNDA2ZDU1NDFiZDg1NTkzYjNlIiwiY2hhbGxlbmdlX2lkIjoiNGM1NGM4MDMtMTNiMC00MzA4LTk2NzgtOTkyNDAzMDAxOTZmIiwiY3JlYXRlZF9hdCI6IjIwMjYtMDctMTFUMTc6MzQ6MTMuNDMwWiIsIm5vbmNlIjoiYmI5ZWNlY2JlZjFjZDM5ZWI1OTI2ZmI3NWIzYmNmODAifQ', 'bb9ececbef1cd39eb5926fb75b3bcf80', NULL, '2026-07-11 22:34:13', '2026-07-12 22:34:13'),
('28', '4b32c321-da47-4128-b069-ce32919ebb52', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoiMTI3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6MzQ6NDguNTQzWiIsIm5vbmNlIjoiNjdjYTUzYzg0OTY5YTk4YmFiZmIxZjM3YzllMzczOWIifQ', '67ca53c84969a98babfb1f37c9e3739b', NULL, '2026-07-11 22:34:48', '2026-07-12 22:34:48'),
('32', 'afab8bc6-8e38-4061-b074-ea706ae9888a', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoiMTI3LjAuMC4xIiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiJkZjE1Mzg0NGE3NGFmYzNiZjJlMWY4NDkxOTNmMTRmOWE4ZWQ4ZTNmNzZkMjEwNDA2ZDU1NDFiZDg1NTkzYjNlIiwiY2hhbGxlbmdlX2lkIjoiYWZhYjhiYzYtOGUzOC00MDYxLWIwNzQtZWE3MDZhZTk4ODhhIiwiY3JlYXRlZF9hdCI6IjIwMjYtMDctMTFUMTc6MzQ6NDguNTU5WiIsIm5vbmNlIjoiMzY2M2FkNDY1NTA5MTY4N2E5NzEyOWY3NDZiZjNjY2QifQ', '3663ad4655091687a97129f746bf3ccd', NULL, '2026-07-11 22:34:48', '2026-07-12 22:34:48'),
('33', '197374de-bfcf-4886-be22-c6d89cd43273', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoiMTI3LjAuMC4xIiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiJkZjE1Mzg0NGE3NGFmYzNiZjJlMWY4NDkxOTNmMTRm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E5OTVjM2E1NmNiNTE1ZDQ0NThmYjYxMTAzYjEifQ', '0d13a995c3a56cb515d4458fb61103b1', NULL, '2026-07-11 22:40:16', '2026-07-12 22:40:16'),
('44', 'fea8bfac-0f0d-4473-bc99-3c168030261f', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoiMTI3LjAuMC4xIiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiJkZjE1Mzg0NGE3NGFmYzNiZjJlMWY4NDkxOTNmMTRmOWE4ZWQ4ZTNmNzZkMjEwNDA2ZDU1NDFiZDg1NTkzYjNlIiwiY2hhbGxlbmdlX2lkIjoiZmVhOGJmYWMtMGYwZC00NDczLWJjOTktM2MxNjgwMzAyNjFmIiwiY3JlYXRlZF9hdCI6IjIwMjYtMDctMTJUMTM6NTg6NTEuMTg5WiIsIm5vbmNlIjoiMzhhZmJjOTI1NjdjYTA3ZDgxMDU5NTE1NmIxYjA5M2EifQ', '38afbc92567ca07d810595156b1b093a', NULL, '2026-07-12 18:58:51', '2026-07-13 18:58:51'),
('45', 'd385b8e5-1755-4298-ad40-d511c7b27f85', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoiMTI3LjAuMC4xIiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiJkZjE1Mzg0NGE3NGFmYzNiZjJlMWY4NDkxOTNmMTRmOWE4ZWQ4ZTNmNzZkMjEwNDA2ZDU1NDFiZDg1NTkzYjNlIiwiY2hhbGxlbmdlX2lkIjoiZDM4NWI4ZTUtMTc1NS00Mjk4LWFkNDAtZDUxMWM3YjI3Zjg1IiwiY3JlYXRlZF9hdCI6IjIwMjYtMDctMTJUMTk6MzQ6NTQuNjc2WiIsIm5vbmNlIjoiNjU2ODA2NjBlMzRhMWY5OTNlNzdjODg0YTI1MDhlNDkifQ', '65680660e34a1f993e77c884a2508e49', NULL, '2026-07-13 00:34:54', '2026-07-14 00:34:54'),
('46', 'c2140f94-1c02-41a1-9510-a68a725d7aa1', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU2NGM1IiwiZG9tYWluIjoiMTI3LjAuMC4xIiwiYmFzZV9wYXRoIjoiLyIsImZpbmdlcnByaW50X2hhc2giOiJkZjE1Mzg0NGE3NGFmYzNiZjJlMWY4NDkxOTNmMTRmOWE4ZWQ4ZTNmNzZkMjEwNDA2ZDU1NDFiZDg1NTkzYjNlIiwiY2hhbGxlbmdlX2lkIjoiYzIxNDBmOTQtMWMwMi00MWExLTk1MTAtYTY4YTcyNWQ3YWExIiwiY3JlYXRlZF9hdCI6IjIwMjYtMDctMTJUMTk6NDk6MDkuOTcwWiIsIm5vbmNlIjoiNDQzZjQ1NzAxMDA1NTI2ODIzODA2NDlkYWI5NzkzMzMifQ', '443f4570100552682380649dab979333', NULL, '2026-07-13 00:49:09', '2026-07-14 00:49:09'),
('47', '6b4973d8-8993-492e-985e-4021625b027c', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJhcHBfY29kZSI6IkVDT00iLCJpbnN0YWxsX2lkIjoiYjVhZmNhNjAtMGY5YS00ZDUyLWJhYmYtN2EyMTlkNDU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9uY2UiOiJlNzkzYWI4ZDA2MzU4Y2VlMjYyMDdkOWFlZTVjYTI0YyIsImN1cnJlbnRfbGljZW5zZSI6bnVsbH0', 'e793ab8d06358cee26207d9aee5ca24c', NULL, '2026-07-15 16:31:00', '2026-07-16 16:31:00'),
('56', '7c2dd7fb-5434-4a67-ad1f-9bf5156b5dd2', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJtb2RlIjoiYWN0aXZhdGlvbiIsImFwcF9jb2RlIjoiRUNPTSIsImluc3RhbGxfaWQiOiJiNWFmY2E2MC0wZjlhLTRkNTItYmFiZi03YTIxOWQ0NTY0YzUiLCJkb21haW4iOiIxMjcuMC4wLjEiLCJiYXNlX3BhdGgiOiIvIiwiZmluZ2VycHJpbnRfaGFzaCI6ImRmMTUzODQ0YTc0YWZjM2JmMmUxZjg0OTE5M2YxNGY5YThlZDhlM2Y3NmQyMTA0MDZkNTU0MWJkODU1OTNiM2UiLCJjaGFsbGVuZ2VfaWQiOiI3YzJkZDdmYi01NDM0LTRhNjctYWQxZi05YmY1MTU2YjVkZDIiLCJjcmVhdGVkX2F0IjoiMjAyNi0wNy0xNVQxMTozMTowMC4zOTVaIiwibm9uY2UiOiIxMmUzNzVkN2E2ZDNmYmRiNTU5MDg2MjJlYTAzMjljNCIsImN1cnJlbnRfbGljZW5zZSI6bnVsbH0', '12e375d7a6d3fbdb55908622ea0329c4', NULL, '2026-07-15 16:31:00', '2026-07-16 16:31:00'),
('57', '8e13af37-7c6e-40de-9ca9-2bee34f003f0', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJtb2RlIjoiYWN0aXZhdGlvbiIsImFwcF9jb2RlIjoiRUNPTSIsImluc3RhbGxfaWQiOiJiNWFmY2E2MC0wZjlhLTRkNTItYmFiZi03YTIxOWQ0NTY0YzUiLCJkb21haW4iOiIxMjcuM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0YTc0YWZjM2JmMmUxZjg0OTE5M2YxNGY5YThlZDhlM2Y3NmQyMTA0MDZkNTU0MWJkODU1OTNiM2UiLCJjaGFsbGVuZ2VfaWQiOiJiYjY3NTZkZS0yODIzLTRiYjMtOWYyNS0yNDhiYmViZmFhNDUiLCJjcmVhdGVkX2F0IjoiMjAyNi0wNy0yMlQwOTowNzo1NS4zMDJaIiwibm9uY2UiOiJmYzU3YjM5NTVkMDA0NTRiZWJlOTViZGM2ODI0M2JhZiIsImN1cnJlbnRfbGljZW5zZSI6bnVsbH0', 'fc57b3955d00454bebe95bdc68243baf', NULL, '2026-07-22 14:07:55', '2026-07-23 14:07:55'),
('63', 'f9ca9948-8c6b-407a-a016-bf936d3739a3', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJtb2RlIjoiYWN0aXZhdGlvbiIsImFwcF9jb2RlIjoiRUNPTSIsImluc3RhbGxfaWQiOiJiNWFmY2E2MC0wZjlhLTRkNTItYmFiZi03YTIxOWQ0NTY0YzUiLCJkb21haW4iOiIxMjcuMC4wLjEiLCJiYXNlX3BhdGgiOiIvIiwiZmluZ2VycHJpbnRfaGFzaCI6ImRmMTUzODQ0YTc0YWZjM2JmMmUxZjg0OTE5M2YxNGY5YThlZDhlM2Y3NmQyMTA0MDZkNTU0MWJkODU1OTNiM2UiLCJjaGFsbGVuZ2VfaWQiOiJmOWNhOTk0OC04YzZiLTQwN2EtYTAxNi1iZjkzNmQzNzM5YTMiLCJjcmVhdGVkX2F0IjoiMjAyNi0wNy0yMlQwOTowNzo1NS40NDVaIiwibm9uY2UiOiI1YzNmNmQxOTM5YmY5Nzc3MWVjZDdkYjYxNTZmZWMyNyIsImN1cnJlbnRfbGljZW5zZSI6bnVsbH0', '5c3f6d1939bf97771ecd7db6156fec27', NULL, '2026-07-22 14:07:55', '2026-07-23 14:07:55'),
('64', 'eb241019-c75c-44e9-9092-d0718cd8c74b', 'PWCHL1.eyJ0eXBlIjoiUFdfT0ZGTElORV9DSEFMTEVOR0UiLCJ2ZXJzaW9uIjoxLCJtb2RlIjoiYWN0aXZhdGlvbiIsImFwcF9jb2RlIjoiRUNPTSIsImluc3RhbGxfaWQiOiJiNWFmY2E2MC0wZjlhLTRkNTItYmFiZi03YTIxOWQ0NTY0YzUiLCJkb21haW4iOiIxMjcuMC4wLjEiLCJiYXNlX3BhdGgiOiIvIiwiZmluZ2VycHJpbnRfaGFzaCI6ImRmMTUzODQ0YTc0YWZjM2JmMmUxZjg0OTE5M2YxNGY5YThlZDhlM2Y3NmQyMTA0MDZkNTU0MWJkODU1OTNiM2UiLCJjaGFsbGVuZ2VfaWQiOiJlYjI0MTAxOS1jNzVjLTQ0ZTktOTA5Mi1kMDcxOGNkOGM3NGIiLCJjcmVhdGVkX2F0IjoiMjAyNi0wNy0yMlQwOTowNzo1NS40NjhaIiwibm9uY2UiOiI2YWVjMTdhNGU1MGZlNDRlOTA5NTNmZDhlMjBhODBkNCIsImN1cnJlbnRfbGljZW5zZSI6bnVsbH0', '6aec17a4e50fe44e90953fd8e20a80d4', NULL, '2026-07-22 14:07:55', '2026-07-23 14:07:55');

-- --------------------------------------------------------
-- Table structure for `localofflinelicenseevents`

CREATE TABLE `localofflinelicenseevents` (
  `AutoNo` bigint NOT NULL AUTO_INCREMENT,
  `EventType` varchar(80) NOT NULL,
  `Severity` varchar(20) NOT NULL,
  `Message` varchar(500) NOT NULL,
  `DataJson` json DEFAULT NULL,
  `CreatedOn` datetime NOT NULL,
  PRIMARY KEY (`AutoNo`),
  KEY `idx_local_license_events_created` (`CreatedOn`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `localofflinelicenseevents` (`AutoNo`, `EventType`, `Severity`, `Message`, `DataJson`, `CreatedOn`) VALUES
('1', 'license_apply_failed', 'warning', 'License key id does not match this app.', '{}', '2026-07-11 22:29:11'),
('2', 'license_apply_failed', 'warning', 'License signature is invalid.', '{}', '2026-07-11 22:34:50'),
('3', 'license_apply_success', 'info', 'Offline license applied.', '{}', '2026-07-11 22:40:19'),
('4', 'license_apply_failed', 'warning', 'License key format is invalid.', '{}', '2026-07-13 02:51:56'),
('5', 'license_apply_failed', 'warning', 'License key format is invalid.', '{}', '2026-07-13 02:51:58'),
('6', 'license_apply_failed', 'warning', 'License key format is invalid.', '{}', '2026-07-13 02:51:59'),
('7', 'license_apply_failed', 'warning', 'License key format is invalid.', '{}', '2026-07-13 02:52:00'),
('8', 'license_apply_failed', 'warning', 'License key format is invalid.', '{}', '2026-07-13 02:52:00'),
('9', 'license_apply_success', 'info', 'Offline license applied.', '{}', '2026-07-13 02:52:12'),
('10', 'license_apply_success', 'info', 'Offline license applied.', '{}', '2026-07-15 16:31:26'),
('11', 'license_apply_success', 'info', 'Offline license applied.', '{}', '2026-07-15 16:31:58'),
('12', 'license_apply_failed', 'warning', 'License key format is invalid.', '{}', '2026-07-15 16:32:40'),
('13', 'license_apply_success', 'info', 'Offline license applied.', '{}', '2026-07-15 16:32:54'),
('14', 'license_apply_success', 'info', 'Offline license applied.', '{}', '2026-07-15 16:36:27'),
('15', 'license_apply_success', 'info', 'Offline license applied.', '{}', '2026-07-22 14:08:57');

-- --------------------------------------------------------
-- Table structure for `localofflinelicenseinstallation`

CREATE TABLE `localofflinelicenseinstallation` (
  `AutoNo` bigint NOT NULL AUTO_INCREMENT,
  `InstallId` varchar(80) NOT NULL,
  `InstanceSecretHash` varchar(128) NOT NULL,
  `RegisteredDomain` varchar(255) DEFAULT NULL,
  `BasePath` varchar(255) NOT NULL DEFAULT '/',
  `FingerprintHash` varchar(128) DEFAULT NULL,
  `CreatedOn` datetime NOT NULL,
  `UpdatedOn` datetime NOT NULL,
  PRIMARY KEY (`AutoNo`),
  UNIQUE KEY `InstallId` (`InstallId`)
) ENGINE=InnoDB AUTO_INCREMENT=30009 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `localofflinelicenseinstallation` (`AutoNo`, `InstallId`, `InstanceSecretHash`, `RegisteredDomain`, `BasePath`, `FingerprintHash`, `CreatedOn`, `UpdatedOn`) VALUES
('1', 'b5afca60-0f9a-4d52-babf-7a219d4564c5', '4223407843ba6f0b7617e0297b6c393f0a3d90eac4d5284646e9068f17daacb4', '127.0.0.1', '/', 'df153844a74afc3bf2e1f849193f14f9a8ed8e3f76d210406d5541bd85593b3e', '2026-07-11 22:20:08', '2026-07-22 23:06:20');

-- --------------------------------------------------------
-- Table structure for `localofflinelicensestate`

CREATE TABLE `localofflinelicensestate` (
  `AutoNo` bigint NOT NULL AUTO_INCREMENT,
  `InstallId` varchar(80) NOT NULL,
  `LicenseId` varchar(120) DEFAULT NULL,
  `SignedLicenseKey` mediumtext NOT NULL,
  `LicenseHash` varchar(128) NOT NULL,
  `Status` varchar(40) NOT NULL,
  `AccessMode` varchar(80) NOT NULL,
  `LicenseIssuedAt` datetime DEFAULT NULL,
  `LicenseExpiresAt` datetime DEFAULT NULL,
  `ValidDays` int DEFAULT NULL,
  `MaxUses` int DEFAULT NULL,
  `UseCount` int NOT NULL DEFAULT '0',
  `LastCheckOn` datetime DEFAULT NULL,
  `CreatedOn` datetime NOT NULL,
  `UpdatedOn` datetime NOT NULL,
  PRIMARY KEY (`AutoNo`),
  UNIQUE KEY `InstallId` (`InstallId`),
  KEY `idx_local_license_hash` (`LicenseHash`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `localofflinelicensestate` (`AutoNo`, `InstallId`, `LicenseId`, `SignedLicenseKey`, `LicenseHash`, `Status`, `AccessMode`, `LicenseIssuedAt`, `LicenseExpiresAt`, `ValidDays`, `MaxUses`, `UseCount`, `LastCheckOn`, `CreatedOn`, `UpdatedOn`) VALUES
('1', 'b5afca60-0f9a-4d52-babf-7a219d4564c5', 'OFF-20260722-EDAA84AA2887', 'P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00zTkdJaUxDSmpjbVZoZEdWa1gyRjBJam9pTWpBeU5pMHdOeTB5TWxRd09Ub3dOem8xTlM0ME5qaGFJaXdpYm05dVkyVWlPaUkyWVdWak1UZGhOR1UxTUdabE5EUmxPVEE1TlRObVpEaGxNakJoT0RCa05DSXNJbU4xY25KbGJuUmZiR2xqWlc1elpTSTZiblZzYkgwIiwiaXNzdWVkX2F0IjoiMjAyNi0wNy0yMlQwOTowODo0OCswMDowMCIsInZhbGlkX2Zyb20iOiIyMDI2LTA3LTIyVDA5OjA4OjQ4KzAwOjAwIiwiZXhwaXJlc19hdCI6IjIwMjYtMDgtMjFUMDk6MDg6NDgrMDA6MDAiLCJ2YWxpZF9kYXlzIjozMCwibWF4X3VzZXMiOjEsInN0YXR1cyI6ImFjdGl2ZSIsImZlYXR1cmVzIjp7ImFkbWluX3BhbmVsIjp0cnVlLCJjbXMiOnRydWUsImVjb21tZXJjZSI6dHJ1ZSwiYXBpX2FjY2VzcyI6dHJ1ZX0sImxpbWl0cyI6eyJtYXhfdXNlcnMiOjI1LCJtYXhfYnJhbmNoZXMiOjEsIm1heF9wcm9kdWN0cyI6MTAwMDB9LCJzY3JlZW4iOnsic3VwcG9ydF9waG9uZSI6Iis5Mi0zMDAtMDAwMDAwMCIsInN1cHBvcnRfdXJsIjoiaHR0cHM6Ly9wYXJhbGxheHdhcmUucGsiLCJjb21wYW55X25hbWUiOiJQYXJhbGxheFdhcmUiLCJtZXNzYWdlIjoiUGxlYXNlIGNvbnRhY3QgUGFyYWxsYXhXYXJlIGZvciByZW5ld2FsLiJ9fQ.35nTDapfMKBW_JbceEcknCsTYPPFm7Mr31m8wYuiFr6i5t_3kc4evttG6aawwXAgairIQyKXj8ryrSOaN1mVCw', '863deb42a8c561ab7060d4d842c9b1eeabd952f56bb01f07e21905c33876da69', 'active', 'FULL_ACCESS', '2026-07-22 14:08:48', '2026-08-21 14:08:48', '30', '1', '1', '2026-07-22 14:08:57', '2026-07-11 22:40:19', '2026-07-22 14:08:57');

-- --------------------------------------------------------
-- Table structure for `media`

CREATE TABLE `media` (
  `id` int NOT NULL AUTO_INCREMENT,
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `mime_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_size` int NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=334 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `media` (`id`, `file_name`, `file_path`, `mime_type`, `file_size`) VALUES
('1', 'fasyah-halim-IDiZh8EEtsI-unsplash.jpg', '/uploads/1770927506227-458738373.jpg', 'image/jpeg', '1594005'),
('2', 'fatih-yurur-kNSREmtaGOE-unsplash.jpg', '/uploads/1770934515401-754219035.jpg', 'image/jpeg', '2631464'),
('3', 'a-shopping-cart-filled-with-groceries-set-against-a-transparent-background-showcasing-essential-household-items-a-full-shopping-cart-transparent-background-free-png.webp', '/uploads/1770934558933-924490228.webp', 'image/webp', '549944'),
('4', 'unnamed.jpg', '/uploads/1770934565922-227612192.jpg', 'image/jpeg', '38824'),
('5', 'william-bayreuther-C0KdBbibUYo-unsplash.jpg', '/uploads/1770993411163-308098021.jpg', 'image/jpeg', '368040'),
('6', 'ChatGPT_Image_Mar_1__2026__01_15_03_AM-removebg-preview.png', '/uploads/1772657657565-278142558.png', 'image/png', '82979'),
('7', 'ChatGPT Image Mar 3, 2026, 05_25_37 PM.png', '/uploads/1772665485531-384964532.png', 'image/png', '1645226'),
('8', 'ChatGPT Image Mar 3, 2026, 06_08_51 PM.png', '/uploads/1772742614073-710219183.png', 'image/png', '1830036'),
('9', 'ChatGPT Image Mar 3, 2026, 09_36_00 PM.png', '/uploads/1773783603046-874667549.png', 'image/png', '742314'),
('10', 'ChatGPT Image Mar 3, 2026, 05_25_37 PM.png', '/uploads/1773783607709-688516414.png', 'image/png', '1645226'),
('11', 'ChatGPT Image Mar 1, 2026, 03_08_14 AM.png', '/uploads/1773783614832-642967557.png', 'image/png', '228412'),
('12', 'ChatGPT Image Mar 1, 2026, 03_31_10 AM.png', '/uploads/1774186122597-418669232.png', 'image/png', '277703'),
('13', 'Chicken_Tikka_Pizza_1_1776893504453_31719.jpg', '/uploads/Chicken_Tikka_Pizza_1_1776893504453_31719.jpg', 'image/jpeg', '376187'),
('14', 'Chicken_Tikka_Pizza_2_1776893504509_8899.jpg', '/uploads/Chicken_Tikka_Pizza_2_1776893504509_8899.jpg', 'image/jpeg', '376187'),
('15', 'Zinger_Burger_1_1776893506462_10101.jpg', '/uploads/Zinger_Burger_1_1776893506462_10101.jpg', 'image/jpeg', '373726'),
('16', 'Zinger_Burger_2_1776893506513_64972.jpg', '/uploads/Zinger_Burger_2_1776893506513_64972.jpg', 'image/jpeg', '373726'),
('17', 'Chicken_Burger_1_1776893507400_94679.jpg', '/uploads/Chicken_Burger_1_1776893507400_94679.jpg', 'image/jpeg', '238508'),
('18', 'Chicken_Burger_2_1776893507431_85052.jpg', '/uploads/Chicken_Burger_2_1776893507431_85052.jpg', 'image/jpeg', '238508'),
('19', 'Grilled_Burger_1_1776893508615_47293.jpg', '/uploads/Grilled_Burger_1_1776893508615_47293.jpg', 'image/jpeg', '386486'),
('20', 'Grilled_Burger_2_1776893508660_67470.jpg', '/uploads/Grilled_Burger_2_1776893508660_67470.jpg', 'image/jpeg', '386486'),
('21', 'Chicken_Chapali_Burger_1_1776893509754_73191.jpg', '/uploads/Chicken_Chapali_Burger_1_1776893509754_73191.jpg', 'image/jpeg', '373958'),
('22', 'Chicken_Chapali_Burger_2_1776893509976_57906.jpg', '/uploads/Chicken_Chapali_Burger_2_1776893509976_57906.jpg', 'image/jpeg', '373958'),
('23', 'Classic_Beef_Burger_1_1776893511161_65365.jpg', '/uploads/Classic_Beef_Burger_1_1776893511161_65365.jpg', 'image/jpeg', '434295'),
('24', 'Classic_Beef_Burger_2_1776893511214_75567.jpg', '/uploads/Classic_Beef_Burger_2_1776893511214_75567.jpg', 'image/jpeg', '434295'),
('25', 'Double_Decker_Burger_1_1776893512107_58868.jpg', '/uploads/Double_Decker_Burger_1_1776893512107_58868.jpg', 'image/jpeg', '304479'),
('26', 'Double_Decker_Burger_2_1776893512190_18322.jpg', '/uploads/Double_Decker_Burger_2_1776893512190_18322.jpg', 'image/jpeg', '304479'),
('27', 'Chicken_Fajita_Pizza_1_1776893513139_92326.jpg', '/uploads/Chicken_Fajita_Pizza_1_1776893513139_92326.jpg', 'image/jpeg', '357587'),
('28', 'Chicken_Fajita_Pizza_2_1776893513264_61016.jpg', '/uploads/Chicken_Fajita_Pizza_2_1776893513264_61016.jpg', 'image/jpeg', '332663'),
('29', 'Vegetable_Pizza_1_1776893515343_97331.jpg', '/uploads/Vegetable_Pizza_1_1776893515343_97331.jpg', 'image/jpeg', '354014'),
('30', 'Vegetable_Pizza_2_1776893515403_77469.jpg', '/uploads/Vegetable_Pizza_2_1776893515403_77469.jpg', 'image/jpeg', '354014'),
('31', 'Chicken_Green_Chilli_Pizza_1_1776893516465_17171.jpg', '/uploads/Chicken_Green_Chilli_Pizza_1_1776893516465_17171.jpg', 'image/jpeg', '307066'),
('32', 'Chicken_Green_Chilli_Pizza_2_1776893516744_9726.jpg', '/uploads/Chicken_Green_Chilli_Pizza_2_1776893516744_9726.jpg', 'image/jpeg', '269264'),
('33', 'Cheese_Pizza_1_1776893518890_33710.jpg', '/uploads/Cheese_Pizza_1_1776893518890_33710.jpg', 'image/jpeg', '282766'),
('34', 'Cheese_Pizza_2_1776893518928_26920.jpg', '/uploads/Cheese_Pizza_2_1776893518928_26920.jpg', 'image/jpeg', '282766'),
('35', 'Kids_Meal_1_1776893519701_29146.jpg', '/uploads/Kids_Meal_1_1776893519701_29146.jpg', 'image/jpeg', '314087'),
('36', 'Kids_Meal_2_1776893521726_43808.jpg', '/uploads/Kids_Meal_2_1776893521726_43808.jpg', 'image/jpeg', '305304'),
('37', 'Family_Fun_1_1776893523697_57898.jpg', '/uploads/Family_Fun_1_1776893523697_57898.jpg', 'image/jpeg', '369883'),
('38', 'Family_Fun_2_1776893523943_19007.jpg', '/uploads/Family_Fun_2_1776893523943_19007.jpg', 'image/jpeg', '369883'),
('39', 'Gool_Gappay_1_1776893524266_49247.jpeg', '/uploads/Gool_Gappay_1_1776893524266_49247.jpeg', 'image/jpeg', '158260'),
('40', 'Gool_Gappay_2_1776893524306_69175.jpeg', '/uploads/Gool_Gappay_2_1776893524306_69175.jpeg', 'image/jpeg', '158260'),
('41', 'Dahi_Ballay_1_1776893525316_79093.webp', '/uploads/Dahi_Ballay_1_1776893525316_79093.webp', 'image/webp', '95460'),
('42', 'Dahi_Ballay_2_1776893525366_83516.webp', '/uploads/Dahi_Ballay_2_1776893525366_83516.webp', 'image/webp', '95460'),
('43', 'Zinger_Burger_Combo_1_1776893526590_99673.jpg', '/uploads/Zinger_Burger_Combo_1_1776893526590_99673.jpg', 'image/jpeg', '413843'),
('44', 'Chicken_Burger_Combo_1_1776893526657_68158.jpg', '/uploads/Chicken_Burger_Combo_1_1776893526657_68158.jpg', 'image/jpeg', '211073'),
('45', 'Grilled_Burger_Combo_1_1776893526710_59657.jpg', '/uploads/Grilled_Burger_Combo_1_1776893526710_59657.jpg', 'image/jpeg', '345659'),
('46', 'Chicken_Chapali_Burger_Combo_1_1776893527185_17260.jpg', '/uploads/Chicken_Chapali_Burger_Combo_1_1776893527185_17260.jpg', 'image/jpeg', '329604'),
('47', 'Classic_Beef_Burger_Combo_1_1776893527252_18825.jpg', '/uploads/Classic_Beef_Burger_Combo_1_1776893527252_18825.jpg', 'image/jpeg', '387901'),
('48', 'Double_Decker_Burger_Combo_1_1776893527466_26199.jpg', '/uploads/Double_Decker_Burger_Combo_1_1776893527466_26199.jpg', 'image/jpeg', '268161'),
('49', 'Fries_1_1776893528272_87514.jpg', '/uploads/Fries_1_1776893528272_87514.jpg', 'image/jpeg', '595524'),
('50', 'Fries_2_1776893528508_64709.jpg', '/uploads/Fries_2_1776893528508_64709.jpg', 'image/jpeg', '569318'),
('51', 'Chicken_Roll_Pratha_1_1776893533728_22380.jpg', '/uploads/Chicken_Roll_Pratha_1_1776893533728_22380.jpg', 'image/jpeg', '1146765'),
('52', 'Chicken_Shawarma_1_1776893534421_75140.jpg', '/uploads/Chicken_Shawarma_1_1776893534421_75140.jpg', 'image/jpeg', '77499'),
('53', 'Zinger_Wrap_1_1776893535156_2166.jpg', '/uploads/Zinger_Wrap_1_1776893535156_2166.jpg', 'image/jpeg', '85734'),
('54', 'Chicken_Wings_1_1776893537223_78814.jpg', '/uploads/Chicken_Wings_1_1776893537223_78814.jpg', 'image/jpeg', '199347'),
('55', 'Fried_Chicken_1_1776893540190_22144.jpg', '/uploads/Fried_Chicken_1_1776893540190_22144.jpg', 'image/jpeg', '1117428'),
('56', 'Grilled_Sandwich_1_1776893542454_26755.jpg', '/uploads/Grilled_Sandwich_1_1776893542454_26755.jpg', 'image/jpeg', '482933'),
('57', 'Grilled_Sandwich_2_1776893545474_6440.jpg', '/uploads/Grilled_Sandwich_2_1776893545474_6440.jpg', 'image/jpeg', '477854'),
('58', 'Royal_Kulfi_1_1776893547155_62521.jpg', '/uploads/Royal_Kulfi_1_1776893547155_62521.jpg', 'image/jpeg', '144129'),
('59', 'Royal_Kulfi_2_1776893547518_61559.jpg', '/uploads/Royal_Kulfi_2_1776893547518_61559.jpg', 'image/jpeg', '140625'),
('60', 'Fried_Chicken_Chest_1_1776893550232_22055.jpg', '/uploads/Fried_Chicken_Chest_1_1776893550232_22055.jpg', 'image/jpeg', '1212502'),
('61', 'Chicken_Supreme_1_1776893550928_45500.jpg', '/uploads/Chicken_Supreme_1_1776893550928_45500.jpg', 'image/jpeg', '375685'),
('62', 'Chicken_Supreme_2_1776893550981_91856.jpg', '/uploads/Chicken_Supreme_2_1776893550981_91856.jpg', 'image/jpeg', '332663'),
('63', 'Chicken_Kebabish_Pizza_1_1776893551932_74070.jpg', '/uploads/Chicken_Kebabish_Pizza_1_1776893551932_74070.jpg', 'image/jpeg', '329863'),
('64', 'Chicken_Kebabish_Pizza_2_1776893551985_26032.jpg', '/uploads/Chicken_Kebabish_Pizza_2_1776893551985_26032.jpg', 'image/jpeg', '332663'),
('65', 'Fried_Chicken_Thigh_1_1776893552431_85557.jpg', '/uploads/Fried_Chicken_Thigh_1_1776893552431_85557.jpg', 'image/jpeg', '53141'),
('66', 'Double_Decker_Burger_Combo_With_fries_1_1776893554536_5798.png', '/uploads/Double_Decker_Burger_Combo_With_fries_1_1776893554536_5798.png', 'image/png', '308483'),
('67', 'Double_Decker_Burger_Combo_With_fries_2_1776893554766_5986.jpg', '/uploads/Double_Decker_Burger_Combo_With_fries_2_1776893554766_5986.jpg', 'image/jpeg', '268161'),
('68', 'Classic_Beef_Burger_Combo_With_Fries_1_1776893555360_58570.png', '/uploads/Classic_Beef_Burger_Combo_With_Fries_1_1776893555360_58570.png', 'image/png', '360721'),
('69', 'Classic_Beef_Burger_Combo_With_Fries_2_1776893555432_7650.jpg', '/uploads/Classic_Beef_Burger_Combo_With_Fries_2_1776893555432_7650.jpg', 'image/jpeg', '387901'),
('70', 'Chicken_Chapali_Burger_Combo_With_Fries_1_1776893556063_94370.png', '/uploads/Chicken_Chapali_Burger_Combo_With_Fries_1_1776893556063_94370.png', 'image/png', '287761'),
('71', 'Chicken_Chapali_Burger_Combo_With_Fries_2_1776893556121_61798.jpg', '/uploads/Chicken_Chapali_Burger_Combo_With_Fries_2_1776893556121_61798.jpg', 'image/jpeg', '329604'),
('72', 'Grilled_Burger_Combo_With_Fries_1_1776893557158_70192.png', '/uploads/Grilled_Burger_Combo_With_Fries_1_1776893557158_70192.png', 'image/png', '330273'),
('73', 'Grilled_Burger_Combo_With_Fries_2_1776893557233_58627.jpg', '/uploads/Grilled_Burger_Combo_With_Fries_2_1776893557233_58627.jpg', 'image/jpeg', '345659'),
('74', 'Chicken_Burger_Combo_With_Fries_1_1776893558159_76885.png', '/uploads/Chicken_Burger_Combo_With_Fries_1_1776893558159_76885.png', 'image/png', '271497'),
('75', 'Chicken_Burger_Combo_With_Fries_2_1776893558196_49100.jpg', '/uploads/Chicken_Burger_Combo_With_Fries_2_1776893558196_49100.jpg', 'image/jpeg', '211073'),
('76', 'Zinger_Burger_Combo_With_Fries_1_1776893559186_70294.png', '/uploads/Zinger_Burger_Combo_With_Fries_1_1776893559186_70294.png', 'image/png', '298836'),
('77', 'Zinger_Burger_Combo_With_Fries_2_1776893559243_63739.jpg', '/uploads/Zinger_Burger_Combo_With_Fries_2_1776893559243_63739.jpg', 'image/jpeg', '372126'),
('78', 'Black_Chana_Chaat_1_1776893560347_89666.png', '/uploads/Black_Chana_Chaat_1_1776893560347_89666.png', 'image/png', '632858'),
('79', 'Mix_Vegetable_Salad_1_1776893561945_57270.png', '/uploads/Mix_Vegetable_Salad_1_1776893561945_57270.png', 'image/png', '111268'),
('80', 'Mix_Vegetable_Salad_2_1776893563974_93672.jpg', '/uploads/Mix_Vegetable_Salad_2_1776893563974_93672.jpg', 'image/jpeg', '506941'),
('81', 'Red_Bean_with_Chicken_1_1776893566167_72170.png', '/uploads/Red_Bean_with_Chicken_1_1776893566167_72170.png', 'image/png', '441514'),
('82', 'Italian_Salad_1_1776893568046_61701.png', '/uploads/Italian_Salad_1_1776893568046_61701.png', 'image/png', '128575'),
('83', 'Noddles_with_Vegetables_1_1776893569856_50278.png', '/uploads/Noddles_with_Vegetables_1_1776893569856_50278.png', 'image/png', '112517'),
('84', 'Peanut_Sweet_Salad_1_1776893570398_93633.png', '/uploads/Peanut_Sweet_Salad_1_1776893570398_93633.png', 'image/png', '124464'),
('85', 'Cocktail_Fruit_Salad_1_1776893572926_38364.png', '/uploads/Cocktail_Fruit_Salad_1_1776893572926_38364.png', 'image/png', '471802'),
('86', 'Pineapple_Fruit_Salad_1_1776893573710_43986.png', '/uploads/Pineapple_Fruit_Salad_1_1776893573710_43986.png', 'image/png', '118591'),
('87', 'Pineapple_Fruit_Salad_2_1776893574969_59622.jpg', '/uploads/Pineapple_Fruit_Salad_2_1776893574969_59622.jpg', 'image/jpeg', '517890'),
('88', 'Mix_Fruit_Salad_1_1776893576890_4039.png', '/uploads/Mix_Fruit_Salad_1_1776893576890_4039.png', 'image/png', '121298'),
('89', 'Aquafina_500ml__1_1776893577519_71477.png', '/uploads/Aquafina_500ml__1_1776893577519_71477.png', 'image/png', '154480'),
('90', 'Aquafina_1500ml__1_1776893579230_81762.png', '/uploads/Aquafina_1500ml__1_1776893579230_81762.png', 'image/png', '132707'),
('91', 'Redbull_250ml__1_1776893579807_91823.png', '/uploads/Redbull_250ml__1_1776893579807_91823.png', 'image/png', '135457'),
('92', '7up_Can_250ml__1_1776893580922_64383.jpg', '/uploads/7up_Can_250ml__1_1776893580922_64383.jpg', 'image/jpeg', '17962'),
('93', 'CocaCola_Can_350ml__1_1776893581355_34202.jpg', '/uploads/CocaCola_Can_350ml__1_1776893581355_34202.jpg', 'image/jpeg', '22539'),
('94', 'Fanta_Can_250ml__1_1776893582515_79246.jpg', '/uploads/Fanta_Can_250ml__1_1776893582515_79246.jpg', 'image/jpeg', '19515'),
('95', 'Mirinda_Can_250ml__1_1776893583022_98339.jpg', '/uploads/Mirinda_Can_250ml__1_1776893583022_98339.jpg', 'image/jpeg', '30013'),
('96', 'Sprite_Can_250ml__1_1776893583459_14001.jpg', '/uploads/Sprite_Can_250ml__1_1776893583459_14001.jpg', 'image/jpeg', '14666'),
('97', '7up_ZERO_Can_330ml__1_1776893583931_23345.jpg', '/uploads/7up_ZERO_Can_330ml__1_1776893583931_23345.jpg', 'image/jpeg', '24550'),
('98', 'Diet_Coke_Can_250ml__1_1776893584369_5961.jpg', '/uploads/Diet_Coke_Can_250ml__1_1776893584369_5961.jpg', 'image/jpeg', '25166'),
('99', 'PowerFull_Energy_Drink_250ml__1_1776893585098_65480.png', '/uploads/PowerFull_Energy_Drink_250ml__1_1776893585098_65480.png', 'image/png', '150380'),
('100', '3_Horses_Malt_330ml__1_1776893587408_7238.png', '/uploads/3_Horses_Malt_330ml__1_1776893587408_7238.png', 'image/png', '149560'),
('101', 'Murree_Brewery_Peach_Malt_250ml__1_1776893589098_25185.png', '/uploads/Murree_Brewery_Peach_Malt_250ml__1_1776893589098_25185.png', 'image/png', '165957'),
('102', 'Sting_Can_250ml__1_1776893589944_64974.png', '/uploads/Sting_Can_250ml__1_1776893589944_64974.png', 'image/png', '217440'),
('103', 'Monster_Can_330ml__1_1776893590716_20652.png', '/uploads/Monster_Can_330ml__1_1776893590716_20652.png', 'image/png', '263387'),
('104', 'Barbican_350ml__1_1776893592419_90747.png', '/uploads/Barbican_350ml__1_1776893592419_90747.png', 'image/png', '124509'),
('105', 'Shezan_Mango_250ml__1_1776893592958_34915.png', '/uploads/Shezan_Mango_250ml__1_1776893592958_34915.png', 'image/png', '103493'),
('106', 'Lemon_Malt_250ml__1_1776893594628_27881.png', '/uploads/Lemon_Malt_250ml__1_1776893594628_27881.png', 'image/png', '112315'),
('107', 'Nestle_Juices_1000ml__1_1776893595174_90921.jpg', '/uploads/Nestle_Juices_1000ml__1_1776893595174_90921.jpg', 'image/jpeg', '23559'),
('108', 'Vivo_Juices_300ml__1_1776893595889_17857.png', '/uploads/Vivo_Juices_300ml__1_1776893595889_17857.png', 'image/png', '147803'),
('109', 'Fuzetea_250ml__1_1776893597786_65474.png', '/uploads/Fuzetea_250ml__1_1776893597786_65474.png', 'image/png', '253596'),
('110', 'CocaCola_Bottle_500ml__1_1776893598223_15517.jpg', '/uploads/CocaCola_Bottle_500ml__1_1776893598223_15517.jpg', 'image/jpeg', '8609'),
('111', 'CocaCola_Bottle_1500ml__1_1776893598683_27996.jpg', '/uploads/CocaCola_Bottle_1500ml__1_1776893598683_27996.jpg', 'image/jpeg', '11418'),
('112', 'Sprite_Bottle_500ml__1_1776893599161_20524.jpg', '/uploads/Sprite_Bottle_500ml__1_1776893599161_20524.jpg', 'image/jpeg', '11805'),
('113', 'Sprite_Bottle_1500ml__1_1776893599718_50423.jpg', '/uploads/Sprite_Bottle_1500ml__1_1776893599718_50423.jpg', 'image/jpeg', '14313'),
('114', 'Nestle_Bottle_1500ml__1_1776893600196_47537.jpg', '/uploads/Nestle_Bottle_1500ml__1_1776893600196_47537.jpg', 'image/jpeg', '14711'),
('115', 'Nestle_Bottle_500ml__1_1776893600659_59158.jpg', '/uploads/Nestle_Bottle_500ml__1_1776893600659_59158.jpg', 'image/jpeg', '14277'),
('116', 'Sufi_Bottle_500ml__1_1776893601153_79483.jpg', '/uploads/Sufi_Bottle_500ml__1_1776893601153_79483.jpg', 'image/jpeg', '23776'),
('117', 'Dayfresh_choco_250ml__1_1776893601996_73621.png', '/uploads/Dayfresh_choco_250ml__1_1776893601996_73621.png', 'image/png', '207574'),
('118', 'Dayfresh_Strawberry_250ml__1_1776893603443_47845.jpg', '/uploads/Dayfresh_Strawberry_250ml__1_1776893603443_47845.jpg', 'image/jpeg', '49542'),
('119', 'Dayfresh_Mango_250ml__1_1776893604818_88354.jpg', '/uploads/Dayfresh_Mango_250ml__1_1776893604818_88354.jpg', 'image/jpeg', '45068'),
('120', 'Slice_Mango_200ml__1_1776893605435_77095.png', '/uploads/Slice_Mango_200ml__1_1776893605435_77095.png', 'image/png', '192034'),
('121', 'Nestle_Guava_Juice_200ml__1_1776893607245_14879.png', '/uploads/Nestle_Guava_Juice_200ml__1_1776893607245_14879.png', 'image/png', '229751'),
('122', 'Nestle_Apple_Juice_200ml__1_1776893607815_65547.png', '/uploads/Nestle_Apple_Juice_200ml__1_1776893607815_65547.png', 'image/png', '244307'),
('123', 'Nestle_Kinnow_Juice_200ml__1_1776893608299_77542.jpg', '/uploads/Nestle_Kinnow_Juice_200ml__1_1776893608299_77542.jpg', 'image/jpeg', '63284'),
('124', 'Stuffed_White_Bear_1_1776893608754_99328.jpg', '/uploads/Stuffed_White_Bear_1_1776893608754_99328.jpg', 'image/jpeg', '15046'),
('125', 'Stuffed_Pink_Bear_1_1776893609914_56467.jpg', '/uploads/Stuffed_Pink_Bear_1_1776893609914_56467.jpg', 'image/jpeg', '21000'),
('126', 'Stuffed_White_Heart_Bear_1_1776893611095_59396.jpg', '/uploads/Stuffed_White_Heart_Bear_1_1776893611095_59396.jpg', 'image/jpeg', '22574'),
('127', 'Stuffed_Brown_Bear_1_1776893612282_30861.jpg', '/uploads/Stuffed_Brown_Bear_1_1776893612282_30861.jpg', 'image/jpeg', '22685'),
('128', 'Stuffed_Blue_Bear_1_1776893612817_8685.jpg', '/uploads/Stuffed_Blue_Bear_1_1776893612817_8685.jpg', 'image/jpeg', '36764'),
('129', 'Stuffed_Pink_Heart_Bear_1_1776893613270_69348.jpg', '/uploads/Stuffed_Pink_Heart_Bear_1_1776893613270_69348.jpg', 'image/jpeg', '22050'),
('130', 'Bear_Doll_1_1776893613770_57625.jpg', '/uploads/Bear_Doll_1_1776893613770_57625.jpg', 'image/jpeg', '31062'),
('131', 'Pink_Dress_Doll_1_1776893614929_37.jpg', '/uploads/Pink_Dress_Doll_1_1776893614929_37.jpg', 'image/jpeg', '25738'),
('132', 'Stuffed_Red_Doll_1_1776893615720_82604.jpg', '/uploads/Stuffed_Red_Doll_1_1776893615720_82604.jpg', 'image/jpeg', '26679'),
('133', 'Sitting_Style_Doll_1_1776893616962_81736.jpg', '/uploads/Sitting_Style_Doll_1_1776893616962_81736.jpg', 'image/jpeg', '32156'),
('134', 'Colorful_Mug_Set-1_1_1776893618126_32791.jpg', '/uploads/Colorful_Mug_Set-1_1_1776893618126_32791.jpg', 'image/jpeg', '24695'),
('135', 'Colorful_Mug_Set-2_1_1776893618611_79328.jpg', '/uploads/Colorful_Mug_Set-2_1_1776893618611_79328.jpg', 'image/jpeg', '31663'),
('136', 'Colorful_Mug_Set-3_1_1776893619999_48102.jpg', '/uploads/Colorful_Mug_Set-3_1_1776893619999_48102.jpg', 'image/jpeg', '58757'),
('137', 'Colorful_Mug_Set-4_1_1776893621157_13231.jpg', '/uploads/Colorful_Mug_Set-4_1_1776893621157_13231.jpg', 'image/jpeg', '22606'),
('138', 'Colorful_Mug_Set-5_1_1776893622300_77811.jpg', '/uploads/Colorful_Mug_Set-5_1_1776893622300_77811.jpg', 'image/jpeg', '16295'),
('139', 'Colorful_Mug_Set-6_1_1776893623415_60924.jpg', '/uploads/Colorful_Mug_Set-6_1_1776893623415_60924.jpg', 'image/jpeg', '17102'),
('140', 'Colorful_Mug_Set-7_1_1776893624573_41954.jpg', '/uploads/Colorful_Mug_Set-7_1_1776893624573_41954.jpg', 'image/jpeg', '28201'),
('141', 'Men_s_Watch_1_1776893626040_36672.jpg', '/uploads/Men_s_Watch_1_1776893626040_36672.jpg', 'image/jpeg', '28721'),
('142', 'Snickers_1_1776893626551_59968.jpg', '/uploads/Snickers_1_1776893626551_59968.jpg', 'image/jpeg', '31551'),
('143', 'Mars_1_1776893627739_25495.jpg', '/uploads/Mars_1_1776893627739_25495.jpg', 'image/jpeg', '26661'),
('144', 'Dairy_Milk_1_1776893629291_15768.jpg', '/uploads/Dairy_Milk_1_1776893629291_15768.jpg', 'image/jpeg', '23757'),
('145', 'Lays_-_Paprika_1_1776893630805_58418.png', '/uploads/Lays_-_Paprika_1_1776893630805_58418.png', 'image/png', '80740'),
('146', 'Lays_-_Yogurt_Herb_1_1776893631568_71953.png', '/uploads/Lays_-_Yogurt_Herb_1_1776893631568_71953.png', 'image/png', '87019'),
('147', 'Lays_-_Classic_1_1776893633058_12993.png', '/uploads/Lays_-_Classic_1_1776893633058_12993.png', 'image/png', '72936'),
('148', 'Lay_s_-_Wavy_1_1776893633613_29565.png', '/uploads/Lay_s_-_Wavy_1_1776893633613_29565.png', 'image/png', '83436'),
('149', 'Lays_-_Sour_Cream_1_1776893635139_78263.png', '/uploads/Lays_-_Sour_Cream_1_1776893635139_78263.png', 'image/png', '79193'),
('150', 'Lay_s_-_French_Cheese_1_1776893635689_77489.png', '/uploads/Lay_s_-_French_Cheese_1_1776893635689_77489.png', 'image/png', '88286'),
('151', 'TUC_Biscuit_1_1776893636874_18643.jpg', '/uploads/TUC_Biscuit_1_1776893636874_18643.jpg', 'image/jpeg', '21437'),
('152', 'Lemon_Biscuit_1_1776893637332_81834.jpg', '/uploads/Lemon_Biscuit_1_1776893637332_81834.jpg', 'image/jpeg', '19372'),
('153', 'Prince_Biscuit_1_1776893637812_13226.jpg', '/uploads/Prince_Biscuit_1_1776893637812_13226.jpg', 'image/jpeg', '24847'),
('154', 'Sooper_Biscuit_1_1776893638261_70882.jpg', '/uploads/Sooper_Biscuit_1_1776893638261_70882.jpg', 'image/jpeg', '16539'),
('155', 'Candi_Biscuit_1_1776893638916_22814.jpg', '/uploads/Candi_Biscuit_1_1776893638916_22814.jpg', 'image/jpeg', '16129'),
('156', 'Coconut_Biscuit_1_1776893639382_93190.jpg', '/uploads/Coconut_Biscuit_1_1776893639382_93190.jpg', 'image/jpeg', '28478'),
('157', 'OREO_Biscuit_1_1776893639892_71456.jpg', '/uploads/OREO_Biscuit_1_1776893639892_71456.jpg', 'image/jpeg', '23516'),
('158', 'Walls_Donut_Icecream_1_1776893640588_14328.png', '/uploads/Walls_Donut_Icecream_1_1776893640588_14328.png', 'image/png', '153892'),
('159', 'Walls_Chocbar_Stick_1_1776893641329_1961.png', '/uploads/Walls_Chocbar_Stick_1_1776893641329_1961.png', 'image/png', '117603'),
('160', 'Wall_s_Cornetto_Classico_1_1776893642561_87799.png', '/uploads/Wall_s_Cornetto_Classico_1_1776893642561_87799.png', 'image/png', '125378'),
('161', 'Wall_s_Magnum_Icecream_1_1776893644273_52842.png', '/uploads/Wall_s_Magnum_Icecream_1_1776893644273_52842.png', 'image/png', '122432'),
('162', 'Wall_s_Cornetto_Duble_Chocolate_1_1776893644868_55444.png', '/uploads/Wall_s_Cornetto_Duble_Chocolate_1_1776893644868_55444.png', 'image/png', '119852'),
('163', 'Wall_s_Cornetto_Chocolate_1_1776893645722_75710.png', '/uploads/Wall_s_Cornetto_Chocolate_1_1776893645722_75710.png', 'image/png', '145439'),
('164', 'Wall_s_Jet_Sports_Stick_1_1776893647330_92380.png', '/uploads/Wall_s_Jet_Sports_Stick_1_1776893647330_92380.png', 'image/png', '101526'),
('165', 'Golden_Black_Cuff_Link_Set_1_1776893647803_71882.jpg', '/uploads/Golden_Black_Cuff_Link_Set_1_1776893647803_71882.jpg', 'image/jpeg', '18066'),
('166', 'Black_Silver_Cuff_Link_Set_1_1776893648248_45892.jpg', '/uploads/Black_Silver_Cuff_Link_Set_1_1776893648248_45892.jpg', 'image/jpeg', '16128'),
('167', 'Floral_Design_Cuff_Link_Set_1_1776893649487_20187.jpg', '/uploads/Floral_Design_Cuff_Link_Set_1_1776893649487_20187.jpg', 'image/jpeg', '30581'),
('168', 'Golden_Cuff_Link_Set_1_1776893650676_61577.jpg', '/uploads/Golden_Cuff_Link_Set_1_1776893650676_61577.jpg', 'image/jpeg', '29975'),
('169', 'Golden_Silver_Cuff_Link_Set_1_1776893651811_99184.jpg', '/uploads/Golden_Silver_Cuff_Link_Set_1_1776893651811_99184.jpg', 'image/jpeg', '13437'),
('170', 'Pencil_Color_Jar_1_1776893653299_8463.png', '/uploads/Pencil_Color_Jar_1_1776893653299_8463.png', 'image/png', '74880'),
('171', 'Color_Paints_1_1776893653862_99453.png', '/uploads/Color_Paints_1_1776893653862_99453.png', 'image/png', '66744'),
('172', 'Color_Highlighters_1_1776893654359_79010.png', '/uploads/Color_Highlighters_1_1776893654359_79010.png', 'image/png', '56638'),
('173', 'Geometry_Box_1_1776893655875_23008.png', '/uploads/Geometry_Box_1_1776893655875_23008.png', 'image/png', '69537'),
('174', 'Pencil_Colors_1_1776893656414_78056.png', '/uploads/Pencil_Colors_1_1776893656414_78056.png', 'image/png', '56502'),
('175', 'Pencil_Set_1_1776893656880_1440.png', '/uploads/Pencil_Set_1_1776893656880_1440.png', 'image/png', '40030'),
('176', 'Glasses_-_1_1_1776893658456_40146.png', '/uploads/Glasses_-_1_1_1776893658456_40146.png', 'image/png', '94711'),
('177', 'Glasses_-_2_1_1776893659028_26889.png', '/uploads/Glasses_-_2_1_1776893659028_26889.png', 'image/png', '103660'),
('178', 'Glasses_-_3_1_1776893659545_58962.png', '/uploads/Glasses_-_3_1_1776893659545_58962.png', 'image/png', '82010'),
('179', 'Glasses_-_4_1_1776893660486_89532.png', '/uploads/Glasses_-_4_1_1776893660486_89532.png', 'image/png', '101459'),
('180', 'Glasses_-_5_1_1776893661811_20952.png', '/uploads/Glasses_-_5_1_1776893661811_20952.png', 'image/png', '71628'),
('181', 'Glasses_-_6_1_1776893662565_95471.png', '/uploads/Glasses_-_6_1_1776893662565_95471.png', 'image/png', '62375'),
('182', 'Glasses_-_7_1_1776893664221_4624.png', '/uploads/Glasses_-_7_1_1776893664221_4624.png', 'image/png', '82801'),
('183', 'Men_s_Wallet_Black_1_1776893664838_25080.png', '/uploads/Men_s_Wallet_Black_1_1776893664838_25080.png', 'image/png', '114526'),
('184', 'Men_s_Wallet_-_Brown_1_1776893665499_61334.png', '/uploads/Men_s_Wallet_-_Brown_1_1776893665499_61334.png', 'image/png', '142013'),
('185', 'Bag_1_1776893666084_90519.png', '/uploads/Bag_1_1776893666084_90519.png', 'image/png', '162830'),
('186', 'Baby_Diaper_1_1776893667747_81430.png', '/uploads/Baby_Diaper_1_1776893667747_81430.png', 'image/png', '108081'),
('187', 'Baby_Feeder_1_1776893668728_97155.png', '/uploads/Baby_Feeder_1_1776893668728_97155.png', 'image/png', '150661'),
('188', 'Baby_Lotion_1_1776893669257_5711.png', '/uploads/Baby_Lotion_1_1776893669257_5711.png', 'image/png', '40131'),
('189', 'Baby_Grooming_Kit_1_1776893670423_77438.png', '/uploads/Baby_Grooming_Kit_1_1776893670423_77438.png', 'image/png', '27878'),
('190', 'Baby_Wipes_1_1776893670915_13584.png', '/uploads/Baby_Wipes_1_1776893670915_13584.png', 'image/png', '61273'),
('191', 'Baby_Shampoo_1_1776893672356_98295.png', '/uploads/Baby_Shampoo_1_1776893672356_98295.png', 'image/png', '48495'),
('192', 'Remote_Car_Toy_1_1776893673863_44988.jpg', '/uploads/Remote_Car_Toy_1_1776893673863_44988.jpg', 'image/jpeg', '75691'),
('193', 'Car_Toy_1_1776893674359_56680.jpg', '/uploads/Car_Toy_1_1776893674359_56680.jpg', 'image/jpeg', '29618'),
('194', 'Helicopter_Toy_1_1776893675548_82447.jpg', '/uploads/Helicopter_Toy_1_1776893675548_82447.jpg', 'image/jpeg', '21179'),
('195', 'Jet_Toy_1_1776893676000_19914.jpg', '/uploads/Jet_Toy_1_1776893676000_19914.jpg', 'image/jpeg', '24432'),
('196', 'Car_Track_Toy_1_1776893676478_83016.jpg', '/uploads/Car_Track_Toy_1_1776893676478_83016.jpg', 'image/jpeg', '46807'),
('197', 'Abacus_Toy_1_1776893677863_81082.jpg', '/uploads/Abacus_Toy_1_1776893677863_81082.jpg', 'image/jpeg', '53079'),
('198', 'Bicycle_Toy_1_1776893678358_70586.jpg', '/uploads/Bicycle_Toy_1_1776893678358_70586.jpg', 'image/jpeg', '37179'),
('199', 'Water_Gun_Toy_1_1776893679736_24764.jpg', '/uploads/Water_Gun_Toy_1_1776893679736_24764.jpg', 'image/jpeg', '39668'),
('200', 'Digital_Writer_Toy_1_1776893680970_15772.jpg', '/uploads/Digital_Writer_Toy_1_1776893680970_15772.jpg', 'image/jpeg', '38195');
INSERT INTO `media` (`id`, `file_name`, `file_path`, `mime_type`, `file_size`) VALUES
('201', 'Alphabets_Toy_1_1776893681723_92260.jpg', '/uploads/Alphabets_Toy_1_1776893681723_92260.jpg', 'image/jpeg', '66759'),
('202', 'Dinosaur_Toy_1_1776893682159_13669.jpg', '/uploads/Dinosaur_Toy_1_1776893682159_13669.jpg', 'image/jpeg', '22457'),
('203', 'Batman_Stuff_Toy_1_1776893682687_83207.jpg', '/uploads/Batman_Stuff_Toy_1_1776893682687_83207.jpg', 'image/jpeg', '43189'),
('204', 'Doll_Toy_1_1776893683187_13982.jpg', '/uploads/Doll_Toy_1_1776893683187_13982.jpg', 'image/jpeg', '62256'),
('205', 'Kids_Toy_1_1776893683654_49324.jpg', '/uploads/Kids_Toy_1_1776893683654_49324.jpg', 'image/jpeg', '39620'),
('206', 'KitKat_4_Fingers_1_1776893684115_87999.jpg', '/uploads/KitKat_4_Fingers_1_1776893684115_87999.jpg', 'image/jpeg', '33900'),
('207', 'Dairy_Milk_Hazelnut_1_1776893684575_10181.jpg', '/uploads/Dairy_Milk_Hazelnut_1_1776893684575_10181.jpg', 'image/jpeg', '21588'),
('208', 'Ferrero_Rocher_1_1776893685059_47727.jpg', '/uploads/Ferrero_Rocher_1_1776893685059_47727.jpg', 'image/jpeg', '38236'),
('209', 'Kinder_Joy_1_1776893685556_45214.jpg', '/uploads/Kinder_Joy_1_1776893685556_45214.jpg', 'image/jpeg', '27150'),
('210', 'Twix_1_1776893686033_46245.jpg', '/uploads/Twix_1_1776893686033_46245.jpg', 'image/jpeg', '25716'),
('211', 'Toblerone_1_1776893686577_4034.jpg', '/uploads/Toblerone_1_1776893686577_4034.jpg', 'image/jpeg', '23261'),
('212', 'M_M_s_1_1776893687759_65282.jpg', '/uploads/M_M_s_1_1776893687759_65282.jpg', 'image/jpeg', '29913'),
('213', 'Kolson_Slanty_1_1776893688243_37401.jpg', '/uploads/Kolson_Slanty_1_1776893688243_37401.jpg', 'image/jpeg', '31764'),
('214', 'Pringles_Black_Pepper_1_1776893688694_91200.jpg', '/uploads/Pringles_Black_Pepper_1_1776893688694_91200.jpg', 'image/jpeg', '21310'),
('215', 'Pringles_Sour_Cream_1_1776893689172_68086.jpg', '/uploads/Pringles_Sour_Cream_1_1776893689172_68086.jpg', 'image/jpeg', '20630'),
('216', 'Pringles_Cheese_1_1776893689647_74753.jpg', '/uploads/Pringles_Cheese_1_1776893689647_74753.jpg', 'image/jpeg', '22281'),
('217', 'Pringles_Paprika_1_1776893690811_24241.jpg', '/uploads/Pringles_Paprika_1_1776893690811_24241.jpg', 'image/jpeg', '20922'),
('218', 'Pringles_Original_1_1776893691283_85484.jpg', '/uploads/Pringles_Original_1_1776893691283_85484.jpg', 'image/jpeg', '23962'),
('219', 'Kurkure_1_1776893691806_52560.jpg', '/uploads/Kurkure_1_1776893691806_52560.jpg', 'image/jpeg', '49991'),
('220', 'Cheetos_1_1776893693165_65149.jpg', '/uploads/Cheetos_1_1776893693165_65149.jpg', 'image/jpeg', '46036'),
('221', 'Pistachio_1_1776893693845_24111.jpg', '/uploads/Pistachio_1_1776893693845_24111.jpg', 'image/jpeg', '83977'),
('222', 'Cashew_1_1776893694361_55564.jpg', '/uploads/Cashew_1_1776893694361_55564.jpg', 'image/jpeg', '72032'),
('223', 'Almonds_1_1776893694840_41679.jpg', '/uploads/Almonds_1_1776893694840_41679.jpg', 'image/jpeg', '61264'),
('224', 'Fig_1_1776893695361_50113.jpg', '/uploads/Fig_1_1776893695361_50113.jpg', 'image/jpeg', '87747'),
('225', 'Walnuts_1_1776893696964_45302.jpg', '/uploads/Walnuts_1_1776893696964_45302.jpg', 'image/jpeg', '82023'),
('226', 'Peanuts_1_1776893697642_609.jpg', '/uploads/Peanuts_1_1776893697642_609.jpg', 'image/jpeg', '68886'),
('227', 'Black_Raisins_1_1776893699188_33811.jpg', '/uploads/Black_Raisins_1_1776893699188_33811.jpg', 'image/jpeg', '78333'),
('228', 'Ajwa_Dates_1_1776893699718_65587.jpg', '/uploads/Ajwa_Dates_1_1776893699718_65587.jpg', 'image/jpeg', '50218'),
('229', 'Mix_Nimkos_1_1776893700313_43514.jpg', '/uploads/Mix_Nimkos_1_1776893700313_43514.jpg', 'image/jpeg', '92927'),
('230', 'Crispy_Nimko_1_1776893701793_49713.jpg', '/uploads/Crispy_Nimko_1_1776893701793_49713.jpg', 'image/jpeg', '63832'),
('231', 'Mabroom_Dates_1_1776893703447_78935.jpg', '/uploads/Mabroom_Dates_1_1776893703447_78935.jpg', 'image/jpeg', '89749'),
('232', 'Delights_Cookies_1_1776893703919_91386.jpg', '/uploads/Delights_Cookies_1_1776893703919_91386.jpg', 'image/jpeg', '29204'),
('233', 'Danisa_Butter_Cookies_1_1776893704459_70282.jpg', '/uploads/Danisa_Butter_Cookies_1_1776893704459_70282.jpg', 'image/jpeg', '52765'),
('234', 'Gluco_Biscuit_1_1776893704896_60983.jpg', '/uploads/Gluco_Biscuit_1_1776893704896_60983.jpg', 'image/jpeg', '13360'),
('235', 'Digestives_Biscuit_1_1776893705339_52020.jpg', '/uploads/Digestives_Biscuit_1_1776893705339_52020.jpg', 'image/jpeg', '26555'),
('236', 'Marie_Biscuits_1_1776893705785_4518.jpg', '/uploads/Marie_Biscuits_1_1776893705785_4518.jpg', 'image/jpeg', '17164'),
('237', 'Party_Pik_Biscuit_1_1776893706959_87094.jpg', '/uploads/Party_Pik_Biscuit_1_1776893706959_87094.jpg', 'image/jpeg', '20532'),
('238', 'Pista_Pik_1_1776893707563_76730.jpg', '/uploads/Pista_Pik_1_1776893707563_76730.jpg', 'image/jpeg', '21077'),
('239', 'Rio_Biscuit_1_1776893708727_87990.jpg', '/uploads/Rio_Biscuit_1_1776893708727_87990.jpg', 'image/jpeg', '20865'),
('240', 'Sugar_Free_Biscuit_1_1776893709886_85592.jpg', '/uploads/Sugar_Free_Biscuit_1_1776893709886_85592.jpg', 'image/jpeg', '19888'),
('241', 'Delights_Biscuit_1_1776893710349_52328.jpg', '/uploads/Delights_Biscuit_1_1776893710349_52328.jpg', 'image/jpeg', '17731'),
('242', 'Zeera_Plus_Biscuit_1_1776893710813_49183.jpg', '/uploads/Zeera_Plus_Biscuit_1_1776893710813_49183.jpg', 'image/jpeg', '28939'),
('243', 'Fossil_Watch_1_1776893711262_790.jpg', '/uploads/Fossil_Watch_1_1776893711262_790.jpg', 'image/jpeg', '20569'),
('244', 'Citizen_Watch_1_1776893711726_84774.jpg', '/uploads/Citizen_Watch_1_1776893711726_84774.jpg', 'image/jpeg', '20827'),
('245', 'Baume_Watch_1_1776893712952_53595.jpg', '/uploads/Baume_Watch_1_1776893712952_53595.jpg', 'image/jpeg', '18518'),
('246', 'Wacheron_Watch_1_1776893714123_13154.jpg', '/uploads/Wacheron_Watch_1_1776893714123_13154.jpg', 'image/jpeg', '17764'),
('247', 'Tissot_Watch_1_1776893715282_38582.jpg', '/uploads/Tissot_Watch_1_1776893715282_38582.jpg', 'image/jpeg', '17927'),
('248', 'Rolex_Watch_1_1776893716464_7751.jpg', '/uploads/Rolex_Watch_1_1776893716464_7751.jpg', 'image/jpeg', '22190'),
('249', 'Rado_Watch_1_1776893717579_69804.jpg', '/uploads/Rado_Watch_1_1776893717579_69804.jpg', 'image/jpeg', '12428'),
('250', 'Patek_Philippe_Watch_1_1776893718779_36011.jpg', '/uploads/Patek_Philippe_Watch_1_1776893718779_36011.jpg', 'image/jpeg', '16560'),
('251', 'Omega_Watch_1_1776893719227_34747.jpg', '/uploads/Omega_Watch_1_1776893719227_34747.jpg', 'image/jpeg', '26997'),
('252', 'Longines_Watch_1_1776893720415_27199.jpg', '/uploads/Longines_Watch_1_1776893720415_27199.jpg', 'image/jpeg', '21677'),
('253', 'Curren_Watch_1_1776893720914_10589.jpg', '/uploads/Curren_Watch_1_1776893720914_10589.jpg', 'image/jpeg', '26136'),
('254', 'Blue_Cuff_Link_Set_1_1776893721386_62353.jpg', '/uploads/Blue_Cuff_Link_Set_1_1776893721386_62353.jpg', 'image/jpeg', '27496'),
('255', 'Blue_Golden_Cuff_Link_Set_1_1776893721848_8514.jpg', '/uploads/Blue_Golden_Cuff_Link_Set_1_1776893721848_8514.jpg', 'image/jpeg', '15238'),
('256', 'Grey_Cuff_Link_Set_1_1776893723090_51457.jpg', '/uploads/Grey_Cuff_Link_Set_1_1776893723090_51457.jpg', 'image/jpeg', '16421'),
('257', 'Green_Cuff_Link_Set_1_1776893723555_81013.jpg', '/uploads/Green_Cuff_Link_Set_1_1776893723555_81013.jpg', 'image/jpeg', '23947'),
('258', 'Silver_Cuff_Link_Set_1_1776893724026_48287.jpg', '/uploads/Silver_Cuff_Link_Set_1_1776893724026_48287.jpg', 'image/jpeg', '23769'),
('259', 'Black_Golden_Cuff_Link_Set_1_1776893725155_66870.jpg', '/uploads/Black_Golden_Cuff_Link_Set_1_1776893725155_66870.jpg', 'image/jpeg', '18382'),
('260', 'White_Golden_Cuff_Link_Set_1_1776893725608_44386.jpg', '/uploads/White_Golden_Cuff_Link_Set_1_1776893725608_44386.jpg', 'image/jpeg', '22791'),
('261', 'Black_Cuff_Link_Set_1_1776893726703_97845.jpg', '/uploads/Black_Cuff_Link_Set_1_1776893726703_97845.jpg', 'image/jpeg', '11566'),
('262', 'Coffee_Mug_Set_1_1776893727187_77210.jpg', '/uploads/Coffee_Mug_Set_1_1776893727187_77210.jpg', 'image/jpeg', '26644'),
('263', 'Water_Bottles_1_1776893728619_48632.jpg', '/uploads/Water_Bottles_1_1776893728619_48632.jpg', 'image/jpeg', '65793'),
('264', 'Masala_Jars_1_1776893730034_72839.jpg', '/uploads/Masala_Jars_1_1776893730034_72839.jpg', 'image/jpeg', '59872'),
('265', 'Food_Jars_1_1776893730564_30094.jpg', '/uploads/Food_Jars_1_1776893730564_30094.jpg', 'image/jpeg', '44001'),
('266', 'Mugs_Set_1_1776893731043_29604.jpg', '/uploads/Mugs_Set_1_1776893731043_29604.jpg', 'image/jpeg', '53845'),
('267', 'Colorful_Bowl_Set_1_1776893732517_98877.jpg', '/uploads/Colorful_Bowl_Set_1_1776893732517_98877.jpg', 'image/jpeg', '83214'),
('268', 'Crockery_Set_1_1776893733335_21864.jpg', '/uploads/Crockery_Set_1_1776893733335_21864.jpg', 'image/jpeg', '45586'),
('269', 'Bottles_Set_1_1776893733848_17728.jpg', '/uploads/Bottles_Set_1_1776893733848_17728.jpg', 'image/jpeg', '60529'),
('270', 'Glass_Set_1_1776893734301_66311.jpg', '/uploads/Glass_Set_1_1776893734301_66311.jpg', 'image/jpeg', '39837'),
('271', 'Bowls_Set_1_1776893734746_19282.jpg', '/uploads/Bowls_Set_1_1776893734746_19282.jpg', 'image/jpeg', '41910'),
('272', 'Mug_Set_1_1776893735217_46058.jpg', '/uploads/Mug_Set_1_1776893735217_46058.jpg', 'image/jpeg', '48030'),
('273', 'Tea_Set_1_1776893735700_98140.jpg', '/uploads/Tea_Set_1_1776893735700_98140.jpg', 'image/jpeg', '39669'),
('274', 'Cup_Tray_Set_1_1776893737122_28710.jpg', '/uploads/Cup_Tray_Set_1_1776893737122_28710.jpg', 'image/jpeg', '46820'),
('275', 'Chicken_Patties_1_1776893737852_73492.png', '/uploads/Chicken_Patties_1_1776893737852_73492.png', 'image/png', '176706'),
('276', 'Chicken_Sandwich_1_1776893739769_34743.png', '/uploads/Chicken_Sandwich_1_1776893739769_34743.png', 'image/png', '168154'),
('277', 'Chicken_Sashlick_1_1776893741448_19422.png', '/uploads/Chicken_Sashlick_1_1776893741448_19422.png', 'image/png', '174410'),
('278', 'Chicken_Sashlick_2_1776893741508_24760.png', '/uploads/Chicken_Sashlick_2_1776893741508_24760.png', 'image/png', '174410'),
('279', 'Chicken_Drumstick_1_1776893742413_96067.png', '/uploads/Chicken_Drumstick_1_1776893742413_96067.png', 'image/png', '197872'),
('280', 'AXE_body_spray_men__1_1776893743144_1180.png', '/uploads/AXE_body_spray_men__1_1776893743144_1180.png', 'image/png', '120450'),
('281', 'FOGG_body_spray_women__1_1776893745058_32552.png', '/uploads/FOGG_body_spray_women__1_1776893745058_32552.png', 'image/png', '149740'),
('282', 'SHE_body_spray_women__1_1776893745897_33192.png', '/uploads/SHE_body_spray_women__1_1776893745897_33192.png', 'image/png', '149191'),
('283', 'Blue_Lady_body_spray_women__1_1776893746365_33065.png', '/uploads/Blue_Lady_body_spray_women__1_1776893746365_33065.png', 'image/png', '142054'),
('284', 'Men_s_Perfume_1_1776893747167_40224.png', '/uploads/Men_s_Perfume_1_1776893747167_40224.png', 'image/png', '173809'),
('285', 'Colgate_Toothpaste_1_1776893747667_82258.png', '/uploads/Colgate_Toothpaste_1_1776893747667_82258.png', 'image/png', '29705'),
('286', 'Colgate_Toothpaste_2_1776893748155_80784.png', '/uploads/Colgate_Toothpaste_2_1776893748155_80784.png', 'image/png', '29705'),
('287', 'Tooth_brush_1_1776893748633_60430.png', '/uploads/Tooth_brush_1_1776893748633_60430.png', 'image/png', '18328'),
('288', 'Tissue_box_1_1776893750368_72005.png', '/uploads/Tissue_box_1_1776893750368_72005.png', 'image/png', '108604'),
('289', 'Head_Shoulders_1_1776893751793_40658.png', '/uploads/Head_Shoulders_1_1776893751793_40658.png', 'image/png', '52062'),
('290', 'Lux_Soap_1_1776893752303_97933.png', '/uploads/Lux_Soap_1_1776893752303_97933.png', 'image/png', '50446'),
('291', 'Insect_Killer_Spray_1_1776893753525_44380.png', '/uploads/Insect_Killer_Spray_1_1776893753525_44380.png', 'image/png', '33006'),
('292', 'Hair_Brush_1_1776893753988_33792.png', '/uploads/Hair_Brush_1_1776893753988_33792.png', 'image/png', '47499'),
('293', 'Dove_Conditioner_1_1776893754456_41955.png', '/uploads/Dove_Conditioner_1_1776893754456_41955.png', 'image/png', '35899'),
('294', 'Air_Freshner_1_1776893755664_70211.png', '/uploads/Air_Freshner_1_1776893755664_70211.png', 'image/png', '31659'),
('295', 'Air_Freshner_2_1776893756139_17024.png', '/uploads/Air_Freshner_2_1776893756139_17024.png', 'image/png', '31659'),
('296', 'Tooth_Pick_1_1776893757894_24188.png', '/uploads/Tooth_Pick_1_1776893757894_24188.png', 'image/png', '76948'),
('297', 'admin_pages_fix.zip', '/uploads/1777452351373-294955617.zip', 'application/x-zip-compressed', '2304'),
('298', 'admin_pages_fix.zip', '/uploads/1777452544394-243632415.zip', 'application/x-zip-compressed', '2304'),
('313', 'logo-Bf4keQXL.png', '/uploads/1779782771433-627118847.png', 'image/png', '174063'),
('314', 'ChatGPT Image Apr 21, 2026, 02_25_54 PM.png', '/uploads/1780091010244-741151054.png', 'image/png', '344407'),
('315', 'image.jpg', '/uploads/1782139060151-391490793.jpg', 'image/jpeg', '2750961'),
('316', '541672da-dded-4382-a419-cffea37d29a3.png', '/uploads/1782487297495-194934475.png', 'image/png', '718074'),
('317', 'images (1).jpg', '/uploads/1782487319377-129352508.jpg', 'image/jpeg', '5806'),
('318', 'images (3).png', '/uploads/1782487353164-346670546.png', 'image/png', '3023'),
('319', 'personal-kit-1784736171820.png', '/uploads/generated/grouped-products/personal-kit-1784736171820.png', 'image/png', '269219'),
('320', 'personal-kit-1784736174605.png', '/uploads/generated/grouped-products/personal-kit-1784736174605.png', 'image/png', '269219'),
('321', 'personal-kit-1784736175889.png', '/uploads/generated/grouped-products/personal-kit-1784736175889.png', 'image/png', '269219'),
('322', 'personal-kit-1784736191572.png', '/uploads/generated/grouped-products/personal-kit-1784736191572.png', 'image/png', '387725'),
('323', 'dklsjaf-1784736361007.png', '/uploads/generated/grouped-products/dklsjaf-1784736361007.png', 'image/png', '671874'),
('324', 'ChatGPT Image Jul 22, 2026, 09_22_55 PM.webp', '/uploads/1784738778371-545829665.webp', 'image/webp', '35300'),
('325', 'personal-kit-1784738905816.png', '/uploads/generated/grouped-products/personal-kit-1784738905816.png', 'image/png', '230124'),
('326', 'dklsjaf-1784738942124.png', '/uploads/generated/grouped-products/dklsjaf-1784738942124.png', 'image/png', '406670'),
('327', 'ChatGPT Image Jul 22, 2026, 10_05_08 PM.webp', '/uploads/1784739963726-585339455.webp', 'image/webp', '8088'),
('328', 'dklsjaf-primary-1784740218529.png', '/uploads/generated/grouped-products/dklsjaf-primary-1784740218529.png', 'image/png', '422400'),
('329', 'dklsjaf-hero-1784740218534.png', '/uploads/generated/grouped-products/dklsjaf-hero-1784740218534.png', 'image/png', '741925'),
('330', 'personal-kit-primary-1784740227820.png', '/uploads/generated/grouped-products/personal-kit-primary-1784740227820.png', 'image/png', '326040'),
('331', 'personal-kit-hero-1784740227825.png', '/uploads/generated/grouped-products/personal-kit-hero-1784740227825.png', 'image/png', '624639'),
('332', 'personal-kit-primary-1784740435357.png', '/uploads/generated/grouped-products/personal-kit-primary-1784740435357.png', 'image/png', '357938'),
('333', 'personal-kit-hero-1784740435363.png', '/uploads/generated/grouped-products/personal-kit-hero-1784740435363.png', 'image/png', '685774');

-- --------------------------------------------------------
-- Table structure for `membership_card_settings`

CREATE TABLE `membership_card_settings` (
  `id` int NOT NULL,
  `template_code` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'black_gold',
  `background_color` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#111827',
  `accent_color` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#d4af37',
  `text_color` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#ffffff',
  `logo_media_id` int DEFAULT NULL,
  `background_media_id` int DEFAULT NULL,
  `show_profile_picture` tinyint(1) NOT NULL DEFAULT '1',
  `label_points` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Total Points',
  `label_score` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Score to Next Card',
  `label_member_no` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Card Number',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `card_width` int NOT NULL DEFAULT '420',
  `card_height` int NOT NULL DEFAULT '260',
  `card_radius` int NOT NULL DEFAULT '18',
  `shine_intensity` decimal(4,2) NOT NULL DEFAULT '0.72',
  `tilt_enabled` tinyint(1) NOT NULL DEFAULT '1',
  `metallic_mode` tinyint(1) NOT NULL DEFAULT '1',
  `design_json` json DEFAULT NULL,
  `saved_presets_json` json DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_membership_card_logo` (`logo_media_id`),
  KEY `idx_membership_card_bg` (`background_media_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `membership_card_settings` (`id`, `template_code`, `background_color`, `accent_color`, `text_color`, `logo_media_id`, `background_media_id`, `show_profile_picture`, `label_points`, `label_score`, `label_member_no`, `card_width`, `card_height`, `card_radius`, `shine_intensity`, `tilt_enabled`, `metallic_mode`, `design_json`, `saved_presets_json`) VALUES
('1', 'minimal', '#002c8a', '#ffc400', '#ffffff', NULL, NULL, '1', 'Total Points', 'Score to Next Card', 'Card Number', '420', '260', '18', '0.72', '1', '1', NULL, NULL);

-- --------------------------------------------------------
-- Table structure for `membership_ledger`

CREATE TABLE `membership_ledger` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `membership_id` int NOT NULL,
  `customer_id` int NOT NULL,
  `order_id` int DEFAULT NULL,
  `entry_type` enum('earn','redeem','adjustment','reversal','bonus') COLLATE utf8mb4_unicode_ci NOT NULL,
  `points_delta` decimal(18,2) NOT NULL DEFAULT '0.00',
  `score_delta` decimal(18,2) NOT NULL DEFAULT '0.00',
  `currency_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_membership_ledger_member` (`membership_id`,`id`),
  KEY `idx_membership_ledger_customer` (`customer_id`,`id`),
  KEY `idx_membership_ledger_order` (`order_id`,`entry_type`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `membership_ledger` (`id`, `membership_id`, `customer_id`, `order_id`, `entry_type`, `points_delta`, `score_delta`, `currency_amount`, `description`) VALUES
('1', '1', '11', '32', 'earn', '1000.00', '1000.00', '1000.00', 'Reward earned from paid order');

-- --------------------------------------------------------
-- Table structure for `membership_settings`

CREATE TABLE `membership_settings` (
  `id` int NOT NULL,
  `membership_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `membership_engine` enum('points_only','points_and_score') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'points_and_score',
  `coupons_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `points_per_currency` decimal(18,4) NOT NULL DEFAULT '1.0000',
  `score_per_currency` decimal(18,4) NOT NULL DEFAULT '1.0000',
  `point_value` decimal(18,4) NOT NULL DEFAULT '0.0100',
  `redemption_enabled` tinyint(1) NOT NULL DEFAULT '1',
  `redemption_cap_type` enum('percent','amount','none') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent',
  `redemption_cap_value` decimal(18,2) NOT NULL DEFAULT '50.00',
  `tier_downgrade_mode` enum('never','yearly_reset','manual_only') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'never',
  `profile_picture_enabled` tinyint(1) NOT NULL DEFAULT '1',
  `bonus_spend_unit` decimal(18,2) NOT NULL DEFAULT '1000.00',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `membership_settings` (`id`, `membership_enabled`, `membership_engine`, `coupons_enabled`, `points_per_currency`, `score_per_currency`, `point_value`, `redemption_enabled`, `redemption_cap_type`, `redemption_cap_value`, `tier_downgrade_mode`, `profile_picture_enabled`, `bonus_spend_unit`) VALUES
('1', '0', 'points_and_score', '0', '1.0000', '1.0000', '0.0100', '1', 'percent', '50.00', 'never', '1', '1000.00');

-- --------------------------------------------------------
-- Table structure for `membership_tier_history`

CREATE TABLE `membership_tier_history` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `membership_id` int NOT NULL,
  `old_tier_code` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `new_tier_code` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
  `reason` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'system',
  `order_id` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_membership_tier_history_member` (`membership_id`,`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `membership_tier_history` (`id`, `membership_id`, `old_tier_code`, `new_tier_code`, `reason`, `order_id`) VALUES
('1', '1', NULL, 'bronze', 'joined', NULL),
('2', '1', 'bronze', 'silver', 'score_upgrade', '32'),
('3', '2', NULL, 'bronze', 'joined', NULL);

-- --------------------------------------------------------
-- Table structure for `membership_tiers`

CREATE TABLE `membership_tiers` (
  `id` int NOT NULL AUTO_INCREMENT,
  `tier_code` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tier_name` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int NOT NULL DEFAULT '0',
  `min_score` decimal(18,2) NOT NULL DEFAULT '0.00',
  `bonus_points_per_spend_unit` decimal(18,2) NOT NULL DEFAULT '0.00',
  `card_color` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#111827',
  `template_code` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'black_gold',
  `background_color` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `accent_color` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `text_color` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `metallic_mode` tinyint(1) NOT NULL DEFAULT '1',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `tier_code` (`tier_code`),
  KEY `idx_membership_tiers_sort` (`is_active`,`sort_order`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `membership_tiers` (`id`, `tier_code`, `tier_name`, `sort_order`, `min_score`, `bonus_points_per_spend_unit`, `card_color`, `template_code`, `background_color`, `accent_color`, `text_color`, `metallic_mode`, `is_active`) VALUES
('1', 'bronze', 'Bronze', '1', '0.00', '0.00', '#9a6a3a', 'black_gold', '#9a6a3a', '#d4af37', '#ffffff', '1', '1'),
('2', 'silver', 'Silver', '2', '1000.00', '10.00', '#94a3b8', 'black_gold', '#94a3b8', '#d4af37', '#ffffff', '1', '1'),
('3', 'gold', 'Gold', '3', '5000.00', '25.00', '#d4af37', 'black_gold', '#d4af37', '#d4af37', '#ffffff', '1', '1'),
('4', 'platinum', 'Platinum', '4', '15000.00', '50.00', '#7c3aed', 'black_gold', '#7c3aed', '#d4af37', '#ffffff', '1', '0');

-- --------------------------------------------------------
-- Table structure for `memberships`

CREATE TABLE `memberships` (
  `id` int NOT NULL AUTO_INCREMENT,
  `customer_id` int NOT NULL,
  `card_number` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tier_code` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'bronze',
  `status` enum('active','paused','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `points_balance` decimal(18,2) NOT NULL DEFAULT '0.00',
  `lifetime_points` decimal(18,2) NOT NULL DEFAULT '0.00',
  `score_balance` decimal(18,2) NOT NULL DEFAULT '0.00',
  `lifetime_score` decimal(18,2) NOT NULL DEFAULT '0.00',
  `profile_media_id` int DEFAULT NULL,
  `joined_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_memberships_customer` (`customer_id`),
  UNIQUE KEY `uq_memberships_card` (`card_number`),
  KEY `idx_memberships_status_tier` (`status`,`tier_code`),
  KEY `idx_memberships_profile_media` (`profile_media_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `memberships` (`id`, `customer_id`, `card_number`, `tier_code`, `status`, `points_balance`, `lifetime_points`, `score_balance`, `lifetime_score`, `profile_media_id`) VALUES
('1', '11', 'MBR261768801194', 'silver', 'active', '1000.00', '1000.00', '1000.00', '1000.00', '312'),
('2', '8', 'MBR277073823399', 'bronze', 'active', '0.00', '0.00', '0.00', '0.00', NULL);

-- --------------------------------------------------------
-- Table structure for `mobile_app_settings`

CREATE TABLE `mobile_app_settings` (
  `id` int NOT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT '0',
  `portal_slug` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `splash_title` varchar(160) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Mobile App',
  `splash_subtitle` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Fast access for account reports and order tracking.',
  `dashboard_title` varchar(160) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Mobile Dashboard',
  `logo_media_id` int DEFAULT NULL,
  `max_admin_users` int NOT NULL DEFAULT '0',
  `login_layout` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'executive',
  `login_background_css` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `login_card_style` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'floating',
  `theme_mode` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'light',
  `app_bg_color` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#eef2f7',
  `app_surface_color` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#ffffff',
  `app_text_color` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#0f172a',
  `app_muted_color` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#64748b',
  `app_primary_color` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#2563eb',
  `app_accent_color` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#14b8a6',
  `app_banner_style` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'executive',
  `app_banners_json` json DEFAULT NULL,
  `app_features_json` json DEFAULT NULL,
  `show_reports` tinyint(1) NOT NULL DEFAULT '1',
  `show_sales` tinyint(1) NOT NULL DEFAULT '1',
  `show_profit` tinyint(1) NOT NULL DEFAULT '0',
  `tiles_json` json DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `mobile_app_settings` (`id`, `enabled`, `portal_slug`, `splash_title`, `splash_subtitle`, `dashboard_title`, `logo_media_id`, `max_admin_users`, `login_layout`, `login_background_css`, `login_card_style`, `theme_mode`, `app_bg_color`, `app_surface_color`, `app_text_color`, `app_muted_color`, `app_primary_color`, `app_accent_color`, `app_banner_style`, `app_banners_json`, `app_features_json`, `show_reports`, `show_sales`, `show_profit`, `tiles_json`) VALUES
('1', '1', 'app-7ef890dd8adcb3610200fffb', 'Afzal Cash And Carry Phone Dashboard', 'Fast access for account reports and order tracking.', 'Mobile Dashboard', NULL, '0', 'split', 'linear-gradient(145deg,#075985,#0ea5e9 52%,#16a34a)', 'floating', 'custom', '#f1f5f9', '#ffffff', '#102033', '#64748b', '#0ea5e9', '#16a34a', 'clean', '[]', '[]', '1', '1', '0', '[]');

-- --------------------------------------------------------
-- Table structure for `order_fulfillment_locations`

CREATE TABLE `order_fulfillment_locations` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `order_id` bigint NOT NULL,
  `order_item_id` bigint DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `branch_code` varchar(50) DEFAULT NULL,
  `fulfillment_method` varchar(30) NOT NULL DEFAULT 'delivery',
  `quantity` decimal(18,3) NOT NULL DEFAULT '0.000',
  `fulfillment_status` varchar(40) NOT NULL DEFAULT 'reserved',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_order_fulfillment_order` (`order_id`),
  KEY `idx_order_fulfillment_item` (`order_item_id`),
  KEY `idx_order_fulfillment_branch` (`branch_id`,`fulfillment_status`),
  CONSTRAINT `fk_order_fulfillment_branch` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `fk_order_fulfillment_item` FOREIGN KEY (`order_item_id`) REFERENCES `order_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_order_fulfillment_order` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `order_fulfillment_locations` (`id`, `order_id`, `order_item_id`, `branch_id`, `branch_code`, `fulfillment_method`, `quantity`, `fulfillment_status`) VALUES
('1', '18', '18', '2', 'ABC', 'delivery', '2.000', 'pending_branch_arrangement'),
('2', '18', '19', '2', 'ABC', 'delivery', '4.000', 'pending_branch_arrangement'),
('3', '18', '20', '2', 'ABC', 'delivery', '2.000', 'pending_branch_arrangement'),
('4', '18', '21', '2', 'ABC', 'delivery', '2.000', 'pending_branch_arrangement'),
('5', '18', '22', '2', 'ABC', 'delivery', '2.000', 'pending_branch_arrangement'),
('6', '18', '23', '2', 'ABC', 'delivery', '4.000', 'pending_branch_arrangement'),
('7', '18', '24', '2', 'ABC', 'delivery', '2.000', 'pending_branch_arrangement'),
('8', '18', '25', '2', 'ABC', 'delivery', '2.000', 'pending_branch_arrangement'),
('9', '19', '26', '1', 'BRANCH1120', 'delivery', '1.000', 'pending_branch_arrangement'),
('10', '19', '27', '1', 'BRANCH1120', 'delivery', '1.000', 'pending_branch_arrangement');

-- --------------------------------------------------------
-- Table structure for `order_item_options`

CREATE TABLE `order_item_options` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `order_item_id` bigint NOT NULL,
  `option_type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'attribute',
  `option_name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `option_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `price_delta` decimal(18,2) NOT NULL DEFAULT '0.00',
  `sort_order` int NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_order_item_options_item` (`order_item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `order_item_options`

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

CREATE TABLE `order_items` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `order_id` bigint NOT NULL,
  `product_id` int DEFAULT NULL,
  `variation_id` int DEFAULT NULL,
  `product_code_snapshot` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `product_name_snapshot` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `product_slug_snapshot` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `variation_name_snapshot` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sku_snapshot` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `barcode_snapshot` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `image_url_snapshot` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity` decimal(18,3) NOT NULL DEFAULT '1.000',
  `returned_qty` decimal(18,3) NOT NULL DEFAULT '0.000',
  `regular_price_snapshot` decimal(18,2) NOT NULL DEFAULT '0.00',
  `sale_price_snapshot` decimal(18,2) DEFAULT NULL,
  `unit_price` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_subtotal` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_class_snapshot` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_taxable_snapshot` tinyint(1) NOT NULL DEFAULT '0',
  `item_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `return_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none',
  `fulfillment_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'not_started',
  `fulfillment_branch_id` int DEFAULT NULL,
  `fulfillment_branch_code` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `cost_price_snapshot` decimal(18,2) DEFAULT NULL,
  `pricing_rule_id` int DEFAULT NULL,
  `pricing_rule_name_snapshot` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pricing_scope_snapshot` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity_basis_snapshot` decimal(18,3) DEFAULT NULL,
  `original_unit_price` decimal(18,2) DEFAULT NULL,
  `pricing_discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_source` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `applied_collection_id` int DEFAULT NULL,
  `applied_tier_id` int DEFAULT NULL,
  `grouped_product_id` bigint DEFAULT NULL,
  `grouped_product_title_snapshot` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `grouped_product_slug_snapshot` varchar(220) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `grouped_discount_type_snapshot` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `grouped_discount_value_snapshot` decimal(18,4) DEFAULT NULL,
  `grouped_base_quantity_snapshot` decimal(18,4) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_order_items_order` (`order_id`),
  KEY `idx_order_items_product` (`product_id`),
  KEY `idx_order_items_variation` (`variation_id`),
  KEY `idx_order_items_status` (`item_status`),
  KEY `idx_order_items_pricing_rule` (`pricing_rule_id`),
  KEY `idx_order_items_grouped` (`order_id`,`grouped_product_id`,`item_status`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `variation_id`, `product_code_snapshot`, `product_name_snapshot`, `product_slug_snapshot`, `variation_name_snapshot`, `sku_snapshot`, `barcode_snapshot`, `image_url_snapshot`, `quantity`, `returned_qty`, `regular_price_snapshot`, `sale_price_snapshot`, `unit_price`, `line_subtotal`, `discount_amount`, `tax_amount`, `line_total`, `tax_class_snapshot`, `is_taxable_snapshot`, `item_status`, `return_status`, `fulfillment_status`, `fulfillment_branch_id`, `fulfillment_branch_code`, `cost_price_snapshot`, `pricing_rule_id`, `pricing_rule_name_snapshot`, `pricing_scope_snapshot`, `quantity_basis_snapshot`, `original_unit_price`, `pricing_discount_amount`, `discount_source`, `applied_collection_id`, `applied_tier_id`, `grouped_product_id`, `grouped_product_title_snapshot`, `grouped_product_slug_snapshot`, `grouped_discount_type_snapshot`, `grouped_discount_value_snapshot`, `grouped_base_quantity_snapshot`) VALUES
('2', '2', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '3.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('3', '3', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('4', '4', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('5', '5', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('6', '6', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('7', '7', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('8', '8', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '2.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('9', '9', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('10', '10', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('11', '11', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('12', '12', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '4.000', '0.000', '2700.00', '2499.00', '2499.00', '9996.00', '0.00', '499.80', '10495.80', 'reduced_5', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('13', '13', '319', '23', NULL, 'Oversized Hoodie', NULL, 'Oversized Hoodie - Olive / XL', 'HD-OVR-SZN-OLI-XL', NULL, NULL, '1.000', '0.000', '3499.00', NULL, '3499.00', '3499.00', '0.00', '0.00', '3499.00', NULL, '0', 'active', 'none', 'not_started', '2', 'ABC', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('14', '14', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '2700.00', '2499.00', '2499.00', '2499.00', '0.00', '399.84', '2898.84', 'standard_16', '1', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('15', '15', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '2700.00', '2499.00', '2499.00', '2499.00', '0.00', '399.84', '2898.84', 'standard_16', '1', 'active', 'none', 'not_started', '2', 'ABC', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('16', '16', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '2.000', '0.000', '2700.00', '2499.00', '2499.00', '4998.00', '0.00', '799.68', '5797.68', 'standard_16', '1', 'active', 'none', 'not_started', '1', 'LK;LKJL', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('17', '17', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '2700.00', '2499.00', '2499.00', '2499.00', '0.00', '399.84', '2898.84', 'standard_16', '1', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('18', '18', '627', NULL, NULL, 'Dove Conditioner', NULL, NULL, NULL, NULL, '/uploads/Dove_Conditioner_1_1776893754456_41955.png', '2.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('19', '18', '623', NULL, NULL, 'Head & Shoulders', NULL, NULL, NULL, NULL, '/uploads/Head_Shoulders_1_1776893751793_40658.png', '4.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('20', '18', '625', NULL, NULL, 'Insect Killer Spray', NULL, NULL, NULL, NULL, '/uploads/Insect_Killer_Spray_1_1776893753525_44380.png', '2.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('21', '18', '621', NULL, NULL, 'Tooth brush', NULL, NULL, NULL, NULL, '/uploads/Tooth_brush_1_1776893748633_60430.png', '2.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('22', '18', '620', NULL, NULL, 'Colgate Toothpaste', NULL, NULL, NULL, NULL, '/uploads/Colgate_Toothpaste_1_1776893747667_82258.png', '2.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('23', '18', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '4.000', '0.000', '2700.00', '2499.00', '2499.00', '9996.00', '0.00', '499.80', '10495.80', 'reduced_5', '1', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('24', '18', '628', '88', NULL, 'Air Freshner', NULL, 'cotton', NULL, NULL, '/uploads/Air_Freshner_1_1776893755664_70211.png', '2.000', '0.000', '1121.00', '234.00', '234.00', '468.00', '0.00', '0.00', '468.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('25', '18', '630', '89', NULL, 'mnb', NULL, 'Only Burger', NULL, NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '2.000', '0.000', '500.00', NULL, '500.00', '1000.00', '0.00', '0.00', '1000.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('26', '19', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '2700.00', '2499.00', '2499.00', '2499.00', '0.00', '399.84', '2898.84', 'standard_16', '1', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('27', '19', '627', NULL, NULL, 'Dove Conditioner', NULL, NULL, NULL, NULL, '/uploads/Dove_Conditioner_1_1776893754456_41955.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', '1', 'BRANCH1120', NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('28', '20', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '2700.00', '2499.00', '2499.00', '2499.00', '0.00', '124.95', '2623.95', 'reduced_5', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('29', '21', '626', NULL, NULL, 'Hair Brush', NULL, NULL, NULL, NULL, '/uploads/Hair_Brush_1_1776893753988_33792.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('42', '28', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '2700.00', '2499.00', '2499.00', '2499.00', '0.00', '124.95', '2623.95', 'reduced_5', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('43', '28', '626', NULL, NULL, 'Hair Brush', NULL, NULL, NULL, NULL, '/uploads/Hair_Brush_1_1776893753988_33792.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('44', '29', '626', NULL, NULL, 'Hair Brush', NULL, NULL, NULL, NULL, '/uploads/Hair_Brush_1_1776893753988_33792.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('45', '30', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '1.000', '0.000', '2700.00', '2499.00', '2499.00', '2499.00', '0.00', '124.95', '2623.95', 'reduced_5', '1', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('46', '30', '625', NULL, NULL, 'Insect Killer Spray', NULL, NULL, NULL, NULL, '/uploads/Insect_Killer_Spray_1_1776893753525_44380.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('47', '30', '626', NULL, NULL, 'Hair Brush', NULL, NULL, NULL, NULL, '/uploads/Hair_Brush_1_1776893753988_33792.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('49', '32', '630', '89', NULL, 'mnb', NULL, 'Only Burger', NULL, NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '2.000', '1.000', '500.00', NULL, '500.00', '1000.00', '0.00', '0.00', '1000.00', NULL, '0', 'active', 'partial_return', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('50', '33', '630', '89', NULL, 'mnb', NULL, 'Only Burger', NULL, NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '2.000', '0.000', '500.00', NULL, '500.00', '1000.00', '0.00', '0.00', '1000.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('51', '34', '626', NULL, NULL, 'Hair Brush', NULL, NULL, NULL, NULL, '/uploads/Hair_Brush_1_1776893753988_33792.png', '1.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, '0.00', NULL, NULL, NULL, '1.000', '0.00', '0.00', 'none', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('52', '34', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '10.000', '3.000', '2700.00', '2499.00', '150.00', '1500.00', '0.00', '240.00', '1740.00', 'standard_16', '1', 'active', 'partial_return', 'not_started', NULL, NULL, '0.00', '2', 'Product 629 tier pricing', 'product', '10.000', '2499.00', '23490.00', 'wholesale_tier', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('53', '34', '625', NULL, NULL, 'Insect Killer Spray', NULL, NULL, NULL, NULL, '/uploads/Insect_Killer_Spray_1_1776893753525_44380.png', '2.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, '0.00', NULL, NULL, NULL, '2.000', '0.00', '0.00', 'none', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('54', '34', '623', NULL, NULL, 'Head & Shoulders', NULL, NULL, NULL, NULL, '/uploads/Head_Shoulders_1_1776893751793_40658.png', '2.000', '0.000', '0.00', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, '0', 'active', 'none', 'not_started', NULL, NULL, '0.00', NULL, NULL, NULL, '2.000', '0.00', '0.00', 'none', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('55', '35', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '20.000', '0.000', '2700.00', '2499.00', '200.00', '49980.00', '45980.00', '640.00', '4640.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, '0.00', '2', 'Product 629 tier pricing', 'product', '20.000', '2499.00', '45980.00', 'wholesale_tier', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('56', '36', '629', NULL, NULL, 'Tooth Pick', NULL, NULL, 'sad', NULL, '/uploads/Tooth_Pick_1_1776893757894_24188.png', '20.000', '0.000', '2700.00', '2499.00', '200.00', '49980.00', '45980.00', '640.00', '4640.00', 'standard_16', '1', 'active', 'none', 'not_started', NULL, NULL, '0.00', '2', 'Product 629 tier pricing', 'product', '20.000', '2499.00', '45980.00', 'wholesale_tier', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------
-- Table structure for `order_return_request_items`

CREATE TABLE `order_return_request_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `return_request_id` bigint unsigned NOT NULL,
  `order_item_id` bigint unsigned NOT NULL,
  `product_id` bigint unsigned DEFAULT NULL,
  `variant_id` bigint unsigned DEFAULT NULL,
  `product_name_snapshot` varchar(255) DEFAULT NULL,
  `sku_snapshot` varchar(150) DEFAULT NULL,
  `quantity` decimal(12,3) NOT NULL DEFAULT '1.000',
  `unit_price` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_subtotal` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `line_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `condition_code` varchar(40) NOT NULL DEFAULT 'sellable',
  `restock_qty` decimal(12,3) NOT NULL DEFAULT '0.000',
  `received_qty` decimal(12,3) NOT NULL DEFAULT '0.000',
  `reason` varchar(500) DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'requested',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_order_return_request_items_request_id` (`return_request_id`),
  KEY `idx_order_return_request_items_order_item_id` (`order_item_id`),
  KEY `idx_order_return_request_items_status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `order_return_request_items` (`id`, `return_request_id`, `order_item_id`, `product_id`, `variant_id`, `product_name_snapshot`, `sku_snapshot`, `quantity`, `unit_price`, `line_subtotal`, `discount_amount`, `tax_amount`, `line_total`, `condition_code`, `restock_qty`, `received_qty`, `reason`, `status`) VALUES
('1', '1', '49', '630', '89', 'mnb', '', '1.000', '500.00', '500.00', '0.00', '0.00', '500.00', 'sellable', '1.000', '1.000', '', 'received'),
('2', '2', '52', '629', NULL, 'Tooth Pick', 'sad', '3.000', '150.00', '450.00', '0.00', '72.00', '522.00', 'sellable', '3.000', '3.000', '', 'authorized');

-- --------------------------------------------------------
-- Table structure for `order_return_requests`

CREATE TABLE `order_return_requests` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint unsigned NOT NULL,
  `customer_id` bigint unsigned DEFAULT NULL,
  `request_no` varchar(40) NOT NULL,
  `return_no` varchar(60) DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `return_type` varchar(30) NOT NULL DEFAULT 'customer_return',
  `refund_method` varchar(40) NOT NULL DEFAULT 'store_credit',
  `restock_policy` varchar(40) NOT NULL DEFAULT 'restock',
  `subtotal_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `shipping_refund_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `adjustment_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `grand_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `currency_code` varchar(10) NOT NULL DEFAULT 'PKR',
  `invoice_id` bigint DEFAULT NULL,
  `invoice_no` varchar(60) DEFAULT NULL,
  `received_at` datetime DEFAULT NULL,
  `completed_at` datetime DEFAULT NULL,
  `created_by_user_id` int DEFAULT NULL,
  `updated_by_user_id` int DEFAULT NULL,
  `reason` varchar(500) DEFAULT NULL,
  `admin_note` varchar(500) DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_order_return_requests_request_no` (`request_no`),
  KEY `idx_order_return_requests_order_id` (`order_id`),
  KEY `idx_order_return_requests_customer_id` (`customer_id`),
  KEY `idx_order_return_requests_status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `order_return_requests` (`id`, `order_id`, `customer_id`, `request_no`, `return_no`, `status`, `return_type`, `refund_method`, `restock_policy`, `subtotal_amount`, `discount_amount`, `tax_amount`, `shipping_refund_amount`, `adjustment_amount`, `grand_total`, `currency_code`, `invoice_id`, `invoice_no`, `received_at`, `completed_at`, `created_by_user_id`, `updated_by_user_id`, `reason`, `admin_note`) VALUES
('1', '32', '11', 'RET-ORD000024-MRF58M5O', 'RET-ORD000024-MRF58M5O', 'completed', 'customer_return', 'store_credit', 'restock', '500.00', '0.00', '0.00', '120.00', '0.00', '620.00', 'PKR', '35', 'RINV-ORD000024-MRF598ST', '2026-07-10 16:22:30', '2026-07-10 16:22:35', '1', '1', '', ''),
('2', '34', '8', 'RET-ORD000026-MRF5Z186', 'RET-ORD000026-MRF5Z186', 'authorized', 'customer_return', 'store_credit', 'restock', '450.00', '0.00', '72.00', '0.00', '0.00', '522.00', 'PKR', '36', 'RINV-ORD000026-MRF5Z9R7', '2026-07-10 16:42:47', '2026-07-10 16:42:49', '1', '1', '', '');

-- --------------------------------------------------------
-- Table structure for `order_status_history`

CREATE TABLE `order_status_history` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `order_id` bigint NOT NULL,
  `old_order_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `new_order_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `old_payment_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `new_payment_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `old_fulfillment_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `new_fulfillment_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `changed_by_user_id` int DEFAULT NULL,
  `changed_by_username` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `changed_from_ip` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_customer_visible` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_order_status_history_order` (`order_id`),
  KEY `idx_order_status_history_created` (`created_at`),
  KEY `idx_order_status_history_user` (`changed_by_user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `order_status_history` (`id`, `order_id`, `old_order_status`, `new_order_status`, `old_payment_status`, `new_payment_status`, `old_fulfillment_status`, `new_fulfillment_status`, `comment`, `changed_by_user_id`, `changed_by_username`, `changed_from_ip`, `is_customer_visible`) VALUES
('2', '2', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('3', '3', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('4', '4', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('5', '5', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('6', '6', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('7', '6', 'pending', 'shipped', 'pending', 'partially_refunded', 'not_started', 'not_started', 'Order status updated.', '1', 'admin', '::1', '1'),
('8', '6', 'shipped', 'shipped', 'partially_refunded', 'paid', 'not_started', 'picking', 'Order status updated.', '1', 'admin', '::1', '1'),
('9', '7', NULL, 'pending', NULL, 'unpaid', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('10', '8', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('11', '9', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('12', '10', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('13', '11', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('14', '12', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('15', '13', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('16', '14', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('17', '15', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('18', '16', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('19', '17', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('20', '17', 'pending', 'pending', 'pending', 'pending', 'not_started', 'not_started', 'Branch changed from none to abc (ABC).', '1', 'admin', '::1', '0'),
('21', '16', 'pending', 'pending', 'pending', 'pending', 'not_started', 'not_started', 'Branch changed from none to abc (LK;LKJL).', '1', 'admin', '::1', '0'),
('22', '15', 'pending', 'pending', 'pending', 'pending', 'not_started', 'not_started', 'Branch changed from none to abc (ABC).', '1', 'admin', '::1', '0'),
('23', '14', 'pending', 'pending', 'pending', 'pending', 'not_started', 'not_started', 'Branch changed from none to abc (ABC).', '1', 'admin', '::1', '0'),
('24', '13', 'pending', 'pending', 'pending', 'pending', 'not_started', 'not_started', 'Branch changed from none to abc (ABC).', '1', 'admin', '::1', '0'),
('25', '16', 'pending', 'pending', 'pending', 'pending', 'not_started', 'processing', 'Fulfillment status updated from branch portal.', '1', 'admin', '::1', '1'),
('26', '16', 'processing', 'processing', 'pending', 'pending', 'processing', 'packed', 'Fulfillment status updated from branch portal.', '1', 'admin', '::1', '1'),
('27', '16', 'processing', 'processing', 'pending', 'pending', 'packed', 'ready_for_pickup', 'Fulfillment status updated from branch portal.', '1', 'admin', '::1', '1'),
('28', '16', 'processing', 'processing', 'pending', 'pending', 'ready_for_pickup', 'out_for_delivery', 'Fulfillment status updated from branch portal.', '1', 'admin', '::1', '1'),
('29', '18', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('30', '19', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('31', '14', 'pending', 'pending', 'pending', 'pending', 'not_started', 'not_started', 'Branch changed from ABC to F10 Branch (BRANCH1120).', '1', 'admin', '::1', '0'),
('32', '16', 'processing', 'processing', 'pending', 'pending', 'out_for_delivery', 'not_started', 'Items are not Available in the shop', '1', 'admin', '::1', '1'),
('33', '20', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('34', '20', NULL, NULL, NULL, NULL, 'not_started', 'delivered', 'Pickup handed over to customer.', '1', NULL, NULL, '0'),
('35', '21', NULL, 'pending', NULL, 'unpaid', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('42', '28', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('43', '28', 'pending', 'cancelled', 'pending', 'pending', 'not_started', 'not_started', 'Order status updated.', '1', 'admin', '::1', '1'),
('44', '29', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('45', '30', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('47', '32', NULL, 'pending', NULL, 'unpaid', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('48', '32', NULL, NULL, NULL, NULL, 'not_started', 'ready_for_pickup', '', '1', NULL, NULL, '0'),
('49', '32', 'pending', 'pending', 'unpaid', 'paid', 'ready_for_pickup', 'ready_for_pickup', 'Payment transaction marked as paid.', '1', 'admin', '::1', '1'),
('50', '29', NULL, NULL, NULL, NULL, 'awaiting_stock', 'delivered', 'Pickup handed over to customer.', '1', NULL, NULL, '0'),
('51', '33', NULL, 'pending', NULL, 'unpaid', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::1', '1'),
('52', '34', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::ffff:127.0.0.1', '1'),
('53', '35', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::ffff:127.0.0.1', '1'),
('54', '35', 'pending', 'pending', 'pending', 'unpaid', 'not_started', 'not_started', 'Payment transaction marked as pending.', '1', 'admin', '::ffff:127.0.0.1', '1'),
('55', '32', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000024-MRF58M5O created (authorized).', '1', NULL, '::ffff:127.0.0.1', '0'),
('56', '32', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000024-MRF58M5O moved to authorized.', '1', NULL, '::ffff:127.0.0.1', '0'),
('57', '32', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000024-MRF58M5O received.', '1', NULL, '::ffff:127.0.0.1', '0'),
('58', '32', NULL, NULL, NULL, NULL, NULL, NULL, 'Return invoice RINV-ORD000024-MRF598ST generated.', '1', NULL, '::ffff:127.0.0.1', '0'),
('59', '34', 'pending', 'pending', 'pending', 'paid', 'not_started', 'not_started', 'Payment transaction marked as paid.', '1', 'admin', '::ffff:127.0.0.1', '1'),
('60', '34', 'pending', 'pending', 'paid', 'paid', 'not_started', 'shipped', 'Shipment updated to out_for_delivery.', '1', 'admin', '::ffff:127.0.0.1', '1'),
('61', '34', 'pending', 'delivered', 'paid', 'paid', 'shipped', 'shipped', 'Order status updated.', '1', 'admin', '::ffff:127.0.0.1', '1'),
('62', '20', 'completed', 'completed', 'pending', 'paid', 'delivered', 'delivered', 'Payment transaction marked as paid.', '1', 'admin', '::ffff:127.0.0.1', '1'),
('63', '20', 'completed', 'completed', 'paid', 'paid', 'delivered', 'shipped', 'Shipment updated to shipped.', '1', 'admin', '::ffff:127.0.0.1', '1'),
('64', '20', 'completed', 'shipped', 'paid', 'paid', 'shipped', 'shipped', 'Order status updated.', '1', 'admin', '::ffff:127.0.0.1', '1'),
('65', '34', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000026-MRF5Z186 created (authorized).', '1', NULL, '::ffff:127.0.0.1', '0'),
('66', '34', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000026-MRF5Z186 moved to authorized.', '1', NULL, '::ffff:127.0.0.1', '0'),
('67', '34', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000026-MRF5Z186 received.', '1', NULL, '::ffff:127.0.0.1', '0'),
('68', '34', NULL, NULL, NULL, NULL, NULL, NULL, 'Return invoice RINV-ORD000026-MRF5Z9R7 generated.', '1', NULL, '::ffff:127.0.0.1', '0'),
('69', '36', NULL, 'pending', NULL, 'pending', NULL, 'not_started', 'Order placed from storefront checkout.', NULL, NULL, '::ffff:127.0.0.1', '1'),
('70', '36', 'pending', 'processing', 'pending', 'pending', 'not_started', 'picking', 'Picking started by packing desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('71', '36', 'processing', 'processing', 'pending', 'pending', 'picking', 'picking', 'Picking started by packing desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('72', '36', 'processing', 'processing', 'pending', 'pending', 'picking', 'picking', 'Picking started by packing desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('73', '36', 'processing', 'packed', 'pending', 'pending', 'picking', 'packed', 'Order packed by packing desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('74', '34', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000026-MRF5Z186 moved to authorized.', '1', NULL, '::ffff:127.0.0.1', '0'),
('75', '34', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000026-MRF5Z186 received.', '1', NULL, '::ffff:127.0.0.1', '0'),
('76', '34', NULL, NULL, NULL, NULL, NULL, NULL, 'Return RET-ORD000026-MRF5Z186 moved to authorized.', '1', NULL, '::ffff:127.0.0.1', '0'),
('77', '36', 'packed', 'confirmed', 'pending', 'paid', 'packed', 'packed', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('78', '35', 'pending', 'confirmed', 'unpaid', 'paid', 'not_started', 'not_started', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('79', '33', 'pending', 'confirmed', 'unpaid', 'paid', 'not_started', 'not_started', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('80', '30', 'pending', 'confirmed', 'pending', 'paid', 'awaiting_stock', 'awaiting_stock', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('81', '29', 'completed', 'confirmed', 'pending', 'paid', 'delivered', 'delivered', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('82', '28', 'cancelled', 'confirmed', 'pending', 'paid', 'not_started', 'not_started', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('83', '21', 'pending', 'confirmed', 'unpaid', 'paid', 'not_started', 'not_started', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0'),
('84', '19', 'pending', 'confirmed', 'pending', 'paid', 'not_started', 'not_started', 'Payment verified by payment desk.', '1', 'admin', '::ffff:127.0.0.1', '0');

-- --------------------------------------------------------
-- Table structure for `orders`

CREATE TABLE `orders` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `order_no` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `business_engine` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'retail',
  `order_source` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'web',
  `fulfillment_store_code` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fulfillment_method` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'delivery',
  `pickup_branch_id` int DEFAULT NULL,
  `pickup_status` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pickup_customer_message` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pickup_ready_min_minutes` int DEFAULT NULL,
  `pickup_ready_max_minutes` int DEFAULT NULL,
  `delivery_branch_rule` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fulfillment_branch_id` int DEFAULT NULL,
  `fulfillment_branch_code` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fulfillment_branch_distance_km` decimal(10,3) DEFAULT NULL,
  `customer_id` bigint DEFAULT NULL,
  `cart_id` bigint DEFAULT NULL,
  `customer_type` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'guest',
  `customer_name_snapshot` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_email_snapshot` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_phone_snapshot` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_whatsapp_snapshot` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_phone` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_email` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_country` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_province` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_area` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_address_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_address_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `billing_postal_code` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_phone` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_email` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_country` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_province` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_city` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_area` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_address_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_address_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_postal_code` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_landmark` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_latitude` decimal(10,7) DEFAULT NULL,
  `shipping_longitude` decimal(10,7) DEFAULT NULL,
  `shipping_map_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `order_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `payment_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid',
  `credit_ledger_id` bigint DEFAULT NULL,
  `fulfillment_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'not_started',
  `currency_code` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PKR',
  `subtotal_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `shipping_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `adjustment_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `grand_total` decimal(18,2) NOT NULL DEFAULT '0.00',
  `paid_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `balance_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `payment_method_code` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_method_name_snapshot` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shipping_zone_id` int DEFAULT NULL,
  `shipping_method_name_snapshot` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_note` text COLLATE utf8mb4_unicode_ci,
  `admin_note` text COLLATE utf8mb4_unicode_ci,
  `ip_address` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text COLLATE utf8mb4_unicode_ci,
  `placed_at` datetime DEFAULT NULL,
  `confirmed_at` datetime DEFAULT NULL,
  `cancelled_at` datetime DEFAULT NULL,
  `completed_at` datetime DEFAULT NULL,
  `created_by_user_id` int DEFAULT NULL,
  `updated_by_user_id` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `public_order_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `coupon_code` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `coupon_discount_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `points_redeemed` decimal(18,2) NOT NULL DEFAULT '0.00',
  `points_value_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `membership_points_earned` decimal(18,2) NOT NULL DEFAULT '0.00',
  `membership_score_earned` decimal(18,2) NOT NULL DEFAULT '0.00',
  `membership_id` int DEFAULT NULL,
  `membership_tier_snapshot` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `external_reference_no` varchar(120) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `external_reference_source` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `external_reference_updated_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_orders_order_no` (`order_no`),
  KEY `idx_orders_customer` (`customer_id`),
  KEY `idx_orders_status` (`order_status`),
  KEY `idx_orders_payment_status` (`payment_status`),
  KEY `idx_orders_fulfillment_status` (`fulfillment_status`),
  KEY `idx_orders_created` (`created_at`),
  KEY `idx_orders_engine` (`business_engine`),
  KEY `idx_orders_payment_method` (`payment_method_code`),
  KEY `idx_orders_shipping_zone` (`shipping_zone_id`),
  KEY `idx_orders_customer_created` (`customer_id`,`created_at`),
  KEY `idx_orders_status_created` (`order_status`,`created_at`),
  KEY `idx_orders_payment_created` (`payment_status`,`created_at`),
  KEY `idx_orders_order_no` (`order_no`),
  KEY `idx_orders_fulfillment_branch` (`fulfillment_branch_id`,`fulfillment_method`,`order_status`),
  KEY `idx_orders_shipping_coords` (`shipping_latitude`,`shipping_longitude`),
  KEY `idx_orders_branch_method_status_date` (`fulfillment_branch_id`,`pickup_branch_id`,`fulfillment_method`,`order_status`,`fulfillment_status`,`placed_at`),
  KEY `idx_orders_dashboard_created` (`created_at`,`order_status`,`payment_status`),
  KEY `idx_orders_coupon_code` (`coupon_code`),
  KEY `idx_orders_membership` (`membership_id`),
  KEY `idx_orders_branch_fulfillment_status` (`fulfillment_branch_id`,`fulfillment_status`,`created_at`),
  KEY `idx_orders_pickup_branch_status` (`pickup_branch_id`,`pickup_status`,`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `orders` (`id`, `order_no`, `business_engine`, `order_source`, `fulfillment_store_code`, `fulfillment_method`, `pickup_branch_id`, `pickup_status`, `pickup_customer_message`, `pickup_ready_min_minutes`, `pickup_ready_max_minutes`, `delivery_branch_rule`, `fulfillment_branch_id`, `fulfillment_branch_code`, `fulfillment_branch_distance_km`, `customer_id`, `cart_id`, `customer_type`, `customer_name_snapshot`, `customer_email_snapshot`, `customer_phone_snapshot`, `customer_whatsapp_snapshot`, `billing_name`, `billing_phone`, `billing_email`, `billing_country`, `billing_province`, `billing_city`, `billing_area`, `billing_address_1`, `billing_address_2`, `billing_postal_code`, `shipping_name`, `shipping_phone`, `shipping_email`, `shipping_country`, `shipping_province`, `shipping_city`, `shipping_area`, `shipping_address_1`, `shipping_address_2`, `shipping_postal_code`, `shipping_landmark`, `shipping_latitude`, `shipping_longitude`, `shipping_map_address`, `order_status`, `payment_status`, `credit_ledger_id`, `fulfillment_status`, `currency_code`, `subtotal_amount`, `discount_amount`, `tax_amount`, `shipping_amount`, `adjustment_amount`, `grand_total`, `paid_amount`, `balance_amount`, `payment_method_code`, `payment_method_name_snapshot`, `shipping_zone_id`, `shipping_method_name_snapshot`, `customer_note`, `admin_note`, `ip_address`, `user_agent`, `placed_at`, `confirmed_at`, `cancelled_at`, `completed_at`, `created_by_user_id`, `updated_by_user_id`, `public_order_token`, `coupon_code`, `coupon_discount_amount`, `points_redeemed`, `points_value_amount`, `membership_points_earned`, `membership_score_earned`, `membership_id`, `membership_tier_snapshot`, `external_reference_no`, `external_reference_source`, `external_reference_updated_at`) VALUES
('2', 'ORD000001', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2', '2', 'guest', 'ADFA', 'ASDFA@SDAD', 'ADFFAS', 'ASDASD', 'ADFA', 'ADFFAS', 'ASDFA@SDAD', 'Pakistan', 'SADASD', 'AA', 'SADSAD', 'SADAD', 'SAD', 'ASDASD', 'ADFA', 'ADFFAS', 'ASDFA@SDAD', 'Pakistan', 'SADASD', 'AA', 'SADSAD', 'SADAD', 'SAD', 'ASDASD', 'ASDASD', NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '100.00', '0.00', '100.00', '0.00', '100.00', 'cod', 'Cash on Delivery', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-09 22:30:24', NULL, NULL, NULL, NULL, NULL, '9d0d72b60e07966e173656645d2ea30b42b02b3a639612c07a7bff359f5383eb', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('3', 'ORD000002', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '3', 'guest', 'DSFA', 'SFDA@DSF.COM', 'SADF', 'DSAFA', 'DSFA', 'SADF', 'SFDA@DSF.COM', 'Pakistan', 'ADSF', 'aa', 'ADF', 'SADF', 'ADSF', 'ASDF', 'DSFA', 'SADF', 'SFDA@DSF.COM', 'Pakistan', 'ADSF', 'aa', 'ADF', 'SADF', 'ADSF', 'ASDF', 'ASDF', NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '100.00', '0.00', '100.00', '0.00', '100.00', 'cod', 'Cash on Delivery', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-09 22:37:35', NULL, NULL, NULL, NULL, NULL, 'd2920352063cda4893b6dd14fdb0f87bcafbcf45a6484f05ae0dd46f8a1dc4b6', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('4', 'ORD000003', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5', '4', 'guest', 'DSAF', 'ASDF', 'ASDF', 'ASDF', 'DSAF', 'ASDF', 'ASDF', 'Pakistan', 'DFS', 'AA', 'DSF', 'SDF', 'ADSF', 'SDF', 'DSAF', 'ASDF', 'ASDF', 'Pakistan', 'DFS', 'AA', 'DSF', 'SDF', 'ADSF', 'SDF', 'ADF', NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '100.00', '0.00', '100.00', '0.00', '100.00', 'cod', 'Cash on Delivery', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-09 23:09:44', NULL, NULL, NULL, NULL, NULL, '5027ad6c2683976b14a1d3109ebc29134b4637d4e2d8549511d8bee93e3c1faf', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('5', 'ORD000004', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '5', 'guest', 'SADF', 'SADF', 'SADF', 'SADF', 'SADF', 'SADF', 'SADF', 'Pakistan', 'SADF', 'AA', 'SDF', 'SDF', 'SDF', 'SDF', 'SADF', 'SADF', 'SADF', 'Pakistan', 'SADF', 'AA', 'SDF', 'SDF', 'SDF', 'SDF', 'SDF', NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '100.00', '0.00', '100.00', '0.00', '100.00', 'cod', 'Cash on Delivery', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-09 23:11:58', NULL, NULL, NULL, NULL, NULL, '1c480e12d6f27236d5a9739d65b80aa14c69937cd12d026a6fed8e0c53400208', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('6', 'ORD000005', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '6', '6', 'guest', 'asd', 'a@a.com', 'ggff', NULL, 'asd', 'ggff', 'a@a.com', 'Pakistan', NULL, 'AA', NULL, 'ASGH KKK', NULL, '44000', 'asd', 'ggff', 'a@a.com', 'Pakistan', NULL, 'AA', NULL, 'ASGH KKK', NULL, '44000', NULL, NULL, NULL, NULL, 'shipped', 'paid', NULL, 'picking', 'PKR', '0.00', '0.00', '0.00', '100.00', '0.00', '100.00', '0.00', '100.00', 'cod', 'Cash on Delivery', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-09 23:27:38', '2026-05-10 00:19:12', NULL, NULL, NULL, '1', 'ef2478fadd4570070bd8b00b68b3213ff81ad76c4ffbd0a3826a2839f2d183f4', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('7', 'ORD000006', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '7', '7', 'guest', 'dsaf', 'adf', 'afd', NULL, 'dsaf', 'afd', 'adf', 'Pakistan', 'dsf', 'aa', 'dfs', 'sdfsf', NULL, NULL, 'dsaf', 'afd', 'adf', 'Pakistan', 'dsf', 'aa', 'dfs', 'sdfsf', NULL, NULL, NULL, NULL, NULL, NULL, 'pending', 'unpaid', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '100.00', '0.00', '100.00', '0.00', '100.00', 'bank_transfer', 'Easypaisa', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-10 00:40:20', NULL, NULL, NULL, NULL, NULL, '1f7d41a7ba0a61e302218610ec47c06c0cd8ed9942a2aff66c1cae94ae7cb248', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('8', 'ORD000007', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '9', '8', 'guest', 'erqw', 'qwer', 'qwer', NULL, 'erqw', 'qwer', 'qwer', 'Pakistan', 'qwer', 'wqer', NULL, 'ewqr', NULL, NULL, 'erqw', 'qwer', 'qwer', 'Pakistan', 'qwer', 'wqer', NULL, 'ewqr', NULL, NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-10 01:36:38', NULL, NULL, NULL, NULL, NULL, '88596e9539c7756fbf9e139cc1b8f2b60f69e8071085e3fa707b3e81b9978511', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('9', 'ORD000008', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '9', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-10 01:41:33', NULL, NULL, NULL, NULL, NULL, '96b3f17034b368ef2523f10e61f50a0047699e76ab9f15eb931d3737899644de', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('10', 'ORD000009', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '10', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-10 11:56:27', NULL, NULL, NULL, NULL, NULL, '011c349a40d028e3129c6838971c104572358f8a561397c0ff3c2cd0179e2909', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('11', 'ORD000010', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '11', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-11 20:32:20', NULL, NULL, NULL, NULL, NULL, 'd49dec1b8ca1f001fad6d66a971121a81d0a033efa5ff9460a9c6779e450d8db', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('12', 'ORD000011', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '12', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '9996.00', '0.00', '499.80', '0.00', '0.00', '10495.80', '0.00', '10495.80', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-16 04:23:25', NULL, NULL, NULL, NULL, NULL, 'd205b7068607c58374f05636ff328c5af5b062b878894624965b3ccbd3743020', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('13', 'ORD000012', 'retail', 'web', 'ABC', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, '2', 'ABC', NULL, '8', '13', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'lahore', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'lahore', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '3499.00', '0.00', '0.00', '0.00', '0.00', '3499.00', '0.00', '3499.00', 'cod', 'Cash on Delivery', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-16 05:14:38', NULL, NULL, NULL, NULL, '1', '5bbb566ce3db58f9963ddc3cab56701c917c90ebcac1510463eea0684d809a54', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('14', 'ORD000013', 'retail', 'web', 'BRANCH1120', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, '1', 'BRANCH1120', NULL, '8', '14', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '2499.00', '0.00', '399.84', '0.00', '0.00', '2898.84', '0.00', '2898.84', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-19 05:24:50', NULL, NULL, NULL, NULL, '1', '035c703a079727efdfbefaaeeebdf089e4cbaafef3ed6d713c4f9c6e7ec92e03', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('15', 'ORD000014', 'retail', 'web', 'ABC', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, '2', 'ABC', NULL, '8', '15', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '2499.00', '0.00', '399.84', '0.00', '0.00', '2898.84', '0.00', '2898.84', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-19 06:24:42', NULL, NULL, NULL, NULL, '1', 'b5a15df3ff299de7e01dfaa4fa619c3b505511b76d0db67870c1c3421b1d6c1d', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('16', 'ORD000015', 'retail', 'web', 'LK;LKJL', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, '1', 'LK;LKJL', NULL, '8', '16', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'processing', 'pending', NULL, 'not_started', 'PKR', '4998.00', '0.00', '799.68', '0.00', '0.00', '5797.68', '0.00', '5797.68', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-22 22:54:43', NULL, NULL, NULL, NULL, '1', '3f7f5ae9d65de52fcd3f8a119a814dfa01cb301f4a75ca7655d51d79672a6eb9', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('17', 'ORD000016', 'retail', 'web', 'ABC', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, '1', 'BRANCH1120', NULL, '10', '17', 'guest', 'Yousaf Muhammad', 'admin@12313.com', '03159247909', '03159247909', 'Yousaf Muhammad', '03159247909', 'admin@12313.com', 'Pakistan', NULL, 'Lahore', NULL, 'dfafdsaf', NULL, NULL, 'Yousaf Muhammad', '03159247909', 'admin@12313.com', 'Pakistan', NULL, 'Lahore', NULL, 'dfafdsaf', NULL, NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '2499.00', '0.00', '399.84', '100.00', '0.00', '2998.84', '0.00', '2998.84', 'cod', 'Cash on Delivery', '1', 'AAA', NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-23 00:10:36', NULL, NULL, NULL, NULL, '1', '0699c8badee12e6a5966596cc1d3b9c4c858913d964e0173a63a9b22419c52fd', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('18', 'ORD000017', 'retail', 'web', 'ABC', 'delivery', NULL, NULL, NULL, NULL, NULL, 'nearest_single_branch', '1', 'BRANCH1120', '8436.407', '10', '18', 'guest', 'Yousaf Muhammad', 'admin@12313.com', '03159247909', '03159247909', 'Yousaf Muhammad', '03159247909', 'admin@12313.com', 'Pakistan', 'Islamabad', 'Islamabad', 'g16', 'jlkdsjflksajflds', 'adslkfalkfdljsa', NULL, 'Yousaf Muhammad', '03159247909', 'admin@12313.com', 'Pakistan', 'Islamabad', 'Islamabad', 'g16', 'jlkdsjflksajflds', 'adslkfalkfdljsa', NULL, NULL, NULL, NULL, NULL, 'pending', 'pending', NULL, 'not_started', 'PKR', '11464.00', '0.00', '499.80', '0.00', '0.00', '11963.80', '0.00', '11963.80', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-23 22:45:16', NULL, NULL, NULL, NULL, NULL, '3977593e3a7a56e0309005d80c6d0cc9d4e96f6341f2d0bcd6599e5c6d8fe51e', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('19', 'ORD000018', 'retail', 'web', 'BRANCH1120', 'delivery', NULL, NULL, NULL, NULL, NULL, 'nearest_single_branch', '1', 'BRANCH1120', '8442.814', '10', '19', 'guest', 'Yousaf Muhammad', 'admin@12313.com', '03159247909', '03159247909', 'Yousaf Muhammad', '03159247909', 'admin@12313.com', 'Pakistan', 'Islamabad', 'Islamabad', 'F6', 'hjhkjhhlkjlh', NULL, NULL, 'Yousaf Muhammad', '03159247909', 'admin@12313.com', 'Pakistan', 'Islamabad', 'Islamabad', 'F6', 'hjhkjhhlkjlh', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'not_started', 'PKR', '2499.00', '0.00', '399.84', '0.00', '0.00', '2898.84', '0.00', '2898.84', 'cod', 'Cash on Delivery', NULL, NULL, NULL, 'Payment verified by payment desk.', '::1', 'Browser user agent omitted', '2026-05-23 23:07:37', '2026-07-12 13:50:15', NULL, NULL, NULL, '1', 'dffe6a705447c4f3a5d4eb5a827a2acda72533c202e1477b2a4754823c2efb56', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('20', 'ORD000019', 'retail', 'web', NULL, 'pickup', '1', 'completed', NULL, NULL, NULL, NULL, NULL, 'BRANCH1120', NULL, '8', '20', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'Islamabad', 'F10', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'Islamabad', 'F10', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'shipped', 'paid', NULL, 'shipped', 'PKR', '2499.00', '0.00', '124.95', '0.00', '0.00', '2623.95', '2623.95', '0.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-25 02:19:08', '2026-07-10 16:40:43', NULL, '2026-05-25 02:20:16', NULL, '1', '7109fafa9092985a8bf550d241e6fe5eac8cee1c5e7e50eb71f77cb3c06631dc', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('21', 'ORD000020', 'retail', 'web', NULL, 'pickup', '1', 'pending', NULL, NULL, NULL, NULL, NULL, 'BRANCH1120', NULL, '8', '23', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'Islamabad', 'F10', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'Islamabad', 'F10', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'not_started', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 'bank_transfer', 'Easypaisa', NULL, NULL, NULL, 'Payment verified by payment desk.', '::1', 'Browser user agent omitted', '2026-05-25 02:26:00', '2026-07-11 20:50:23', NULL, NULL, NULL, '1', 'cd6b9a937dffd3d02528503509f430e899ec9fcc848741f0947c6995738d3502', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('28', 'ORD000021', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, '1', 'BRANCH1120', NULL, '8', '24', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', NULL, 'Islamabad', 'F10', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', NULL, 'Islamabad', 'F10', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'not_started', 'PKR', '2499.00', '0.00', '124.95', '0.00', '0.00', '2623.95', '0.00', '2623.95', 'cod', 'Cash on Delivery', NULL, NULL, NULL, 'Payment verified by payment desk.', '::1', 'Browser user agent omitted', '2026-05-25 04:50:44', '2026-07-11 20:50:23', '2026-05-25 04:52:48', NULL, NULL, '1', '01ad621123537b4bffd80f85ed62ace48a5d2ad4def13c284bf1a875136d7028', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('29', 'ORD000022', 'retail', 'web', NULL, 'pickup', '1', 'completed', 'Some items need to be arranged for this branch. You will receive a confirmation call soon.', '10080', '10080', NULL, NULL, 'BRANCH1120', NULL, '8', '25', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'Islamabad', 'Islamabad', 'F10', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'Islamabad', 'Islamabad', 'F10', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'delivered', 'PKR', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, 'Payment verified by payment desk.', '::1', 'Browser user agent omitted', '2026-05-25 04:53:34', '2026-07-11 20:50:22', NULL, '2026-05-25 21:42:32', NULL, '1', 'a1132b0ce6201e90f37b19eb37d60f56f26db4c1a6d7e026aaeca619874e40d8', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('30', 'ORD000023', 'retail', 'web', NULL, 'pickup', '1', 'pending', 'Some items need to be arranged for this branch. You will receive a confirmation call soon.', '14400', '14400', NULL, NULL, 'BRANCH1120', NULL, '11', '21', 'guest', 'Muhammad Ali', 'admin@hggj.com', '03138544077', NULL, 'Muhammad Ali', '03138544077', 'admin@hggj.com', 'Pakistan', 'Islamabad', 'Islamabad', 'F10', 'Street 60, F-10/3, F-10, Islamabad, Zone 1, Islamabad Capital Territory, 44000, Pakistan', NULL, NULL, 'Muhammad Ali', '03138544077', 'admin@hggj.com', 'Pakistan', 'Islamabad', 'Islamabad', 'F10', 'Street 60, F-10/3, F-10, Islamabad, Zone 1, Islamabad Capital Territory, 44000, Pakistan', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'awaiting_stock', 'PKR', '2499.00', '0.00', '124.95', '0.00', '0.00', '2623.95', '0.00', '2623.95', 'cod', 'Cash on Delivery', NULL, NULL, NULL, 'Payment verified by payment desk.', '::1', 'Browser user agent omitted', '2026-05-25 05:31:34', '2026-07-11 20:50:21', NULL, NULL, NULL, '1', 'ff85981b8d79397115f50eb92e66647862d8f6de068770f92dfdb53348f52a92', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('32', 'ORD000024', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, '1', 'BRANCH1120', NULL, '11', '26', 'guest', 'Muhammad Ali', 'admin@hggj.com', '03138544077', NULL, 'Muhammad Ali', '03138544077', 'admin@hggj.com', 'Pakistan', NULL, 'Islamabad', 'F10', 'dsaf', 'asfd', NULL, 'Muhammad Ali', '03138544077', 'admin@hggj.com', 'Pakistan', NULL, 'Islamabad', 'F10', 'dsaf', 'asfd', NULL, NULL, NULL, NULL, NULL, 'pending', 'paid', NULL, 'ready_for_pickup', 'PKR', '1000.00', '0.00', '0.00', '0.00', '0.00', '1000.00', '1000.00', '0.00', 'bank_transfer', 'Easypaisa', NULL, NULL, NULL, NULL, '::1', 'Browser user agent omitted', '2026-05-25 06:25:57', NULL, NULL, NULL, NULL, NULL, '82551327f6f9f58d8aa75def12879cd97dfdb4760fa072971620c71bbd810a5f', NULL, '0.00', '0.00', '0.00', '1000.00', '1000.00', '1', 'silver', NULL, NULL, NULL),
('33', 'ORD000025', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '11', '28', 'guest', 'Muhammad Ali', 'admin@hggj.com', '03138544077', NULL, 'Muhammad Ali', '03138544077', 'admin@hggj.com', 'Pakistan', NULL, 'islamabad', NULL, 'asdfkjdsadf', NULL, NULL, 'Muhammad Ali', '03138544077', 'admin@hggj.com', 'Pakistan', NULL, 'islamabad', NULL, 'asdfkjdsadf', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'not_started', 'PKR', '1000.00', '0.00', '0.00', '0.00', '0.00', '1000.00', '0.00', '1000.00', 'bank_transfer', 'Easypaisa', NULL, NULL, NULL, 'Payment verified by payment desk.', '::1', 'Browser user agent omitted', '2026-05-29 11:19:43', '2026-07-11 20:50:20', NULL, NULL, NULL, '1', '7886748bc750825adbffe7e0e080ac10159019ad8ff58960c98a720a4efd92df', NULL, '0.00', '0.00', '0.00', '1000.00', '1000.00', '1', 'silver', NULL, NULL, NULL),
('34', 'ORD000026', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '27', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'delivered', 'paid', NULL, 'shipped', 'PKR', '1500.00', '0.00', '240.00', '0.00', '0.00', '1740.00', '1740.00', '0.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, NULL, '::ffff:127.0.0.1', 'Browser user agent omitted', '2026-06-20 03:34:10', '2026-07-10 16:35:03', NULL, '2026-07-10 16:35:03', NULL, '1', '541a29d803e45ad9aaa4e1091179e22f01526df37d3bf60a8db8a313159ad7a2', NULL, '0.00', '0.00', '0.00', '1500.00', '1500.00', '2', 'bronze', NULL, NULL, NULL),
('35', 'ORD000027', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '29', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'not_started', 'PKR', '49980.00', '45980.00', '640.00', '0.00', '0.00', '4640.00', '0.00', '4640.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, 'Payment verified by payment desk.', '::ffff:127.0.0.1', 'Browser user agent omitted', '2026-06-23 00:42:05', '2026-07-11 20:50:19', NULL, NULL, NULL, '1', 'e28389e378f3de919c55bc5f790787e7cff3bb4086771ae06d5dbc91a7b00f87', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL),
('36', 'ORD000028', 'retail', 'web', NULL, 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '30', 'guest', 'Muhammad Yousaf', 'yousafapple008@gmail.com', '03090231298', '03090231298', 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, 'Muhammad Yousaf', '03090231298', 'yousafapple008@gmail.com', 'Pakistan', 'asf', 'adf', 'adf', 'sadf', 'sdf', NULL, NULL, NULL, NULL, NULL, 'confirmed', 'paid', NULL, 'packed', 'PKR', '49980.00', '45980.00', '640.00', '0.00', '0.00', '4640.00', '0.00', '4640.00', 'cod', 'Cash on Delivery', NULL, NULL, NULL, 'Payment verified by payment desk.', '::ffff:127.0.0.1', 'Browser user agent omitted', '2026-07-10 17:48:09', '2026-07-11 20:43:56', NULL, NULL, NULL, '1', 'd03b8f9e0f3451b1208a65b2809d1a9b2e0c07a0d16f9249c7289b537265bef1', NULL, '0.00', '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------
-- Table structure for `payment_methods`

CREATE TABLE `payment_methods` (
  `id` int NOT NULL AUTO_INCREMENT,
  `method_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `provider_code` varchar(80) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `integration_mode` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'manual',
  `gateway_environment` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sandbox',
  `gateway_config_json` json DEFAULT NULL,
  `gateway_public_config_json` json DEFAULT NULL,
  `checkout_redirect_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `callback_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `return_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cancel_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `method_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `sort_order` int NOT NULL DEFAULT '0',
  `override_tax_class_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `override_tax_class_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_title` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iban` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `swift_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_name` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `instruction_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uq_payment_methods_code` (`method_code`),
  KEY `idx_payment_methods_sort` (`sort_order`),
  KEY `idx_payment_methods_active` (`is_active`),
  KEY `idx_payment_methods_tax_class` (`override_tax_class_code`),
  CONSTRAINT `fk_payment_methods_tax_class` FOREIGN KEY (`override_tax_class_code`) REFERENCES `tax_classes` (`tax_code`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `payment_methods` (`id`, `method_code`, `provider_code`, `integration_mode`, `gateway_environment`, `gateway_config_json`, `gateway_public_config_json`, `checkout_redirect_enabled`, `callback_url`, `return_url`, `cancel_url`, `method_name`, `description`, `is_active`, `sort_order`, `override_tax_class_enabled`, `override_tax_class_code`, `account_title`, `account_number`, `iban`, `swift_code`, `bank_name`, `branch_name`, `instruction_text`) VALUES
('1', 'cod', 'cod', 'manual', 'sandbox', NULL, NULL, '0', NULL, NULL, NULL, 'Cash on Delivery', '', '1', '0', '0', NULL, '', '', '', '', '', '', ''),
('2', 'bank_transfer', 'bank_transfer', 'manual', 'sandbox', NULL, NULL, '0', NULL, NULL, NULL, 'Easypaisa', '', '1', '0', '1', 'reduced_5', '', '', '', '', '', '', '');

-- --------------------------------------------------------
-- Table structure for `payment_transactions`

CREATE TABLE `payment_transactions` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `order_id` bigint NOT NULL,
  `payment_method_id` int DEFAULT NULL,
  `payment_method_code` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_method_name_snapshot` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_type` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'payment',
  `transaction_status` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `currency_code` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PKR',
  `gateway_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gateway_transaction_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gateway_reference_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gateway_response_code` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gateway_response_message` text COLLATE utf8mb4_unicode_ci,
  `gateway_response_json` json DEFAULT NULL,
  `manual_reference_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `manual_attachment_media_id` int DEFAULT NULL,
  `verified_by_user_id` int DEFAULT NULL,
  `verified_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_payment_transactions_order` (`order_id`),
  KEY `idx_payment_transactions_method` (`payment_method_id`),
  KEY `idx_payment_transactions_status` (`transaction_status`),
  KEY `idx_payment_transactions_gateway_ref` (`gateway_transaction_id`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `payment_transactions` (`id`, `order_id`, `payment_method_id`, `payment_method_code`, `payment_method_name_snapshot`, `transaction_type`, `transaction_status`, `amount`, `currency_code`, `gateway_name`, `gateway_transaction_id`, `gateway_reference_no`, `gateway_response_code`, `gateway_response_message`, `gateway_response_json`, `manual_reference_no`, `manual_attachment_media_id`, `verified_by_user_id`, `verified_at`) VALUES
('2', '2', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '100.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('3', '3', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '100.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('4', '4', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '100.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('5', '5', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '100.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('6', '6', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '100.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('7', '7', '2', 'bank_transfer', 'Easypaisa', 'payment', 'pending', '100.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('8', '8', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '0.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('9', '9', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '0.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('10', '10', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '0.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('11', '11', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '0.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('12', '12', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '10495.80', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('13', '13', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '3499.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('14', '14', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '2898.84', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('15', '15', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '2898.84', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('16', '16', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '5797.68', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('17', '17', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '2998.84', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('18', '18', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '11963.80', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('19', '19', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '2898.84', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('20', '20', '1', 'cod', 'Cash on Delivery', 'payment', 'paid', '2623.95', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2026-07-10 21:40:28'),
('21', '21', '2', 'bank_transfer', 'Easypaisa', 'payment', 'pending', '0.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('28', '28', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '2623.95', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('29', '29', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '0.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('30', '30', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '2623.95', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('32', '32', '2', 'bank_transfer', 'Easypaisa', 'payment', 'paid', '1000.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2026-05-25 11:27:20'),
('33', '33', '2', 'bank_transfer', 'Easypaisa', 'payment', 'pending', '1000.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('34', '34', '1', 'cod', 'Cash on Delivery', 'payment', 'paid', '1740.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2026-07-10 21:34:39'),
('35', '35', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '4640.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('36', '36', '1', 'cod', 'Cash on Delivery', 'payment', 'pending', '4640.00', 'PKR', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------
-- Table structure for `permission_safe_permissions`

CREATE TABLE `permission_safe_permissions` (
  `permission_id` int NOT NULL,
  `added_by` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`permission_id`),
  CONSTRAINT `fk_permission_safe_permission` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- No data for `permission_safe_permissions`

-- --------------------------------------------------------
