/*
SQLyog Ultimate v12.09 (64 bit)
MySQL - 8.0.12 : Database - teaching_db
*********************************************************************
*/


/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`teaching_db` /*!40100 DEFAULT CHARACTER SET utf8 */;

USE `teaching_db`;

/*Table structure for table `course_objectives` */

DROP TABLE IF EXISTS `course_objectives`;

CREATE TABLE `course_objectives` (
  `id` varchar(36) NOT NULL COMMENT '内部编号',
  `create_by` varchar(50) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT NULL COMMENT '创建日期',
  `update_by` varchar(50) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT NULL COMMENT '更新日期',
  `pid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '0' COMMENT '父级节点 默认0没有',
  `has_child` varchar(3) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '0' COMMENT '是否有子节点 添加子节点变1，默认0没有',
  `name` varchar(200) DEFAULT NULL COMMENT '目标名称',
  `type` varchar(10) DEFAULT NULL COMMENT '目标类型',
  `content` text COMMENT '目标内容',
  `courseid` varchar(32) DEFAULT NULL COMMENT '课程id',
  `requireid` varchar(32) DEFAULT NULL COMMENT '毕业要求id',
  `temp` text COMMENT '毕业要求',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

/*Data for the table `course_objectives` */

insert  into `course_objectives`(`id`,`create_by`,`create_time`,`update_by`,`update_time`,`pid`,`has_child`,`name`,`type`,`content`,`courseid`,`requireid`,`temp`) values ('43f2c4b4a10a47784e50e772b9d10457','2140110334','2024-05-31 17:39:13',NULL,NULL,'0','0','测试课程课程总体目标',NULL,NULL,'6f5de6dd8c8d5d9d02a63c8444b9d5bb',NULL,NULL),('7a302cd72d653647778840b42f4e076a',NULL,'2024-06-03 10:43:13',NULL,NULL,'0','0','软件构造课程总体目标',NULL,NULL,'ee2447b4463a5ad3f47e1744d912a824',NULL,NULL),('b41fa8332f39cca11d35635bd9fac720','2140110334','2024-05-31 11:24:33',NULL,NULL,'0','0','计算机导论课程总体目标',NULL,NULL,'2fa0fd63262230639d2c45a3acd9045c',NULL,NULL),('d452f583115465d067a1719458690b95','2140110334','2024-05-31 11:16:37',NULL,NULL,'0','0','计算机组成原理总体目标',NULL,NULL,'36c34a4225526dd20ee3840da61d3701',NULL,NULL),('da6e7283befa8965dae0f0f39ea7f24e',NULL,'2024-05-31 20:49:52',NULL,NULL,'0','1','离散数学及其应用课程总体目标',NULL,NULL,'de3100cad98f76be3176dd39aa748a9e',NULL,NULL),('e668f90e40d85e051381541b9d8436c3',NULL,'2024-05-31 20:49:52',NULL,'2024-06-03 09:51:31','da6e7283befa8965dae0f0f39ea7f24e','1','思政目标','1','阿巴阿巴2','de3100cad98f76be3176dd39aa748a9e',NULL,NULL);

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
