基于java的大学生健康信息管理系统的设计与实现

基于java的大学生健康信息管理系统的设计与实现登录注册界面

基于java的大学生健康信息管理系统的设计与实现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_bj(
	id int primary key auto_increment comment '主键',
	bjName varchar(100) comment '班级'
) comment '班级';

学生病原史信息表创建语句如下:


create table t_bys(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	bysName varchar(100) comment '病原名称',
	showDate datetime comment '发病日期',
	fileUrl varchar(100) comment '病情附件',
	remark varchar(100) comment '备注'
) comment '学生病原史信息';

学生传染病信息表创建语句如下:


create table t_crb(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	crbName varchar(100) comment '传染病名称',
	showDate datetime comment '发病日期',
	fileUrl varchar(100) comment '病情附件',
	remark varchar(100) comment '备注'
) comment '学生传染病信息';

检查公告表创建语句如下:


create table t_gg(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	showDate datetime comment '日期'
) comment '检查公告';

普通管理员表创建语句如下:


create table t_ptadmin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码 ',
	ptadminName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话'
) comment '普通管理员';

身体健康检查表创建语句如下:


create table t_stjk(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	stjkName varchar(100) comment '身体健康检查报告标题',
	showDate datetime comment '检查日期',
	pic varchar(100) comment '拍照',
	fileUrl varchar(100) comment '报告附件',
	v1 varchar(100) comment '血压',
	v2 varchar(100) comment '骨密度',
	v3 varchar(100) comment '心率',
	v4 varchar(100) comment '五官',
	v5 varchar(100) comment '口腔',
	v6 varchar(100) comment '胸透',
	v7 varchar(100) comment '常规血检查'
) comment '身体健康检查';

学生表创建语句如下:


create table t_student(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码 ',
	studentName varchar(100) comment '姓名',
	bjId int comment '班级',
	xyId int comment '学院',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	qq varchar(100) comment 'QQ',
	email varchar(100) comment '邮箱',
	pic varchar(100) comment '头像'
) comment '学生';

心里健康检查表创建语句如下:


create table t_xljk(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	xljkName varchar(100) comment '心里健康检查报告标题',
	showDate datetime comment '检查日期',
	fileUrl varchar(100) comment '报告附件',
	remark varchar(100) comment '备注'
) comment '心里健康检查';

学院表创建语句如下:


create table t_xy(
	id int primary key auto_increment comment '主键',
	xyName varchar(100) comment '学院'
) comment '学院';

基于java的大学生健康信息管理系统的设计与实现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_bj(
	id integer,
	bjName varchar(100)
);
--班级字段加注释
comment on column t_bj.id is '主键';
comment on column t_bj.bjName is '班级';
--班级表加注释
comment on table t_bj is '班级';

学生病原史信息表创建语句如下:


create table t_bys(
	id integer,
	studentId int,
	bysName varchar(100),
	showDate datetime,
	fileUrl varchar(100),
	remark varchar(100)
);
--学生病原史信息字段加注释
comment on column t_bys.id is '主键';
comment on column t_bys.studentId is '学生';
comment on column t_bys.bysName is '病原名称';
comment on column t_bys.showDate is '发病日期';
comment on column t_bys.fileUrl is '病情附件';
comment on column t_bys.remark is '备注';
--学生病原史信息表加注释
comment on table t_bys is '学生病原史信息';

学生传染病信息表创建语句如下:


create table t_crb(
	id integer,
	studentId int,
	crbName varchar(100),
	showDate datetime,
	fileUrl varchar(100),
	remark varchar(100)
);
--学生传染病信息字段加注释
comment on column t_crb.id is '主键';
comment on column t_crb.studentId is '学生';
comment on column t_crb.crbName is '传染病名称';
comment on column t_crb.showDate is '发病日期';
comment on column t_crb.fileUrl is '病情附件';
comment on column t_crb.remark is '备注';
--学生传染病信息表加注释
comment on table t_crb is '学生传染病信息';

检查公告表创建语句如下:


create table t_gg(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate datetime
);
--检查公告字段加注释
comment on column t_gg.id is '主键';
comment on column t_gg.title is '标题';
comment on column t_gg.pic is '图片';
comment on column t_gg.content is '内容';
comment on column t_gg.showDate is '日期';
--检查公告表加注释
comment on table t_gg is '检查公告';

普通管理员表创建语句如下:


create table t_ptadmin(
	id integer,
	username varchar(100),
	password varchar(100),
	ptadminName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100)
);
--普通管理员字段加注释
comment on column t_ptadmin.id is '主键';
comment on column t_ptadmin.username is '账号';
comment on column t_ptadmin.password is '密码 ';
comment on column t_ptadmin.ptadminName is '姓名';
comment on column t_ptadmin.age is '年龄';
comment on column t_ptadmin.sex is '性别';
comment on column t_ptadmin.phone is '电话';
--普通管理员表加注释
comment on table t_ptadmin is '普通管理员';

