疫苗接种管理系统的设计与开发

疫苗接种管理系统的设计与开发登录注册界面

疫苗接种管理系统的设计与开发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_ckrk(
	id int primary key auto_increment comment '主键',
	ckrk varchar(100) comment '出库入库',
	ymId int comment '疫苗',
	showDate datetime comment '日期',
	czr varchar(100) comment '操作人',
	lxdh varchar(100) comment '联系电话',
	remark varchar(100) comment '备注',
	sl int comment ''
) comment '疫苗出库入库';

用户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码 ',
	customerName varchar(100) 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_et(
	id int primary key auto_increment comment '主键',
	etName varchar(100) comment '儿童姓名',
	customerId int comment '家长',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	bs varchar(100) comment '病史',
	gm varchar(100) comment '过敏',
	pic 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_jzjl(
	id int primary key auto_increment comment '主键',
	etId int comment '儿童',
	showDate datetime comment '接种时间',
	ymId int comment '疫苗',
	jzqk varchar(100) comment '接种情况',
	remark varchar(100) 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_types(
	id int primary key auto_increment comment '主键',
	typesName varchar(100) comment '疫苗类型'
) comment '疫苗类型';

疫苗表创建语句如下:


create table t_ym(
	id int primary key auto_increment comment '主键',
	typesId int comment '疫苗类型',
	ymName varchar(100) comment '疫苗名称',
	ymbh varchar(100) comment '疫苗编号',
	jj varchar(100) comment '简介',
	sy varchar(100) comment '适用儿童年龄',
	fzy varchar(100) comment '副作用',
	jck varchar(100) comment '国产/进口'
) comment '疫苗';

疫苗接种管理系统的设计与开发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_ckrk(
	id integer,
	ckrk varchar(100),
	ymId int,
	showDate datetime,
	czr varchar(100),
	lxdh varchar(100),
	remark varchar(100),
	sl int
);
--疫苗出库入库字段加注释
comment on column t_ckrk.id is '主键';
comment on column t_ckrk.ckrk is '出库入库';
comment on column t_ckrk.ymId is '疫苗';
comment on column t_ckrk.showDate is '日期';
comment on column t_ckrk.czr is '操作人';
comment on column t_ckrk.lxdh is '联系电话';
comment on column t_ckrk.remark is '备注';
comment on column t_ckrk.sl is '';
--疫苗出库入库表加注释
comment on table t_ckrk is '疫苗出库入库';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	qq varchar(100),
	email varchar(100),
	pic 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.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.phone is '电话';
comment on column t_customer.qq is 'QQ';
comment on column t_customer.email is '邮箱';
comment on column t_customer.pic is '头像';
--用户表加注释
comment on table t_customer is '用户';

儿童表创建语句如下:


create table t_et(
	id integer,
	etName varchar(100),
	customerId int,
	age varchar(100),
	sex varchar(100),
	bs varchar(100),
	gm varchar(100),
	pic varchar(100)
);
--儿童字段加注释
comment on column t_et.id is '主键';
comment on column t_et.etName is '儿童姓名';
comment on column t_et.customerId is '家长';
comment on column t_et.age is '年龄';
comment on column t_et.sex is '性别';
comment on column t_et.bs is '病史';
comment on column t_et.gm is '过敏';
comment on column t_et.pic is '头像';
--儿童表加注释
comment on table t_et 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_jzjl(
	id integer,
	etId int,
	showDate datetime,
	ymId int,
	jzqk varchar(100),
	remark varchar(100)
);
--接种记录字段加注释
comment on column t_jzjl.id is '主键';
comment on column t_jzjl.etId is '儿童';
comment on column t_jzjl.showDate is '接种时间';
comment on column t_jzjl.ymId is '疫苗';
comment on column t_jzjl.jzqk is '接种情况';
comment on column t_jzjl.remark is '备注';
--接种记录表加注释
comment on table t_jzjl 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_types(
	id integer,
	typesName varchar(100)
);
--疫苗类型字段加注释
comment on column t_types.id is '主键';
comment on column t_types.typesName is '疫苗类型';
--疫苗类型表加注释
comment on table t_types is '疫苗类型';

疫苗表创建语句如下:


create table t_ym(
	id integer,
	typesId int,
	ymName varchar(100),
	ymbh varchar(100),
	jj varchar(100),
	sy varchar(100),
	fzy varchar(100),
	jck varchar(100)
);
--疫苗字段加注释
comment on column t_ym.id is '主键';
comment on column t_ym.typesId is '疫苗类型';
comment on column t_ym.ymName is '疫苗名称';
comment on column t_ym.ymbh is '疫苗编号';
comment on column t_ym.jj is '简介';
comment on column t_ym.sy is '适用儿童年龄';
comment on column t_ym.fzy is '副作用';
comment on column t_ym.jck is '国产/进口';
--疫苗表加注释
comment on table t_ym is '疫苗';

oracle特有,对应序列如下:


create sequence s_t_ckrk;
create sequence s_t_customer;
create sequence s_t_et;
create sequence s_t_gg;
create sequence s_t_jzjl;
create sequence s_t_ptadmin;
create sequence s_t_types;
create sequence s_t_ym;

疫苗接种管理系统的设计与开发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_ckrk(
	id int identity(1,1) primary key not null,--主键
	ckrk varchar(100),--出库入库
	ymId int,--疫苗
	showDate datetime,--日期
	czr varchar(100),--操作人
	lxdh varchar(100),--联系电话
	remark varchar(100),--备注
	sl int--
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码 
	customerName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	qq varchar(100),--QQ
	email varchar(100),--邮箱
	pic varchar(100)--头像
);

儿童表创建语句如下:


--儿童表注释
create table t_et(
	id int identity(1,1) primary key not null,--主键
	etName varchar(100),--儿童姓名
	customerId int,--家长
	age varchar(100),--年龄
	sex varchar(100),--性别
	bs varchar(100),--病史
	gm varchar(100),--过敏
	pic 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_jzjl(
	id int identity(1,1) primary key not null,--主键
	etId int,--儿童
	showDate datetime,--接种时间
	ymId int,--疫苗
	jzqk varchar(100),--接种情况
	remark varchar(100)--备注
);

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


--普通管理员表注释
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_types(
	id int identity(1,1) primary key not null,--主键
	typesName varchar(100)--疫苗类型
);

疫苗表创建语句如下:


--疫苗表注释
create table t_ym(
	id int identity(1,1) primary key not null,--主键
	typesId int,--疫苗类型
	ymName varchar(100),--疫苗名称
	ymbh varchar(100),--疫苗编号
	jj varchar(100),--简介
	sy varchar(100),--适用儿童年龄
	fzy varchar(100),--副作用
	jck varchar(100)--国产/进口
);

疫苗接种管理系统的设计与开发登录后主页

疫苗接种管理系统的设计与开发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_ckrk")
public class Ckrk {
//主键
@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 ckrk;
//疫苗
private Integer ymId;
//日期
private Date showDate;
//操作人
private String czr;
//联系电话
private String lxdh;
//备注
private String remark;
//
private Integer sl;
public String getCkrk() {return ckrk;}
public void setCkrk(String ckrk) {this.ckrk = ckrk;}
public Integer getYmId() {return ymId;}
public void setYmId(Integer ymId) {this.ymId = ymId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
}

用户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 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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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_et")
public class Et {
//主键
@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 etName;
//家长
private Integer customerId;
//年龄
private String age;
//性别
private String sex;
//病史
private String bs;
//过敏
private String gm;
//头像
private String pic;
public String getEtName() {return etName;}
public void setEtName(String etName) {this.etName = etName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 getBs() {return bs;}
public void setBs(String bs) {this.bs = bs;}
public String getGm() {return gm;}
public void setGm(String gm) {this.gm = gm;}
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_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_jzjl")
public class Jzjl {
//主键
@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 etId;
//接种时间
private Date showDate;
//疫苗
private Integer ymId;
//接种情况
private String jzqk;
//备注
private String remark;
public Integer getEtId() {return etId;}
public void setEtId(Integer etId) {this.etId = etId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getYmId() {return ymId;}
public void setYmId(Integer ymId) {this.ymId = ymId;}
public String getJzqk() {return jzqk;}
public void setJzqk(String jzqk) {this.jzqk = jzqk;}
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_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_types")
public class Types {
//主键
@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 typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

疫苗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_ym")
public class Ym {
//主键
@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 typesId;
//疫苗名称
private String ymName;
//疫苗编号
private String ymbh;
//简介
private String jj;
//适用儿童年龄
private String sy;
//副作用
private String fzy;
//国产/进口
private String jck;
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public String getYmName() {return ymName;}
public void setYmName(String ymName) {this.ymName = ymName;}
public String getYmbh() {return ymbh;}
public void setYmbh(String ymbh) {this.ymbh = ymbh;}
public String getJj() {return jj;}
public void setJj(String jj) {this.jj = jj;}
public String getSy() {return sy;}
public void setSy(String sy) {this.sy = sy;}
public String getFzy() {return fzy;}
public void setFzy(String fzy) {this.fzy = fzy;}
public String getJck() {return jck;}
public void setJck(String jck) {this.jck = jck;}
}

疫苗接种管理系统的设计与开发spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

疫苗出库入库javaBean创建语句如下:


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

//疫苗出库入库
public class Ckrk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//出库入库
private String ckrk;
//疫苗
private Integer ymId;
//日期
private Date showDate;
//操作人
private String czr;
//联系电话
private String lxdh;
//备注
private String remark;
//
private Integer sl;
public String getCkrk() {return ckrk;}
public void setCkrk(String ckrk) {this.ckrk = ckrk;}
public Integer getYmId() {return ymId;}
public void setYmId(Integer ymId) {this.ymId = ymId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getCzr() {return czr;}
public void setCzr(String czr) {this.czr = czr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
}

用户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 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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
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 Et  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//儿童姓名
private String etName;
//家长
private Integer customerId;
//年龄
private String age;
//性别
private String sex;
//病史
private String bs;
//过敏
private String gm;
//头像
private String pic;
public String getEtName() {return etName;}
public void setEtName(String etName) {this.etName = etName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 getBs() {return bs;}
public void setBs(String bs) {this.bs = bs;}
public String getGm() {return gm;}
public void setGm(String gm) {this.gm = gm;}
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 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 Jzjl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//儿童
private Integer etId;
//接种时间
private Date showDate;
//疫苗
private Integer ymId;
//接种情况
private String jzqk;
//备注
private String remark;
public Integer getEtId() {return etId;}
public void setEtId(Integer etId) {this.etId = etId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getYmId() {return ymId;}
public void setYmId(Integer ymId) {this.ymId = ymId;}
public String getJzqk() {return jzqk;}
public void setJzqk(String jzqk) {this.jzqk = jzqk;}
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 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 Types  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//疫苗类型
private String typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

疫苗javaBean创建语句如下:


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

//疫苗
public class Ym  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//疫苗类型
private Integer typesId;
//疫苗名称
private String ymName;
//疫苗编号
private String ymbh;
//简介
private String jj;
//适用儿童年龄
private String sy;
//副作用
private String fzy;
//国产/进口
private String jck;
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public String getYmName() {return ymName;}
public void setYmName(String ymName) {this.ymName = ymName;}
public String getYmbh() {return ymbh;}
public void setYmbh(String ymbh) {this.ymbh = ymbh;}
public String getJj() {return jj;}
public void setJj(String jj) {this.jj = jj;}
public String getSy() {return sy;}
public void setSy(String sy) {this.sy = sy;}
public String getFzy() {return fzy;}
public void setFzy(String fzy) {this.fzy = fzy;}
public String getJck() {return jck;}
public void setJck(String jck) {this.jck = jck;}
}

源代码下载点这里

评论