高校院系教务管理系统的设计与实现

高校院系教务管理系统的设计与实现登录注册界面

高校院系教务管理系统的设计与实现mysql数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

班级表创建语句如下:


create table t_banji(
	id int primary key auto_increment comment '主键',
	banjiName varchar(100) comment '班级号',
	fdy varchar(100) comment '辅导员',
	nj varchar(100) comment '年纪'
) comment '班级';

学生成绩表创建语句如下:


create table t_chengji(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	v1 varchar(100) comment '课程',
	cj int comment '成绩',
	xf int comment '学分'
) comment '学生成绩';

作业提交表创建语句如下:


create table t_huida(
	id int primary key auto_increment comment '主键',
	zuoyeId int comment '作业',
	teacherId int comment '老师',
	studentId int comment '学生',
	pic varchar(100) comment '图片',
	fileUrl varchar(100) comment '文件',
	content varchar(100) comment '内容',
	insertDate datetime comment '提交日期',
	status varchar(100) comment '状态',
	pf int comment '评分',
	py varchar(100) comment '评语',
	pfDate datetime comment '评分日期'
) comment '作业提交';

教材征订表创建语句如下:


create table t_jiaocai(
	id int primary key auto_increment comment '主键',
	teacherId int comment '老师',
	title varchar(100) comment '征订的教材',
	content varchar(100) comment '内容',
	insertDate datetime comment '时间'
) comment '教材征订';

讨论平台表创建语句如下:


create table t_jiaoliu(
	id int primary key auto_increment comment '主键',
	fbr varchar(100) comment '发布人',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容'
) comment '讨论平台';

讨论平台记录表创建语句如下:


create table t_jiaoliulist(
	id int primary key auto_increment comment '主键',
	jiaoliuId int comment '交流平台',
	hdrName varchar(100) comment '回答人',
	insertDate datetime comment '日期',
	content varchar(100) comment '内容'
) comment '讨论平台记录';

教师评价表创建语句如下:


create table t_jspj(
	id int primary key auto_increment comment '主键',
	teacherId int comment '老师',
	studentId int comment '学生',
	insertDate datetime comment '日期',
	content varchar(100) comment '评价内容',
	fs int comment '评价分数'
) comment '教师评价';

考试考务表创建语句如下:


create table t_kaowu(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '考试课程',
	content varchar(100) comment '内容说明',
	showDate varchar(100) comment '时间',
	address varchar(100) comment '地点'
) comment '考试考务';

课程表创建语句如下:


create table t_kecheng(
	id int primary key auto_increment comment '主键',
	kechengName varchar(100) comment '课程',
	teacherId int comment '老师'
) comment '课程';

学生表创建语句如下:


create table t_student(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	banjiId int comment '班级',
	studentName varchar(100) comment '姓名',
	headPic varchar(100) comment '头像',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别'
) comment '学生';

老师表创建语句如下:


create table t_teacher(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	teacherName varchar(100) comment '姓名',
	headPic varchar(100) comment '头像',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	zw varchar(100) comment '职位'
) comment '老师';

学生提问表创建语句如下:


create table t_tiwen(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	tiwenName varchar(100) comment '问题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '回答',
	insertDate datetime comment '时间',
	status varchar(100) comment '状态'
) comment '学生提问';

问题表创建语句如下:


create table t_xt(
	id int primary key auto_increment comment '主键',
	wt varchar(100) comment '问题',
	content varchar(100) comment '答案'
) comment '问题';

资源表创建语句如下:


create table t_ziyuan(
	id int primary key auto_increment comment '主键',
	ziyuanName varchar(100) comment '资源名称',
	pic varchar(100) comment '图片',
	fileUrl varchar(100) comment '文件',
	insertDate datetime comment '时间'
) comment '资源';

作业发布表创建语句如下:


create table t_zuoye(
	id int primary key auto_increment comment '主键',
	teacherId int comment '老师',
	kechengName varchar(100) comment '课程',
	banjiId int comment '班级',
	zuoyeName varchar(100) comment '作业标题',
	pic varchar(100) comment '图片',
	fileUrl varchar(100) comment '文件',
	content varchar(100) comment '内容',
	insertDate datetime comment '发布日期'
) comment '作业发布';

资讯表创建语句如下:


