parent
2e9ea8cf6c
commit
2c50d48144
1 changed files with 58 additions and 0 deletions
@ -0,0 +1,58 @@ |
||||
/* |
||||
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 `courses` */ |
||||
|
||||
DROP TABLE IF EXISTS `courses`; |
||||
|
||||
CREATE TABLE `courses` ( |
||||
`id` varchar(36) NOT NULL COMMENT '内部编号', |
||||
`create_time` datetime DEFAULT NULL COMMENT '创建时间', |
||||
`update_time` datetime DEFAULT NULL COMMENT '更新时间', |
||||
`img` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '课程封面', |
||||
`category` varchar(50) DEFAULT NULL COMMENT '课程类别', |
||||
`nature` varchar(50) DEFAULT NULL COMMENT '课程性质', |
||||
`name` varchar(100) DEFAULT NULL COMMENT '课程名称', |
||||
`code` varchar(50) DEFAULT NULL COMMENT '课程编码', |
||||
`semester` varchar(50) DEFAULT NULL COMMENT '开课学期', |
||||
`credit` decimal(5,2) DEFAULT NULL COMMENT '课程学分', |
||||
`classhours` int(11) DEFAULT NULL COMMENT '课程学时', |
||||
`theoryhours` int(11) DEFAULT NULL COMMENT '理论学时', |
||||
`practicehours` int(11) DEFAULT NULL COMMENT '实践学时', |
||||
`experimenthours` int(11) DEFAULT NULL COMMENT '实验学时', |
||||
`otherhours` int(11) DEFAULT NULL COMMENT '其他学时', |
||||
`weeks` int(11) DEFAULT NULL COMMENT '上课周数', |
||||
`assessmenttype` varchar(32) DEFAULT NULL COMMENT '考核类型', |
||||
`assessmentway` varchar(32) DEFAULT NULL COMMENT '考核方式', |
||||
`teacher` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '负责教师', |
||||
`teachermethod` text COMMENT '教学方法', |
||||
`teacherway` text COMMENT '教学方式', |
||||
`description` text COMMENT '课程简介', |
||||
`status` int(1) DEFAULT '0' COMMENT '课程状态', |
||||
PRIMARY KEY (`id`), |
||||
UNIQUE KEY `code` (`code`) |
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
||||
|
||||
/*Data for the table `courses` */ |
||||
|
||||
insert into `courses`(`id`,`create_time`,`update_time`,`img`,`category`,`nature`,`name`,`code`,`semester`,`credit`,`classhours`,`theoryhours`,`practicehours`,`experimenthours`,`otherhours`,`weeks`,`assessmenttype`,`assessmentway`,`teacher`,`teachermethod`,`teacherway`,`description`,`status`) values ('2fa0fd63262230639d2c45a3acd9045c','2024-05-30 20:58:34',NULL,'','1','1','计算机导论1.0','111007',NULL,'4.60',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110339','暂定','线下授课',NULL,0),('36c34a4225526dd20ee3840da61d3701','2024-05-28 20:58:36',NULL,'','1','1','计算机组成原理','111006',NULL,'4.00',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110339','暂定','线下授课',NULL,0),('51d973f1cf0bad437da57d31f83a3232','2024-06-07 18:42:08',NULL,'','1','1','Test课程2','111014',NULL,'3.50',48,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334','暂定','线下授课',NULL,0),('6f5de6dd8c8d5d9d02a63c8444b9d5bb','2024-05-26 20:58:40',NULL,'','1','1','测试课程','111008',NULL,'4.00',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110339','暂定','线下授课',NULL,0),('72e1ad71bb855ba328f8c17964697354','2024-06-06 16:45:22',NULL,'http://teaching-edu123.oss-cn-beijing.aliyuncs.com/KdxGCt8rKbruw3zEDTdkA.jpg','1','1','毛概','111012',NULL,'3.70',48,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334','暂定','线下授课',NULL,0),('8721e6864387eb99b04692f125ac0a9f','2024-05-27 20:58:43',NULL,'','1','1','SQLServer数据库教程','111004',NULL,'4.00',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定111','线下机房授课',NULL,0),('90ce365ae4e362f616776550e04ae0b4','2024-05-24 20:58:48',NULL,'','1','1','JavaEE','111002',NULL,'4.00',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定','线下机房授课',NULL,0),('a2ba84374d86e85208c5906a96ea8205','2024-05-24 20:58:48',NULL,'https://teaching-edu123.oss-cn-beijing.aliyuncs.com/Borovets_ZH-CN5914681811_UHD.jpg','1','1','JavaWeb','111003',NULL,'4.00',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定','线下机房授课',NULL,0),('d511d26df8de551bc85ce765089771b4','2024-05-24 20:58:48',NULL,'','1','1','高级编程','111001',NULL,'4.00',0,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334,2140110327','暂定','线下机房授课',NULL,0),('d8d7bb93f100164659cac44ef2c4f55a','2024-06-06 16:17:39',NULL,'','1','1','近代史纲要','111011',NULL,'2.60',48,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334','暂定','线下授课',NULL,0),('de3100cad98f76be3176dd39aa748a9e','2024-05-31 20:49:52',NULL,'http://teaching-edu123.oss-cn-beijing.aliyuncs.com/E96JlmbPeqvzVcPvg43Lb.jpg','1','1','离散数学及其应用','111009',NULL,'2.00',64,NULL,NULL,NULL,NULL,NULL,'1','1','2140110334','暂定','线下授课',NULL,0); |
||||
|
||||
/*!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 */; |
Loading…
Reference in new issue