身体健康检查表创建语句如下:


create table t_stjk(
	id integer,
	studentId int,
	stjkName varchar(100),
	showDate datetime,
	pic varchar(100),
	fileUrl varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100)
);
--身体健康检查字段加注释
comment on column t_stjk.id is '主键';
comment on column t_stjk.studentId is '学生';
comment on column t_stjk.stjkName is '身体健康检查报告标题';
comment on column t_stjk.showDate is '检查日期';
comment on column t_stjk.pic is '拍照';
comment on column t_stjk.fileUrl is '报告附件';
comment on column t_stjk.v1 is '血压';
comment on column t_stjk.v2 is '骨密度';
comment on column t_stjk.v3 is '心率';
comment on column t_stjk.v4 is '五官';
comment on column t_stjk.v5 is '口腔';
comment on column t_stjk.v6 is '胸透';
comment on column t_stjk.v7 is '常规血检查';
--身体健康检查表加注释
comment on table t_stjk is '身体健康检查';

学生表创建语句如下:


create table t_student(
	id integer,
	username varchar(100),
	password varchar(100),
	studentName varchar(100),
	bjId int,
	xyId int,
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	qq varchar(100),
	email varchar(100),
	pic 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.studentName is '姓名';
comment on column t_student.bjId is '班级';
comment on column t_student.xyId is '学院';
comment on column t_student.age is '年龄';
comment on column t_student.sex is '性别';
comment on column t_student.phone is '电话';
comment on column t_student.qq is 'QQ';
comment on column t_student.email is '邮箱';
comment on column t_student.pic is '头像';
--学生表加注释
comment on table t_student is '学生';

心里健康检查表创建语句如下:


create table t_xljk(
	id integer,
	studentId int,
	xljkName varchar(100),
	showDate datetime,
	fileUrl varchar(100),
	remark varchar(100)
);
--心里健康检查字段加注释
comment on column t_xljk.id is '主键';
comment on column t_xljk.studentId is '学生';
comment on column t_xljk.xljkName is '心里健康检查报告标题';
comment on column t_xljk.showDate is '检查日期';
comment on column t_xljk.fileUrl is '报告附件';
comment on column t_xljk.remark is '备注';
--心里健康检查表加注释
comment on table t_xljk is '心里健康检查';

学院表创建语句如下:


create table t_xy(
	id integer,
	xyName varchar(100)
);
--学院字段加注释
comment on column t_xy.id is '主键';
comment on column t_xy.xyName is '学院';
--学院表加注释
comment on table t_xy is '学院';

oracle特有,对应序列如下:


create sequence s_t_bj;
create sequence s_t_bys;
create sequence s_t_crb;
create sequence s_t_gg;
create sequence s_t_ptadmin;
create sequence s_t_stjk;
create sequence s_t_student;
create sequence s_t_xljk;
create sequence s_t_xy;

基于java的大学生健康信息管理系统的设计与实现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_bj(
	id int identity(1,1) primary key not null,--主键
	bjName varchar(100)--班级
);

学生病原史信息表创建语句如下:


--学生病原史信息表注释
create table t_bys(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	bysName varchar(100),--病原名称
	showDate datetime,--发病日期
	fileUrl varchar(100),--病情附件
	remark varchar(100)--备注
);

学生传染病信息表创建语句如下:


--学生传染病信息表注释
create table t_crb(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	crbName varchar(100),--传染病名称
	showDate datetime,--发病日期
	fileUrl varchar(100),--病情附件
	remark varchar(100)--备注
);

检查公告表创建语句如下:


--检查公告表注释
create table t_gg(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	showDate datetime--日期
);

普通管理员表创建语句如下:


--普通管理员表注释
create table t_ptadmin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码 
	ptadminName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100)--电话
);

身体健康检查表创建语句如下:


--身体健康检查表注释
create table t_stjk(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	stjkName varchar(100),--身体健康检查报告标题
	showDate datetime,--检查日期
	pic varchar(100),--拍照
	fileUrl varchar(100),--报告附件
	v1 varchar(100),--血压
	v2 varchar(100),--骨密度
	v3 varchar(100),--心率
	v4 varchar(100),--五官
	v5 varchar(100),--口腔
	v6 varchar(100),--胸透
	v7 varchar(100)--常规血检查
);

学生表创建语句如下:


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

心里健康检查表创建语句如下:


--心里健康检查表注释
create table t_xljk(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	xljkName varchar(100),--心里健康检查报告标题
	showDate datetime,--检查日期
	fileUrl varchar(100),--报告附件
	remark varchar(100)--备注
);

学院表创建语句如下:


--学院表注释
create table t_xy(
	id int identity(1,1) primary key not null,--主键
	xyName varchar(100)--学院
);

基于java的大学生健康信息管理系统的设计与实现登录后主页