create table t_zx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	pic varchar(100) comment '图片',
	v1 varchar(100) comment '',
	v2 varchar(100) comment '',
	v3 varchar(100) comment '',
	v4 varchar(100) comment '',
	px int comment ''
) comment '资讯';

高校院系教务管理系统的设计与实现oracle数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

班级表创建语句如下:


create table t_banji(
	id integer,
	banjiName varchar(100),
	fdy varchar(100),
	nj varchar(100)
);
--班级字段加注释
comment on column t_banji.id is '主键';
comment on column t_banji.banjiName is '班级号';
comment on column t_banji.fdy is '辅导员';
comment on column t_banji.nj is '年纪';
--班级表加注释
comment on table t_banji is '班级';

学生成绩表创建语句如下:


create table t_chengji(
	id integer,
	studentId int,
	v1 varchar(100),
	cj int,
	xf int
);
--学生成绩字段加注释
comment on column t_chengji.id is '主键';
comment on column t_chengji.studentId is '学生';
comment on column t_chengji.v1 is '课程';
comment on column t_chengji.cj is '成绩';
comment on column t_chengji.xf is '学分';
--学生成绩表加注释
comment on table t_chengji is '学生成绩';

作业提交表创建语句如下:


create table t_huida(
	id integer,
	zuoyeId int,
	teacherId int,
	studentId int,
	pic varchar(100),
	fileUrl varchar(100),
	content varchar(100),
	insertDate datetime,
	status varchar(100),
	pf int,
	py varchar(100),
	pfDate datetime
);
--作业提交字段加注释
comment on column t_huida.id is '主键';
comment on column t_huida.zuoyeId is '作业';
comment on column t_huida.teacherId is '老师';
comment on column t_huida.studentId is '学生';
comment on column t_huida.pic is '图片';
comment on column t_huida.fileUrl is '文件';
comment on column t_huida.content is '内容';
comment on column t_huida.insertDate is '提交日期';
comment on column t_huida.status is '状态';
comment on column t_huida.pf is '评分';
comment on column t_huida.py is '评语';
comment on column t_huida.pfDate is '评分日期';
--作业提交表加注释
comment on table t_huida is '作业提交';

教材征订表创建语句如下:


create table t_jiaocai(
	id integer,
	teacherId int,
	title varchar(100),
	content varchar(100),
	insertDate datetime
);
--教材征订字段加注释
comment on column t_jiaocai.id is '主键';
comment on column t_jiaocai.teacherId is '老师';
comment on column t_jiaocai.title is '征订的教材';
comment on column t_jiaocai.content is '内容';
comment on column t_jiaocai.insertDate is '时间';
--教材征订表加注释
comment on table t_jiaocai is '教材征订';

讨论平台表创建语句如下:


create table t_jiaoliu(
	id integer,
	fbr varchar(100),
	title varchar(100),
	pic varchar(100),
	content varchar(100)
);
--讨论平台字段加注释
comment on column t_jiaoliu.id is '主键';
comment on column t_jiaoliu.fbr is '发布人';
comment on column t_jiaoliu.title is '标题';
comment on column t_jiaoliu.pic is '图片';
comment on column t_jiaoliu.content is '内容';
--讨论平台表加注释
comment on table t_jiaoliu is '讨论平台';

讨论平台记录表创建语句如下:


create table t_jiaoliulist(
	id integer,
	jiaoliuId int,
	hdrName varchar(100),
	insertDate datetime,
	content varchar(100)
);
--讨论平台记录字段加注释
comment on column t_jiaoliulist.id is '主键';
comment on column t_jiaoliulist.jiaoliuId is '交流平台';
comment on column t_jiaoliulist.hdrName is '回答人';
comment on column t_jiaoliulist.insertDate is '日期';
comment on column t_jiaoliulist.content is '内容';
--讨论平台记录表加注释
comment on table t_jiaoliulist is '讨论平台记录';

教师评价表创建语句如下:


create table t_jspj(
	id integer,
	teacherId int,
	studentId int,
	insertDate datetime,
	content varchar(100),
	fs int
);
--教师评价字段加注释
comment on column t_jspj.id is '主键';
comment on column t_jspj.teacherId is '老师';
comment on column t_jspj.studentId is '学生';
comment on column t_jspj.insertDate is '日期';
comment on column t_jspj.content is '评价内容';
comment on column t_jspj.fs is '评价分数';
--教师评价表加注释
comment on table t_jspj is '教师评价';

