/*
 Navicat Premium Data Transfer

 Source Server         : 47.92.88.143
 Source Server Type    : MySQL
 Source Server Version : 80036 (8.0.36)
 Source Host           : 47.92.88.143:3306
 Source Schema         : pcm

 Target Server Type    : MySQL
 Target Server Version : 80036 (8.0.36)
 File Encoding         : 65001

 Date: 13/05/2024 09:28:52
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for alert_rule
-- ----------------------------
DROP TABLE IF EXISTS `alert_rule`;
CREATE TABLE `alert_rule`  (
  `id` bigint NOT NULL COMMENT 'id',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
  `alert_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '告警类型',
  `cluster_id` bigint NOT NULL COMMENT '集群id',
  `prom_ql` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'promQL',
  `duration` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '持续时间',
  `alert_level` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '告警级别',
  `annotations` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '备注',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `created_by` int NULL DEFAULT 0 COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT 0 COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '集群表' ROW_FORMAT = DYNAMIC;



-- ----------------------------
-- Table structure for data_set
-- ----------------------------
DROP TABLE IF EXISTS `data_set`;
CREATE TABLE `data_set`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'id',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件名称',
  `md5` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'md5',
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `suffix` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '后缀名',
  `bucket` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '桶',
  `size` int NULL DEFAULT NULL COMMENT '大小',
  `deleted_flag` int NULL DEFAULT NULL COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of data_set
-- ----------------------------

-- ----------------------------
-- Table structure for dict
-- ----------------------------
DROP TABLE IF EXISTS `dict`;
CREATE TABLE `dict`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'id',
  `dict_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '字典名称',
  `dict_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '字典编号',
  `dict_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '字典值',
  `source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '来源',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` date NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` date NULL DEFAULT NULL COMMENT '更新时间',
  `deleted_flag` int NOT NULL DEFAULT 0 COMMENT '是否删除（0-否，1-是）',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dict
-- ----------------------------
INSERT INTO `dict` VALUES (1, '运行中', 'running', 'statR', 'HPC-AC', NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `dict` VALUES (2, '排队中', 'pending', 'statQ', 'HPC-AC', NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `dict` VALUES (3, '挂起', 'suspended', 'statS', 'HPC-AC', NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `dict` VALUES (4, '完成', 'completed', 'statC', 'HPC-AC', NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `dict` VALUES (5, '失败', 'others', 'statE', 'HPC-AC', NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `dict` VALUES (6, '其他', 'others', 'statX', 'HPC-AC', NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `dict` VALUES (7, '保存', 'saved', 'statH', 'HPC-AC', NULL, NULL, NULL, NULL, NULL, 0);

-- ----------------------------
-- Table structure for resource_panel_config
-- ----------------------------
DROP TABLE IF EXISTS `resource_panel_config`;
CREATE TABLE `resource_panel_config`  (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '标题',
  `title_color` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '标题色',
  `main_color` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '主色调',
  `main_color2` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '次主色调',
  `text_color` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文字颜色',
  `background_color` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '背景底色',
  `center` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '中心点',
  `center_position` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '中心点坐标',
  `province_bg_color` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '三级地图底色',
  `status_ing` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '接入中图标',
  `status_un` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '未接入图标',
  `status_end` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '已接入图标',
  `title_icon` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '标题底图',
  `sub_title_icon` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '小标题底图',
  `number_bg` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '数字底图',
  `task_bg` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '任务底图',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '资源面板配置表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of resource_panel_config
-- ----------------------------
INSERT INTO `resource_panel_config` VALUES (1, '云际计算基础平台', 'rgba(64, 158, 255, 1)', 'rgba(24, 144, 255, 1)', 'rgba(24, 144, 255, 1)', 'rgba(19, 194, 194, 1)', 'rgba(43, 190, 153, 1)', '长沙', '113,28', 'rgba(47, 175, 175, 1)', 'https://www.jointcloud.net/prod/storage_ceph_2/pcm/point%285%29.png', 'https://www.jointcloud.net/prod/storage_ceph_1/pcm/point%286%29.png', 'https://www.jointcloud.net/prod/storage_ceph_2/pcm/point%287%29.png', 'https://www.jointcloud.net/prod/storage_ceph_1/pcm/point%289%29.png', 'https://www.jointcloud.net/prod/storage_ceph_2/pcm/point%2810%29.png', 'https://www.jointcloud.net/prod/storage_ceph_2/pcm/point%288%29.png', 'https://www.jointcloud.net/prod/storage_ceph_1/pcm/point%2811%29.png', '2023-05-24 15:44:59', '2023-06-16 17:53:50');

-- ----------------------------
-- Table structure for sc_node_avail_info
-- ----------------------------
DROP TABLE IF EXISTS `sc_node_avail_info`;
CREATE TABLE `sc_node_avail_info`  (
  `id` bigint NOT NULL COMMENT 'id',
  `node_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '节点名称',
  `cpu_total` int NULL DEFAULT NULL COMMENT 'cpu核数',
  `cpu_usable` double(5, 2) NULL DEFAULT NULL COMMENT 'cpu可用率',
  `disk_total` bigint NULL DEFAULT NULL COMMENT '磁盘空间',
  `disk_avail` bigint NULL DEFAULT NULL COMMENT '磁盘可用空间',
  `mem_total` bigint NULL DEFAULT NULL COMMENT '内存总数',
  `mem_avail` bigint NULL DEFAULT NULL COMMENT '内存可用数',
  `gpu_total` bigint NULL DEFAULT NULL COMMENT 'gpu总数',
  `gpu_avail` bigint NULL DEFAULT NULL COMMENT 'gpu可用数',
  `participant_id` bigint NOT NULL COMMENT '集群动态信息id',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '节点负载信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_node_avail_info
-- ----------------------------

-- ----------------------------
-- Table structure for sc_node_phy_info
-- ----------------------------
DROP TABLE IF EXISTS `sc_node_phy_info`;
CREATE TABLE `sc_node_phy_info`  (
  `id` bigint NOT NULL COMMENT 'id',
  `node_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '节点名称',
  `os_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '系统名称',
  `os_version` bigint NOT NULL COMMENT '系统版本',
  `arch_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '架构类型',
  `arch_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '架构名称',
  `arch_freq` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '架构频率',
  `participant_id` bigint NOT NULL COMMENT '集群静态信息id',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `sc_node_phy_info_node_name_participant_id_uindex`(`node_name` ASC, `participant_id` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '节点静态信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_node_phy_info
-- ----------------------------

-- ----------------------------
-- Table structure for sc_participant_avail_info
-- ----------------------------
DROP TABLE IF EXISTS `sc_participant_avail_info`;
CREATE TABLE `sc_participant_avail_info`  (
  `id` bigint NOT NULL COMMENT 'id',
  `avail_storage_space` bigint NULL DEFAULT NULL COMMENT '集群存储可用空间',
  `user_num` int NULL DEFAULT NULL COMMENT '用户数量',
  `pending_job_num` int NULL DEFAULT NULL COMMENT '待处理作业数量',
  `running_job_num` int NULL DEFAULT 0 COMMENT '运行作业数量',
  `participant_id` bigint NOT NULL COMMENT '集群静态信息id',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '集群负载信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_participant_avail_info
-- ----------------------------

-- ----------------------------
-- Table structure for sc_participant_label_info
-- ----------------------------
DROP TABLE IF EXISTS `sc_participant_label_info`;
CREATE TABLE `sc_participant_label_info`  (
  `id` bigint NOT NULL COMMENT 'id',
  `key` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'key',
  `value` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'value',
  `participant_id` bigint NOT NULL COMMENT 'participant id',
  `metadata` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '元数据',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `sc_participant_label_info_pk`(`key` ASC, `value` ASC, `participant_id` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '集群标签信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_participant_label_info
-- ----------------------------

-- ----------------------------
-- Table structure for sc_participant_phy_info
-- ----------------------------
DROP TABLE IF EXISTS `sc_participant_phy_info`;
CREATE TABLE `sc_participant_phy_info`  (
  `id` bigint NOT NULL COMMENT 'id',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '名称',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群p端地址',
  `token` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '数算集群token',
  `metrics_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '监控url',
  `rpc_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'rpc服务链接地址',
  `network_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群网络类型',
  `network_bandwidth` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群网络带宽',
  `storage_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群存储类型',
  `storage_space` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群存储空间',
  `storage_avail_space` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群存储可用空间',
  `storage_bandwidth` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群存储带宽',
  `tenant_id` bigint NOT NULL COMMENT '租户信息id',
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '类型:0-数算集群；1-智算集群；2-超算集群',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '集群静态信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_participant_phy_info
-- ----------------------------
INSERT INTO `sc_participant_phy_info` VALUES (1696118513460056064, 'aliyun-sealos', 'https://47.92.39.128:6443', 'eyJhbGciOiJSUzI1NiIsImtpZCI6IkY2ZUo5c0taNHpmbkM3eUlDWjlRSDQ4bk5GX21haHE4TlBLQlZiTFg0elEifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJucy1hZG1pbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJzZWFsb3MtdG9rZW4tYWRtaW4tOTRkNCIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJhZG1pbiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6ImZlZjEzYzE4LTVlZDYtNDA0My05NjQwLTQ0M2QwNGEwZTRmNSIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDpucy1hZG1pbjphZG1pbiJ9.K3rKj9pul1F1uQoz46ZzYq4WQD8wkFxUbVWn7JRih2vpkFEh6Ndx88lmphQZnz3OlXFRKZfAxOxrSjtohgudEchvEpbJOmJtLHkT1nwoyWWm07kjcwUUjKwT5gDwuY8E1d-AQ2EB5KBiYTozwf1wfgE1nf9pzozZtMdc6--KGX-nwp2t5MOun7KJ1ZRiHTw8QX3wi5NTEUNcEjjsiAyyCGGz7iiciIyIOp8KGIZ9j7aZNBtovxfF4EdkHQwf-kSAjnJasJ6QBLnfvKXSK15PPzELXDAyDzCg6UkRjc-SVtGjZLDUE9GuqclWV7BrC13fprZhwOVdtrSohs57UQMMYQ', 'http://prometheus-kube-prometheus-prometheus.monitoring:9090', 'pcm-kubernetes-service:2003', '', '', '', '', '', '', 3, 'CLOUD', 0, 0, '2023-12-13 09:33:58', 0, '2023-12-13 09:33:58');

-- ----------------------------
-- Table structure for sc_queue_phy_info
-- ----------------------------
DROP TABLE IF EXISTS `sc_queue_phy_info`;
CREATE TABLE `sc_queue_phy_info`  (
  `id` bigint NOT NULL COMMENT 'id',
  `acl_hosts` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '可用节点，多个节点用逗号隔开',
  `queue_id` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列名称',
  `text` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列名称',
  `queue_name` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列名称',
  `que_nodes` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列节点总数',
  `que_min_nodect` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列最小节点数',
  `que_max_ngpus` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列最大GPU卡数',
  `que_max_ppn` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '使用该队列作业最大CPU核心数',
  `que_charge_rate` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '费率',
  `que_max_ncpus` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '用户最大可用核心数',
  `que_max_ndcus` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列总DCU卡数',
  `que_min_ncpus` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列最小CPU核数',
  `que_free_nodes` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列空闲节点数',
  `que_max_nodect` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列作业最大节点数',
  `que_max_gpu_PN` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列单作业最大GPU卡数',
  `que_max_walltime` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列最大运行时间',
  `que_max_dcu_PN` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列单作业最大DCU卡数',
  `participant_id` bigint NOT NULL COMMENT '集群动态信息id',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `que_ncpus` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列cpu数',
  `que_free_ncpus` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '队列空闲cpu数',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '队列静态信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_queue_phy_info
-- ----------------------------

-- ----------------------------
-- Table structure for sc_tenant_info
-- ----------------------------
DROP TABLE IF EXISTS `sc_tenant_info`;
CREATE TABLE `sc_tenant_info`  (
  `id` bigint NOT NULL COMMENT 'id',
  `tenant_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '租户名称',
  `tenant_desc` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述信息',
  `clusters` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群名称，用\",\"分割',
  `type` int NULL DEFAULT NULL COMMENT '租户所属(0数算，1超算，2智算）',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '集群租户信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of sc_tenant_info
-- ----------------------------
INSERT INTO `sc_tenant_info` VALUES (1734509730086260736, 'ns-admin', '', 'aliyun-sealos', 0, 0, NULL, '2023-11-24 10:37:19', NULL, '2023-11-24 10:37:19');

-- ----------------------------
-- Table structure for storelink_center
-- ----------------------------
DROP TABLE IF EXISTS `storelink_center`;
CREATE TABLE `storelink_center`  (
  `id` bigint NOT NULL COMMENT 'id',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '名称',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群p端地址',
  `rpc_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'rpc服务链接地址',
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '类型:1-章鱼；2-modelarts;3-曙光AI',
  `deleted_flag` int NULL DEFAULT 0 COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '存算联动表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of storelink_center
-- ----------------------------

-- ----------------------------
-- Table structure for t_adapter
-- ----------------------------
DROP TABLE IF EXISTS `t_adapter`;
CREATE TABLE `t_adapter`  (
  `id` bigint NOT NULL COMMENT 'id',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
  `type` tinyint(1) NOT NULL COMMENT '类型0->容器，1->智算，2->超算，3-虚拟机',
  `nickname` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '别名',
  `version` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '版本号',
  `server` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '地址',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `created_by` int NULL DEFAULT 0 COMMENT '创建人',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT 0 COMMENT '更新人',
  `update_time` datetime NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '适配器表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_adapter
-- ----------------------------

-- ----------------------------
-- Table structure for t_cluster
-- ----------------------------
DROP TABLE IF EXISTS `t_cluster`;
CREATE TABLE `t_cluster`  (
  `id` bigint NOT NULL COMMENT 'id',
  `adapter_id` bigint NOT NULL COMMENT '适配器id',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
  `nickname` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '别名',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
  `server` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '地址',
  `monitor_server` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '监控地址',
  `username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '用户名',
  `password` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '密码',
  `token` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '认证token',
  `ak` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'ak',
  `sk` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'sk',
  `region` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '区域',
  `project_id` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目Id',
  `version` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '版本号',
  `cluster_type` int NULL DEFAULT NULL COMMENT '类型0->容器，1->智算，2->超算，3-虚拟机',
  `label` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '标签',
  `owner_id` bigint NULL DEFAULT NULL COMMENT '租户Id',
  `auth_type` tinyint(1) NOT NULL COMMENT '认证方式：0->ak,sk;1->user,pwd;2->token;',
  `producer_dict` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群厂商（对应字典表的值）',
  `region_dict` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群地域（对应字典表的值）',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `created_by` int NULL DEFAULT 0 COMMENT '创建人',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT 0 COMMENT '更新人',
  `update_time` datetime NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `t_cluster_name_uindex`(`name` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '集群表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_cluster
-- ----------------------------

-- ----------------------------
-- Table structure for t_cluster_resource
-- ----------------------------
DROP TABLE IF EXISTS `t_cluster_resource`;
CREATE TABLE `t_cluster_resource`  (
  `cluster_id` bigint NOT NULL,
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `cluster_type` int NULL DEFAULT NULL COMMENT '类型0->容器，1->智算，2->超算，3-虚拟机',
  `cpu_avail` float NULL DEFAULT NULL,
  `cpu_total` float NULL DEFAULT NULL,
  `mem_avail` float NULL DEFAULT NULL,
  `mem_total` float NULL DEFAULT NULL,
  `disk_avail` float NULL DEFAULT NULL,
  `disk_total` float NULL DEFAULT NULL,
  `gpu_avail` float NULL DEFAULT NULL,
  `gpu_total` float NULL DEFAULT NULL,
  `card_total` int NULL DEFAULT NULL COMMENT '算力卡数量',
  `card_tops_total` float NULL DEFAULT NULL COMMENT '算力总量tops',
  PRIMARY KEY (`cluster_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_cluster_resource
-- ----------------------------


-- ----------------------------
-- Table structure for t_cluster_task_queue
-- ----------------------------
DROP TABLE IF EXISTS `t_cluster_task_queue`;
CREATE TABLE `t_cluster_task_queue`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'id',
  `adapter_id` bigint NOT NULL COMMENT '适配器id',
  `cluster_id` bigint NOT NULL COMMENT '集群id',
  `queue_num` int NOT NULL COMMENT '任务排队数量',
  `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '集群排队状况' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_cluster_task_queue
-- ----------------------------

-- ----------------------------
-- Table structure for t_dict
-- ----------------------------
DROP TABLE IF EXISTS `t_dict`;
CREATE TABLE `t_dict`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `dict_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典名称',
  `dict_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典编码',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
  `type` tinyint(1) NULL DEFAULT 0 COMMENT '字典类型0为string,1为number',
  `status` tinyint NULL DEFAULT 1 COMMENT '是否可用：0->disable；1->available;',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `created_by` int NULL DEFAULT 0 COMMENT '创建人',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT 0 COMMENT '更新人',
  `update_time` datetime NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `t_dict_dict_code_uindex`(`dict_code` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1787789698911965185 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '字典表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_dict
-- ----------------------------
INSERT INTO `t_dict` VALUES (1, '集群地域', 'cluster_region_dict', '集群地域', 0, 1, NULL, 0, '2024-03-07 15:11:24', 0, '2024-04-28 09:44:36');
INSERT INTO `t_dict` VALUES (2, '集群厂商', 'cluster_producer_dict', '集群厂商', 0, 1, NULL, 0, '2024-03-07 15:11:25', 0, '2024-04-28 09:44:36');
INSERT INTO `t_dict` VALUES (1767132427647455232, '适配器类型', 'adapter_type', '适配器类型', 1, 0, NULL, 0, '2024-03-11 18:16:17', 0, '2024-04-28 09:44:36');
INSERT INTO `t_dict` VALUES (1773274626395213824, '集群类型', 'cluster_type', '集群类型', 1, 1, NULL, 0, '2024-03-28 17:03:11', 0, '2024-04-28 09:44:36');
INSERT INTO `t_dict` VALUES (1782227471131742208, '调度策略', 'schedule_Strategy', '调度策略', 0, 1, NULL, 0, '2024-04-22 09:58:35', 0, '2024-04-28 09:41:57');
INSERT INTO `t_dict` VALUES (1787789698911965184, '虚拟机规格', 'vm_flavor', '', 0, 1, NULL, 0, '2024-05-07 18:20:54', 0, '2024-05-07 18:20:54');

-- ----------------------------
-- Table structure for t_dict_item
-- ----------------------------
DROP TABLE IF EXISTS `t_dict_item`;
CREATE TABLE `t_dict_item`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `dict_id` bigint NOT NULL COMMENT '字典id',
  `item_text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典项文本',
  `item_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典项值',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
  `sort_order` int NULL DEFAULT NULL COMMENT '排序',
  `parent_id` bigint NULL DEFAULT 0 COMMENT '父id',
  `status` tinyint NOT NULL DEFAULT 1 COMMENT '是否可用：0->disable；1->available;',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `created_by` int NULL DEFAULT 0 COMMENT '创建人',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT 0 COMMENT '更新人',
  `update_time` datetime NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `index_table_dict_id`(`dict_id` ASC) USING BTREE,
  INDEX `index_table_dict_status`(`status` ASC) USING BTREE,
  INDEX `index_table_sort_order`(`sort_order` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1782227930294784001 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '字典项表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_dict_item
-- ----------------------------
INSERT INTO `t_dict_item` VALUES (1, 1, '东北区域', '0', '集群地域', 1, NULL, 1, NULL, NULL, '2023-07-30 10:31:24', NULL, '2024-05-06 09:55:02');
INSERT INTO `t_dict_item` VALUES (2, 1, '华东区域', '1', '集群地域', 2, NULL, 1, NULL, 0, '2024-03-07 15:19:49', 0, '2024-05-06 09:55:03');
INSERT INTO `t_dict_item` VALUES (3, 1, '华北区域', '2', '集群地域', 3, NULL, 1, NULL, 0, '2024-03-07 15:19:50', 0, '2024-05-06 09:55:04');
INSERT INTO `t_dict_item` VALUES (4, 1, '华中区域', '3', '集群地域', 4, NULL, 1, NULL, 0, '2024-03-07 15:19:50', 0, '2024-05-06 09:55:06');
INSERT INTO `t_dict_item` VALUES (5, 1, '华南区域', '4', '集群地域', 5, NULL, 1, NULL, 0, '2024-03-07 15:19:50', 0, '2024-05-06 09:55:07');
INSERT INTO `t_dict_item` VALUES (6, 1, '西南区域', '5', '集群地域', 6, NULL, 1, NULL, 0, '2024-03-07 15:19:50', 0, '2024-05-06 09:55:09');
INSERT INTO `t_dict_item` VALUES (7, 1, '西北区域', '6', '集群地域', 7, NULL, 1, NULL, 0, '2024-03-07 15:19:50', 0, '2024-05-06 09:55:13');
INSERT INTO `t_dict_item` VALUES (8, 1, '海外区域', '7', '集群地域', 8, NULL, 1, NULL, 0, '2024-03-07 15:19:50', 0, '2024-05-06 09:55:18');
INSERT INTO `t_dict_item` VALUES (9, 2, '腾讯云', '1', '集群厂商', 1, NULL, 1, NULL, 0, '2024-03-07 15:21:55', 0, '2024-03-07 15:21:55');
INSERT INTO `t_dict_item` VALUES (10, 2, '华为云', '2', '集群厂商', 2, NULL, 1, NULL, 0, '2024-03-07 15:21:55', 0, '2024-03-07 15:21:55');
INSERT INTO `t_dict_item` VALUES (11, 2, '阿里云', '3', '集群厂商', 3, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (12, 2, '百度云', '4', '集群厂商', 4, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (13, 2, '天翼云', '5', '集群厂商', 5, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (14, 2, 'UCLOUD', '6', '集群厂商', 6, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (15, 2, '鹏城云脑', '7', '集群厂商', 7, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (16, 2, '国家超算中心广州超算', '8', '集群厂商', 8, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (17, 2, '国家超算中心长沙超算', '9', '集群厂商', 9, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (18, 2, '昇腾智算中心', '10', '集群厂商', 10, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (19, 2, '曙光云平台', '11', '集群厂商', 11, NULL, 1, NULL, 0, '2024-03-07 15:21:56', 0, '2024-03-07 15:21:56');
INSERT INTO `t_dict_item` VALUES (20, 2, '启智混合智算', '12', '集群厂商', 12, NULL, 1, NULL, 0, '2024-03-07 15:21:57', 0, '2024-03-07 15:21:57');
INSERT INTO `t_dict_item` VALUES (1767133942785249280, 1767132427647455232, '容器', '0', '适配器类型', 0, 0, 1, NULL, 0, '2024-03-11 18:22:18', 0, '2024-04-10 09:14:52');
INSERT INTO `t_dict_item` VALUES (1767133942785249281, 1767132427647455232, '智算', '1', '适配器类型', 1, 0, 1, NULL, 0, '2024-03-11 18:22:18', 0, '2024-04-10 09:14:52');
INSERT INTO `t_dict_item` VALUES (1767133942785249282, 1767132427647455232, '超算', '2', '适配器类型', 2, 0, 1, NULL, 0, '2024-03-11 18:22:18', 0, '2024-04-10 09:14:51');
INSERT INTO `t_dict_item` VALUES (1767133942785249283, 1767132427647455232, '虚拟机', '3', '适配器类型', 3, 0, 1, NULL, 0, '2024-03-11 18:22:18', 0, '2024-04-10 09:14:51');
INSERT INTO `t_dict_item` VALUES (1782227741832122368, 1782227471131742208, 'replication', '0', '多副本', 0, 0, 1, NULL, 0, '2024-04-22 09:59:40', 0, '2024-04-22 10:02:26');
INSERT INTO `t_dict_item` VALUES (1782227833393778688, 1782227471131742208, 'resourcesPricing', '1', '厂商定价', 1, 0, 1, NULL, 0, '2024-04-22 10:00:02', 0, '2024-04-22 10:02:57');
INSERT INTO `t_dict_item` VALUES (1782227877987618816, 1782227471131742208, 'staticWeight', '2', '静态权重', 2, 0, 1, NULL, 0, '2024-04-22 10:00:12', 0, '2024-04-22 10:01:01');
INSERT INTO `t_dict_item` VALUES (1782227930294784000, 1782227471131742208, 'dynamicResources', '3', '动态权重', 3, 0, 1, NULL, 0, '2024-04-22 10:00:25', 0, '2024-04-22 10:03:09');

-- ----------------------------
-- Table structure for t_hashcat
-- ----------------------------
DROP TABLE IF EXISTS `t_hashcat`;
CREATE TABLE `t_hashcat`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `crack_task_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '任务id',
  `crack_container_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '容器id',
  `crack_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '状态',
  `crack_start_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '开始时间',
  `crack_estimated_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '预计时间',
  `crack_progress` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '进度',
  `crack_result` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '结果',
  `deleted_flag` int NULL DEFAULT NULL COMMENT '是否删除',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `started` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '开始时间',
  `stoped` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '结束时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1717451637989052417 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_hashcat
-- ----------------------------

-- ----------------------------
-- Table structure for t_notice
-- ----------------------------
DROP TABLE IF EXISTS `t_notice`;
CREATE TABLE `t_notice`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `adapter_id` bigint NULL DEFAULT NULL,
  `adapter_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `cluster_id` bigint NULL DEFAULT NULL COMMENT '任务id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `notice_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '容器id',
  `task_id` bigint NULL DEFAULT NULL,
  `task_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '状态',
  `incident` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1717451637989052562 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_notice
-- ----------------------------

-- ----------------------------
-- Table structure for t_storage_device
-- ----------------------------
DROP TABLE IF EXISTS `t_storage_device`;
CREATE TABLE `t_storage_device`  (
  `id` bigint NOT NULL,
  `storage_id` bigint NULL DEFAULT NULL COMMENT '文件id',
  `device_id` bigint NULL DEFAULT NULL COMMENT '设备id',
  `device_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '服务器名称',
  `cpu` int NULL DEFAULT NULL COMMENT 'CPU',
  `memory` int NULL DEFAULT NULL COMMENT '内存',
  `storage_space` float NULL DEFAULT NULL COMMENT '存储空间(T)',
  `ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '公网ip',
  `manufacturer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '厂商',
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '地点',
  `status` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '设备状态',
  `lng` double(16, 6) NULL DEFAULT NULL COMMENT '经度',
  `lat` double(16, 6) NULL DEFAULT NULL COMMENT '纬度',
  `created_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  `last_updated_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新人',
  `last_update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  `version` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '版本',
  `end_point` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `access_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `secret_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `alive` tinyint(1) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `t_storage_device_device_name_index`(`device_name` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '存储文件和服务器资源连接表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_storage_device
-- ----------------------------

-- ----------------------------
-- Table structure for task
-- ----------------------------
DROP TABLE IF EXISTS `task`;
CREATE TABLE `task`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '作业名称',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '作业描述',
  `status` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '作业状态',
  `strategy` int NULL DEFAULT 0 COMMENT '策略',
  `synergy_status` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '0' COMMENT '协同状态（0-未协同、1-已协同）',
  `commit_time` datetime NULL DEFAULT NULL COMMENT '提交时间',
  `start_time` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime NULL DEFAULT NULL COMMENT '结束运行时间',
  `running_time` int NULL DEFAULT 0 COMMENT '已运行时间（单位秒）',
  `yaml_string` varchar(10000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `result` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '作业结果',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `created_by` int NULL DEFAULT 0 COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT 0 COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  `tenant_id` int NULL DEFAULT NULL COMMENT '租户id',
  `ns_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `adapter_type_dict` tinyint UNSIGNED NULL DEFAULT NULL COMMENT '适配器类型（对应字典表的值）',
  `task_type_dict` tinyint UNSIGNED NULL DEFAULT 0 COMMENT '任务类型（对应字典表的值）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_status_index`(`status` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1789201130505375752 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task
-- ----------------------------

-- ----------------------------
-- Table structure for task_ai
-- ----------------------------
DROP TABLE IF EXISTS `task_ai`;
CREATE TABLE `task_ai`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'id',
  `task_id` bigint NOT NULL COMMENT '任务id',
  `adapter_id` bigint NOT NULL COMMENT '适配器id',
  `adapter_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '适配器名称',
  `cluster_id` bigint NOT NULL COMMENT '集群id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群名称',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '任务名',
  `replica` smallint NOT NULL COMMENT '执行数',
  `job_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群返回任务id',
  `strategy` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '主任务使用策略',
  `status` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '任务状态',
  `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群返回任务信息',
  `commit_time` datetime NOT NULL  COMMENT '提交时间',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '结束时间',
  `task_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `deleted_at` datetime NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_ai
-- ----------------------------

-- ----------------------------
-- Table structure for task_cloud
-- ----------------------------
DROP TABLE IF EXISTS `task_cloud`;
CREATE TABLE `task_cloud`  (
  `id` bigint NOT NULL COMMENT 'id',
  `task_id` bigint UNSIGNED NOT NULL COMMENT 'task表id',
  `adapter_id` bigint UNSIGNED NOT NULL COMMENT '适配器id',
  `adapter_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '适配器名称',
  `cluster_id` bigint UNSIGNED NOT NULL COMMENT '集群id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '集群名称',
  `kind` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '种类',
  `status` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '状态',
  `start_time` datetime NULL DEFAULT NULL COMMENT '开始时间',
  `yaml_string` varchar(10000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '任务入参',
  `result` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '运行结果',
  `namespace` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT 'default' COMMENT '命名空间',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `created_by` int NULL DEFAULT 0 COMMENT '创建人',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT 0 COMMENT '更新人',
  `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_cloud
-- ----------------------------

-- ----------------------------
-- Table structure for task_hpc
-- ----------------------------
DROP TABLE IF EXISTS `task_hpc`;
CREATE TABLE `task_hpc`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `task_id` bigint NULL DEFAULT NULL COMMENT '任务id',
  `job_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '作业id(在第三方系统中的作业id)',
  `adapter_id` bigint NULL DEFAULT NULL COMMENT '执行任务的适配器id',
  `adapter_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '适配器名称',
  `cluster_id` bigint NULL DEFAULT NULL COMMENT '执行任务的集群id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群名称',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '名称',
  `status` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '状态',
  `cmd_script` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `start_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '开始时间',
  `running_time` int NULL DEFAULT NULL COMMENT '运行时间',
  `derived_es` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `cluster` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `block_id` int NULL DEFAULT NULL,
  `alloc_nodes` int NULL DEFAULT NULL,
  `alloc_cpu` int NULL DEFAULT NULL,
  `card_count` int NULL DEFAULT NULL COMMENT '卡数',
  `version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `work_dir` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '工作路径',
  `assoc_id` int NULL DEFAULT NULL,
  `exit_code` int NULL DEFAULT NULL,
  `wall_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '最大运行时间',
  `result` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '运行结果',
  `deleted_at` datetime NULL DEFAULT NULL COMMENT '删除时间',
  `yaml_string` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `app_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '	应用类型',
  `app_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '	应用名称',
  `queue` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '队列名称',
  `submit_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'cmd（命令行模式）',
  `n_node` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '节点个数（当指定该参数时，GAP_NODE_STRING必须为\"\"）',
  `std_out_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '工作路径/std.err.%j',
  `std_err_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '工作路径/std.err.%j',
  `std_input` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `environment` json NULL,
  `deleted_flag` int NOT NULL DEFAULT 0 COMMENT '是否删除（0-否，1-是）',
  `created_by` int NULL DEFAULT NULL COMMENT '创建人',
  `created_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` int NULL DEFAULT NULL COMMENT '更新人',
  `updated_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1751892493806342187 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_hpc
-- ----------------------------

-- ----------------------------
-- Table structure for task_vm
-- ----------------------------
DROP TABLE IF EXISTS `task_vm`;
CREATE TABLE `task_vm`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `task_id` bigint NULL DEFAULT NULL COMMENT '任务id',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '虚拟机名称',
  `adapter_id` bigint NULL DEFAULT NULL COMMENT '执行任务的适配器id',
  `adapter_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '适配器名称',
  `cluster_id` bigint NULL DEFAULT NULL COMMENT '执行任务的集群id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群名称',
  `flavor_ref` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '规格索引',
  `image_ref` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '镜像索引',
  `status` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '状态',
  `platform` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '平台',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
  `availability_zone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `min_count` int NULL DEFAULT NULL COMMENT '数量',
  `uuid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '网络id',
  `start_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '开始时间',
  `running_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '运行时间',
  `result` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '运行结果',
  `deleted_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '删除时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 49 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_vm
-- ----------------------------

-- ----------------------------
-- Table structure for vm_flavor
-- ----------------------------
DROP TABLE IF EXISTS `vm_flavor`;
CREATE TABLE `vm_flavor`  (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `flavor_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '规格id',
  `flavor_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '规格名称',
  `vcpus` int NULL DEFAULT NULL COMMENT 'CPU',
  `ram` int NULL DEFAULT NULL COMMENT '内存',
  `disk` int NULL DEFAULT NULL COMMENT '硬盘',
  `public_flavor_id` bigint NULL DEFAULT NULL COMMENT '自定义规格id',
  `cluster_id` bigint NULL DEFAULT NULL COMMENT '集群id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群名',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vm_flavor
-- ----------------------------
INSERT INTO `vm_flavor` VALUES (1, '16384MB_8C_150GB', '16384MB_8C_150GB', 8, 16384, 150, NULL, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (2, '2048MB_2C_5GB', '2048MB_2C_5GB', 2, 2048, 5, NULL, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (3, '4096MB_2C_100GB', '4096MB_2C_100GB', 2, 4096, 100, NULL, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (4, '4096MB_2C_50GB', '4096MB_2C_50GB', 2, 4096, 50, 10001, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (5, '4096MB_4C_100GB', '4096MB_4C_100GB', 4, 4096, 100, NULL, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (6, '8192MB_8C_100GB', '8192MB_8C_100GB', 8, 8192, 100, NULL, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (7, '8192MB_8C_200GB', '8192MB_8C_200GB', 8, 8192, 200, NULL, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (8, '1', 'm1.tiny', 1, 512, 1, NULL, 1758770004, NULL);
INSERT INTO `vm_flavor` VALUES (9, '2', 'm1.small', 1, 2048, 20, NULL, 1758770003, NULL);
INSERT INTO `vm_flavor` VALUES (10, '3', 'm1.medium', 2, 4096, 40, 10001, 1758770003, NULL);
INSERT INTO `vm_flavor` VALUES (11, '4', 'm1.large', 4, 8192, 80, NULL, 1758770003, NULL);
INSERT INTO `vm_flavor` VALUES (12, '5', 'm1.xlarge', 8, 16384, 160, NULL, 1758770003, NULL);

-- ----------------------------
-- Table structure for vm_flavor_dict
-- ----------------------------
DROP TABLE IF EXISTS `vm_flavor_dict`;
CREATE TABLE `vm_flavor_dict`  (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `public_flavor_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '规格名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 10002 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vm_flavor_dict
-- ----------------------------
INSERT INTO `vm_flavor_dict` VALUES (10001, '2核4G');

-- ----------------------------
-- Table structure for vm_image
-- ----------------------------
DROP TABLE IF EXISTS `vm_image`;
CREATE TABLE `vm_image`  (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `image_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '镜像id',
  `image_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '镜像名称',
  `image_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '镜像状态',
  `cluster_id` bigint NULL DEFAULT NULL COMMENT '集群id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群名称',
  `public_image_id` bigint NULL DEFAULT NULL COMMENT '自定义镜像id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vm_image
-- ----------------------------
INSERT INTO `vm_image` VALUES (1, '75fbb39a-0840-4773-abdc-11583757512a', 'Cirros', 'active', 1758770004, 'DianKe_Openstack_R', 20001);
INSERT INTO `vm_image` VALUES (2, '28960d59-e55b-4872-881c-ec6098a2138e', 'DKY_Kylin_Desktop_V10_SP1_Release_2107_x86_64_20230629.qcow2', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (3, 'dfcd1288-56eb-4a3f-b61d-6bc47df8295b', 'KylinV10', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (4, '2e54c634-bfc0-43b1-8401-457271002504', 'ubuntu_20_04_6', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (5, '92fa5b1f-1573-4337-aa9c-4b3b5947c6aa', 'win10', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (6, '67bb503c-cbb7-49de-824a-96b39788a77c', 'win10-qxl', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (7, '1aefe6b2-49e7-41b0-b6e6-59f715b34e40', 'win2012', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (8, '39372c3f-ffac-411e-971f-e86899ee6c38', 'win2016', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (9, '45e2a307-5d0e-4162-bff9-7c5e0f2c48cc', 'win2019', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (10, '955bb17a-7c3b-4293-9ab6-399f3f115773', 'win7', 'active', 1758770004, 'DianKe_Openstack_R', NULL);
INSERT INTO `vm_image` VALUES (11, '50719fb7-009e-4e52-b41f-28b4f3f97158', 'cirros', 'active', 1758770003, 'Keylin_Openstack_T', 20001);

-- ----------------------------
-- Table structure for vm_image_dict
-- ----------------------------
DROP TABLE IF EXISTS `vm_image_dict`;
CREATE TABLE `vm_image_dict`  (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `public_image_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '镜像名',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20002 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vm_image_dict
-- ----------------------------
INSERT INTO `vm_image_dict` VALUES (20001, 'cirros');

-- ----------------------------
-- Table structure for vm_network
-- ----------------------------
DROP TABLE IF EXISTS `vm_network`;
CREATE TABLE `vm_network`  (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `network_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '网络名',
  `subnets` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '子网',
  `network_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '网络id',
  `cluster_id` bigint NULL DEFAULT NULL COMMENT '集群id',
  `cluster_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '集群名',
  `public_network_id` bigint NULL DEFAULT NULL COMMENT '自定义网络id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vm_network
-- ----------------------------
INSERT INTO `vm_network` VALUES (1, 'Private', '57000a91-16f2-4045-ae70-3ebf36455c56', '7d8c6cf7-249b-4bb8-b04e-c25fa4d82e1f', 1758770004, 'DianKe_Openstack_R', 30001);
INSERT INTO `vm_network` VALUES (2, 'Public', '528d1870-6e36-42a7-ad49-120883e10aaf', 'e84e7629-83e8-4df4-811f-9489e6444a6c', 1758770004, 'DianKe_Openstack_R', 30002);
INSERT INTO `vm_network` VALUES (3, 'public', '37968ad4-cee0-407e-8e4f-0f55018d56d5', '4bf24ded-6529-46a5-9762-0a756df882a9', 1758770003, 'Keylin_Openstack_T', 30002);
INSERT INTO `vm_network` VALUES (4, 'private', '51174baf-389b-4b1b-820f-abf2f3d12e86', 'e8c84b4d-0850-4767-a0f6-5ab3b4f4b8be', 1758770003, 'Keylin_Openstack_T', 30001);

-- ----------------------------
-- Table structure for vm_network_dict
-- ----------------------------
DROP TABLE IF EXISTS `vm_network_dict`;
CREATE TABLE `vm_network_dict`  (
  `id` bigint NOT NULL,
  `public_network_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '网络名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vm_network_dict
-- ----------------------------
INSERT INTO `vm_network_dict` VALUES (30001, 'private');
INSERT INTO `vm_network_dict` VALUES (30002, 'public');

-- ----------------------------
-- Table structure for vm_openstack_overview
-- ----------------------------
DROP TABLE IF EXISTS `vm_openstack_overview`;
CREATE TABLE `vm_openstack_overview`  (
  `id` bigint NOT NULL COMMENT 'id',
  `max_total_cores` int NULL DEFAULT NULL COMMENT 'cpu核总数(最大值)',
  `max_total_ram_size` int NULL DEFAULT NULL COMMENT '内存总量(最大值)',
  `max_total_volumes` int NULL DEFAULT NULL COMMENT '存储卷总量(最大值)',
  `total_cores_used` int NULL DEFAULT NULL COMMENT 'cpu已使用核数',
  `total_ram_used` int NULL DEFAULT NULL COMMENT '内存已使用字节数',
  `total_volumes_used` int NULL DEFAULT NULL COMMENT '存储卷使用数',
  `total_instances_used` int NULL DEFAULT NULL COMMENT '实例数',
  `cluster_id` bigint NULL DEFAULT NULL COMMENT '集群id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'openstack 概览表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of vm_openstack_overview
-- ----------------------------

DROP TABLE IF EXISTS `screen`;
CREATE TABLE `screen`  (
                           `id` bigint NOT NULL COMMENT 'id',
                           `storage_used` float NULL DEFAULT NULL,
                           `storage_using` float NULL DEFAULT NULL,
                           `api_delay` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
                           `scheduler_times` int NULL DEFAULT NULL,
                           `scheduler_err` int NULL DEFAULT NULL,
                           `api_times` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
                           `center_count` int NULL DEFAULT NULL,
                           `computing_power` float NULL DEFAULT NULL,
                           `cluster_count` int NULL DEFAULT NULL,
                           `running_count` int NULL DEFAULT NULL,
                           `card_count` int NULL DEFAULT NULL,
                           `running_time` int NULL DEFAULT NULL,
                           `using_rate` float NULL DEFAULT NULL,
                           `usage_rate` float NULL DEFAULT NULL,
                           PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of screen
-- ----------------------------
INSERT INTO `screen` VALUES (1, 621.3, 163.8, '2.71', 5, 1, '1.71', 34, 112.08, 48, 138633, 478568, 138633, 0.209, 0.791);

DROP TABLE IF EXISTS `screen_domain`;
CREATE TABLE `screen_domain`  (
                                  `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
                                  `domain_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '资源域id',
                                  `domain_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '资源域名称',
                                  `job_count` int NULL DEFAULT NULL COMMENT '资源域任务数量',
                                  `domain_source` tinyint(1) NOT NULL DEFAULT 0 COMMENT '资源域数据来源：0-nudt，1-鹏城',
                                  `stack` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '技术栈',
                                  `resource_type` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '资源类型',
                                  `cpu_usage` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
                                  `cpu_total` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'cpu',
                                  `memory_usage` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
                                  `memory_total` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '内存',
                                  `disk_usage` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
                                  `disk_total` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '存储',
                                  `node_usage` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
                                  `node_total` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '节点数量',
                                  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '数据创建时间',
                                  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '数据更新时间',
                                  `delete_flag` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否删除 0:未删除，1:已经删除',
                                  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1403 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '域资源信息' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of screen_domain
-- ----------------------------
INSERT INTO `screen_domain` VALUES (1387, 'cloudbrain1', '鹏城云脑一号GPU计算中心', 0, 1, ' ', '智算中心', '12', '1160', '0.12', '129', '0.68', '10', '0.16', '12', '2023-08-19 20:50:02', '2023-08-19 20:50:02', 0);
INSERT INTO `screen_domain` VALUES (1388, 'xian-2', '寒武纪西安智算', 0, 1, ' ', '智算中心', '62', '2130', '0.23', '129', '0.38', '10', '0.66', '18', '2023-08-19 20:50:02', '2023-08-19 20:50:02', 0);
INSERT INTO `screen_domain` VALUES (1389, 'cloudbrain2', '云脑二号智算', 6, 1, ' ', '智算中心', '12', '9528', '0.22', '955', '0.55', '64', '0.3', '10', '2023-08-19 20:50:03', '2023-08-19 20:50:03', 0);
INSERT INTO `screen_domain` VALUES (1390, 'wuhan', '武汉智算', 720, 1, ' ', '智算中心', '87', '9216', '0.58', '40', '0.36', '6', '0.33', '3', '2023-08-19 20:50:03', '2023-08-19 20:50:03', 0);
INSERT INTO `screen_domain` VALUES (1391, 'pku', '北京大学GPU智算', 0, 1, ' ', '智算中心', '54', '2240', '0.27', '11', '0.28', '1', '0.5', '22', '2023-08-19 20:50:03', '2023-08-19 20:50:03', 0);
INSERT INTO `screen_domain` VALUES (1392, 'hefei', '中科类脑GPU智算', 388, 1, ' ', '智算中心', '23', '1952', '0.32', '22', '0.63', '14', '0.5', '12', '2023-08-19 20:50:03', '2023-08-19 20:50:03', 0);
INSERT INTO `screen_domain` VALUES (1393, 'hefei-1', '寒武纪合肥智算', 0, 1, ' ', '智算中心', '13', '1952', '0.33', '11', '0.36', '14', '0.57', '19', '2023-08-19 20:50:03', '2023-08-19 20:50:03', 0);
INSERT INTO `screen_domain` VALUES (1394, 'xian', '西安智算', 1472, 1, ' ', '智算中心', '45', '2304', '0.12', '96', '0.78', '7', '0.2', '5', '2023-08-19 20:50:03', '2023-08-19 20:50:03', 0);
INSERT INTO `screen_domain` VALUES (1395, 'xuchang', '中原智算', 2136, 1, ' ', '智算中心', '28', '7680', '0.11', '32', '0.85', '6', '0.52', '23', '2023-08-19 20:50:03', '2023-08-19 20:50:03', 0);

DROP TABLE IF EXISTS `screen_chart`;
CREATE TABLE `screen_chart`  (
                                 `id` int NOT NULL AUTO_INCREMENT,
                                 `cpu_avg` int NULL DEFAULT NULL,
                                 `cpu_load` int NULL DEFAULT NULL,
                                 `memory_load` int NULL DEFAULT NULL,
                                 `memory_avg` int NULL DEFAULT NULL,
                                 PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of screen_chart
-- ----------------------------
INSERT INTO `screen_chart` VALUES (1, 20, 64, 128, 62);
INSERT INTO `screen_chart` VALUES (2, 75, 64, 256, 36);
INSERT INTO `screen_chart` VALUES (3, 73, 128, 128, 73);
INSERT INTO `screen_chart` VALUES (4, 63, 72, 64, 23);
INSERT INTO `screen_chart` VALUES (5, 38, 80, 256, 35);
INSERT INTO `screen_chart` VALUES (6, 26, 40, 64, 18);
INSERT INTO `screen_chart` VALUES (7, 36, 68, 128, 39);

SET FOREIGN_KEY_CHECKS = 1;
