基於SSM保護隱私的遠端醫療查詢系統設計與開發
基於SSM保護隱私的遠端醫療查詢系統設計與開發
- 基於SSM保護隱私的遠端醫療查詢系統設計與開發mysql資料庫建立語句
- 基於SSM保護隱私的遠端醫療查詢系統設計與開發oracle資料庫建立語句
- 基於SSM保護隱私的遠端醫療查詢系統設計與開發sqlserver資料庫建立語句
- 基於SSM保護隱私的遠端醫療查詢系統設計與開發spring springMVC hibernate框架物件(javaBean,pojo)設計
- 基於SSM保護隱私的遠端醫療查詢系統設計與開發spring springMVC mybatis框架物件(javaBean,pojo)設計
基於SSM保護隱私的遠端醫療查詢系統設計與開發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_customer(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '賬號',
password varchar(100) comment '密碼 ',
customerName varchar(100) comment '姓名',
bh varchar(100) comment '患者編號',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話',
sfz varchar(100) comment '身份證'
) comment '患者';
醫生表建立語句如下:
create table t_doctor(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '賬號',
password varchar(100) comment '密碼 ',
doctorName varchar(100) comment '姓名',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話',
sfz varchar(100) comment '身份證',
zw varchar(100) comment '職位',
sc 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_jbxx(
id int primary key auto_increment comment '主鍵',
customerId 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 '五官'
) comment '醫患關係';
交流詢問表建立語句如下:
create table t_jl(
id int primary key auto_increment comment '主鍵',
customerId int comment '患者',
doctorId int comment '醫生',
content varchar(100) comment '詢問內容',
fileUrl varchar(100) comment '檔案',
pic varchar(100) comment '圖片',
insertDate datetime comment '日期',
back varchar(100) comment '回覆內容',
status varchar(100) comment '狀態'
) comment '交流詢問';
留言表建立語句如下:
create table t_ly(
id int primary key auto_increment comment '主鍵',
fromId int comment '患者',
toId int comment '醫生',
content varchar(100) comment '詢問內容',
fileUrl varchar(100) comment '檔案',
pic varchar(100) comment '圖片',
insertDate datetime comment '日期'
) comment '留言';
留言表建立語句如下:
create table t_ly1(
id int primary key auto_increment comment '主鍵',
customerId int comment '患者',
doctorId int comment '醫生',
content varchar(100) comment '留言內容',
pic varchar(100) comment '圖片',
insertDate datetime comment '日期'
) comment '留言';
留言表建立語句如下:
create table t_ly2(
id int primary key auto_increment comment '主鍵',
customerId int comment '患者',
doctorId int comment '醫生',
content varchar(100) comment '留言內容',
pic varchar(100) comment '圖片',
insertDate datetime comment '日期'
) comment '留言';
醫患關係表建立語句如下:
create table t_yhgx(
id int primary key auto_increment comment '主鍵',
customerId int comment '患者',
doctorId int comment '醫生'
) comment '醫患關係';
基於SSM保護隱私的遠端醫療查詢系統設計與開發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_customer(
id integer,
username varchar(100),
password varchar(100),
customerName varchar(100),
bh varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100),
sfz varchar(100)
);
--患者欄位加註釋
comment on column t_customer.id is '主鍵';
comment on column t_customer.username is '賬號';
comment on column t_customer.password is '密碼 ';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.bh is '患者編號';
comment on column t_customer.age is '年齡';
comment on column t_customer.sex is '性別';
comment on column t_customer.phone is '電話';
comment on column t_customer.sfz is '身份證';
--患者表加註釋
comment on table t_customer is '患者';
醫生表建立語句如下:
create table t_doctor(
id integer,
username varchar(100),
password varchar(100),
doctorName varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100),
sfz varchar(100),
zw varchar(100),
sc varchar(100)
);
--醫生欄位加註釋
comment on column t_doctor.id is '主鍵';
comment on column t_doctor.username is '賬號';
comment on column t_doctor.password is '密碼 ';
comment on column t_doctor.doctorName is '姓名';
comment on column t_doctor.age is '年齡';
comment on column t_doctor.sex is '性別';
comment on column t_doctor.phone is '電話';
comment on column t_doctor.sfz is '身份證';
comment on column t_doctor.zw is '職位';
comment on column t_doctor.sc is '主治擅長';
--醫生表加註釋
comment on table t_doctor 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_jbxx(
id integer,
customerId int,
v1 varchar(100),
v2 varchar(100),
v3 varchar(100),
v4 varchar(100),
v5 varchar(100),
v6 varchar(100)
);
--醫患關係欄位加註釋
comment on column t_jbxx.id is '主鍵';
comment on column t_jbxx.customerId is '患者';
comment on column t_jbxx.v1 is '血壓';
comment on column t_jbxx.v2 is '血糖';
comment on column t_jbxx.v3 is '身體質量';
comment on column t_jbxx.v4 is '身高';
comment on column t_jbxx.v5 is '體重';
comment on column t_jbxx.v6 is '五官';
--醫患關係表加註釋
comment on table t_jbxx is '醫患關係';
交流詢問表建立語句如下:
create table t_jl(
id integer,
customerId int,
doctorId int,
content varchar(100),
fileUrl varchar(100),
pic varchar(100),
insertDate datetime,
back varchar(100),
status varchar(100)
);
--交流詢問欄位加註釋
comment on column t_jl.id is '主鍵';
comment on column t_jl.customerId is '患者';
comment on column t_jl.doctorId is '醫生';
comment on column t_jl.content is '詢問內容';
comment on column t_jl.fileUrl is '檔案';
comment on column t_jl.pic is '圖片';
comment on column t_jl.insertDate is '日期';
comment on column t_jl.back is '回覆內容';
comment on column t_jl.status is '狀態';
--交流詢問表加註釋
comment on table t_jl is '交流詢問';
留言表建立語句如下:
create table t_ly(
id integer,
fromId int,
toId int,
content varchar(100),
fileUrl varchar(100),
pic varchar(100),
insertDate datetime
);
--留言欄位加註釋
comment on column t_ly.id is '主鍵';
comment on column t_ly.fromId is '患者';
comment on column t_ly.toId is '醫生';
comment on column t_ly.content is '詢問內容';
comment on column t_ly.fileUrl is '檔案';
comment on column t_ly.pic is '圖片';
comment on column t_ly.insertDate is '日期';
--留言表加註釋
comment on table t_ly is '留言';
留言表建立語句如下:
create table t_ly1(
id integer,
customerId int,
doctorId int,
content varchar(100),
pic varchar(100),
insertDate datetime
);
--留言欄位加註釋
comment on column t_ly1.id is '主鍵';
comment on column t_ly1.customerId is '患者';
comment on column t_ly1.doctorId is '醫生';
comment on column t_ly1.content is '留言內容';
comment on column t_ly1.pic is '圖片';
comment on column t_ly1.insertDate is '日期';
--留言表加註釋
comment on table t_ly1 is '留言';
留言表建立語句如下:
create table t_ly2(
id integer,
customerId int,
doctorId int,
content varchar(100),
pic varchar(100),
insertDate datetime
);
--留言欄位加註釋
comment on column t_ly2.id is '主鍵';
comment on column t_ly2.customerId is '患者';
comment on column t_ly2.doctorId is '醫生';
comment on column t_ly2.content is '留言內容';
comment on column t_ly2.pic is '圖片';
comment on column t_ly2.insertDate is '日期';
--留言表加註釋
comment on table t_ly2 is '留言';
醫患關係表建立語句如下:
create table t_yhgx(
id integer,
customerId int,
doctorId int
);
--醫患關係欄位加註釋
comment on column t_yhgx.id is '主鍵';
comment on column t_yhgx.customerId is '患者';
comment on column t_yhgx.doctorId is '醫生';
--醫患關係表加註釋
comment on table t_yhgx is '醫患關係';
oracle特有,對應序列如下:
create sequence s_t_customer;
create sequence s_t_doctor;
create sequence s_t_gg;
create sequence s_t_jbxx;
create sequence s_t_jl;
create sequence s_t_ly;
create sequence s_t_ly1;
create sequence s_t_ly2;
create sequence s_t_yhgx;
基於SSM保護隱私的遠端醫療查詢系統設計與開發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_customer(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--賬號
password varchar(100),--密碼
customerName varchar(100),--姓名
bh varchar(100),--患者編號
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100),--電話
sfz varchar(100)--身份證
);
醫生表建立語句如下:
--醫生表註釋
create table t_doctor(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--賬號
password varchar(100),--密碼
doctorName varchar(100),--姓名
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100),--電話
sfz varchar(100),--身份證
zw varchar(100),--職位
sc 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_jbxx(
id int identity(1,1) primary key not null,--主鍵
customerId int,--患者
v1 varchar(100),--血壓
v2 varchar(100),--血糖
v3 varchar(100),--身體質量
v4 varchar(100),--身高
v5 varchar(100),--體重
v6 varchar(100)--五官
);
交流詢問表建立語句如下:
--交流詢問表註釋
create table t_jl(
id int identity(1,1) primary key not null,--主鍵
customerId int,--患者
doctorId int,--醫生
content varchar(100),--詢問內容
fileUrl varchar(100),--檔案
pic varchar(100),--圖片
insertDate datetime,--日期
back varchar(100),--回覆內容
status varchar(100)--狀態
);
留言表建立語句如下:
--留言表註釋
create table t_ly(
id int identity(1,1) primary key not null,--主鍵
fromId int,--患者
toId int,--醫生
content varchar(100),--詢問內容
fileUrl varchar(100),--檔案
pic varchar(100),--圖片
insertDate datetime--日期
);
留言表建立語句如下:
--留言表註釋
create table t_ly1(
id int identity(1,1) primary key not null,--主鍵
customerId int,--患者
doctorId int,--醫生
content varchar(100),--留言內容
pic varchar(100),--圖片
insertDate datetime--日期
);
留言表建立語句如下:
--留言表註釋
create table t_ly2(
id int identity(1,1) primary key not null,--主鍵
customerId int,--患者
doctorId int,--醫生
content varchar(100),--留言內容
pic varchar(100),--圖片
insertDate datetime--日期
);
醫患關係表建立語句如下:
--醫患關係表註釋
create table t_yhgx(
id int identity(1,1) primary key not null,--主鍵
customerId int,--患者
doctorId int--醫生
);
基於SSM保護隱私的遠端醫療查詢系統設計與開發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_customer")
public class Customer {
//主鍵
@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 customerName;
//患者編號
private String bh;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//身份證
private String sfz;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getBh() {return bh;}
public void setBh(String bh) {this.bh = bh;}
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 getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
}
醫生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_doctor")
public class Doctor {
//主鍵
@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 doctorName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//身份證
private String sfz;
//職位
private String zw;
//主治擅長
private String sc;
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 getDoctorName() {return doctorName;}
public void setDoctorName(String doctorName) {this.doctorName = doctorName;}
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 getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
public String getZw() {return zw;}
public void setZw(String zw) {this.zw = zw;}
public String getSc() {return sc;}
public void setSc(String sc) {this.sc = sc;}
}
公告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_jbxx")
public class Jbxx {
//主鍵
@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 customerId;
//血壓
private String v1;
//血糖
private String v2;
//身體質量
private String v3;
//身高
private String v4;
//體重
private String v5;
//五官
private String v6;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
}
交流詢問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_jl")
public class Jl {
//主鍵
@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 customerId;
//醫生
private Integer doctorId;
//詢問內容
private String content;
//檔案
private String fileUrl;
//圖片
private String pic;
//日期
private Date insertDate;
//回覆內容
private String back;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
留言javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//留言
@Table(name = "t_ly")
public class Ly {
//主鍵
@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 fromId;
//醫生
private Integer toId;
//詢問內容
private String content;
//檔案
private String fileUrl;
//圖片
private String pic;
//日期
private Date insertDate;
public Integer getFromId() {return fromId;}
public void setFromId(Integer fromId) {this.fromId = fromId;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
留言javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//留言
@Table(name = "t_ly1")
public class Ly1 {
//主鍵
@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 customerId;
//醫生
private Integer doctorId;
//留言內容
private String content;
//圖片
private String pic;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
留言javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//留言
@Table(name = "t_ly2")
public class Ly2 {
//主鍵
@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 customerId;
//醫生
private Integer doctorId;
//留言內容
private String content;
//圖片
private String pic;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
醫患關係javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//醫患關係
@Table(name = "t_yhgx")
public class Yhgx {
//主鍵
@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 customerId;
//醫生
private Integer doctorId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
}
基於SSM保護隱私的遠端醫療查詢系統設計與開發spring springMVC mybatis框架物件(javaBean,pojo)設計:
患者javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//患者
public class Customer 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 customerName;
//患者編號
private String bh;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//身份證
private String sfz;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getBh() {return bh;}
public void setBh(String bh) {this.bh = bh;}
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 getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
}
醫生javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//醫生
public class Doctor 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 doctorName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//身份證
private String sfz;
//職位
private String zw;
//主治擅長
private String sc;
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 getDoctorName() {return doctorName;}
public void setDoctorName(String doctorName) {this.doctorName = doctorName;}
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 getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
public String getZw() {return zw;}
public void setZw(String zw) {this.zw = zw;}
public String getSc() {return sc;}
public void setSc(String sc) {this.sc = sc;}
}
公告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 Jbxx extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//患者
private Integer customerId;
//血壓
private String v1;
//血糖
private String v2;
//身體質量
private String v3;
//身高
private String v4;
//體重
private String v5;
//五官
private String v6;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
}
交流詢問javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//交流詢問
public class Jl extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//患者
private Integer customerId;
//醫生
private Integer doctorId;
//詢問內容
private String content;
//檔案
private String fileUrl;
//圖片
private String pic;
//日期
private Date insertDate;
//回覆內容
private String back;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
留言javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//留言
public class Ly extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//患者
private Integer fromId;
//醫生
private Integer toId;
//詢問內容
private String content;
//檔案
private String fileUrl;
//圖片
private String pic;
//日期
private Date insertDate;
public Integer getFromId() {return fromId;}
public void setFromId(Integer fromId) {this.fromId = fromId;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
留言javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//留言
public class Ly1 extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//患者
private Integer customerId;
//醫生
private Integer doctorId;
//留言內容
private String content;
//圖片
private String pic;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
留言javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//留言
public class Ly2 extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//患者
private Integer customerId;
//醫生
private Integer doctorId;
//留言內容
private String content;
//圖片
private String pic;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
醫患關係javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//醫患關係
public class Yhgx extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//患者
private Integer customerId;
//醫生
private Integer doctorId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
}
相關文章
- 大資料醫療時代的人工智慧與隱私保護大資料人工智慧
- Tails:專注於隱私保護的口袋作業系統AI作業系統
- 隱私計算:保護資料隱私的利器
- 基於NB-IoTeMTC的遠端醫療方案
- 醫療應急系統的遠端音影片化
- 機器學習中的隱私保護機器學習
- 機器學習與隱私保護,究竟路在何方?機器學習
- 大資料安全與隱私保護大資料
- 基於隱私保護技術的DNS通訊協議介紹DNS協議
- HarmonyOS:應用隱私保護
- 基於SSM開發的物業維修管理系統SSM
- WEB3技術發展探索:隱私保護計算Web
- 隱私保護軟體——蜘蛛密友
- 使用CRM保護資料隱私
- Zoho CRM系統保護使用者隱私和資料安全
- 用 Tails 1.4 Linux 系統來保護隱私和保持匿名AILinux
- 基於SSM開發的企業人事管理系統SSM
- 基於SSM開發的健身俱樂部管理系統 JAVA MySQLSSMJavaMySql
- 保護隱私的3個火狐外掛
- 研究人員發現macOS隱私保護重大漏洞 攻擊者可繞過蘋果隱私保護核心機制Mac蘋果
- 門羅幣隱私保護之隱形地址
- 基於struts2+mysql做的社群醫院遠端掛號系統MySql
- 重慶醫保查詢
- 企業隱私策略脫節:無法有效保護隱私——資訊圖
- RSA創新沙盒盤點 | Cape Privacy——基於加密機器學習的多方資料協作與隱私保護方案加密機器學習
- 基於SSM開發的企業進存銷系統 JAVA MySQLSSMJavaMySql
- 基於區塊鏈的隱私計算區塊鏈
- 如何用 AI 技術保護隱私安全?AI
- 區塊鏈資料隱私保護分析區塊鏈
- 資料“吃”人 隱私保護盼重拳
- 保護電腦隱私檔案妙招教程
- 麥卡菲:保護隱私 停用智慧手機
- AI越趨於人性化的同時隱私由誰保護AI
- 帶你深入瞭解遠端醫療,智慧醫療遠比你想象中複雜
- 基於php的醫療檔案之電子病歷系統PHP
- http代理是如何保護使用者隱私的?HTTP
- 保護隱私 清除軟體使用後的痕跡
- 既保護隱私又快速訓練,Facebook開源Opacus庫