1. 程式人生 > >基於WEB的教職工健康檔案管理系統,java設計與開發

基於WEB的教職工健康檔案管理系統,java設計與開發

**基於WEB的教職工健康檔案管理系統,java設計與開發** 基於WEB的教職工健康檔案管理系統登入註冊介面

基於WEB的教職工健康檔案管理系統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_bl(
	id int primary key auto_increment comment '主鍵',
	ygId int 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_bqjy(
	id int primary key auto_increment comment '主鍵',
	title varchar(100) comment '病情名稱',
	pic varchar(100) comment '圖片',
	content varchar(100) comment '內容'
) comment '病情建議';

健康檔案表建立語句如下:


create table t_da(
	id int primary key auto_increment comment '主鍵',
	ygId int 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 '血液',
	v8 varchar(100) comment '心裡疾病',
	v9 varchar(100) comment '備註'
) comment '健康檔案';

體檢表表建立語句如下:


create table t_tjb(
	id int primary key auto_increment 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 '家族史',
	v8 varchar(100) comment '過敏史',
	v9 varchar(100) comment '血壓',
	v10 varchar(100) comment '脈搏',
	v11 varchar(100) comment '肺部',
	v12 varchar(100) comment '心臟',
	v13 varchar(100) comment '胸廓',
	v14 varchar(100) comment '面板',
	v15 varchar(100) comment '淋巴結',
	v16 varchar(100) comment '脊椎四肢',
	v17 varchar(100) comment '診斷結果',
	v18 varchar(100) comment '身高',
	v19 varchar(100) comment '體重',
	v20 varchar(100) comment '體重指數'
) comment '體檢表';

通知表建立語句如下:


create table t_tongzhi(
	id int primary key auto_increment comment '主鍵',
	v1 varchar(100) comment '標題',
	v2 varchar(100) comment '內容',
	v3 varchar(100) comment '日期',
	v4 varchar(100) comment '圖片'
) comment '通知';

學院表建立語句如下:


create table t_xy(
	id int primary key auto_increment comment '主鍵',
	xyName varchar(100) comment '學院名稱',
	v1 varchar(100) comment '學院領導',
	v2 varchar(100) comment '學院郵箱',
	v3 varchar(100) comment '學院圖片',
	v4 varchar(100) comment '學院宗旨'
) comment '學院';

教職工表建立語句如下:


create table t_yg(
	id int primary key auto_increment comment '主鍵',
	username varchar(100) comment '賬號',
	password varchar(100) comment '密碼',
	ygName varchar(100) comment '姓名',
	age varchar(100) comment '年齡',
	sex varchar(100) comment '性別',
	phone varchar(100) comment '電話',
	xyId int comment '學院',
	status varchar(100) comment '是否在職'
) comment '教職工';

基於WEB的教職工健康檔案管理系統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_bl(
	id integer,
	ygId int,
	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_bl.id is '主鍵';
comment on column t_bl.ygId is '教職工';
comment on column t_bl.v1 is '看病日期';
comment on column t_bl.v2 is '看病病情';
comment on column t_bl.v3 is '備註';
comment on column t_bl.v4 is '看病醫院';
comment on column t_bl.v5 is '診斷結果';
comment on column t_bl.v6 is '電話';
comment on column t_bl.v7 is '住址';
--病歷表加註釋
comment on table t_bl is '病歷';

病情建議表建立語句如下:


create table t_bqjy(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100)
);
--病情建議欄位加註釋
comment on column t_bqjy.id is '主鍵';
comment on column t_bqjy.title is '病情名稱';
comment on column t_bqjy.pic is '圖片';
comment on column t_bqjy.content is '內容';
--病情建議表加註釋
comment on table t_bqjy is '病情建議';

健康檔案表建立語句如下:


create table t_da(
	id integer,
	ygId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	v9 varchar(100)
);
--健康檔案欄位加註釋
comment on column t_da.id is '主鍵';
comment on column t_da.ygId is '教職工';
comment on column t_da.v1 is '檢查日期';
comment on column t_da.v2 is '五官';
comment on column t_da.v3 is '心臟';
comment on column t_da.v4 is '肺部';
comment on column t_da.v5 is '手足部';
comment on column t_da.v6 is '聽力';
comment on column t_da.v7 is '血液';
comment on column t_da.v8 is '心裡疾病';
comment on column t_da.v9 is '備註';
--健康檔案表加註釋
comment on table t_da is '健康檔案';

體檢表表建立語句如下:


create table t_tjb(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	v9 varchar(100),
	v10 varchar(100),
	v11 varchar(100),
	v12 varchar(100),
	v13 varchar(100),
	v14 varchar(100),
	v15 varchar(100),
	v16 varchar(100),
	v17 varchar(100),
	v18 varchar(100),
	v19 varchar(100),
	v20 varchar(100)
);
--體檢表字段加註釋
comment on column t_tjb.id is '主鍵';
comment on column t_tjb.v1 is '單位';
comment on column t_tjb.v2 is '身份證號碼';
comment on column t_tjb.v3 is '姓名';
comment on column t_tjb.v4 is '性別';
comment on column t_tjb.v5 is '年齡';
comment on column t_tjb.v6 is '既往史';
comment on column t_tjb.v7 is '家族史';
comment on column t_tjb.v8 is '過敏史';
comment on column t_tjb.v9 is '血壓';
comment on column t_tjb.v10 is '脈搏';
comment on column t_tjb.v11 is '肺部';
comment on column t_tjb.v12 is '心臟';
comment on column t_tjb.v13 is '胸廓';
comment on column t_tjb.v14 is '面板';
comment on column t_tjb.v15 is '淋巴結';
comment on column t_tjb.v16 is '脊椎四肢';
comment on column t_tjb.v17 is '診斷結果';
comment on column t_tjb.v18 is '身高';
comment on column t_tjb.v19 is '體重';
comment on column t_tjb.v20 is '體重指數';
--體檢表表加註釋
comment on table t_tjb is '體檢表';

通知表建立語句如下:


create table t_tongzhi(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--通知欄位加註釋
comment on column t_tongzhi.id is '主鍵';
comment on column t_tongzhi.v1 is '標題';
comment on column t_tongzhi.v2 is '內容';
comment on column t_tongzhi.v3 is '日期';
comment on column t_tongzhi.v4 is '圖片';
--通知表加註釋
comment on table t_tongzhi is '通知';

學院表建立語句如下:


create table t_xy(
	id integer,
	xyName varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--學院欄位加註釋
comment on column t_xy.id is '主鍵';
comment on column t_xy.xyName is '學院名稱';
comment on column t_xy.v1 is '學院領導';
comment on column t_xy.v2 is '學院郵箱';
comment on column t_xy.v3 is '學院圖片';
comment on column t_xy.v4 is '學院宗旨';
--學院表加註釋
comment on table t_xy is '學院';

教職工表建立語句如下:


create table t_yg(
	id integer,
	username varchar(100),
	password varchar(100),
	ygName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	xyId int,
	status varchar(100)
);
--教職工欄位加註釋
comment on column t_yg.id is '主鍵';
comment on column t_yg.username is '賬號';
comment on column t_yg.password is '密碼';
comment on column t_yg.ygName is '姓名';
comment on column t_yg.age is '年齡';
comment on column t_yg.sex is '性別';
comment on column t_yg.phone is '電話';
comment on column t_yg.xyId is '學院';
comment on column t_yg.status is '是否在職';
--教職工表加註釋
comment on table t_yg is '教職工';

oracle特有,對應序列如下:


create sequence s_t_bl;
create sequence s_t_bqjy;
create sequence s_t_da;
create sequence s_t_tjb;
create sequence s_t_tongzhi;
create sequence s_t_xy;
create sequence s_t_yg;

基於WEB的教職工健康檔案管理系統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_bl(
	id int identity(1,1) primary key not null,--主鍵
	ygId int,--教職工
	v1 varchar(100),--看病日期
	v2 varchar(100),--看病病情
	v3 varchar(100),--備註
	v4 varchar(100),--看病醫院
	v5 varchar(100),--診斷結果
	v6 varchar(100),--電話
	v7 varchar(100)--住址
);

病情建議表建立語句如下:


--病情建議表註釋
create table t_bqjy(
	id int identity(1,1) primary key not null,--主鍵
	title varchar(100),--病情名稱
	pic varchar(100),--圖片
	content varchar(100)--內容
);

健康檔案表建立語句如下:


--健康檔案表註釋
create table t_da(
	id int identity(1,1) primary key not null,--主鍵
	ygId int,--教職工
	v1 varchar(100),--檢查日期
	v2 varchar(100),--五官
	v3 varchar(100),--心臟
	v4 varchar(100),--肺部
	v5 varchar(100),--手足部
	v6 varchar(100),--聽力
	v7 varchar(100),--血液
	v8 varchar(100),--心裡疾病
	v9 varchar(100)--備註
);

體檢表表建立語句如下:


--體檢表表註釋
create table t_tjb(
	id int identity(1,1) primary key not null,--主鍵
	v1 varchar(100),--單位
	v2 varchar(100),--身份證號碼
	v3 varchar(100),--姓名
	v4 varchar(100),--性別
	v5 varchar(100),--年齡
	v6 varchar(100),--既往史
	v7 varchar(100),--家族史
	v8 varchar(100),--過敏史
	v9 varchar(100),--血壓
	v10 varchar(100),--脈搏
	v11 varchar(100),--肺部
	v12 varchar(100),--心臟
	v13 varchar(100),--胸廓
	v14 varchar(100),--面板
	v15 varchar(100),--淋巴結
	v16 varchar(100),--脊椎四肢
	v17 varchar(100),--診斷結果
	v18 varchar(100),--身高
	v19 varchar(100),--體重
	v20 varchar(100)--體重指數
);

通知表建立語句如下:


--通知表註釋
create table t_tongzhi(
	id int identity(1,1) primary key not null,--主鍵
	v1 varchar(100),--標題
	v2 varchar(100),--內容
	v3 varchar(100),--日期
	v4 varchar(100)--圖片
);

學院表建立語句如下:


--學院表註釋
create table t_xy(
	id int identity(1,1) primary key not null,--主鍵
	xyName varchar(100),--學院名稱
	v1 varchar(100),--學院領導
	v2 varchar(100),--學院郵箱
	v3 varchar(100),--學院圖片
	v4 varchar(100)--學院宗旨
);

教職工表建立語句如下:


--教職工表註釋
create table t_yg(
	id int identity(1,1) primary key not null,--主鍵
	username varchar(100),--賬號
	password varchar(100),--密碼
	ygName varchar(100),--姓名
	age varchar(100),--年齡
	sex varchar(100),--性別
	phone varchar(100),--電話
	xyId int,--學院
	status varchar(100)--是否在職
);

基於WEB的教職工健康檔案管理系統登入後主頁

基於WEB的教職工健康檔案管理系統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_bl")
public class Bl {
//主鍵
@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 ygId;
//看病日期
private String v1;
//看病病情
private String v2;
//備註
private String v3;
//看病醫院
private String v4;
//診斷結果
private String v5;
//電話
private String v6;
//住址
private String v7;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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_bqjy")
public class Bqjy {
//主鍵
@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;
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_da")
public class Da {
//主鍵
@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 ygId;
//檢查日期
private String v1;
//五官
private String v2;
//心臟
private String v3;
//肺部
private String v4;
//手足部
private String v5;
//聽力
private String v6;
//血液
private String v7;
//心裡疾病
private String v8;
//備註
private String v9;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
}

體檢表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_tjb")
public class Tjb {
//主鍵
@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 v1;
//身份證號碼
private String v2;
//姓名
private String v3;
//性別
private String v4;
//年齡
private String v5;
//既往史
private String v6;
//家族史
private String v7;
//過敏史
private String v8;
//血壓
private String v9;
//脈搏
private String v10;
//肺部
private String v11;
//心臟
private String v12;
//胸廓
private String v13;
//面板
private String v14;
//淋巴結
private String v15;
//脊椎四肢
private String v16;
//診斷結果
private String v17;
//身高
private String v18;
//體重
private String v19;
//體重指數
private String v20;
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;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getV11() {return v11;}
public void setV11(String v11) {this.v11 = v11;}
public String getV12() {return v12;}
public void setV12(String v12) {this.v12 = v12;}
public String getV13() {return v13;}
public void setV13(String v13) {this.v13 = v13;}
public String getV14() {return v14;}
public void setV14(String v14) {this.v14 = v14;}
public String getV15() {return v15;}
public void setV15(String v15) {this.v15 = v15;}
public String getV16() {return v16;}
public void setV16(String v16) {this.v16 = v16;}
public String getV17() {return v17;}
public void setV17(String v17) {this.v17 = v17;}
public String getV18() {return v18;}
public void setV18(String v18) {this.v18 = v18;}
public String getV19() {return v19;}
public void setV19(String v19) {this.v19 = v19;}
public String getV20() {return v20;}
public void setV20(String v20) {this.v20 = v20;}
}

通知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_tongzhi")
public class Tongzhi {
//主鍵
@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 v1;
//內容
private String v2;
//日期
private String v3;
//圖片
private String v4;
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;}
}

學院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;
//學院領導
private String v1;
//學院郵箱
private String v2;
//學院圖片
private String v3;
//學院宗旨
private String v4;
public String getXyName() {return xyName;}
public void setXyName(String xyName) {this.xyName = xyName;}
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;}
}

教職工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_yg")
public class Yg {
//主鍵
@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 ygName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//學院
private Integer xyId;
//是否在職
private String status;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
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 Integer getXyId() {return xyId;}
public void setXyId(Integer xyId) {this.xyId = xyId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

基於WEB的教職工健康檔案管理系統spring springMVC mybatis框架物件(javaBean,pojo)設計:

病歷javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//病歷
public class Bl  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教職工
private Integer ygId;
//看病日期
private String v1;
//看病病情
private String v2;
//備註
private String v3;
//看病醫院
private String v4;
//診斷結果
private String v5;
//電話
private String v6;
//住址
private String v7;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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 Bqjy  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;
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 Da  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教職工
private Integer ygId;
//檢查日期
private String v1;
//五官
private String v2;
//心臟
private String v3;
//肺部
private String v4;
//手足部
private String v5;
//聽力
private String v6;
//血液
private String v7;
//心裡疾病
private String v8;
//備註
private String v9;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
}

體檢表javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//體檢表
public class Tjb  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//單位
private String v1;
//身份證號碼
private String v2;
//姓名
private String v3;
//性別
private String v4;
//年齡
private String v5;
//既往史
private String v6;
//家族史
private String v7;
//過敏史
private String v8;
//血壓
private String v9;
//脈搏
private String v10;
//肺部
private String v11;
//心臟
private String v12;
//胸廓
private String v13;
//面板
private String v14;
//淋巴結
private String v15;
//脊椎四肢
private String v16;
//診斷結果
private String v17;
//身高
private String v18;
//體重
private String v19;
//體重指數
private String v20;
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;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getV11() {return v11;}
public void setV11(String v11) {this.v11 = v11;}
public String getV12() {return v12;}
public void setV12(String v12) {this.v12 = v12;}
public String getV13() {return v13;}
public void setV13(String v13) {this.v13 = v13;}
public String getV14() {return v14;}
public void setV14(String v14) {this.v14 = v14;}
public String getV15() {return v15;}
public void setV15(String v15) {this.v15 = v15;}
public String getV16() {return v16;}
public void setV16(String v16) {this.v16 = v16;}
public String getV17() {return v17;}
public void setV17(String v17) {this.v17 = v17;}
public String getV18() {return v18;}
public void setV18(String v18) {this.v18 = v18;}
public String getV19() {return v19;}
public void setV19(String v19) {this.v19 = v19;}
public String getV20() {return v20;}
public void setV20(String v20) {this.v20 = v20;}
}

通知javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//通知
public class Tongzhi  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//標題
private String v1;
//內容
private String v2;
//日期
private String v3;
//圖片
private String v4;
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;}
}

學院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;
//學院領導
private String v1;
//學院郵箱
private String v2;
//學院圖片
private String v3;
//學院宗旨
private String v4;
public String getXyName() {return xyName;}
public void setXyName(String xyName) {this.xyName = xyName;}
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;}
}

教職工javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//教職工
public class Yg  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 ygName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//學院
private Integer xyId;
//是否在職
private String status;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
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 Integer getXyId() {return xyId;}
public void setXyId(Integer xyId) {this.xyId = xyId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}