考试考务表创建语句如下:


create table t_kaowu(
	id integer,
	title varchar(100),
	content varchar(100),
	showDate varchar(100),
	address varchar(100)
);
--考试考务字段加注释
comment on column t_kaowu.id is '主键';
comment on column t_kaowu.title is '考试课程';
comment on column t_kaowu.content is '内容说明';
comment on column t_kaowu.showDate is '时间';
comment on column t_kaowu.address is '地点';
--考试考务表加注释
comment on table t_kaowu is '考试考务';

课程表创建语句如下:


create table t_kecheng(
	id integer,
	kechengName varchar(100),
	teacherId int
);
--课程字段加注释
comment on column t_kecheng.id is '主键';
comment on column t_kecheng.kechengName is '课程';
comment on column t_kecheng.teacherId is '老师';
--课程表加注释
comment on table t_kecheng is '课程';

学生表创建语句如下:


create table t_student(
	id integer,
	username varchar(100),
	password varchar(100),
	banjiId int,
	studentName varchar(100),
	headPic varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100)
);
--学生字段加注释
comment on column t_student.id is '主键';
comment on column t_student.username is '账号';
comment on column t_student.password is '密码';
comment on column t_student.banjiId is '班级';
comment on column t_student.studentName is '姓名';
comment on column t_student.headPic is '头像';
comment on column t_student.phone is '电话';
comment on column t_student.age is '年龄';
comment on column t_student.sex is '性别';
--学生表加注释
comment on table t_student is '学生';

老师表创建语句如下:


create table t_teacher(
	id integer,
	username varchar(100),
	password varchar(100),
	teacherName varchar(100),
	headPic varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	zw varchar(100)
);
--老师字段加注释
comment on column t_teacher.id is '主键';
comment on column t_teacher.username is '账号';
comment on column t_teacher.password is '密码';
comment on column t_teacher.teacherName is '姓名';
comment on column t_teacher.headPic is '头像';
comment on column t_teacher.phone is '电话';
comment on column t_teacher.age is '年龄';
comment on column t_teacher.sex is '性别';
comment on column t_teacher.zw is '职位';
--老师表加注释
comment on table t_teacher is '老师';

学生提问表创建语句如下:


create table t_tiwen(
	id integer,
	studentId int,
	tiwenName varchar(100),
	pic varchar(100),
	content varchar(100),
	insertDate datetime,
	status varchar(100)
);
--学生提问字段加注释
comment on column t_tiwen.id is '主键';
comment on column t_tiwen.studentId is '学生';
comment on column t_tiwen.tiwenName is '问题';
comment on column t_tiwen.pic is '图片';
comment on column t_tiwen.content is '回答';
comment on column t_tiwen.insertDate is '时间';
comment on column t_tiwen.status is '状态';
--学生提问表加注释
comment on table t_tiwen is '学生提问';

问题表创建语句如下:


create table t_xt(
	id integer,
	wt varchar(100),
	content varchar(100)
);
--问题字段加注释
comment on column t_xt.id is '主键';
comment on column t_xt.wt is '问题';
comment on column t_xt.content is '答案';
--问题表加注释
comment on table t_xt is '问题';

资源表创建语句如下:


create table t_ziyuan(
	id integer,
	ziyuanName varchar(100),
	pic varchar(100),
	fileUrl varchar(100),
	insertDate datetime
);
--资源字段加注释
comment on column t_ziyuan.id is '主键';
comment on column t_ziyuan.ziyuanName is '资源名称';
comment on column t_ziyuan.pic is '图片';
comment on column t_ziyuan.fileUrl is '文件';
comment on column t_ziyuan.insertDate is '时间';
--资源表加注释
comment on table t_ziyuan is '资源';

作业发布表创建语句如下:


