/*
 Navicat Premium Data Transfer

 Source Server         : localhost_3306
 Source Server Type    : MySQL
 Source Server Version : 80029
 Source Host           : localhost:3306
 Source Schema         : test

 Target Server Type    : MySQL
 Target Server Version : 80029
 File Encoding         : 65001

 Date: 29/06/2022 14:27:06
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for base_sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `base_sys_menu`;
CREATE TABLE `base_sys_menu`  (
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单名称',
  `parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父菜单ID',
  `sort_code` int NULL DEFAULT NULL COMMENT '显示顺序',
  `path` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路由地址',
  `component` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '组件路径',
  `is_frame` int NULL DEFAULT NULL COMMENT '是否为外链（0是 1否）',
  `menu_type` int NULL DEFAULT NULL COMMENT '类型（1目录 2菜单 3按钮）',
  `visible` int NULL DEFAULT NULL COMMENT '显示状态（0显示 1隐藏）',
  `status` int NULL DEFAULT NULL COMMENT '菜单状态（0显示 1隐藏)',
  `perms` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限字符串',
  `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单图标',
  `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键',
  `createuserid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建者',
  `createusername` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建者',
  `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
  `updateuserid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新者',
  `updateusername` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新者',
  `update_time` timestamp NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `menu_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单唯一值',
  `redirect` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of base_sys_menu
-- ----------------------------
INSERT INTO `base_sys_menu` VALUES ('菜单管理', '67ed94a37b03415c8ee77a8991e79745', 1, NULL, 'system/menu/menulist', NULL, 2, 1, 1, 'base:sys:menu', 'dashboard', '1', NULL, NULL, NULL, '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:05:53', NULL, 'MenuList', NULL);
INSERT INTO `base_sys_menu` VALUES ('部门管理', '67ed94a37b03415c8ee77a8991e79745', 2, NULL, 'system/dept/deptlist', NULL, 2, 1, 1, 'base:syt:dept', 'dashboard', '14623b5c94824b75affe75f438ef9802', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 15:57:45', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:35:03', NULL, 'System', NULL);
INSERT INTO `base_sys_menu` VALUES ('首页', '', 1, NULL, 'dashboard/Analysis', NULL, 2, 1, 1, 'base:home', NULL, '18286d61d8144494a9ac6e4e4f9a39ff', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 17:29:01', NULL, NULL, NULL, NULL, 'Home', NULL);
INSERT INTO `base_sys_menu` VALUES ('角色管理', '67ed94a37b03415c8ee77a8991e79745', 4, '', 'system/role/rolelist', NULL, 2, 1, 1, 'base:sys:role', 'dashboard', '230a5ebe7cdc41acb997122d6de2d86f', NULL, NULL, '2022-06-28 08:53:57', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:35:21', NULL, 'RoleList', NULL);
INSERT INTO `base_sys_menu` VALUES ('字典管理', '67ed94a37b03415c8ee77a8991e79745', 5, NULL, 'system/dict/dictlist', NULL, 2, 1, 1, 'base:sys:dict', 'dashboard', '2fd1683b13c241be84c34185ff55028e', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:03:53', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:35:28', NULL, 'DictIndex', NULL);
INSERT INTO `base_sys_menu` VALUES ('用户管理', '67ed94a37b03415c8ee77a8991e79745', 3, '', 'system/user/list', NULL, 2, 1, 1, 'base:sys:user', 'dashboard', '5114bf6a963f41149ab2435c86551927', NULL, NULL, '2022-06-27 23:28:18', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:35:12', NULL, 'UserList', NULL);
INSERT INTO `base_sys_menu` VALUES ('系统管理', '', 1, '', 'RouteView', NULL, 2, 1, 1, 'base:sys', 'dashboard', '67ed94a37b03415c8ee77a8991e79745', NULL, NULL, '2022-06-27 23:28:18', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:05:58', NULL, 'System', '/system/userlist');
INSERT INTO `base_sys_menu` VALUES ('系统日志', '67ed94a37b03415c8ee77a8991e79745', 6, NULL, 'system/log/loglist', NULL, 2, 1, 1, 'base:sys:log', 'dashboard', '85924f8619f1451e847c9f69705f360f', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 16:36:57', '30f4a2e7106741df97c0639a01d6d5bd', 'admin', '2022-06-28 21:35:34', NULL, 'LogList', NULL);

SET FOREIGN_KEY_CHECKS = 1;
