1、数据库

zgl
曾国霖 6 years ago
parent 04431d2b81
commit 89f112565a

@ -0,0 +1,261 @@
-- --------------------------------------------------------
-- 主机: 127.0.0.1
-- 服务器版本: 10.2.18-MariaDB - mariadb.org binary distribution
-- 服务器操作系统: Win64
-- HeidiSQL 版本: 9.4.0.5125
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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' */;
-- 导出 gdms 的数据库结构
CREATE DATABASE IF NOT EXISTS `gdms` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `gdms`;
-- 导出 表 gdms.administrator 结构
CREATE TABLE IF NOT EXISTS `administrator` (
`id` char(20) NOT NULL,
`password` char(255) NOT NULL,
`name` char(30) DEFAULT NULL,
`e_mail_location` char(40) DEFAULT NULL,
`phone_number` char(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='管理员';
-- 数据导出被取消选择。
-- 导出 表 gdms.announcement 结构
CREATE TABLE IF NOT EXISTS `announcement` (
`id` char(20) NOT NULL,
`title` text DEFAULT NULL,
`information` text DEFAULT NULL,
`ralease_date` date DEFAULT NULL,
`annex_url` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='公告';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design 结构
CREATE TABLE IF NOT EXISTS `graduation_design` (
`id` char(20) NOT NULL,
`student_id` char(20) DEFAULT NULL,
`teacher_id` char(20) DEFAULT NULL,
`teacher_choose_student_status` char(1) DEFAULT NULL,
`student_choose_teacher_status` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='毕业设计';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_finished_product 结构
CREATE TABLE IF NOT EXISTS `graduation_design_finished_product` (
`id` char(20) NOT NULL,
`word_count` int(11) DEFAULT NULL,
`final_date` date DEFAULT NULL,
`graduation_design_url` varchar(255) DEFAULT NULL,
`chinese_abstract` text DEFAULT NULL,
`chinese_key_words` text DEFAULT NULL,
`english_abstract` text DEFAULT NULL,
`english_key_words` text DEFAULT NULL,
`score` float DEFAULT NULL,
`finished_product_status` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='毕设论文';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_finished_product_mentor_score 结构
CREATE TABLE IF NOT EXISTS `graduation_design_finished_product_mentor_score` (
`id` char(20) NOT NULL,
`meet_requirement_score` float DEFAULT NULL,
`meaning_value_score` float DEFAULT NULL,
`subject_scale_score` float DEFAULT NULL,
`complexity_score` float DEFAULT NULL,
`ability_consult_literature_score` float DEFAULT NULL,
`comprehensive_use_knowledge_score` float DEFAULT NULL,
`design_capability_score` float DEFAULT NULL,
`ability_use_score` float DEFAULT NULL,
`title_consistent_score` float DEFAULT NULL,
`writing_level_score` float DEFAULT NULL,
`writing_specifications_score` float DEFAULT NULL,
`paper_length_score` float DEFAULT NULL,
`teory_value_score` float DEFAULT NULL,
`ability_use_foreign_language_score` float DEFAULT NULL,
`total_grade` float DEFAULT NULL,
`review_opinion` text DEFAULT NULL,
`review_opinion_date` date DEFAULT NULL,
`finished_product_mentor_score_status` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='指导老师评定成绩';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_finished_product_reviewer_score 结构
CREATE TABLE IF NOT EXISTS `graduation_design_finished_product_reviewer_score` (
`id` char(20) NOT NULL,
`score` float DEFAULT NULL,
`opinion` text DEFAULT NULL,
`reviewer_score_date` date DEFAULT NULL,
`finished_product_reviewer_score_status` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='评阅老师对论文的评审成绩';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_information 结构
CREATE TABLE IF NOT EXISTS `graduation_design_information` (
`id` char(20) NOT NULL,
`chinese_name` varchar(255) DEFAULT NULL,
`english_name` varchar(255) DEFAULT NULL,
`type_of_topic` varchar(255) DEFAULT NULL,
`source_of_design` varchar(255) DEFAULT NULL,
`nature_of_design` varchar(255) DEFAULT NULL,
`description_of_topic` text DEFAULT NULL,
`student_fill_graduation_design_information_status` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='毕业设计信息';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_opening_report 结构
CREATE TABLE IF NOT EXISTS `graduation_design_opening_report` (
`id` char(20) NOT NULL,
`report_date` date DEFAULT NULL,
`report_location` varchar(255) DEFAULT NULL,
`report_url` varchar(255) DEFAULT NULL,
`report_teacher_leader_team_id` char(20) DEFAULT NULL,
`report_secretary_leader_team_id` char(20) DEFAULT NULL,
`estimated_word_count` int(11) DEFAULT NULL,
`opening_report_status` char(1) DEFAULT NULL,
`opening_report_mentor_opinion_status` char(1) DEFAULT NULL,
`opening_report_teacher_team_opinion_status` char(1) DEFAULT NULL,
`opening_report_college_opinion_status` char(1) DEFAULT NULL,
`opening_report_secretary_record_status` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='开题报告';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_opening_report_opinion_record 结构
CREATE TABLE IF NOT EXISTS `graduation_design_opening_report_opinion_record` (
`id` char(20) NOT NULL,
`mentor_opinion` text DEFAULT NULL,
`mentor_opinion_date` date DEFAULT NULL,
`secretary_record` text DEFAULT NULL,
`secretary_record_date` date DEFAULT NULL,
`report_teacher_team_opinion` text DEFAULT NULL,
`report_teacher_team_opinion_date` date DEFAULT NULL,
`college_opinion` text DEFAULT NULL,
`college_opinion_date` date DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='开题报告会纪要';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_reply 结构
CREATE TABLE IF NOT EXISTS `graduation_design_reply` (
`id` char(20) NOT NULL,
`date` date DEFAULT NULL,
`location` varchar(255) DEFAULT NULL,
`teacher_team_leader_id` char(20) DEFAULT NULL,
`secretary_team_leader_id` char(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='答辩';
-- 数据导出被取消选择。
-- 导出 表 gdms.graduation_design_reply_opinion_record_score 结构
CREATE TABLE IF NOT EXISTS `graduation_design_reply_opinion_record_score` (
`id` char(20) NOT NULL,
`mentor_opinion text` text DEFAULT NULL,
`mentor_opinion_date date` date DEFAULT NULL,
`secretary_record` text DEFAULT NULL,
`secretary_record_date date` date DEFAULT NULL,
`teacher_team_opinion` text DEFAULT NULL,
`teacher_team_score` float DEFAULT NULL,
`teacher_team_opinion_date` date DEFAULT NULL,
`college_opinion` text DEFAULT NULL,
`college_score` float DEFAULT NULL,
`college_opinion_date` date DEFAULT NULL,
`school_opinion` text DEFAULT NULL,
`school_score` float DEFAULT NULL,
`school_opinion_date` date DEFAULT NULL,
`reply_ secretary_record_status` char(1) DEFAULT NULL,
`reply_ teacher_team_score_status` char(1) DEFAULT NULL,
`reply_ college_score_status` char(1) DEFAULT NULL,
`reply_school_score_status` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='答辩记录表';
-- 数据导出被取消选择。
-- 导出 表 gdms.opening_report_secretary_team 结构
CREATE TABLE IF NOT EXISTS `opening_report_secretary_team` (
`leader_student_id` char(20) NOT NULL,
`student1_id` char(20) DEFAULT NULL,
`student2_id` char(20) DEFAULT NULL,
PRIMARY KEY (`leader_student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='开题报告秘书组';
-- 数据导出被取消选择。
-- 导出 表 gdms.opening_report_teacher_team 结构
CREATE TABLE IF NOT EXISTS `opening_report_teacher_team` (
`leader_teacher_id` char(20) NOT NULL,
`teacher1_id` char(20) DEFAULT NULL,
`teacher2_id` char(20) DEFAULT NULL,
PRIMARY KEY (`leader_teacher_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='开题报告老师组';
-- 数据导出被取消选择。
-- 导出 表 gdms.profession_information 结构
CREATE TABLE IF NOT EXISTS `profession_information` (
`profession_code` char(8) NOT NULL,
`college` varchar(255) DEFAULT NULL,
`department` varchar(255) DEFAULT NULL,
`profession` varchar(255) DEFAULT NULL,
PRIMARY KEY (`profession_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='专业信息';
-- 数据导出被取消选择。
-- 导出 表 gdms.reply_secretary_team 结构
CREATE TABLE IF NOT EXISTS `reply_secretary_team` (
`leader_student_id` char(20) NOT NULL,
`student1_id` char(20) DEFAULT NULL,
`student2_id` char(20) DEFAULT NULL,
PRIMARY KEY (`leader_student_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='答辩秘书小组';
-- 数据导出被取消选择。
-- 导出 表 gdms.reply_teacher_team 结构
CREATE TABLE IF NOT EXISTS `reply_teacher_team` (
`leader_teacher_id` char(20) NOT NULL,
`teacher1_id` char(20) DEFAULT NULL,
`teacher2_id` char(20) DEFAULT NULL,
PRIMARY KEY (`leader_teacher_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='答辩教师组';
-- 数据导出被取消选择。
-- 导出 表 gdms.student 结构
CREATE TABLE IF NOT EXISTS `student` (
`id` char(20) NOT NULL,
`password` char(255) NOT NULL,
`name` char(30) DEFAULT NULL,
`e_mail_location` char(40) DEFAULT NULL,
`phone_number` char(20) DEFAULT NULL,
`grade` char(4) DEFAULT NULL,
`profession_code` char(8) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='学生用户';
-- 数据导出被取消选择。
-- 导出 表 gdms.teacher 结构
CREATE TABLE IF NOT EXISTS `teacher` (
`id` char(20) NOT NULL,
`password` char(255) NOT NULL,
`name` char(30) DEFAULT NULL,
`e_mail_location` char(40) DEFAULT NULL,
`phone_number` char(20) DEFAULT NULL,
`job_title` varchar(255) DEFAULT NULL,
`education` varchar(255) DEFAULT NULL,
`profession_code` char(8) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='老师用户';
-- 数据导出被取消选择。
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

@ -0,0 +1,198 @@
id char 20//用户id
password char 255//用户密码
name char 30//用户姓名
e_mail_location char 40//邮箱
phone_number char 20//电话号码
url varchar 255//......路径
administrator//管理员
id//管理员ID
password char 255//用户密码
name char 30//用户姓名
e_mail_location//电子邮件
phone_number//电话号码
profession_information//专业信息
profession_code char 8//专业代码
college varchar 255//学院名称
department varchar 255//系名称
profession varchar 255//专业名称
student//学生用户
id char 20//学生ID
password char 255//学生密码
name char 30//学生姓名
e_mail_location char 40//学生电子邮箱
phone_number char 20//电话号码
grade char 4//学生年级
profession_code char 8//专业代码
teacher//老师
id char 20//老师ID
password char 255//老师密码
name char 30 //老师姓名
e_mail_location char 40 //电子邮件
phonenumber //电话
job_title varchar 255//职称
education varchar 255//老师学历
profession_code char 8//专业代码
graduation_design//毕业设计
id char 20//论文ID
stu_id char 20//学生id
teacher_id char 20//老师id
teacher_choose_student_status char 1 //指导老师指导学生
student_choose_teacher_status char 1//学生选择老师
graduation_design_information//毕业设计信息
id char 20//论文ID
chinese_name varchar 255//论文中文名
english_name varchar 255//论文英文名
type_of_topic varchar 255//题目类别
source_of_design varchar 255//选题来源
nature_of_design varchar 255//选题性质
description_of_topic text//题目简介
student_fill_graduation_design_information_status char 1//学生填写选题信息
graduation_design_opening_report//开题报告
id char 20//论文ID
report_date date//开题报告日期
report_location varchar 255//开题报告地点
report_url varchar 255 //开题报告路径
report_teacher_leader_team_id char 20 //开题报告评阅老师组组长
report_secretary_leader_team_id char 20 //开题报告秘书组长
estimated_word_count int//预计字数
opening_report_status char 1//学生提交开题报告书
opening_report_mentor_opinion_status char 1//指导老师提交开题报告书意见
opening_report_teacher_team_opinion_status char 1//开题报告会组长提交开题报告会纪要意见
opening_report_college_opinion_status char 1//学院老师提交开题报告会纪要意见
opening_report_secretary_record_status char 1//开题秘书提交开题报告会纪要
graduation_design_opening_report_opinion_record//开题报告会纪要
id char 20 //论文ID
mentor_opinion text//导师意见
mentor_opinion_date date//导师意见填写日期
secretary_record text//秘书填写会议记录摘要
secretary_record_date date//秘书记录日期
report_teacher_team_opinion text//教师指导小组意见
report_teacher_team_opinion_date date//教师指导小组填写日期
college_opinion text//学院意见
college_opinion_date date//学院意见日期
opening_report_teacher_team//开题报告老师组
leader_teacher_id char 20//开题报告老师组组长
teacher1_id char 20//开题报告老师组成员1
teacher2_id char 20//开题报告老师组成员2
opening_report_secretary_team//开题报告秘书组
leader_student_id char 20//开题报告秘书组组长
student1_id char 20//开题报告秘书组成员1
student2_id char 20//开题报告秘书组成员2
graduation_design_finished_product//毕设论文评审表
id char 20//论文ID
word_count int//论文字数
final_date date//定稿日期
graduation_design_url varchar 255//论文路径
chinese_abstract text//中文摘要
chinese_key_words text//中文关键词
english_abstract text//英文摘要
english_key_words text//英文关键词
score float//最终分数
finished_product_status char 1//学生提交定稿
graduation_design_finished_product_mentor_score//指导老师评定成绩
id char 20//论文ID
meet_requirement_score float//目的明确符合要求
meaning_value_score float//理论意义或实际价值
subject_scale_score float//题目规模适当
complexity_score float//难易度适中
ability_consult_literature_score float//查阅文献资料能力
comprehensive_use_knowledge_score float//综合运用知识能力
design_capability_score float//研究方案的设计能力
ability_use_score float//研究方法和手段的运用能力
title_consistent_score float//文题相符
writing_level_score float//写作水平
writing_specifications_score float//写作规范
paper_length_score float//论文篇幅
teory_value_score float//成果的理论或实际价值
ability_use_foreign_language_score float//外文应用能力
total_grade float//总成绩
review_opinion text//指导老师评审意见
review_opinion_date date//评审日期
finished_product_mentor_score_status char 1//指导老师评阅
graduation_design_finished_product_reviewer_score//评阅老师对论文的评审成绩
id char 20//论文ID
score float//分数
opinion text//意见
reviewer_score_date date//评阅老师评阅日期
finished_product_reviewer_score_status char 1//评阅老师评阅
graduation_design_reply//答辩
id char 20//论文ID
date date//答辩日期
location varchar 255//答辩地点
teacher_team_leader_id//答辩教师组组长id
secretary_team_leader_id//答辩秘书组组长id
graduation_design_reply_opinion_record_score//答辩记录表
id char 20//论文ID
mentor_opinion text//导师意见
mentor_opinion_date date//导师意见提交日期
secretary_record text//秘书记录
secretary_record_date date//秘书记录日期
teacher_team_opinion text//教师组意见
teacher_team_score int//教师评分
teacher_team_opinion_date date//教师意见日期
college_opinion text//学院意见
college_score int//学院分数
college_opinion_date date//学院意见日期
school_opinion text//学校意见
school_score int//学校分数
school_opinion_date date//学校意见日期
reply_ secretary_record_status char 1//答辩秘书提交答辩记录表
reply_ teacher_team_score_status char 1//答辩小组提交评分意见
reply_ college_score_status char 1//学院老师提交评分意见
reply_school_score_status char 1//学校老师提交评分意见
reply_teacher_team//答辩教师组
leader_teacher_id char 20//组长id
teacher1_id char 20//组员1
teacher2_id char 20//组员2
reply_secretary_team//答辩秘书小组
leader_student_id char 20//组长
student1_id char 20//组员1
student2_id char 20//组员2
announcement //公告
id char 20//公告ID
title text //公告标题
information text //公告信息
ralease_date date//公告发布日期
annex_url varchar 255//附件链接
global_time_point//全局时间点
teacher_choose_student_start_date date //开始选题时间
student_choose_teacher_start_date date //开放选题入口时间
choose_end_date date//关闭选题入口时间
opening_report_opinion_deadline_date date//开题报告意见提交截止时间
finished_product_deadline_date date//定稿上传截止日期
finished_product_review_deadline_date date//评阅截止日期
reply_opition_deadline_date date//答辩意见截止日期

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

Loading…
Cancel
Save