create table t_zuoye(
	id integer,
	teacherId int,
	kechengName varchar(100),
	banjiId int,
	zuoyeName varchar(100),
	pic varchar(100),
	fileUrl varchar(100),
	content varchar(100),
	insertDate datetime
);
--作业发布字段加注释
comment on column t_zuoye.id is '主键';
comment on column t_zuoye.teacherId is '老师';
comment on column t_zuoye.kechengName is '课程';
comment on column t_zuoye.banjiId is '班级';
comment on column t_zuoye.zuoyeName is '作业标题';
comment on column t_zuoye.pic is '图片';
comment on column t_zuoye.fileUrl is '文件';
comment on column t_zuoye.content is '内容';
comment on column t_zuoye.insertDate is '发布日期';
--作业发布表加注释
comment on table t_zuoye is '作业发布';

资讯表创建语句如下:


create table t_zx(
	id integer,
	title varchar(100),
	content varchar(100),
	pic varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	px int
);
--资讯字段加注释
comment on column t_zx.id is '主键';
comment on column t_zx.title is '标题';
comment on column t_zx.content is '内容';
comment on column t_zx.pic is '图片';
comment on column t_zx.v1 is '';
comment on column t_zx.v2 is '';
comment on column t_zx.v3 is '';
comment on column t_zx.v4 is '';
comment on column t_zx.px is '';
--资讯表加注释
comment on table t_zx is '资讯';

oracle特有,对应序列如下:


create sequence s_t_banji;
create sequence s_t_chengji;
create sequence s_t_huida;
create sequence s_t_jiaocai;
create sequence s_t_jiaoliu;
create sequence s_t_jiaoliulist;
create sequence s_t_jspj;
create sequence s_t_kaowu;
create sequence s_t_kecheng;
create sequence s_t_student;
create sequence s_t_teacher;
create sequence s_t_tiwen;
create sequence s_t_xt;
create sequence s_t_ziyuan;
create sequence s_t_zuoye;
create sequence s_t_zx;

高校院系教务管理系统的设计与实现sqlserver数据库版本源码:

超级管理员表创建语句如下:


--超级管理员
create table t_admin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--超级管理员账号
	password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

班级表创建语句如下:


--班级表注释
create table t_banji(
	id int identity(1,1) primary key not null,--主键
	banjiName varchar(100),--班级号
	fdy varchar(100),--辅导员
	nj varchar(100)--年纪
);

学生成绩表创建语句如下:


--学生成绩表注释
create table t_chengji(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	v1 varchar(100),--课程
	cj int,--成绩
	xf int--学分
);

作业提交表创建语句如下:


--作业提交表注释
create table t_huida(
	id int identity(1,1) primary key not null,--主键
	zuoyeId int,--作业
	teacherId int,--老师
	studentId int,--学生
	pic varchar(100),--图片
	fileUrl varchar(100),--文件
	content varchar(100),--内容
	insertDate datetime,--提交日期
	status varchar(100),--状态
	pf int,--评分
	py varchar(100),--评语
	pfDate datetime--评分日期
);

教材征订表创建语句如下:


--教材征订表注释
create table t_jiaocai(
	id int identity(1,1) primary key not null,--主键
	teacherId int,--老师
	title varchar(100),--征订的教材
	content varchar(100),--内容
	insertDate datetime--时间
);

讨论平台表创建语句如下:


--讨论平台表注释
create table t_jiaoliu(
	id int identity(1,1) primary key not null,--主键
	fbr varchar(100),--发布人
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100)--内容
);

讨论平台记录表创建语句如下:


--讨论平台记录表注释
create table t_jiaoliulist(
	id int identity(1,1) primary key not null,--主键
	jiaoliuId int,--交流平台
	hdrName varchar(100),--回答人
	insertDate datetime,--日期
	content varchar(100)--内容
);

教师评价表创建语句如下:


--教师评价表注释
create table t_jspj(
	id int identity(1,1) primary key not null,--主键
	teacherId int,--老师
	studentId int,--学生
	insertDate datetime,--日期
	content varchar(100),--评价内容
	fs int--评价分数
);

考试考务表创建语句如下:


--考试考务表注释
create table t_kaowu(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--考试课程
	content varchar(100),--内容说明
	showDate varchar(100),--时间
	address varchar(100)--地点
);

课程表创建语句如下:


--课程表注释
create table t_kecheng(
	id int identity(1,1) primary key not null,--主键
	kechengName varchar(100),--课程
	teacherId int--老师
);

学生表创建语句如下:


--学生表注释
create table t_student(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	banjiId int,--班级
	studentName varchar(100),--姓名
	headPic varchar(100),--头像
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100)--性别
);

老师表创建语句如下:


