-- 玉宗 - 珠宝设计大师 数据库初始化脚本（全量数据）
-- 使用前请先创建数据库: CREATE DATABASE yssjs CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-- 导入命令: mysql --default-character-set=utf8mb4 -u yssjs -pyssjs yssjs < init_data.sql
-- 包含全量数据（users、system_configs 含真实 API Key）

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ========================================
-- 清空所有表数据（保证每次导入都是全新数据）
-- ========================================
TRUNCATE TABLE `design_images`;
TRUNCATE TABLE `designs`;
TRUNCATE TABLE `prompt_mappings`;
TRUNCATE TABLE `prompt_templates`;
TRUNCATE TABLE `system_configs`;
TRUNCATE TABLE `colors`;
TRUNCATE TABLE `sub_types`;
TRUNCATE TABLE `categories`;
TRUNCATE TABLE `users`;

-- ========================================
-- 建表: users
-- ========================================
CREATE TABLE IF NOT EXISTS `users` (
  `id` BIGINT AUTO_INCREMENT PRIMARY KEY COMMENT '用户ID',
  `username` VARCHAR(50) NOT NULL UNIQUE COMMENT '用户名',
  `phone` VARCHAR(20) DEFAULT NULL UNIQUE COMMENT '手机号',
  `hashed_password` VARCHAR(255) NOT NULL COMMENT '加密密码',
  `nickname` VARCHAR(50) DEFAULT NULL COMMENT '昵称',
  `avatar` VARCHAR(255) DEFAULT NULL COMMENT '头像URL',
  `is_admin` TINYINT(1) NOT NULL DEFAULT 0 COMMENT '是否管理员',
  `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='用户表';

-- ========================================
-- 数据: users
-- ========================================
INSERT INTO `users` (`id`, `username`, `phone`, `hashed_password`, `nickname`, `avatar`, `is_admin`, `created_at`, `updated_at`) VALUES (1, 'demo', NULL, '$2b$12$bHrcm45CwD0wbQVZIQxOmuZcx/B/MEbGYFTGpPawinDkDWI.jilY2', '演示用户', NULL, 1, '2026-03-27 04:20:30', '2026-03-27 04:20:30');
INSERT INTO `users` (`id`, `username`, `phone`, `hashed_password`, `nickname`, `avatar`, `is_admin`, `created_at`, `updated_at`) VALUES (2, 'test1', NULL, '$2b$12$BG5/I4CVswjNWhfdIP9kJeVqbqLEcWkRq8ioxdpwON7eitL.lSVMW', '测试用户', NULL, 0, '2026-03-27 04:21:36', '2026-03-27 04:21:36');

-- ========================================
-- 建表: categories
-- ========================================
CREATE TABLE IF NOT EXISTS `categories` (
  `id` INT AUTO_INCREMENT PRIMARY KEY COMMENT '品类ID',
  `name` VARCHAR(50) NOT NULL COMMENT '品类名称',
  `icon` VARCHAR(255) DEFAULT NULL COMMENT '品类图标',
  `sort_order` INT DEFAULT 0 COMMENT '排序',
  `flow_type` VARCHAR(20) NOT NULL COMMENT '流程类型：full/size_color/simple'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='品类表';

-- ========================================
-- 建表: sub_types
-- ========================================
CREATE TABLE IF NOT EXISTS `sub_types` (
  `id` INT AUTO_INCREMENT PRIMARY KEY COMMENT '子类型ID',
  `category_id` INT NOT NULL COMMENT '所属品类',
  `name` VARCHAR(50) NOT NULL COMMENT '名称',
  `description` VARCHAR(255) DEFAULT NULL COMMENT '描述',
  `preview_image` VARCHAR(255) DEFAULT NULL COMMENT '预览图',
  `sort_order` INT DEFAULT 0 COMMENT '排序',
  CONSTRAINT `fk_sub_types_category` FOREIGN KEY (`category_id`) REFERENCES `categories`(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='子类型表';

-- ========================================
-- 建表: colors
-- ========================================
CREATE TABLE IF NOT EXISTS `colors` (
  `id` INT AUTO_INCREMENT PRIMARY KEY COMMENT '颜色ID',
  `category_id` INT NOT NULL COMMENT '适用品类',
  `name` VARCHAR(50) NOT NULL COMMENT '颜色名称',
  `hex_code` VARCHAR(7) NOT NULL COMMENT '色值',
  `sort_order` INT DEFAULT 0 COMMENT '排序',
  CONSTRAINT `fk_colors_category` FOREIGN KEY (`category_id`) REFERENCES `categories`(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='颜色表';

-- ========================================
-- 建表: designs
-- ========================================
CREATE TABLE IF NOT EXISTS `designs` (
  `id` BIGINT AUTO_INCREMENT PRIMARY KEY COMMENT '设计ID',
  `user_id` BIGINT NOT NULL COMMENT '用户ID',
  `category_id` INT NOT NULL COMMENT '品类ID',
  `sub_type_id` INT DEFAULT NULL COMMENT '子类型ID',
  `color_id` INT DEFAULT NULL COMMENT '颜色ID',
  `prompt` TEXT NOT NULL COMMENT '设计需求',
  `carving_technique` VARCHAR(50) DEFAULT NULL COMMENT '雕刻工艺',
  `design_style` VARCHAR(50) DEFAULT NULL COMMENT '设计风格',
  `motif` VARCHAR(100) DEFAULT NULL COMMENT '题材纹样',
  `size_spec` VARCHAR(100) DEFAULT NULL COMMENT '尺寸规格',
  `surface_finish` VARCHAR(50) DEFAULT NULL COMMENT '表面处理',
  `usage_scene` VARCHAR(50) DEFAULT NULL COMMENT '用途场景',
  `image_url` TEXT DEFAULT NULL COMMENT '设计图URL',
  `status` VARCHAR(20) DEFAULT 'generating' COMMENT '状态',
  `created_at` DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  CONSTRAINT `fk_designs_user` FOREIGN KEY (`user_id`) REFERENCES `users`(`id`),
  CONSTRAINT `fk_designs_category` FOREIGN KEY (`category_id`) REFERENCES `categories`(`id`),
  CONSTRAINT `fk_designs_sub_type` FOREIGN KEY (`sub_type_id`) REFERENCES `sub_types`(`id`),
  CONSTRAINT `fk_designs_color` FOREIGN KEY (`color_id`) REFERENCES `colors`(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='设计作品表';

-- ========================================
-- 建表: design_images（如不存在）
-- ========================================
CREATE TABLE IF NOT EXISTS design_images (
  id BIGINT AUTO_INCREMENT PRIMARY KEY COMMENT '图片ID',
  design_id BIGINT NOT NULL COMMENT '关联设计ID',
  view_name VARCHAR(20) NOT NULL COMMENT '视角名称: 效果图/正面图/侧面图/背面图',
  image_url TEXT DEFAULT NULL COMMENT '图片URL路径',
  model_used VARCHAR(50) DEFAULT NULL COMMENT '使用的AI模型',
  prompt_used TEXT DEFAULT NULL COMMENT '实际使用的英文prompt',
  sort_order INT DEFAULT 0 COMMENT '排序',
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  CONSTRAINT fk_design_images_design FOREIGN KEY (design_id) REFERENCES designs(id) ON DELETE CASCADE,
  INDEX idx_design_images_design_id (design_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='AI多视角设计图';

-- ========================================
-- 建表: system_configs（如不存在）
-- ========================================
CREATE TABLE IF NOT EXISTS system_configs (
  id BIGINT AUTO_INCREMENT PRIMARY KEY COMMENT '配置ID',
  config_key VARCHAR(100) NOT NULL UNIQUE COMMENT '配置键',
  config_value TEXT COMMENT '配置值',
  description VARCHAR(255) COMMENT '配置说明',
  config_group VARCHAR(50) NOT NULL DEFAULT 'general' COMMENT '配置分组: ai/general',
  is_secret CHAR(1) NOT NULL DEFAULT 'N' COMMENT '是否敏感信息(Y/N)',
  updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='系统配置表';

-- ========================================
-- 建表: prompt_mappings（如不存在）
-- ========================================
CREATE TABLE IF NOT EXISTS prompt_mappings (
  id BIGINT AUTO_INCREMENT PRIMARY KEY COMMENT 'ID',
  mapping_type VARCHAR(20) NOT NULL COMMENT '映射类型: category/color/view/carving/style/motif/finish/scene/sub_type',
  cn_key VARCHAR(50) NOT NULL COMMENT '中文键',
  en_value TEXT NOT NULL COMMENT '英文值',
  sort_order INT DEFAULT 0 COMMENT '排序',
  updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  UNIQUE KEY uk_type_key (mapping_type, cn_key)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='中英文提示词映射表';

-- ========================================
-- 建表: prompt_templates（如不存在）
-- ========================================
CREATE TABLE IF NOT EXISTS prompt_templates (
  id BIGINT AUTO_INCREMENT PRIMARY KEY COMMENT 'ID',
  template_key VARCHAR(50) NOT NULL UNIQUE COMMENT '模板键',
  template_value TEXT NOT NULL COMMENT '模板内容',
  description VARCHAR(255) COMMENT '说明',
  updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='提示词模板表';

-- ========================================
-- categories 数据 (12 条)
-- ========================================
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (1, '牌子', NULL, 1, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (2, '珠子', NULL, 2, 'size_color');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (3, '手把件', NULL, 3, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (4, '雕刻件', NULL, 4, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (5, '摆件', NULL, 5, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (6, '手镯', NULL, 6, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (7, '耳钉', NULL, 7, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (8, '耳饰', NULL, 8, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (9, '手链', NULL, 9, 'size_color');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (10, '项链', NULL, 10, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (11, '戒指', NULL, 11, 'full');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (12, '表带', NULL, 12, 'size_color');
INSERT INTO `categories` (`id`, `name`, `icon`, `sort_order`, `flow_type`) VALUES (13, '随形', NULL, 13, 'simple');

-- ========================================
-- sub_types 数据 (68 条)
-- ========================================
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (1, 1, '二五牌', NULL, NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (2, 1, '三角牌', NULL, NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (3, 1, '三五牌', NULL, NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (4, 1, '四六牌', NULL, NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (5, 1, '正方形', NULL, NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (6, 1, '椭圆形', NULL, NULL, 6);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (7, 2, '4mm', NULL, NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (8, 2, '6mm', NULL, NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (9, 2, '8mm', NULL, NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (10, 2, '10mm', NULL, NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (11, 2, '12mm', NULL, NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (12, 2, '14mm', NULL, NULL, 6);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (13, 2, '16mm', NULL, NULL, 7);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (14, 2, '18mm', NULL, NULL, 8);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (15, 2, '20mm', NULL, NULL, 9);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (16, 3, '山水手把件', '山水意境题材', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (17, 3, '动物手把件', '动物造型题材', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (18, 3, '瑞兽手把件', '貔貅、麒麟等瑞兽', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (19, 3, '人物手把件', '人物造型题材', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (20, 3, '花鸟手把件', '花鸟自然题材', NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (21, 3, '佛像手把件', '佛教题材', NULL, 6);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (22, 4, '山水雕刻', '山水意境雕刻', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (23, 4, '花鸟雕刻', '花鸟自然雕刻', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (24, 4, '人物雕刻', '人物造型雕刻', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (25, 4, '佛像雕刻', '佛教题材雕刻', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (26, 4, '瑞兽雕刻', '瑞兽神兽雕刻', NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (27, 4, '仿古雕刻', '仿古纹饰雕刻', NULL, 6);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (28, 5, '山水摆件', '山水意境摆件', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (29, 5, '人物摆件', '人物造型摆件', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (30, 5, '动物摆件', '动物造型摆件', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (31, 5, '佛像摆件', '佛教题材摆件', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (32, 5, '花鸟摆件', '花鸟自然摆件', NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (33, 5, '器皿摆件', '香炉、花瓶等器皿', NULL, 6);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (34, 6, '平安镯', '内平外圆，最经典的镯型', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (35, 6, '福镯', '内圆外圆，圆条造型', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (36, 6, '贵妃镯', '椭圆形，贴合手腕', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (37, 6, '美人镯', '条杆纤细，秀气典雅', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (38, 6, '方镯', '方形截面，棱角分明', NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (39, 6, '雕花镯', '表面雕刻纹饰', NULL, 6);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (40, 7, '圆形耳钉', '经典圆形造型', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (41, 7, '水滴形耳钉', '水滴形优雅造型', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (42, 7, '方形耳钉', '方形简约造型', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (43, 7, '花朵形耳钉', '花朵造型', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (44, 7, '心形耳钉', '心形浪漫造型', NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (45, 7, '几何形耳钉', '几何抽象造型', NULL, 6);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (46, 8, '耳环', '圆环形耳饰', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (47, 8, '耳坠', '垂坠型耳饰', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (48, 8, '耳夹', '无需耳洞的耳饰', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (49, 8, '流苏耳饰', '长款流苏造型', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (50, 9, '6mm', NULL, NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (51, 9, '8mm', NULL, NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (52, 9, '10mm', NULL, NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (53, 9, '12mm', NULL, NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (54, 9, '14mm', NULL, NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (55, 10, '锁骨链', '短款锁骨链', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (56, 10, '吊坠项链', '搭配玉石吊坠', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (57, 10, '串珠项链', '玉珠串联而成', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (58, 10, '编绳项链', '编织绳搭配玉石', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (59, 10, '毛衣链', '长款毛衣链', NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (60, 11, '素面戒指', '光面简约戒指', NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (61, 11, '镶嵌戒指', '金属镶嵌玉石', NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (62, 11, '雕花戒指', '表面雕刻纹饰', NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (63, 11, '扳指', '传统扳指造型', NULL, 4);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (64, 11, '指环', '环形简约指环', NULL, 5);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (65, 12, '18mm', NULL, NULL, 1);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (66, 12, '20mm', NULL, NULL, 2);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (67, 12, '22mm', NULL, NULL, 3);
INSERT INTO `sub_types` (`id`, `category_id`, `name`, `description`, `preview_image`, `sort_order`) VALUES (68, 12, '24mm', NULL, NULL, 4);

-- ========================================
-- colors 数据 (121 条)
-- ========================================
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (1, 2, '糖白', '#F5F0E8', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (2, 2, '白玉', '#FEFEF2', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (3, 2, '碧玉', '#2D5F2D', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (4, 1, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (5, 1, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (6, 1, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (7, 1, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (8, 1, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (9, 1, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (10, 1, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (11, 1, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (12, 1, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (13, 1, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (14, 3, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (15, 3, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (16, 3, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (17, 3, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (18, 3, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (19, 3, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (20, 3, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (21, 3, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (22, 3, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (23, 3, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (24, 4, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (25, 4, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (26, 4, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (27, 4, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (28, 4, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (29, 4, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (30, 4, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (31, 4, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (32, 4, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (33, 4, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (34, 5, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (35, 5, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (36, 5, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (37, 5, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (38, 5, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (39, 5, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (40, 5, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (41, 5, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (42, 5, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (43, 5, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (44, 6, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (45, 6, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (46, 6, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (47, 6, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (48, 6, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (49, 6, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (50, 6, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (51, 6, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (52, 6, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (53, 6, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (54, 7, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (55, 7, '碧玉', '#2D5F2D', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (56, 7, '翠青', '#6BAF8D', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (57, 7, '黄玉', '#D4A843', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (58, 7, '藕粉', '#E8B4B8', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (59, 7, '烟紫', '#8B7D9B', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (60, 8, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (61, 8, '碧玉', '#2D5F2D', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (62, 8, '翠青', '#6BAF8D', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (63, 8, '黄玉', '#D4A843', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (64, 8, '藕粉', '#E8B4B8', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (65, 8, '烟紫', '#8B7D9B', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (66, 9, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (67, 9, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (68, 9, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (69, 9, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (70, 9, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (71, 9, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (72, 9, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (73, 9, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (74, 9, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (75, 9, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (76, 10, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (77, 10, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (78, 10, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (79, 10, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (80, 10, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (81, 10, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (82, 10, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (83, 10, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (84, 10, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (85, 10, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (86, 11, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (87, 11, '碧玉', '#2D5F2D', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (88, 11, '翠青', '#6BAF8D', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (89, 11, '黄玉', '#D4A843', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (90, 11, '墨玉', '#2C2C2C', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (91, 11, '藕粉', '#E8B4B8', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (92, 12, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (93, 12, '青玉', '#7A8B6E', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (94, 12, '碧玉', '#2D5F2D', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (95, 12, '糖玉', '#C4856C', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (96, 12, '墨玉', '#2C2C2C', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (97, 2, '青白玉', '#E8EDE4', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (98, 2, '青玉', '#7A8B6E', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (99, 2, '翠青', '#6BAF8D', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (100, 2, '黄玉', '#D4A843', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (101, 2, '糖玉', '#C4856C', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (102, 2, '墨玉', '#2C2C2C', 11);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (103, 2, '藕粉', '#E8B4B8', 12);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (104, 2, '烟紫', '#8B7D9B', 13);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (105, 7, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (106, 7, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (107, 7, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (108, 7, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (109, 8, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (110, 8, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (111, 8, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (112, 8, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (113, 11, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (114, 11, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (115, 11, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (116, 11, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (117, 12, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (118, 12, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (119, 12, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (120, 12, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (121, 12, '烟紫', '#8B7D9B', 10);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (122, 13, '白玉', '#FEFEF2', 1);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (123, 13, '青白玉', '#E8EDE4', 2);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (124, 13, '青玉', '#7A8B6E', 3);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (125, 13, '碧玉', '#2D5F2D', 4);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (126, 13, '翠青', '#6BAF8D', 5);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (127, 13, '黄玉', '#D4A843', 6);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (128, 13, '糖玉', '#C4856C', 7);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (129, 13, '墨玉', '#2C2C2C', 8);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (130, 13, '藕粉', '#E8B4B8', 9);
INSERT INTO `colors` (`id`, `category_id`, `name`, `hex_code`, `sort_order`) VALUES (131, 13, '烟紫', '#8B7D9B', 10);

-- ========================================
-- prompt_mappings 数据 (93 条)
-- ========================================
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (1, 'category', '牌子', 'Chinese Hetian nephrite jade pendant plaque, rectangular tablet shape', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (2, 'category', '珠子', 'Chinese Hetian nephrite jade bead, perfectly round sphere', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (3, 'category', '手把件', 'Chinese Hetian nephrite jade hand piece (palm stone), ergonomic carved ornament for hand play', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (4, 'category', '雕刻件', 'Chinese Hetian nephrite jade carving, intricate sculptural artwork', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (5, 'category', '摆件', 'Chinese Hetian nephrite jade display sculpture, decorative art piece on wooden stand', 4, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (6, 'category', '手镯', 'Chinese Hetian nephrite jade bangle bracelet, smooth circular form', 5, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (7, 'category', '耳钉', 'Chinese Hetian nephrite jade stud earring, delicate small jewelry piece', 6, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (8, 'category', '耳饰', 'Chinese Hetian nephrite jade drop earring, elegant dangling jewelry', 7, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (9, 'category', '手链', 'Chinese Hetian nephrite jade bead bracelet, string of polished beads', 8, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (10, 'category', '项链', 'Chinese Hetian nephrite jade necklace, elegant pendant on chain', 9, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (11, 'category', '戒指', 'Chinese Hetian nephrite jade ring, polished jade mounted on band', 10, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (12, 'category', '表带', 'Chinese Hetian nephrite jade watch strap, segmented jade links', 11, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (93, 'category', '随形', 'Chinese Hetian nephrite jade freeform sculpture, organic natural shape following the raw stone contour, artistic interpretation of the original rough jade form', 12, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (13, 'color', '白玉', 'pure white nephrite jade, milky translucent, warm ivory tone', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (14, 'color', '青白玉', 'celadon-white nephrite jade, pale greenish-white, subtle cool tone', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (15, 'color', '青玉', 'celadon nephrite jade, muted sage green, natural earthy green', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (16, 'color', '碧玉', 'deep green jasper nephrite jade, rich forest green, vivid saturated', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (17, 'color', '翠青', 'emerald-tinted nephrite jade, fresh spring green with blue undertone', 4, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (18, 'color', '黄玉', 'golden yellow nephrite jade, warm honey amber, rich golden hue', 5, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (19, 'color', '糖玉', 'sugar-brown nephrite jade, warm caramel brown with reddish tint', 6, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (20, 'color', '墨玉', 'ink-black nephrite jade, deep charcoal black, mysterious dark', 7, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (21, 'color', '藕粉', 'lotus-pink nephrite jade, soft blush pink, delicate pastel rose', 8, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (22, 'color', '烟紫', 'smoky purple nephrite jade, muted lavender grey, subtle violet', 9, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (23, 'color', '糖白', 'sugar-white nephrite jade, creamy white with light brown edges', 10, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (24, 'view', '效果图', 'three-quarter view, 45-degree angle, hero shot, dramatic perspective showing depth and dimension', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (25, 'view', '正面图', 'front view, straight-on, flat lay centered, facing camera directly', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (26, 'view', '侧面图', 'side profile view, 90-degree lateral angle, showing thickness and contour', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (27, 'view', '背面图', 'back view, rear side, showing reverse surface and texture', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (28, 'carving', '浮雕', 'relief carving with raised design emerging from surface', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (29, 'carving', '圆雕', 'full three-dimensional round carving, sculptural in the round', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (30, 'carving', '镂空雕', 'openwork pierced carving, intricate hollow cutout patterns', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (31, 'carving', '阴刻', 'intaglio engraving, incised lines carved into the surface', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (32, 'carving', '线雕', 'fine line engraving, delicate linear incised pattern', 4, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (33, 'carving', '俏色雕', 'qiaose color-play carving utilizing natural jade skin color contrast', 5, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (34, 'carving', '薄意雕', 'shallow thin-relief carving, subtle and understated surface design', 6, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (35, 'carving', '素面', 'plain polished surface, smooth minimalist finish without carving', 7, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (36, 'style', '古典传统', 'classical traditional Chinese style, antique aesthetic, heritage craftsmanship', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (37, 'style', '新中式', 'modern neo-Chinese style, contemporary Asian minimalism with traditional elements', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (38, 'style', '写实', 'realistic naturalistic style, lifelike detailed representation', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (39, 'style', '抽象意境', 'abstract artistic impression, fluid organic forms, poetic mood', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (40, 'style', '极简素面', 'ultra-minimalist clean design, sleek smooth surface, zen aesthetic', 4, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (41, 'motif', '观音', 'Guanyin Bodhisattva figure, serene Buddhist deity of mercy', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (42, 'motif', '弥勒', 'Maitreya laughing Buddha, jovial happy Buddha figure', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (43, 'motif', '莲花', 'lotus flower motif, sacred Buddhist lotus blossom petals', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (44, 'motif', '貔貅', 'Pixiu mythical beast, Chinese fortune guardian creature', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (45, 'motif', '龙凤', 'dragon and phoenix motif, imperial auspicious dual creatures', 4, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (46, 'motif', '麒麟', 'Qilin mythical unicorn, auspicious Chinese legendary beast', 5, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (47, 'motif', '山水', 'Chinese mountain and water landscape, shanshui scenery', 6, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (48, 'motif', '花鸟', 'flower and bird motif, traditional Chinese nature painting theme', 7, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (49, 'motif', '人物', 'human figure motif, classical Chinese character portrayal', 8, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (50, 'motif', '回纹', 'Greek key fret pattern, Chinese meander geometric border', 9, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (51, 'motif', '如意', 'Ruyi scepter motif, auspicious cloud-head wish-granting symbol', 10, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (52, 'motif', '平安扣', 'Ping\'an buckle motif, smooth circular safety and peace symbol', 11, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (53, 'finish', '高光抛光', 'high-gloss mirror polish, reflective glossy surface', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (54, 'finish', '亚光/哑光', 'matte satin finish, soft non-reflective surface', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (55, 'finish', '磨砂', 'frosted textured finish, fine granular surface', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (56, 'finish', '保留皮色', 'natural jade skin preserved, raw russet-brown outer skin layer retained', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (57, 'scene', '日常佩戴', 'designed for daily wear, comfortable and practical', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (58, 'scene', '收藏鉴赏', 'museum-quality collector piece, exquisite showpiece', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (59, 'scene', '送礼婚庆', 'premium gift piece, ceremonial and auspicious', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (60, 'scene', '把玩文玩', 'tactile palm play piece, smooth hand-feel for meditation', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (61, 'sub_type', '二五牌', '2:5 ratio rectangular plaque', 0, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (62, 'sub_type', '三角牌', 'triangular shaped pendant', 1, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (63, 'sub_type', '三五牌', '3:5 ratio rectangular plaque', 2, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (64, 'sub_type', '四六牌', '4:6 ratio rectangular plaque', 3, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (65, 'sub_type', '正方形', 'square shaped plaque', 4, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (66, 'sub_type', '椭圆形', 'oval shaped plaque', 5, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (67, 'sub_type', '平安镯', 'flat interior round exterior classic bangle', 6, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (68, 'sub_type', '福镯', 'round interior round exterior full-round bangle', 7, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (69, 'sub_type', '贵妃镯', 'oval elliptical shape bangle fitting wrist contour', 8, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (70, 'sub_type', '美人镯', 'slim delicate thin bangle, elegant refined', 9, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (71, 'sub_type', '方镯', 'square cross-section angular bangle', 10, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (72, 'sub_type', '雕花镯', 'carved decorative pattern bangle', 11, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (73, 'sub_type', '圆形耳钉', 'round circular stud', 12, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (74, 'sub_type', '水滴形耳钉', 'teardrop shaped stud', 13, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (75, 'sub_type', '方形耳钉', 'square geometric stud', 14, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (76, 'sub_type', '花朵形耳钉', 'flower blossom shaped stud', 15, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (77, 'sub_type', '心形耳钉', 'heart shaped stud', 16, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (78, 'sub_type', '几何形耳钉', 'abstract geometric stud', 17, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (79, 'sub_type', '耳环', 'hoop earring', 18, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (80, 'sub_type', '耳坠', 'drop dangle earring', 19, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (81, 'sub_type', '耳夹', 'clip-on earring', 20, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (82, 'sub_type', '流苏耳饰', 'tassel fringe long earring', 21, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (83, 'sub_type', '素面戒指', 'plain smooth surface ring', 22, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (84, 'sub_type', '镶嵌戒指', 'metal-set mounted jade ring', 23, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (85, 'sub_type', '雕花戒指', 'carved decorative ring', 24, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (86, 'sub_type', '扳指', 'traditional archer thumb ring', 25, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (87, 'sub_type', '指环', 'simple band ring', 26, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (88, 'sub_type', '锁骨链', 'short collarbone chain necklace', 27, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (89, 'sub_type', '吊坠项链', 'pendant necklace with jade drop', 28, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (90, 'sub_type', '串珠项链', 'beaded jade strand necklace', 29, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (91, 'sub_type', '编绳项链', 'braided cord necklace with jade', 30, '2026-03-27 07:20:55');
INSERT INTO `prompt_mappings` (`id`, `mapping_type`, `cn_key`, `en_value`, `sort_order`, `updated_at`) VALUES (92, 'sub_type', '毛衣链', 'long sweater chain necklace', 31, '2026-03-27 07:20:55');

-- ========================================
-- prompt_templates 数据 (3 条)
-- ========================================
INSERT INTO `prompt_templates` (`id`, `template_key`, `template_value`, `description`, `updated_at`) VALUES (1, 'main_template', '{subject}, {sub_type}, {color}, {motif}, {carving}, {style}, {finish}, {scene}, {size}, {user_prompt}, {view}, {quality}', '主提示词模板 - 用变量拼接最终prompt。可用变量: {subject}品类主体, {sub_type}子类型, {color}颜色, {motif}题材, {carving}工艺, {style}风格, {finish}表面处理, {scene}用途, {size}尺寸, {user_prompt}用户描述, {view}视角, {quality}质量后缀', '2026-03-27 07:20:55');
INSERT INTO `prompt_templates` (`id`, `template_key`, `template_value`, `description`, `updated_at`) VALUES (2, 'quality_suffix', 'professional jewelry product photography, studio lighting setup, pure white background, ultra-detailed, sharp focus, 8K resolution, photorealistic rendering, high-end commercial quality', '质量后缀标签 - 附加在prompt末尾的通用质量描述', '2026-03-27 07:20:55');
INSERT INTO `prompt_templates` (`id`, `template_key`, `template_value`, `description`, `updated_at`) VALUES (3, 'default_color', 'natural Hetian nephrite jade with warm luster', '未选择颜色时的默认颜色描述', '2026-03-27 07:20:55');

-- ========================================
-- system_configs 数据 (6 条)
-- ========================================
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (1, 'SILICONFLOW_API_KEY', 'sk-gvszgchguyhhpevafchnimpljasvtuxxuoxeilhiqzlhyvpq', 'SiliconFlow API Key', 'ai', 'Y', '2026-03-27 07:43:07');
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (2, 'SILICONFLOW_BASE_URL', 'https://api.siliconflow.cn/v1', 'SiliconFlow 接口地址', 'ai', 'N', '2026-03-27 07:09:05');
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (3, 'VOLCENGINE_API_KEY', '[REDACTED]', '火山引擎 API Key', 'ai', 'Y', '2026-03-27 08:13:23');
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (4, 'VOLCENGINE_BASE_URL', 'https://ark.cn-beijing.volces.com/api/v3', '火山引擎接口地址', 'ai', 'N', '2026-03-27 07:09:05');
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (5, 'AI_IMAGE_MODEL', 'seedream-5.0', '默认AI生图模型 (flux-dev / seedream-4.5)', 'ai', 'N', '2026-03-27 08:20:02');
INSERT INTO `system_configs` (`id`, `config_key`, `config_value`, `description`, `config_group`, `is_secret`, `updated_at`) VALUES (6, 'AI_IMAGE_SIZE', '1024', 'AI生图默认尺寸', 'ai', 'N', '2026-03-27 07:09:05');

SET FOREIGN_KEY_CHECKS = 1;

-- users 表添加 is_admin 字段（如果不存在）
-- ALTER TABLE users ADD COLUMN is_admin TINYINT(1) NOT NULL DEFAULT 0 COMMENT '是否管理员' AFTER avatar;
