/*
 Navicat Premium Dump SQL

 Source Server         : 国航
 Source Server Type    : MySQL
 Source Server Version : 80030 (8.0.30-commercial)
 Source Host           : 10.211.67.169:3306
 Source Schema         : UNIDIA

 Target Server Type    : MySQL
 Target Server Version : 80030 (8.0.30-commercial)
 File Encoding         : 65001

 Date: 18/06/2025 07:58:48
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for service_info
-- ----------------------------
DROP TABLE IF EXISTS `service_info`;
CREATE TABLE `service_info`  (
  `service_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '服务编号',
  `service_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '服务名称',
  `operating_mode` int NOT NULL COMMENT '运行模式',
  `service_type` int NOT NULL COMMENT '服务类型',
  `cron_express` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '定时表达式',
  `log_enable` int NULL DEFAULT NULL COMMENT '是否启用日志',
  `result_type` int NULL DEFAULT NULL COMMENT '返回结果类型',
  `run_state` int NULL DEFAULT NULL COMMENT '运行状态',
  `last_time` datetime NULL DEFAULT NULL COMMENT '最后活跃时间',
  `last_container_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '最后活跃容器',
  `is_enabled` int NULL DEFAULT NULL COMMENT '是否启用',
  `description` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
  PRIMARY KEY (`service_code`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