--老师表注释
create table t_teacher(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	teacherName varchar(100),--姓名
	headPic varchar(100),--头像
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	zw varchar(100)--职位
);

学生提问表创建语句如下:


--学生提问表注释
create table t_tiwen(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	tiwenName varchar(100),--问题
	pic varchar(100),--图片
	content varchar(100),--回答
	insertDate datetime,--时间
	status varchar(100)--状态
);

问题表创建语句如下:


--问题表注释
create table t_xt(
	id int identity(1,1) primary key not null,--主键
	wt varchar(100),--问题
	content varchar(100)--答案
);

资源表创建语句如下:


--资源表注释
create table t_ziyuan(
	id int identity(1,1) primary key not null,--主键
	ziyuanName varchar(100),--资源名称
	pic varchar(100),--图片
	fileUrl varchar(100),--文件
	insertDate datetime--时间
);

作业发布表创建语句如下:


--作业发布表注释
create table t_zuoye(
	id int identity(1,1) primary key not null,--主键
	teacherId int,--老师
	kechengName varchar(100),--课程
	banjiId int,--班级
	zuoyeName varchar(100),--作业标题
	pic varchar(100),--图片
	fileUrl varchar(100),--文件
	content varchar(100),--内容
	insertDate datetime--发布日期
);

资讯表创建语句如下:


--资讯表注释
create table t_zx(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	content varchar(100),--内容
	pic varchar(100),--图片
	v1 varchar(100),--
	v2 varchar(100),--
	v3 varchar(100),--
	v4 varchar(100),--
	px int--
);

高校院系教务管理系统的设计与实现登录后主页

高校院系教务管理系统的设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

班级javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//班级
@Table(name = "t_banji")
public class Banji {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班级号
private String banjiName;
//辅导员
private String fdy;
//年纪
private String nj;
public String getBanjiName() {return banjiName;}
public void setBanjiName(String banjiName) {this.banjiName = banjiName;}
public String getFdy() {return fdy;}
public void setFdy(String fdy) {this.fdy = fdy;}
public String getNj() {return nj;}
public void setNj(String nj) {this.nj = nj;}
}

学生成绩javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//学生成绩
@Table(name = "t_chengji")
public class Chengji {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//课程
private String v1;
//成绩
private Integer cj;
//学分
private Integer xf;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Integer getCj() {return cj;}
public void setCj(Integer cj) {this.cj = cj;}
public Integer getXf() {return xf;}
public void setXf(Integer xf) {this.xf = xf;}
}

