SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
CREATE TABLE IF NOT EXISTS `sys_dict_type`  (
  `dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典类型',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态（0停用 1正常）',
  `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者',
  `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间',
  `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者',
  `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`) USING BTREE,
  UNIQUE INDEX `dict_type`(`dict_type`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典类型表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
INSERT IGNORE INTO `sys_dict_type` VALUES (1, 'dictType.sys_user_sex', 'sys_user_sex', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_user_sex_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (2, 'dictType.sys_show_hide', 'sys_show_hide', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_show_hide_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (3, 'dictType.sys_normal_disable', 'sys_normal_disable', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_normal_disable_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (4, 'dictType.sys_job_status', 'sys_job_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_job_status_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (5, 'dictType.sys_job_group', 'sys_job_group', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_job_group_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (6, 'dictType.sys_yes_no', 'sys_yes_no', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_yes_no_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (9, 'dictType.sys_oper_type', 'sys_oper_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_oper_type_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (10, 'dictType.sys_common_status', 'sys_common_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_common_status_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (100, 'dictType.trace_type', 'trace_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.trace_type_remark');
-- INSERT IGNORE INTO `sys_dict_type` VALUES (101, 'dictType.operation_log_type', 'operation_log_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.operation_log_type_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (102, 'dictType.alarm_status', 'alarm_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.alarm_status_remark');
-- INSERT IGNORE INTO `sys_dict_type` VALUES (103, 'dictType.security_log_type', 'security_log_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.security_log_type_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (104, 'dictType.ne_version_status', 'ne_version_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.ne_version_status_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (105, 'dictType.i18n_en', 'i18n_en', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.i18n_en_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (106, 'dictType.i18n_zh', 'i18n_zh', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.i18n_zh_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (107, 'dictType.sys_role_datascope', 'sys_role_datascope', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_role_datascope_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (108, 'dictType.active_alarm_type', 'active_alarm_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_alarm_type_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (109, 'dictType.active_clear_type', 'active_clear_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_clear_type_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (110, 'dictType.active_ack_state', 'active_ack_state', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_ack_state_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (111, 'dictType.active_alarm_severity', 'active_alarm_severity', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_alarm_severity_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (112, 'dictType.index_status', 'index_status', '1', 'supervisor', 1702019398308, NULL, 0, 'dictType.index_status_remark');
INSERT IGNORE INTO `sys_dict_type` VALUES (113, 'dictType.cdr_sip_code', 'cdr_sip_code', '1', 'supervisor', 1706611609998, 'supervisor', 1706612186095, NULL);
INSERT IGNORE INTO `sys_dict_type` VALUES (114, 'dictType.cdr_call_type', 'cdr_call_type', '1', 'supervisor', 1706612292095, NULL, 0, NULL);
INSERT IGNORE INTO `sys_dict_type` VALUES (115, 'dictType.ue_auth_code', 'ue_auth_code', '1', 'supervisor', 1706615964700, 'supervisor', 1706617253275, NULL);
INSERT IGNORE INTO `sys_dict_type` VALUES (116, 'dictType.ue_event_type', 'ue_event_type', '1', 'supervisor', 1706617070548, 'supervisor', 1706617236965, NULL);
INSERT IGNORE INTO `sys_dict_type` VALUES (117, 'dictType.ue_event_cm_state', 'ue_event_cm_state', '1', 'supervisor', 1706617070548, 'supervisor', 1706617236965, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (118, 'dictType.ne_host_type', 'ne_host_type', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (119, 'dictType.ne_host_groupId', 'ne_host_groupId', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (120, 'dictType.ne_host_authMode', 'ne_host_authMode', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (121, 'dictType.ne_host_cmd_groupId', 'ne_host_cmd_groupId', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (122, 'dictType.ne_info_status', 'ne_info_status', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (123, 'dictType.ne_license_status', 'ne_license_status', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (124, 'dictType.cdr_cause_code', 'cdr_cause_code', '1', 'supervisor', 1725877564156, '', 0, '');

-- 多租户
INSERT IGNORE INTO `sys_dict_type` VALUES (10000, 'dictType.tenancy_type', 'tenancy_type', '1', 'supervisor', 1702020000000, '', 0, '');
INSERT IGNORE INTO `sys_dict_type` VALUES (10001, 'dictType.match_type', 'match_type', '1', 'supervisor', 1702020000000, '', 0, '');

SET FOREIGN_KEY_CHECKS = 1;