基于java的大学生健康信息管理系统的设计与实现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_bj")
public class Bj {
//主键
@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 bjName;
public String getBjName() {return bjName;}
public void setBjName(String bjName) {this.bjName = bjName;}
}

学生病原史信息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_bys")
public class Bys {
//主键
@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 bysName;
//发病日期
private Date showDate;
//病情附件
private String fileUrl;
//备注
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getBysName() {return bysName;}
public void setBysName(String bysName) {this.bysName = bysName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

学生传染病信息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_crb")
public class Crb {
//主键
@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 crbName;
//发病日期
private Date showDate;
//病情附件
private String fileUrl;
//备注
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getCrbName() {return crbName;}
public void setCrbName(String crbName) {this.crbName = crbName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

检查公告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_gg")
public class Gg {
//主键
@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 pic;
//内容
private String content;
//日期
private Date showDate;
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;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

普通管理员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_ptadmin")
public class Ptadmin {
//主键
@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 ptadminName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

身体健康检查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_stjk")
public class Stjk {
//主键
@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 stjkName;
//检查日期
private Date showDate;
//拍照
private String pic;
//报告附件
private String fileUrl;
//血压
private String v1;
//骨密度
private String v2;
//心率
private String v3;
//五官
private String v4;
//口腔
private String v5;
//胸透
private String v6;
//常规血检查
private String v7;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getStjkName() {return stjkName;}
public void setStjkName(String stjkName) {this.stjkName = stjkName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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 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 String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
}

学生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 String studentName;
//班级
private Integer bjId;
//学院
private Integer xyId;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//QQ
private String qq;
//邮箱
private String email;
//头像
private String pic;
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 getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public Integer getXyId() {return xyId;}
public void setXyId(Integer xyId) {this.xyId = xyId;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getQq() {return qq;}
public void setQq(String qq) {this.qq = qq;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

心里健康检查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_xljk")
public class Xljk {
//主键
@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 xljkName;
//检查日期
private Date showDate;
//报告附件
private String fileUrl;
//备注
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getXljkName() {return xljkName;}
public void setXljkName(String xljkName) {this.xljkName = xljkName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

学院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_xy")
public class Xy {
//主键
@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 xyName;
public String getXyName() {return xyName;}
public void setXyName(String xyName) {this.xyName = xyName;}
}

基于java的大学生健康信息管理系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

班级javaBean创建语句如下:


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

//班级
public class Bj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班级
private String bjName;
public String getBjName() {return bjName;}
public void setBjName(String bjName) {this.bjName = bjName;}
}

学生病原史信息javaBean创建语句如下:


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

//学生病原史信息
public class Bys  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//病原名称
private String bysName;
//发病日期
private Date showDate;
//病情附件
private String fileUrl;
//备注
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getBysName() {return bysName;}
public void setBysName(String bysName) {this.bysName = bysName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

学生传染病信息javaBean创建语句如下:


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

//学生传染病信息
public class Crb  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//传染病名称
private String crbName;
//发病日期
private Date showDate;
//病情附件
private String fileUrl;
//备注
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getCrbName() {return crbName;}
public void setCrbName(String crbName) {this.crbName = crbName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

检查公告javaBean创建语句如下:


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

//检查公告
public class Gg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//日期
private Date showDate;
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;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

普通管理员javaBean创建语句如下:


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

//普通管理员
public class Ptadmin  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 ptadminName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

身体健康检查javaBean创建语句如下:


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

//身体健康检查
public class Stjk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//身体健康检查报告标题
private String stjkName;
//检查日期
private Date showDate;
//拍照
private String pic;
//报告附件
private String fileUrl;
//血压
private String v1;
//骨密度
private String v2;
//心率
private String v3;
//五官
private String v4;
//口腔
private String v5;
//胸透
private String v6;
//常规血检查
private String v7;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getStjkName() {return stjkName;}
public void setStjkName(String stjkName) {this.stjkName = stjkName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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 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 String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
}

学生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 String studentName;
//班级
private Integer bjId;
//学院
private Integer xyId;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//QQ
private String qq;
//邮箱
private String email;
//头像
private String pic;
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 getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public Integer getXyId() {return xyId;}
public void setXyId(Integer xyId) {this.xyId = xyId;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getQq() {return qq;}
public void setQq(String qq) {this.qq = qq;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

心里健康检查javaBean创建语句如下:


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

//心里健康检查
public class Xljk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//心里健康检查报告标题
private String xljkName;
//检查日期
private Date showDate;
//报告附件
private String fileUrl;
//备注
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getXljkName() {return xljkName;}
public void setXljkName(String xljkName) {this.xljkName = xljkName;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

学院javaBean创建语句如下:


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

//学院
public class Xy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学院
private String xyName;
public String getXyName() {return xyName;}
public void setXyName(String xyName) {this.xyName = xyName;}
}

源代码下载点这里

评论