
-- ----------------------------
-- 系统专家分类表
-- ----------------------------
drop table if exists `smart_assess`.`sys_expert_classify`;
CREATE TABLE `smart_assess`.`sys_expert_classify`  (
`classify_id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
`classify_name` varchar(20) NOT NULL COMMENT '分类名称',
`parent_id` bigint NOT NULL DEFAULT 0 COMMENT '父id',
`del_flag` tinyint NOT NULL DEFAULT 0 COMMENT '删除标志(0代表存在，1代表删除，默认0)',
`create_by` varchar(20) NULL COMMENT '创建人',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_by` varchar(20) NULL COMMENT '修改人',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`remark` varchar(100) NULL COMMENT '备注',
PRIMARY KEY (`classify_id`)
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统专家分类表' ROW_FORMAT = DYNAMIC;