基于java的老年人健康信息档案

基于java的老年人健康信息档案登录注册界面

基于java的老年人健康信息档案mysql数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

健康速递表创建语句如下:


create table t_jksd(
	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_js(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	jsName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	idcard varchar(100) comment '身份证',
	address varchar(100) comment '住址',
	pic varchar(100) comment '图片'
) comment '家属';

老年人表创建语句如下:


create table t_lnr(
	id int primary key auto_increment comment '主键',
	lnrName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	idcard varchar(100) comment '身份证',
	address varchar(100) comment '住址',
	pic varchar(100) comment '图片',
	jkzb varchar(100) comment '健康指标'
) comment '老年人';

日常起居表创建语句如下:


create table t_rcqj(
	id int primary key auto_increment comment '主键',
	lnrId int comment '老年人',
	showDate datetime comment '日期',
	ms varchar(100) comment '描述',
	content varchar(100) comment '具体内容'
) comment '日常起居';

网站留言表创建语句如下:


create table t_wzly(
	id int primary key auto_increment comment '主键',
	jsId int comment '家属',
	title varchar(100) comment '简要说明',
	content varchar(100) comment '具体内容',
	insertDate datetime comment '日期',
	back varchar(100) comment '回复',
	status varchar(100) comment '状态'
) comment '网站留言';

养护人员表创建语句如下:


create table t_yh(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	yhName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	idcard varchar(100) comment '身份证',
	address varchar(100) comment '住址',
	pic varchar(100) comment '图片'
) comment '养护人员';

医疗监护表创建语句如下:


create table t_yljh(
	id int primary key auto_increment comment '主键',
	lnrId int comment '老年人',
	showDate datetime comment '日期',
	ms varchar(100) comment '检测项',
	content 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_jksd(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate datetime
);
--健康速递字段加注释
comment on column t_jksd.id is '主键';
comment on column t_jksd.title is '标题';
comment on column t_jksd.pic is '图片';
comment on column t_jksd.content is '内容';
comment on column t_jksd.showDate is '日期';
--健康速递表加注释
comment on table t_jksd is '健康速递';

家属表创建语句如下:


create table t_js(
	id integer,
	username varchar(100),
	password varchar(100),
	jsName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	address varchar(100),
	pic varchar(100)
);
--家属字段加注释
comment on column t_js.id is '主键';
comment on column t_js.username is '账号';
comment on column t_js.password is '密码';
comment on column t_js.jsName is '姓名';
comment on column t_js.age is '年龄';
comment on column t_js.sex is '性别';
comment on column t_js.phone is '电话';
comment on column t_js.idcard is '身份证';
comment on column t_js.address is '住址';
comment on column t_js.pic is '图片';
--家属表加注释
comment on table t_js is '家属';

老年人表创建语句如下:


create table t_lnr(
	id integer,
	lnrName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	address varchar(100),
	pic varchar(100),
	jkzb varchar(100)
);
--老年人字段加注释
comment on column t_lnr.id is '主键';
comment on column t_lnr.lnrName is '姓名';
comment on column t_lnr.age is '年龄';
comment on column t_lnr.sex is '性别';
comment on column t_lnr.phone is '电话';
comment on column t_lnr.idcard is '身份证';
comment on column t_lnr.address is '住址';
comment on column t_lnr.pic is '图片';
comment on column t_lnr.jkzb is '健康指标';
--老年人表加注释
comment on table t_lnr is '老年人';

日常起居表创建语句如下:


create table t_rcqj(
	id integer,
	lnrId int,
	showDate datetime,
	ms varchar(100),
	content varchar(100)
);
--日常起居字段加注释
comment on column t_rcqj.id is '主键';
comment on column t_rcqj.lnrId is '老年人';
comment on column t_rcqj.showDate is '日期';
comment on column t_rcqj.ms is '描述';
comment on column t_rcqj.content is '具体内容';
--日常起居表加注释
comment on table t_rcqj is '日常起居';

网站留言表创建语句如下:


create table t_wzly(
	id integer,
	jsId int,
	title varchar(100),
	content varchar(100),
	insertDate datetime,
	back varchar(100),
	status varchar(100)
);
--网站留言字段加注释
comment on column t_wzly.id is '主键';
comment on column t_wzly.jsId is '家属';
comment on column t_wzly.title is '简要说明';
comment on column t_wzly.content is '具体内容';
comment on column t_wzly.insertDate is '日期';
comment on column t_wzly.back is '回复';
comment on column t_wzly.status is '状态';
--网站留言表加注释
comment on table t_wzly is '网站留言';

养护人员表创建语句如下:


create table t_yh(
	id integer,
	username varchar(100),
	password varchar(100),
	yhName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	address varchar(100),
	pic varchar(100)
);
--养护人员字段加注释
comment on column t_yh.id is '主键';
comment on column t_yh.username is '账号';
comment on column t_yh.password is '密码';
comment on column t_yh.yhName is '姓名';
comment on column t_yh.age is '年龄';
comment on column t_yh.sex is '性别';
comment on column t_yh.phone is '电话';
comment on column t_yh.idcard is '身份证';
comment on column t_yh.address is '住址';
comment on column t_yh.pic is '图片';
--养护人员表加注释
comment on table t_yh is '养护人员';

医疗监护表创建语句如下:


create table t_yljh(
	id integer,
	lnrId int,
	showDate datetime,
	ms varchar(100),
	content varchar(100)
);
--医疗监护字段加注释
comment on column t_yljh.id is '主键';
comment on column t_yljh.lnrId is '老年人';
comment on column t_yljh.showDate is '日期';
comment on column t_yljh.ms is '检测项';
comment on column t_yljh.content is '具体内容';
--医疗监护表加注释
comment on table t_yljh is '医疗监护';

oracle特有,对应序列如下:


create sequence s_t_jksd;
create sequence s_t_js;
create sequence s_t_lnr;
create sequence s_t_rcqj;
create sequence s_t_wzly;
create sequence s_t_yh;
create sequence s_t_yljh;

基于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_jksd(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	showDate datetime--日期
);

家属表创建语句如下:


--家属表注释
create table t_js(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	jsName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	address varchar(100),--住址
	pic varchar(100)--图片
);

老年人表创建语句如下:


--老年人表注释
create table t_lnr(
	id int identity(1,1) primary key not null,--主键
	lnrName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	address varchar(100),--住址
	pic varchar(100),--图片
	jkzb varchar(100)--健康指标
);

日常起居表创建语句如下:


--日常起居表注释
create table t_rcqj(
	id int identity(1,1) primary key not null,--主键
	lnrId int,--老年人
	showDate datetime,--日期
	ms varchar(100),--描述
	content varchar(100)--具体内容
);

网站留言表创建语句如下:


--网站留言表注释
create table t_wzly(
	id int identity(1,1) primary key not null,--主键
	jsId int,--家属
	title varchar(100),--简要说明
	content varchar(100),--具体内容
	insertDate datetime,--日期
	back varchar(100),--回复
	status varchar(100)--状态
);

养护人员表创建语句如下:


--养护人员表注释
create table t_yh(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	yhName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	address varchar(100),--住址
	pic varchar(100)--图片
);

医疗监护表创建语句如下:


--医疗监护表注释
create table t_yljh(
	id int identity(1,1) primary key not null,--主键
	lnrId int,--老年人
	showDate datetime,--日期
	ms varchar(100),--检测项
	content varchar(100)--具体内容
);

基于java的老年人健康信息档案登录后主页

基于java的老年人健康信息档案spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

健康速递javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//健康速递
@Table(name = "t_jksd")
public class Jksd {
//主键
@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_js")
public class Js {
//主键
@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 jsName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//图片
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 getJsName() {return jsName;}
public void setJsName(String jsName) {this.jsName = jsName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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_lnr")
public class Lnr {
//主键
@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 lnrName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//图片
private String pic;
//健康指标
private String jkzb;
public String getLnrName() {return lnrName;}
public void setLnrName(String lnrName) {this.lnrName = lnrName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJkzb() {return jkzb;}
public void setJkzb(String jkzb) {this.jkzb = jkzb;}
}

日常起居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_rcqj")
public class Rcqj {
//主键
@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 lnrId;
//日期
private Date showDate;
//描述
private String ms;
//具体内容
private String content;
public Integer getLnrId() {return lnrId;}
public void setLnrId(Integer lnrId) {this.lnrId = lnrId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
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_wzly")
public class Wzly {
//主键
@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 jsId;
//简要说明
private String title;
//具体内容
private String content;
//日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String 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_yh")
public class Yh {
//主键
@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 yhName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//图片
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 getYhName() {return yhName;}
public void setYhName(String yhName) {this.yhName = yhName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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_yljh")
public class Yljh {
//主键
@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 lnrId;
//日期
private Date showDate;
//检测项
private String ms;
//具体内容
private String content;
public Integer getLnrId() {return lnrId;}
public void setLnrId(Integer lnrId) {this.lnrId = lnrId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

基于java的老年人健康信息档案spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

健康速递javaBean创建语句如下:


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

//健康速递
public class Jksd  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 Js  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 jsName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//图片
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 getJsName() {return jsName;}
public void setJsName(String jsName) {this.jsName = jsName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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 Lnr  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String lnrName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//图片
private String pic;
//健康指标
private String jkzb;
public String getLnrName() {return lnrName;}
public void setLnrName(String lnrName) {this.lnrName = lnrName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getJkzb() {return jkzb;}
public void setJkzb(String jkzb) {this.jkzb = jkzb;}
}

日常起居javaBean创建语句如下:


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

//日常起居
public class Rcqj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老年人
private Integer lnrId;
//日期
private Date showDate;
//描述
private String ms;
//具体内容
private String content;
public Integer getLnrId() {return lnrId;}
public void setLnrId(Integer lnrId) {this.lnrId = lnrId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
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 Wzly  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//家属
private Integer jsId;
//简要说明
private String title;
//具体内容
private String content;
//日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String 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 Yh  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 yhName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//住址
private String address;
//图片
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 getYhName() {return yhName;}
public void setYhName(String yhName) {this.yhName = yhName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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 Yljh  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老年人
private Integer lnrId;
//日期
private Date showDate;
//检测项
private String ms;
//具体内容
private String content;
public Integer getLnrId() {return lnrId;}
public void setLnrId(Integer lnrId) {this.lnrId = lnrId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

源代码下载点这里

评论