基於java的大學生健康資訊管理系統的設計與實現
基於java的大學生健康資訊管理系統的設計與實現
- 基於java的大學生健康資訊管理系統的設計與實現mysql資料庫建立語句
- 基於java的大學生健康資訊管理系統的設計與實現oracle資料庫建立語句
- 基於java的大學生健康資訊管理系統的設計與實現sqlserver資料庫建立語句
- 基於java的大學生健康資訊管理系統的設計與實現spring springMVC hibernate框架物件(javaBean,pojo)設計
- 基於java的大學生健康資訊管理系統的設計與實現spring springMVC mybatis框架物件(javaBean,pojo)設計
基於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的大學生健康資訊管理系統的設計與實現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;}
}
相關文章
- 基於java的企業車輛管理系統的設計與實現Java
- Java畢業設計_基於MySQL網盤管理系統的設計與實現JavaMySql
- 基於jsp學生資訊管理系統的設計與實現(含原始檔)JS
- 基於java的網路招聘系統的設計與實現Java
- 基於java的文章釋出系統的設計與實現Java
- 基於java的陶瓷工廠進銷存管理系統的設計與實現Java
- 基於SSH培訓機構管理系統的設計與實現
- 就業資訊管理系統設計與實現就業
- 基於java jsp的大學生成績管理系統JavaJS
- 基於java的社群居民資訊管理系統Java
- 基於UML的資訊系統分析與設計 (轉)
- 基於Python的滲透測試資訊收集系統的設計和實現Python
- 基於spring的醫院人事管理系統設計和實現Spring
- 從0帶你設計與實現基於STM32的智慧農業管理系統
- 資訊系統的設計與實施
- 01.基於javaEE_大學生就業資訊管理系統原始碼Java就業原始碼
- 基於Java、Kafka、ElasticSearch的搜尋框架的設計與實現JavaKafkaElasticsearch框架
- 基於java的大學生社團網站系統Java網站
- 最大的基礎資訊系統設計與實施方案研究
- 基於使用者偏好的新聞推薦系統的設計與實現
- 基於ZooKeeper,Spring設計實現的引數系統Spring
- .NET 8.0 酒店管理系統設計與實現
- 基於jsp運動會賽前管理子系統的設計與實現3(含原始檔)JS
- 職工資訊管理系統的設計
- 基於檔案的學生資訊管理系統
- 基於KubeEdge的邊緣節點分組管理設計與實現
- C語言-超市倉庫管理系統的設計與實現C語言
- 資料庫系統-設計、實現與管理(一)資料庫
- 基於JAVA WEB的醫藥管理系統JavaWeb
- 基於JSP技術的學生網上選課系統的設計與實現JS
- 基於JSP開發的物流資訊管理系統JS
- 基於Vue2和Node.js的反欺詐系統設計與實現VueNode.js
- 基於php學生資訊管理系統PHP
- 基於java博網即時通訊軟體的設計與實現Java
- 短連結系統的設計與實現
- 基於AI演算法的資料庫異常監測系統的設計與實現AI演算法資料庫
- 關於dbms_stats對系統統計資訊的管理
- 基於easyui 1.3.6設計的後臺管理系統模板介面UI