面向辅导员的学生交流信息管理系统的设计与实现

面向辅导员的学生交流信息管理系统的设计与实现登录注册界面

面向辅导员的学生交流信息管理系统的设计与实现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 '班级'
) 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_kc(
	id int primary key auto_increment comment '主键',
	kcName varchar(100) comment '课程名称',
	content varchar(100) 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 '状态',
	teacherId int 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 '资源';

面向辅导员的学生交流信息管理系统的设计与实现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)
);
--班级字段加注释
comment on column t_banji.id is '主键';
comment on column t_banji.banjiName is '班级';
--班级表加注释
comment on table t_banji 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_kc(
	id integer,
	kcName varchar(100),
	content varchar(100)
);
--课程字段加注释
comment on column t_kc.id is '主键';
comment on column t_kc.kcName is '课程名称';
comment on column t_kc.content is '课程内容';
--课程表加注释
comment on table t_kc 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),
	teacherId int
);
--学生提问字段加注释
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 column t_tiwen.teacherId 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 '资源';

oracle特有,对应序列如下:


create sequence s_t_banji;
create sequence s_t_jiaoliu;
create sequence s_t_jiaoliulist;
create sequence s_t_jspj;
create sequence s_t_kc;
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;

面向辅导员的学生交流信息管理系统的设计与实现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)--班级
);

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


--讨论平台表注释
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_kc(
	id int identity(1,1) primary key not null,--主键
	kcName varchar(100),--课程名称
	content varchar(100)--课程内容
);

学生表创建语句如下:


--学生表注释
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),--状态
	teacherId int--
);

问题表创建语句如下:


--问题表注释
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--时间
);

面向辅导员的学生交流信息管理系统的设计与实现登录后主页

面向辅导员的学生交流信息管理系统的设计与实现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;
public String getBanjiName() {return banjiName;}
public void setBanjiName(String banjiName) {this.banjiName = banjiName;}
}

讨论平台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_kc")
public class Kc {
//主键
@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 kcName;
//课程内容
private String content;
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
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_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;
//
private Integer teacherId;
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;}
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_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;}
}

面向辅导员的学生交流信息管理系统的设计与实现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;
public String getBanjiName() {return banjiName;}
public void setBanjiName(String banjiName) {this.banjiName = banjiName;}
}

讨论平台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 Kc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课程名称
private String kcName;
//课程内容
private String content;
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
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 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;
//
private Integer teacherId;
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;}
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 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;}
}

评论