/**
Source Server Version: 8.0.31
Source Database: backendsys
Date: 2025/07/28 15:57:12
*/

DROP TABLE IF EXISTS `ai_material_tag`;
CREATE TABLE `ai_material_tag` (
    PRIMARY KEY (`id`),
    `id` BIGINT AUTO_INCREMENT COMMENT 'ID',
    `category_id` BIGINT NOT NULL COMMENT '素材分类ID',
    `tag_name` VARCHAR(255) NOT NULL COMMENT '素材标签名称',
    `sort` INT DEFAULT '1' COMMENT '排序',
    INDEX `idx_tag_name` (`tag_name`),
    INDEX `idx_category_id` (`category_id`)
) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='素材标签表';

INSERT INTO ai_material_tag(category_id, tag_name, sort) VALUES
    # 1-公用-特效参考
    (1, '常用特效', 10),
    (1, '普通特效', 9),
    (1, '战斗特效', 8),
    (1, '阵法特效', 7),
    (1, '全屏特效', 6),

    # 2-沙雕素材-人物素材
    (2, '精品人物', 10),
    (2, '修仙人物', 9),
    (2, '都市人物', 8),
    (2, '历史人物', 7),
    # 3-沙雕素材-场景素材
    (3, '修仙场景', 10),
    (3, '都市场景', 9),
    (3, '历史场景', 8),
    (3, '8090场景', 7),
    (3, '末日悬疑场景', 6),
    # 4-沙雕素材-异兽素材
    (4, '异兽', 10),
    (4, '动物', 9),
    # 5-沙雕素材-道具素材
    (5, '修仙道具', 10),
    (5, '都市道具', 9),
    (5, '历史道具', 8),

    # 6-简笔画素材-人物素材
    (6, '精品人物', 10),
    (6, '修仙人物', 9),
    (6, '都市人物', 8),
    (6, '历史人物', 7),
    (6, '末日悬疑人物', 6),
    # 7-简笔画素材-场景素材
    (7, '修仙场景', 10),
    (7, '都市场景', 9),
    (7, '历史场景', 8),
    (7, '8090场景', 7),
    (7, '末日悬疑场景', 6),
    # 8-简笔画素材-异兽素材
    (8, '异兽', 10),
    (8, '动物', 9),
    # 9-简笔画素材-道具素材
    (9, '修仙道具', 10),
    (9, '都市道具', 9),
    (9, '历史道具', 8),

    # 10-沙雕素材-表情素材
    (10, '男表情', 10),
    (10, '女表情', 9),
    # 11-简笔画素材-表情素材
    (11, '正常眼', 10),
    (11, '豆豆眼', 9)

;

