更多成品,定做java毕业设计,请咨询管理员qq:2812491287

基于SSM的医院预约挂号系统设计与实现

基于SSM的医院预约挂号系统设计与实现登录注册界面

基于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_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

用户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	phone varchar(100) comment '手机',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	address varchar(100) comment '家庭住址',
	idcard varchar(100) comment '身份证',
	insertDate datetime comment '入库日期',
	headPic varchar(100) comment '头像',
	level varchar(100) comment '层级',
	isft varchar(100) comment '发帖权限',
	ispl varchar(100) comment '评论权限',
	mb1 varchar(100) comment '密保1',
	mb2 varchar(100) comment '密保2',
	mb3 varchar(100) comment '密保3'
) comment '用户';

表创建语句如下:


create table t_ddd(
	id int primary key auto_increment comment '主键',
	ins int comment '数值'
) comment '';

医生表创建语句如下:


create table t_doctor(
	id int primary key auto_increment comment '主键',
	ksId int comment '科室',
	doctorName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	idcard varchar(100) comment '身份证',
	pic varchar(100) comment '头像',
	address varchar(100) comment '住址',
	zz varchar(100) comment '主治',
	tx 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_ks(
	id int primary key auto_increment comment '主键',
	ksName varchar(100) comment '科室'
) comment '科室';

留言表创建语句如下:


create table t_liuyan(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	content varchar(100) comment '内容',
	insertDate datetime comment '时间',
	back varchar(100) comment '回复内容',
	backDate datetime comment '回复时间',
	status varchar(100) comment '状态'
) comment '留言';

论坛说明表创建语句如下:


create table t_ltsm(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '论坛说明'
) comment '论坛说明';

预约表创建语句如下:


create table t_yy(
	id int primary key auto_increment comment '主键',
	doctorId int comment '医生',
	customerId int comment '用户',
	yyDate datetime comment '预约日期',
	times varchar(100) comment '时间段',
	status varchar(100) comment '状态',
	ksId 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_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	phone varchar(100),
	sex varchar(100),
	age varchar(100),
	address varchar(100),
	idcard varchar(100),
	insertDate datetime,
	headPic varchar(100),
	level varchar(100),
	isft varchar(100),
	ispl varchar(100),
	mb1 varchar(100),
	mb2 varchar(100),
	mb3 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.name is '姓名';
comment on column t_customer.phone is '手机';
comment on column t_customer.sex is '性别';
comment on column t_customer.age is '年龄';
comment on column t_customer.address is '家庭住址';
comment on column t_customer.idcard is '身份证';
comment on column t_customer.insertDate is '入库日期';
comment on column t_customer.headPic is '头像';
comment on column t_customer.level is '层级';
comment on column t_customer.isft is '发帖权限';
comment on column t_customer.ispl is '评论权限';
comment on column t_customer.mb1 is '密保1';
comment on column t_customer.mb2 is '密保2';
comment on column t_customer.mb3 is '密保3';
--用户表加注释
comment on table t_customer is '用户';

表创建语句如下:


create table t_ddd(
	id integer,
	ins int
);
--字段加注释
comment on column t_ddd.id is '主键';
comment on column t_ddd.ins is '数值';
--表加注释
comment on table t_ddd is '';

医生表创建语句如下:


create table t_doctor(
	id integer,
	ksId int,
	doctorName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	pic varchar(100),
	address varchar(100),
	zz varchar(100),
	tx varchar(100)
);
--医生字段加注释
comment on column t_doctor.id is '主键';
comment on column t_doctor.ksId 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.idcard is '身份证';
comment on column t_doctor.pic is '头像';
comment on column t_doctor.address is '住址';
comment on column t_doctor.zz is '主治';
comment on column t_doctor.tx 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_ks(
	id integer,
	ksName varchar(100)
);
--科室字段加注释
comment on column t_ks.id is '主键';
comment on column t_ks.ksName is '科室';
--科室表加注释
comment on table t_ks is '科室';

留言表创建语句如下:


create table t_liuyan(
	id integer,
	customerId int,
	content varchar(100),
	insertDate datetime,
	back varchar(100),
	backDate datetime,
	status varchar(100)
);
--留言字段加注释
comment on column t_liuyan.id is '主键';
comment on column t_liuyan.customerId is '用户';
comment on column t_liuyan.content is '内容';
comment on column t_liuyan.insertDate is '时间';
comment on column t_liuyan.back is '回复内容';
comment on column t_liuyan.backDate is '回复时间';
comment on column t_liuyan.status is '状态';
--留言表加注释
comment on table t_liuyan is '留言';

论坛说明表创建语句如下:


create table t_ltsm(
	id integer,
	title varchar(100)
);
--论坛说明字段加注释
comment on column t_ltsm.id is '主键';
comment on column t_ltsm.title is '论坛说明';
--论坛说明表加注释
comment on table t_ltsm is '论坛说明';

预约表创建语句如下:


create table t_yy(
	id integer,
	doctorId int,
	customerId int,
	yyDate datetime,
	times varchar(100),
	status varchar(100),
	ksId int
);
--预约字段加注释
comment on column t_yy.id is '主键';
comment on column t_yy.doctorId is '医生';
comment on column t_yy.customerId is '用户';
comment on column t_yy.yyDate is '预约日期';
comment on column t_yy.times is '时间段';
comment on column t_yy.status is '状态';
comment on column t_yy.ksId is '科室';
--预约表加注释
comment on table t_yy is '预约';

oracle特有,对应序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_ddd;
create sequence s_t_doctor;
create sequence s_t_gg;
create sequence s_t_ks;
create sequence s_t_liuyan;
create sequence s_t_ltsm;
create sequence s_t_yy;

基于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_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime--日期
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	phone varchar(100),--手机
	sex varchar(100),--性别
	age varchar(100),--年龄
	address varchar(100),--家庭住址
	idcard varchar(100),--身份证
	insertDate datetime,--入库日期
	headPic varchar(100),--头像
	level varchar(100),--层级
	isft varchar(100),--发帖权限
	ispl varchar(100),--评论权限
	mb1 varchar(100),--密保1
	mb2 varchar(100),--密保2
	mb3 varchar(100)--密保3
);

表创建语句如下:


--表注释
create table t_ddd(
	id int identity(1,1) primary key not null,--主键
	ins int--数值
);

医生表创建语句如下:


--医生表注释
create table t_doctor(
	id int identity(1,1) primary key not null,--主键
	ksId int,--科室
	doctorName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	pic varchar(100),--头像
	address varchar(100),--住址
	zz varchar(100),--主治
	tx 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_ks(
	id int identity(1,1) primary key not null,--主键
	ksName varchar(100)--科室
);

留言表创建语句如下:


--留言表注释
create table t_liuyan(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	content varchar(100),--内容
	insertDate datetime,--时间
	back varchar(100),--回复内容
	backDate datetime,--回复时间
	status varchar(100)--状态
);

论坛说明表创建语句如下:


--论坛说明表注释
create table t_ltsm(
	id int identity(1,1) primary key not null,--主键
	title varchar(100)--论坛说明
);

预约表创建语句如下:


--预约表注释
create table t_yy(
	id int identity(1,1) primary key not null,--主键
	doctorId int,--医生
	customerId int,--用户
	yyDate datetime,--预约日期
	times varchar(100),--时间段
	status varchar(100),--状态
	ksId int--科室
);

基于SSM的医院预约挂号系统设计与实现登录后主页

基于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_contact")
public class Contact {
//主键
@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 phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

用户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 name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
//头像
private String headPic;
//层级
private String level;
//发帖权限
private String isft;
//评论权限
private String ispl;
//密保1
private String mb1;
//密保2
private String mb2;
//密保3
private String mb3;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getLevel() {return level;}
public void setLevel(String level) {this.level = level;}
public String getIsft() {return isft;}
public void setIsft(String isft) {this.isft = isft;}
public String getIspl() {return ispl;}
public void setIspl(String ispl) {this.ispl = ispl;}
public String getMb1() {return mb1;}
public void setMb1(String mb1) {this.mb1 = mb1;}
public String getMb2() {return mb2;}
public void setMb2(String mb2) {this.mb2 = mb2;}
public String getMb3() {return mb3;}
public void setMb3(String mb3) {this.mb3 = mb3;}
}

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_ddd")
public class Ddd {
//主键
@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 ins;
public Integer getIns() {return ins;}
public void setIns(Integer ins) {this.ins = ins;}
}

医生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 Integer ksId;
//姓名
private String doctorName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//头像
private String pic;
//住址
private String address;
//主治
private String zz;
//头衔
private String tx;
public Integer getKsId() {return ksId;}
public void setKsId(Integer ksId) {this.ksId = ksId;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getZz() {return zz;}
public void setZz(String zz) {this.zz = zz;}
public String getTx() {return tx;}
public void setTx(String tx) {this.tx = tx;}
}

公告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_ks")
public class Ks {
//主键
@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 ksName;
public String getKsName() {return ksName;}
public void setKsName(String ksName) {this.ksName = ksName;}
}

留言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_liuyan")
public class Liuyan {
//主键
@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 content;
//时间
private Date insertDate;
//回复内容
private String back;
//回复时间
private Date backDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Date getBackDate() {return backDate;}
public void setBackDate(Date backDate) {this.backDate = backDate;}
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_ltsm")
public class Ltsm {
//主键
@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;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
}

预约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_yy")
public class Yy {
//主键
@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 doctorId;
//用户
private Integer customerId;
//预约日期
private Date yyDate;
//时间段
private String times;
//状态
private String status;
//科室
private Integer ksId;
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getYyDate() {return yyDate;}
public void setYyDate(Date yyDate) {this.yyDate = yyDate;}
public String getTimes() {return times;}
public void setTimes(String times) {this.times = times;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getKsId() {return ksId;}
public void setKsId(Integer ksId) {this.ksId = ksId;}
}

基于SSM的医院预约挂号系统设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

建议javaBean创建语句如下:


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

//建议
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

用户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 name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
//头像
private String headPic;
//层级
private String level;
//发帖权限
private String isft;
//评论权限
private String ispl;
//密保1
private String mb1;
//密保2
private String mb2;
//密保3
private String mb3;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getLevel() {return level;}
public void setLevel(String level) {this.level = level;}
public String getIsft() {return isft;}
public void setIsft(String isft) {this.isft = isft;}
public String getIspl() {return ispl;}
public void setIspl(String ispl) {this.ispl = ispl;}
public String getMb1() {return mb1;}
public void setMb1(String mb1) {this.mb1 = mb1;}
public String getMb2() {return mb2;}
public void setMb2(String mb2) {this.mb2 = mb2;}
public String getMb3() {return mb3;}
public void setMb3(String mb3) {this.mb3 = mb3;}
}

javaBean创建语句如下:


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

//
public class Ddd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//数值
private Integer ins;
public Integer getIns() {return ins;}
public void setIns(Integer ins) {this.ins = ins;}
}

医生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 Integer ksId;
//姓名
private String doctorName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//头像
private String pic;
//住址
private String address;
//主治
private String zz;
//头衔
private String tx;
public Integer getKsId() {return ksId;}
public void setKsId(Integer ksId) {this.ksId = ksId;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getZz() {return zz;}
public void setZz(String zz) {this.zz = zz;}
public String getTx() {return tx;}
public void setTx(String tx) {this.tx = tx;}
}

公告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 Ks  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//科室
private String ksName;
public String getKsName() {return ksName;}
public void setKsName(String ksName) {this.ksName = ksName;}
}

留言javaBean创建语句如下:


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

//留言
public class Liuyan  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//时间
private Date insertDate;
//回复内容
private String back;
//回复时间
private Date backDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Date getBackDate() {return backDate;}
public void setBackDate(Date backDate) {this.backDate = backDate;}
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 Ltsm  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//论坛说明
private String title;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
}

预约javaBean创建语句如下:


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

//预约
public class Yy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//医生
private Integer doctorId;
//用户
private Integer customerId;
//预约日期
private Date yyDate;
//时间段
private String times;
//状态
private String status;
//科室
private Integer ksId;
public Integer getDoctorId() {return doctorId;}
public void setDoctorId(Integer doctorId) {this.doctorId = doctorId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getYyDate() {return yyDate;}
public void setYyDate(Date yyDate) {this.yyDate = yyDate;}
public String getTimes() {return times;}
public void setTimes(String times) {this.times = times;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getKsId() {return ksId;}
public void setKsId(Integer ksId) {this.ksId = ksId;}
}

评论