作业提交javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//作业提交
@Table(name = "t_huida")
public class Huida {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//作业
private Integer zuoyeId;
//老师
private Integer teacherId;
//学生
private Integer studentId;
//图片
private String pic;
//文件
private String fileUrl;
//内容
private String content;
//提交日期
private Date insertDate;
//状态
private String status;
//评分
private Integer pf;
//评语
private String py;
//评分日期
private Date pfDate;
public Integer getZuoyeId() {return zuoyeId;}
public void setZuoyeId(Integer zuoyeId) {this.zuoyeId = zuoyeId;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getPf() {return pf;}
public void setPf(Integer pf) {this.pf = pf;}
public String getPy() {return py;}
public void setPy(String py) {this.py = py;}
public Date getPfDate() {return pfDate;}
public void setPfDate(Date pfDate) {this.pfDate = pfDate;}
}

教材征订javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//教材征订
@Table(name = "t_jiaocai")
public class Jiaocai {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer teacherId;
//征订的教材
private String title;
//内容
private String content;
//时间
private Date insertDate;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

讨论平台javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//讨论平台
@Table(name = "t_jiaoliu")
public class Jiaoliu {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发布人
private String fbr;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
public String getFbr() {return fbr;}
public void setFbr(String fbr) {this.fbr = fbr;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

讨论平台记录javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//讨论平台记录
@Table(name = "t_jiaoliulist")
public class Jiaoliulist {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//交流平台
private Integer jiaoliuId;
//回答人
private String hdrName;
//日期
private Date insertDate;
//内容
private String content;
public Integer getJiaoliuId() {return jiaoliuId;}
public void setJiaoliuId(Integer jiaoliuId) {this.jiaoliuId = jiaoliuId;}
public String getHdrName() {return hdrName;}
public void setHdrName(String hdrName) {this.hdrName = hdrName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

教师评价javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//教师评价
@Table(name = "t_jspj")
public class Jspj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer teacherId;
//学生
private Integer studentId;
//日期
private Date insertDate;
//评价内容
private String content;
//评价分数
private Integer fs;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getFs() {return fs;}
public void setFs(Integer fs) {this.fs = fs;}
}

考试考务javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//考试考务
@Table(name = "t_kaowu")
public class Kaowu {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//考试课程
private String title;
//内容说明
private String content;
//时间
private String showDate;
//地点
private String address;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

课程javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//课程
@Table(name = "t_kecheng")
public class Kecheng {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课程
private String kechengName;
//老师
private Integer teacherId;
public String getKechengName() {return kechengName;}
public void setKechengName(String kechengName) {this.kechengName = kechengName;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}

学生javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//学生
@Table(name = "t_student")
public class Student {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//班级
private Integer banjiId;
//姓名
private String studentName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public Integer getBanjiId() {return banjiId;}
public void setBanjiId(Integer banjiId) {this.banjiId = banjiId;}
public String getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

老师javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//老师
@Table(name = "t_teacher")
public class Teacher {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String teacherName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//职位
private String zw;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getZw() {return zw;}
public void setZw(String zw) {this.zw = zw;}
}

学生提问javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//学生提问
@Table(name = "t_tiwen")
public class Tiwen {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//问题
private String tiwenName;
//图片
private String pic;
//回答
private String content;
//时间
private Date insertDate;
//状态
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getTiwenName() {return tiwenName;}
public void setTiwenName(String tiwenName) {this.tiwenName = tiwenName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

问题javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//问题
@Table(name = "t_xt")
public class Xt {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//问题
private String wt;
//答案
private String content;
public String getWt() {return wt;}
public void setWt(String wt) {this.wt = wt;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

资源javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//资源
@Table(name = "t_ziyuan")
public class Ziyuan {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//资源名称
private String ziyuanName;
//图片
private String pic;
//文件
private String fileUrl;
//时间
private Date insertDate;
public String getZiyuanName() {return ziyuanName;}
public void setZiyuanName(String ziyuanName) {this.ziyuanName = ziyuanName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

作业发布javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//作业发布
@Table(name = "t_zuoye")
public class Zuoye {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer teacherId;
//课程
private String kechengName;
//班级
private Integer banjiId;
//作业标题
private String zuoyeName;
//图片
private String pic;
//文件
private String fileUrl;
//内容
private String content;
//发布日期
private Date insertDate;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getKechengName() {return kechengName;}
public void setKechengName(String kechengName) {this.kechengName = kechengName;}
public Integer getBanjiId() {return banjiId;}
public void setBanjiId(Integer banjiId) {this.banjiId = banjiId;}
public String getZuoyeName() {return zuoyeName;}
public void setZuoyeName(String zuoyeName) {this.zuoyeName = zuoyeName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

资讯javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//资讯
@Table(name = "t_zx")
public class Zx {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
//
private String v1;
//
private String v2;
//
private String v3;
//
private String v4;
//
private Integer px;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public Integer getPx() {return px;}
public void setPx(Integer px) {this.px = px;}
}

高校院系教务管理系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

班级javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//班级
public class Banji  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班级号
private String banjiName;
//辅导员
private String fdy;
//年纪
private String nj;
public String getBanjiName() {return banjiName;}
public void setBanjiName(String banjiName) {this.banjiName = banjiName;}
public String getFdy() {return fdy;}
public void setFdy(String fdy) {this.fdy = fdy;}
public String getNj() {return nj;}
public void setNj(String nj) {this.nj = nj;}
}

学生成绩javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//学生成绩
public class Chengji  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//课程
private String v1;
//成绩
private Integer cj;
//学分
private Integer xf;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Integer getCj() {return cj;}
public void setCj(Integer cj) {this.cj = cj;}
public Integer getXf() {return xf;}
public void setXf(Integer xf) {this.xf = xf;}
}

作业提交javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//作业提交
public class Huida  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//作业
private Integer zuoyeId;
//老师
private Integer teacherId;
//学生
private Integer studentId;
//图片
private String pic;
//文件
private String fileUrl;
//内容
private String content;
//提交日期
private Date insertDate;
//状态
private String status;
//评分
private Integer pf;
//评语
private String py;
//评分日期
private Date pfDate;
public Integer getZuoyeId() {return zuoyeId;}
public void setZuoyeId(Integer zuoyeId) {this.zuoyeId = zuoyeId;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getPf() {return pf;}
public void setPf(Integer pf) {this.pf = pf;}
public String getPy() {return py;}
public void setPy(String py) {this.py = py;}
public Date getPfDate() {return pfDate;}
public void setPfDate(Date pfDate) {this.pfDate = pfDate;}
}

教材征订javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//教材征订
public class Jiaocai  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer teacherId;
//征订的教材
private String title;
//内容
private String content;
//时间
private Date insertDate;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

讨论平台javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//讨论平台
public class Jiaoliu  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发布人
private String fbr;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
public String getFbr() {return fbr;}
public void setFbr(String fbr) {this.fbr = fbr;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

讨论平台记录javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//讨论平台记录
public class Jiaoliulist  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//交流平台
private Integer jiaoliuId;
//回答人
private String hdrName;
//日期
private Date insertDate;
//内容
private String content;
public Integer getJiaoliuId() {return jiaoliuId;}
public void setJiaoliuId(Integer jiaoliuId) {this.jiaoliuId = jiaoliuId;}
public String getHdrName() {return hdrName;}
public void setHdrName(String hdrName) {this.hdrName = hdrName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

教师评价javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//教师评价
public class Jspj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer teacherId;
//学生
private Integer studentId;
//日期
private Date insertDate;
//评价内容
private String content;
//评价分数
private Integer fs;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getFs() {return fs;}
public void setFs(Integer fs) {this.fs = fs;}
}

考试考务javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//考试考务
public class Kaowu  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//考试课程
private String title;
//内容说明
private String content;
//时间
private String showDate;
//地点
private String address;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

课程javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//课程
public class Kecheng  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课程
private String kechengName;
//老师
private Integer teacherId;
public String getKechengName() {return kechengName;}
public void setKechengName(String kechengName) {this.kechengName = kechengName;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}

学生javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//学生
public class Student  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//班级
private Integer banjiId;
//姓名
private String studentName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public Integer getBanjiId() {return banjiId;}
public void setBanjiId(Integer banjiId) {this.banjiId = banjiId;}
public String getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

老师javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//老师
public class Teacher  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String teacherName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//职位
private String zw;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getZw() {return zw;}
public void setZw(String zw) {this.zw = zw;}
}

学生提问javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//学生提问
public class Tiwen  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//问题
private String tiwenName;
//图片
private String pic;
//回答
private String content;
//时间
private Date insertDate;
//状态
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getTiwenName() {return tiwenName;}
public void setTiwenName(String tiwenName) {this.tiwenName = tiwenName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

问题javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//问题
public class Xt  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//问题
private String wt;
//答案
private String content;
public String getWt() {return wt;}
public void setWt(String wt) {this.wt = wt;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

资源javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//资源
public class Ziyuan  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//资源名称
private String ziyuanName;
//图片
private String pic;
//文件
private String fileUrl;
//时间
private Date insertDate;
public String getZiyuanName() {return ziyuanName;}
public void setZiyuanName(String ziyuanName) {this.ziyuanName = ziyuanName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

作业发布javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//作业发布
public class Zuoye  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer teacherId;
//课程
private String kechengName;
//班级
private Integer banjiId;
//作业标题
private String zuoyeName;
//图片
private String pic;
//文件
private String fileUrl;
//内容
private String content;
//发布日期
private Date insertDate;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getKechengName() {return kechengName;}
public void setKechengName(String kechengName) {this.kechengName = kechengName;}
public Integer getBanjiId() {return banjiId;}
public void setBanjiId(Integer banjiId) {this.banjiId = banjiId;}
public String getZuoyeName() {return zuoyeName;}
public void setZuoyeName(String zuoyeName) {this.zuoyeName = zuoyeName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

资讯javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//资讯
public class Zx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
//
private String v1;
//
private String v2;
//
private String v3;
//
private String v4;
//
private Integer px;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public Integer getPx() {return px;}
public void setPx(Integer px) {this.px = px;}
}

评论