- 基于web的医院信息管理系统mysql数据库创建语句
- 基于web的医院信息管理系统oracle数据库创建语句
- 基于web的医院信息管理系统sqlserver数据库创建语句
- 基于web的医院信息管理系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计
- 基于web的医院信息管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计
![基于web的医院信息管理系统登录注册界面](https://img.javabysj.cn/upload/20190731/基于web的医院信息管理系统(za42hjaadl)登录注册界面.jpg?x-oss-process=style/00001)
基于web的医院信息管理系统mysql数据库版本源码:
超级管理员表创建语句如下:
create table t_admin(
id int primary key auto_increment comment '主键',
username varchar(100) comment '超级管理员账号',
password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');
分类表创建语句如下:
create table t_bk(
id int primary key auto_increment comment '主键',
bkName varchar(100) comment '分类名称'
) comment '分类';
标签表创建语句如下:
create table t_bq(
id int primary key auto_increment comment '主键',
bqName varchar(100) comment '标签'
) comment '标签';
建议表创建语句如下:
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 '密码',
customerName varchar(100) comment '姓名',
sex varchar(100) comment '性别',
address varchar(100) comment '地址',
phone varchar(100) comment '手机',
account int comment '账户',
jf int comment '积分',
ybk varchar(100) comment '',
age varchar(100) comment ''
) comment '客户';
辅助诊断表创建语句如下:
create table t_fzzd(
id int primary key auto_increment comment '主键',
fzzdName varchar(100) comment '辅助诊断名称',
fzzdbh varchar(100) comment '功能编号',
fee int comment '价格'
) comment '辅助诊断';
轮播图表创建语句如下:
create table t_lbt(
id int primary key auto_increment comment '主键',
pic varchar(100) comment '图片'
) comment '轮播图';
信息交流表创建语句如下:
create table t_message(
id int primary key auto_increment comment '主键',
customerId int comment '用户',
messageContent varchar(100) comment '内容',
types int comment '',
insertDate datetime comment '时间'
) comment '信息交流';
订单表创建语句如下:
create table t_order(
id int primary key auto_increment comment '主键',
customerId int comment '用户',
productDetail varchar(100) comment '订单详细',
allPrice varchar(100) comment '订单总价格',
status varchar(100) comment '状态',
orderNum varchar(100) comment '订单编号',
pl varchar(100) comment '物流信息',
insertDate datetime comment '日期',
userId int comment '',
orderDate varchar(100) comment ''
) comment '订单';
订单详情表创建语句如下:
create table t_orderlist(
id int primary key auto_increment comment '主键',
customerId int comment '用户',
orderId int comment '订单',
productId int comment '菜品'
) comment '订单详情';
评论表创建语句如下:
create table t_pinglun(
id int primary key auto_increment comment '主键',
wdxxId int comment '评论信息',
customerId int comment '评论人',
content varchar(100) comment '评论内容',
insertDate datetime comment '评论日期'
) comment '评论';
表创建语句如下:
create table t_pinglun_product(
id int primary key auto_increment comment '主键',
productId int comment '评论信息',
customerId int comment '评论人',
content varchar(100) comment '评论内容',
insertDate datetime comment '评论日期'
) comment '';
医生表创建语句如下:
create table t_product(
id int primary key auto_increment comment '主键',
productName varchar(100) comment '医生名称',
productPic1 varchar(100) comment '图片1',
productPic2 varchar(100) comment '图片2',
productPic3 varchar(100) comment '图片3',
productPic4 varchar(100) comment '图片4',
price int comment '',
oldPrice int comment '',
content varchar(100) comment '主治',
nums int comment '',
tjxj varchar(100) comment '推荐星级',
status varchar(100) comment '状态',
typesId int comment '分类',
jf int comment '',
userId int comment '',
bqId int comment ''
) comment '医生';
设备表创建语句如下:
create table t_sb(
id int primary key auto_increment comment '主键',
sbName varchar(100) comment '设备',
bm varchar(100) comment '部门',
yt varchar(100) comment '用途',
sccj varchar(100) comment '生产厂家',
showDate datetime comment '购入日期'
) comment '设备';
购物车表创建语句如下:
create table t_shopcar(
id int primary key auto_increment comment '主键',
productId int comment '产品',
num int comment '数量',
customerId int comment ''
) comment '购物车';
手术室预约表创建语句如下:
create table t_sss(
id int primary key auto_increment comment '主键',
v1 varchar(100) comment '预约医生',
v2 varchar(100) comment '说明',
v3 varchar(100) comment '手术室备注',
v4 varchar(100) comment '病患名称',
v5 varchar(100) comment '病患身份证',
v6 varchar(100) comment '病因描述',
showDate datetime comment '预约时间'
) comment '手术室预约';
分类表创建语句如下:
create table t_types(
id int primary key auto_increment comment '主键',
typesName varchar(100) comment '分类'
) comment '分类';
普通员工表创建语句如下:
create table t_user(
id int primary key auto_increment comment '主键',
username varchar(100) comment '账号',
password varchar(100) comment '密码',
name varchar(100) comment '姓名',
gh varchar(100) comment '工号',
mobile varchar(100) comment '手机'
) comment '普通员工';
我的消息表创建语句如下:
create table t_wdxx(
id int primary key auto_increment comment '主键',
customerId int comment '我',
title varchar(100) comment '标题',
pic varchar(100) comment '图片',
content varchar(100) comment '内容',
zan int comment '赞',
insertDate datetime comment '发布日期',
nologin varchar(100) comment '游客是否可见',
bkId int comment ''
) comment '我的消息';
药品表创建语句如下:
create table t_yp(
id int primary key auto_increment comment '主键',
ypName varchar(100) comment '药品名称',
ypbh varchar(100) comment '药品编号',
pic varchar(100) comment '图片',
sl int comment '数量',
fee int comment '单价'
) comment '药品';
问诊信息表创建语句如下:
create table t_yy(
id int primary key auto_increment comment '主键',
customerId int comment '用户',
yyDate datetime comment '预约日期',
zd varchar(100) comment '诊断病历内容',
zdfee int comment '诊断费用',
ypqd varchar(100) comment '药品清单',
ypqdfee int comment '药品费用',
status varchar(100) comment '状态',
userId int comment '看病医生'
) comment '问诊信息';
医院表创建语句如下:
create table t_yyxx(
id int primary key auto_increment comment '主键',
content varchar(100) comment '医院信息'
) comment '医院';
专家表创建语句如下:
create table t_zj(
id int primary key auto_increment comment '主键',
zjName varchar(100) comment '姓名',
zc varchar(100) comment '职称',
pic varchar(100) comment '照片',
bm varchar(100) comment '部门',
wzsj varchar(100) comment '门诊时间'
) comment '专家';
资讯表创建语句如下:
create table t_zx(
id int primary key auto_increment comment '主键',
title varchar(100) comment '标题',
content varchar(100) comment '内容',
pic varchar(100) comment '图片'
) comment '资讯';
住院记录表创建语句如下:
create table t_zyjf(
id int primary key auto_increment comment '主键',
customerId int comment '用户',
zybh varchar(100) comment '住院编号',
fee int comment '费用',
beginDate datetime comment '住院开始日期',
endDate datetime comment '住院结束日期',
fyxx varchar(100) comment '费用详细说明',
pic varchar(100) comment '手续单',
STATUS varchar(100) comment '状态'
) comment '住院记录';
基于web的医院信息管理系统oracle数据库版本源码:
超级管理员表创建语句如下:
create table t_admin(
id integer,
username varchar(100),
password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';
分类表创建语句如下:
create table t_bk(
id integer,
bkName varchar(100)
);
--分类字段加注释
comment on column t_bk.id is '主键';
comment on column t_bk.bkName is '分类名称';
--分类表加注释
comment on table t_bk is '分类';
标签表创建语句如下:
create table t_bq(
id integer,
bqName varchar(100)
);
--标签字段加注释
comment on column t_bq.id is '主键';
comment on column t_bq.bqName is '标签';
--标签表加注释
comment on table t_bq 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),
customerName varchar(100),
sex varchar(100),
address varchar(100),
phone varchar(100),
account int,
jf int,
ybk varchar(100),
age 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.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.phone is '手机';
comment on column t_customer.account is '账户';
comment on column t_customer.jf is '积分';
comment on column t_customer.ybk is '';
comment on column t_customer.age is '';
--客户表加注释
comment on table t_customer is '客户';
辅助诊断表创建语句如下:
create table t_fzzd(
id integer,
fzzdName varchar(100),
fzzdbh varchar(100),
fee int
);
--辅助诊断字段加注释
comment on column t_fzzd.id is '主键';
comment on column t_fzzd.fzzdName is '辅助诊断名称';
comment on column t_fzzd.fzzdbh is '功能编号';
comment on column t_fzzd.fee is '价格';
--辅助诊断表加注释
comment on table t_fzzd is '辅助诊断';
轮播图表创建语句如下:
create table t_lbt(
id integer,
pic varchar(100)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.pic is '图片';
--轮播图表加注释
comment on table t_lbt is '轮播图';
信息交流表创建语句如下:
create table t_message(
id integer,
customerId int,
messageContent varchar(100),
types int,
insertDate datetime
);
--信息交流字段加注释
comment on column t_message.id is '主键';
comment on column t_message.customerId is '用户';
comment on column t_message.messageContent is '内容';
comment on column t_message.types is '';
comment on column t_message.insertDate is '时间';
--信息交流表加注释
comment on table t_message is '信息交流';
订单表创建语句如下:
create table t_order(
id integer,
customerId int,
productDetail varchar(100),
allPrice varchar(100),
status varchar(100),
orderNum varchar(100),
pl varchar(100),
insertDate datetime,
userId int,
orderDate varchar(100)
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '用户';
comment on column t_order.productDetail is '订单详细';
comment on column t_order.allPrice is '订单总价格';
comment on column t_order.status is '状态';
comment on column t_order.orderNum is '订单编号';
comment on column t_order.pl is '物流信息';
comment on column t_order.insertDate is '日期';
comment on column t_order.userId is '';
comment on column t_order.orderDate is '';
--订单表加注释
comment on table t_order is '订单';
订单详情表创建语句如下:
create table t_orderlist(
id integer,
customerId int,
orderId int,
productId int
);
--订单详情字段加注释
comment on column t_orderlist.id is '主键';
comment on column t_orderlist.customerId is '用户';
comment on column t_orderlist.orderId is '订单';
comment on column t_orderlist.productId is '菜品';
--订单详情表加注释
comment on table t_orderlist is '订单详情';
评论表创建语句如下:
create table t_pinglun(
id integer,
wdxxId int,
customerId int,
content varchar(100),
insertDate datetime
);
--评论字段加注释
comment on column t_pinglun.id is '主键';
comment on column t_pinglun.wdxxId is '评论信息';
comment on column t_pinglun.customerId is '评论人';
comment on column t_pinglun.content is '评论内容';
comment on column t_pinglun.insertDate is '评论日期';
--评论表加注释
comment on table t_pinglun is '评论';
表创建语句如下:
create table t_pinglun_product(
id integer,
productId int,
customerId int,
content varchar(100),
insertDate datetime
);
--字段加注释
comment on column t_pinglun_product.id is '主键';
comment on column t_pinglun_product.productId is '评论信息';
comment on column t_pinglun_product.customerId is '评论人';
comment on column t_pinglun_product.content is '评论内容';
comment on column t_pinglun_product.insertDate is '评论日期';
--表加注释
comment on table t_pinglun_product is '';
医生表创建语句如下:
create table t_product(
id integer,
productName varchar(100),
productPic1 varchar(100),
productPic2 varchar(100),
productPic3 varchar(100),
productPic4 varchar(100),
price int,
oldPrice int,
content varchar(100),
nums int,
tjxj varchar(100),
status varchar(100),
typesId int,
jf int,
userId int,
bqId int
);
--医生字段加注释
comment on column t_product.id is '主键';
comment on column t_product.productName is '医生名称';
comment on column t_product.productPic1 is '图片1';
comment on column t_product.productPic2 is '图片2';
comment on column t_product.productPic3 is '图片3';
comment on column t_product.productPic4 is '图片4';
comment on column t_product.price is '';
comment on column t_product.oldPrice is '';
comment on column t_product.content is '主治';
comment on column t_product.nums is '';
comment on column t_product.tjxj is '推荐星级';
comment on column t_product.status is '状态';
comment on column t_product.typesId is '分类';
comment on column t_product.jf is '';
comment on column t_product.userId is '';
comment on column t_product.bqId is '';
--医生表加注释
comment on table t_product is '医生';
设备表创建语句如下:
create table t_sb(
id integer,
sbName varchar(100),
bm varchar(100),
yt varchar(100),
sccj varchar(100),
showDate datetime
);
--设备字段加注释
comment on column t_sb.id is '主键';
comment on column t_sb.sbName is '设备';
comment on column t_sb.bm is '部门';
comment on column t_sb.yt is '用途';
comment on column t_sb.sccj is '生产厂家';
comment on column t_sb.showDate is '购入日期';
--设备表加注释
comment on table t_sb is '设备';
购物车表创建语句如下:
create table t_shopcar(
id integer,
productId int,
num int,
customerId int
);
--购物车字段加注释
comment on column t_shopcar.id is '主键';
comment on column t_shopcar.productId is '产品';
comment on column t_shopcar.num is '数量';
comment on column t_shopcar.customerId is '';
--购物车表加注释
comment on table t_shopcar is '购物车';
手术室预约表创建语句如下:
create table t_sss(
id integer,
v1 varchar(100),
v2 varchar(100),
v3 varchar(100),
v4 varchar(100),
v5 varchar(100),
v6 varchar(100),
showDate datetime
);
--手术室预约字段加注释
comment on column t_sss.id is '主键';
comment on column t_sss.v1 is '预约医生';
comment on column t_sss.v2 is '说明';
comment on column t_sss.v3 is '手术室备注';
comment on column t_sss.v4 is '病患名称';
comment on column t_sss.v5 is '病患身份证';
comment on column t_sss.v6 is '病因描述';
comment on column t_sss.showDate is '预约时间';
--手术室预约表加注释
comment on table t_sss 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_user(
id integer,
username varchar(100),
password varchar(100),
name varchar(100),
gh varchar(100),
mobile varchar(100)
);
--普通员工字段加注释
comment on column t_user.id is '主键';
comment on column t_user.username is '账号';
comment on column t_user.password is '密码';
comment on column t_user.name is '姓名';
comment on column t_user.gh is '工号';
comment on column t_user.mobile is '手机';
--普通员工表加注释
comment on table t_user is '普通员工';
我的消息表创建语句如下:
create table t_wdxx(
id integer,
customerId int,
title varchar(100),
pic varchar(100),
content varchar(100),
zan int,
insertDate datetime,
nologin varchar(100),
bkId int
);
--我的消息字段加注释
comment on column t_wdxx.id is '主键';
comment on column t_wdxx.customerId is '我';
comment on column t_wdxx.title is '标题';
comment on column t_wdxx.pic is '图片';
comment on column t_wdxx.content is '内容';
comment on column t_wdxx.zan is '赞';
comment on column t_wdxx.insertDate is '发布日期';
comment on column t_wdxx.nologin is '游客是否可见';
comment on column t_wdxx.bkId is '';
--我的消息表加注释
comment on table t_wdxx is '我的消息';
药品表创建语句如下:
create table t_yp(
id integer,
ypName varchar(100),
ypbh varchar(100),
pic varchar(100),
sl int,
fee int
);
--药品字段加注释
comment on column t_yp.id is '主键';
comment on column t_yp.ypName is '药品名称';
comment on column t_yp.ypbh is '药品编号';
comment on column t_yp.pic is '图片';
comment on column t_yp.sl is '数量';
comment on column t_yp.fee is '单价';
--药品表加注释
comment on table t_yp is '药品';
问诊信息表创建语句如下:
create table t_yy(
id integer,
customerId int,
yyDate datetime,
zd varchar(100),
zdfee int,
ypqd varchar(100),
ypqdfee int,
status varchar(100),
userId int
);
--问诊信息字段加注释
comment on column t_yy.id is '主键';
comment on column t_yy.customerId is '用户';
comment on column t_yy.yyDate is '预约日期';
comment on column t_yy.zd is '诊断病历内容';
comment on column t_yy.zdfee is '诊断费用';
comment on column t_yy.ypqd is '药品清单';
comment on column t_yy.ypqdfee is '药品费用';
comment on column t_yy.status is '状态';
comment on column t_yy.userId is '看病医生';
--问诊信息表加注释
comment on table t_yy is '问诊信息';
医院表创建语句如下:
create table t_yyxx(
id integer,
content varchar(100)
);
--医院字段加注释
comment on column t_yyxx.id is '主键';
comment on column t_yyxx.content is '医院信息';
--医院表加注释
comment on table t_yyxx is '医院';
专家表创建语句如下:
create table t_zj(
id integer,
zjName varchar(100),
zc varchar(100),
pic varchar(100),
bm varchar(100),
wzsj varchar(100)
);
--专家字段加注释
comment on column t_zj.id is '主键';
comment on column t_zj.zjName is '姓名';
comment on column t_zj.zc is '职称';
comment on column t_zj.pic is '照片';
comment on column t_zj.bm is '部门';
comment on column t_zj.wzsj is '门诊时间';
--专家表加注释
comment on table t_zj is '专家';
资讯表创建语句如下:
create table t_zx(
id integer,
title varchar(100),
content varchar(100),
pic varchar(100)
);
--资讯字段加注释
comment on column t_zx.id is '主键';
comment on column t_zx.title is '标题';
comment on column t_zx.content is '内容';
comment on column t_zx.pic is '图片';
--资讯表加注释
comment on table t_zx is '资讯';
住院记录表创建语句如下:
create table t_zyjf(
id integer,
customerId int,
zybh varchar(100),
fee int,
beginDate datetime,
endDate datetime,
fyxx varchar(100),
pic varchar(100),
STATUS varchar(100)
);
--住院记录字段加注释
comment on column t_zyjf.id is '主键';
comment on column t_zyjf.customerId is '用户';
comment on column t_zyjf.zybh is '住院编号';
comment on column t_zyjf.fee is '费用';
comment on column t_zyjf.beginDate is '住院开始日期';
comment on column t_zyjf.endDate is '住院结束日期';
comment on column t_zyjf.fyxx is '费用详细说明';
comment on column t_zyjf.pic is '手续单';
comment on column t_zyjf.STATUS is '状态';
--住院记录表加注释
comment on table t_zyjf is '住院记录';
oracle特有,对应序列如下:
create sequence s_t_bk;
create sequence s_t_bq;
create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_fzzd;
create sequence s_t_lbt;
create sequence s_t_message;
create sequence s_t_order;
create sequence s_t_orderlist;
create sequence s_t_pinglun;
create sequence s_t_pinglun_product;
create sequence s_t_product;
create sequence s_t_sb;
create sequence s_t_shopcar;
create sequence s_t_sss;
create sequence s_t_types;
create sequence s_t_user;
create sequence s_t_wdxx;
create sequence s_t_yp;
create sequence s_t_yy;
create sequence s_t_yyxx;
create sequence s_t_zj;
create sequence s_t_zx;
create sequence s_t_zyjf;
基于web的医院信息管理系统sqlserver数据库版本源码:
超级管理员表创建语句如下:
--超级管理员
create table t_admin(
id int identity(1,1) primary key not null,--主键
username varchar(100),--超级管理员账号
password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');
分类表创建语句如下:
--分类表注释
create table t_bk(
id int identity(1,1) primary key not null,--主键
bkName varchar(100)--分类名称
);
标签表创建语句如下:
--标签表注释
create table t_bq(
id int identity(1,1) primary key not null,--主键
bqName varchar(100)--标签
);
建议表创建语句如下:
--建议表注释
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),--密码
customerName varchar(100),--姓名
sex varchar(100),--性别
address varchar(100),--地址
phone varchar(100),--手机
account int,--账户
jf int,--积分
ybk varchar(100),--
age varchar(100)--
);
辅助诊断表创建语句如下:
--辅助诊断表注释
create table t_fzzd(
id int identity(1,1) primary key not null,--主键
fzzdName varchar(100),--辅助诊断名称
fzzdbh varchar(100),--功能编号
fee int--价格
);
轮播图表创建语句如下:
--轮播图表注释
create table t_lbt(
id int identity(1,1) primary key not null,--主键
pic varchar(100)--图片
);
信息交流表创建语句如下:
--信息交流表注释
create table t_message(
id int identity(1,1) primary key not null,--主键
customerId int,--用户
messageContent varchar(100),--内容
types int,--
insertDate datetime--时间
);
订单表创建语句如下:
--订单表注释
create table t_order(
id int identity(1,1) primary key not null,--主键
customerId int,--用户
productDetail varchar(100),--订单详细
allPrice varchar(100),--订单总价格
status varchar(100),--状态
orderNum varchar(100),--订单编号
pl varchar(100),--物流信息
insertDate datetime,--日期
userId int,--
orderDate varchar(100)--
);
订单详情表创建语句如下:
--订单详情表注释
create table t_orderlist(
id int identity(1,1) primary key not null,--主键
customerId int,--用户
orderId int,--订单
productId int--菜品
);
评论表创建语句如下:
--评论表注释
create table t_pinglun(
id int identity(1,1) primary key not null,--主键
wdxxId int,--评论信息
customerId int,--评论人
content varchar(100),--评论内容
insertDate datetime--评论日期
);
表创建语句如下:
--表注释
create table t_pinglun_product(
id int identity(1,1) primary key not null,--主键
productId int,--评论信息
customerId int,--评论人
content varchar(100),--评论内容
insertDate datetime--评论日期
);
医生表创建语句如下:
--医生表注释
create table t_product(
id int identity(1,1) primary key not null,--主键
productName varchar(100),--医生名称
productPic1 varchar(100),--图片1
productPic2 varchar(100),--图片2
productPic3 varchar(100),--图片3
productPic4 varchar(100),--图片4
price int,--
oldPrice int,--
content varchar(100),--主治
nums int,--
tjxj varchar(100),--推荐星级
status varchar(100),--状态
typesId int,--分类
jf int,--
userId int,--
bqId int--
);
设备表创建语句如下:
--设备表注释
create table t_sb(
id int identity(1,1) primary key not null,--主键
sbName varchar(100),--设备
bm varchar(100),--部门
yt varchar(100),--用途
sccj varchar(100),--生产厂家
showDate datetime--购入日期
);
购物车表创建语句如下:
--购物车表注释
create table t_shopcar(
id int identity(1,1) primary key not null,--主键
productId int,--产品
num int,--数量
customerId int--
);
手术室预约表创建语句如下:
--手术室预约表注释
create table t_sss(
id int identity(1,1) primary key not null,--主键
v1 varchar(100),--预约医生
v2 varchar(100),--说明
v3 varchar(100),--手术室备注
v4 varchar(100),--病患名称
v5 varchar(100),--病患身份证
v6 varchar(100),--病因描述
showDate datetime--预约时间
);
分类表创建语句如下:
--分类表注释
create table t_types(
id int identity(1,1) primary key not null,--主键
typesName varchar(100)--分类
);
普通员工表创建语句如下:
--普通员工表注释
create table t_user(
id int identity(1,1) primary key not null,--主键
username varchar(100),--账号
password varchar(100),--密码
name varchar(100),--姓名
gh varchar(100),--工号
mobile varchar(100)--手机
);
我的消息表创建语句如下:
--我的消息表注释
create table t_wdxx(
id int identity(1,1) primary key not null,--主键
customerId int,--我
title varchar(100),--标题
pic varchar(100),--图片
content varchar(100),--内容
zan int,--赞
insertDate datetime,--发布日期
nologin varchar(100),--游客是否可见
bkId int--
);
药品表创建语句如下:
--药品表注释
create table t_yp(
id int identity(1,1) primary key not null,--主键
ypName varchar(100),--药品名称
ypbh varchar(100),--药品编号
pic varchar(100),--图片
sl int,--数量
fee int--单价
);
问诊信息表创建语句如下:
--问诊信息表注释
create table t_yy(
id int identity(1,1) primary key not null,--主键
customerId int,--用户
yyDate datetime,--预约日期
zd varchar(100),--诊断病历内容
zdfee int,--诊断费用
ypqd varchar(100),--药品清单
ypqdfee int,--药品费用
status varchar(100),--状态
userId int--看病医生
);
医院表创建语句如下:
--医院表注释
create table t_yyxx(
id int identity(1,1) primary key not null,--主键
content varchar(100)--医院信息
);
专家表创建语句如下:
--专家表注释
create table t_zj(
id int identity(1,1) primary key not null,--主键
zjName varchar(100),--姓名
zc varchar(100),--职称
pic varchar(100),--照片
bm varchar(100),--部门
wzsj varchar(100)--门诊时间
);
资讯表创建语句如下:
--资讯表注释
create table t_zx(
id int identity(1,1) primary key not null,--主键
title varchar(100),--标题
content varchar(100),--内容
pic varchar(100)--图片
);
住院记录表创建语句如下:
--住院记录表注释
create table t_zyjf(
id int identity(1,1) primary key not null,--主键
customerId int,--用户
zybh varchar(100),--住院编号
fee int,--费用
beginDate datetime,--住院开始日期
endDate datetime,--住院结束日期
fyxx varchar(100),--费用详细说明
pic varchar(100),--手续单
STATUS varchar(100)--状态
);
![基于web的医院信息管理系统登录后主页](https://img.javabysj.cn/upload/20190731/基于web的医院信息管理系统(za42hjaadl)登录后主页.jpg?x-oss-process=style/00001)
基于web的医院信息管理系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计:
分类javaBean创建语句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//分类
@Table(name = "t_bk")
public class Bk {
//主键
@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 bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}
标签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_bq")
public class Bq {
//主键
@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 bqName;
public String getBqName() {return bqName;}
public void setBqName(String bqName) {this.bqName = bqName;}
}
建议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 customerName;
//性别
private String sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
//
private String ybk;
//
private String age;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getYbk() {return ybk;}
public void setYbk(String ybk) {this.ybk = ybk;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}
辅助诊断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_fzzd")
public class Fzzd {
//主键
@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 fzzdName;
//功能编号
private String fzzdbh;
//价格
private Integer fee;
public String getFzzdName() {return fzzdName;}
public void setFzzdName(String fzzdName) {this.fzzdName = fzzdName;}
public String getFzzdbh() {return fzzdbh;}
public void setFzzdbh(String fzzdbh) {this.fzzdbh = fzzdbh;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}
轮播图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_lbt")
public class Lbt {
//主键
@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 pic;
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_message")
public class Message {
//主键
@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 messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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_order")
public class Order {
//主键
@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 productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//订单编号
private String orderNum;
//物流信息
private String pl;
//日期
private Date insertDate;
//
private Integer userId;
//
private String orderDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
}
订单详情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_orderlist")
public class Orderlist {
//主键
@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 orderId;
//菜品
private Integer productId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
}
评论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_pinglun")
public class Pinglun {
//主键
@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 wdxxId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
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;}
}
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_pinglun_product")
public class Pinglun_product {
//主键
@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 productId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
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;}
}
医生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_product")
public class Product {
//主键
@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 productName;
//图片1
private String productPic1;
//图片2
private String productPic2;
//图片3
private String productPic3;
//图片4
private String productPic4;
//
private Integer price;
//
private Integer oldPrice;
//主治
private String content;
//
private Integer nums;
//推荐星级
private String tjxj;
//状态
private String status;
//分类
private Integer typesId;
//
private Integer jf;
//
private Integer userId;
//
private Integer bqId;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getBqId() {return bqId;}
public void setBqId(Integer bqId) {this.bqId = bqId;}
}
设备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_sb")
public class Sb {
//主键
@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 sbName;
//部门
private String bm;
//用途
private String yt;
//生产厂家
private String sccj;
//购入日期
private Date showDate;
public String getSbName() {return sbName;}
public void setSbName(String sbName) {this.sbName = sbName;}
public String getBm() {return bm;}
public void setBm(String bm) {this.bm = bm;}
public String getYt() {return yt;}
public void setYt(String yt) {this.yt = yt;}
public String getSccj() {return sccj;}
public void setSccj(String sccj) {this.sccj = sccj;}
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_shopcar")
public class Shopcar {
//主键
@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 productId;
//数量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}
手术室预约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_sss")
public class Sss {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//预约医生
private String v1;
//说明
private String v2;
//手术室备注
private String v3;
//病患名称
private String v4;
//病患身份证
private String v5;
//病因描述
private String v6;
//预约时间
private Date showDate;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public 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_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_user")
public class User {
//主键
@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 gh;
//手机
private String mobile;
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}
我的消息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_wdxx")
public class Wdxx {
//主键
@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 title;
//图片
private String pic;
//内容
private String content;
//赞
private Integer zan;
//发布日期
private Date insertDate;
//游客是否可见
private String nologin;
//
private Integer bkId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Integer getZan() {return zan;}
public void setZan(Integer zan) {this.zan = zan;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getNologin() {return nologin;}
public void setNologin(String nologin) {this.nologin = nologin;}
public Integer getBkId() {return bkId;}
public void setBkId(Integer bkId) {this.bkId = bkId;}
}
药品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_yp")
public class Yp {
//主键
@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 ypName;
//药品编号
private String ypbh;
//图片
private String pic;
//数量
private Integer sl;
//单价
private Integer fee;
public String getYpName() {return ypName;}
public void setYpName(String ypName) {this.ypName = ypName;}
public String getYpbh() {return ypbh;}
public void setYpbh(String ypbh) {this.ypbh = ypbh;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}
问诊信息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 customerId;
//预约日期
private Date yyDate;
//诊断病历内容
private String zd;
//诊断费用
private Integer zdfee;
//药品清单
private String ypqd;
//药品费用
private Integer ypqdfee;
//状态
private String status;
//看病医生
private Integer userId;
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 getZd() {return zd;}
public void setZd(String zd) {this.zd = zd;}
public Integer getZdfee() {return zdfee;}
public void setZdfee(Integer zdfee) {this.zdfee = zdfee;}
public String getYpqd() {return ypqd;}
public void setYpqd(String ypqd) {this.ypqd = ypqd;}
public Integer getYpqdfee() {return ypqdfee;}
public void setYpqdfee(Integer ypqdfee) {this.ypqdfee = ypqdfee;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}
医院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_yyxx")
public class Yyxx {
//主键
@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 content;
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_zj")
public class Zj {
//主键
@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 zjName;
//职称
private String zc;
//照片
private String pic;
//部门
private String bm;
//门诊时间
private String wzsj;
public String getZjName() {return zjName;}
public void setZjName(String zjName) {this.zjName = zjName;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getBm() {return bm;}
public void setBm(String bm) {this.bm = bm;}
public String getWzsj() {return wzsj;}
public void setWzsj(String wzsj) {this.wzsj = wzsj;}
}
资讯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_zx")
public class Zx {
//主键
@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 content;
//图片
private String pic;
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 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_zyjf")
public class Zyjf {
//主键
@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 zybh;
//费用
private Integer fee;
//住院开始日期
private Date beginDate;
//住院结束日期
private Date endDate;
//费用详细说明
private String fyxx;
//手续单
private String pic;
//状态
private String STATUS;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getZybh() {return zybh;}
public void setZybh(String zybh) {this.zybh = zybh;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getFyxx() {return fyxx;}
public void setFyxx(String fyxx) {this.fyxx = fyxx;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getSTATUS() {return STATUS;}
public void setSTATUS(String STATUS) {this.STATUS = STATUS;}
}
基于web的医院信息管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:
分类javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//分类
public class Bk extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类名称
private String bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}
标签javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//标签
public class Bq extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标签
private String bqName;
public String getBqName() {return bqName;}
public void setBqName(String bqName) {this.bqName = bqName;}
}
建议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 customerName;
//性别
private String sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
//
private String ybk;
//
private String age;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getYbk() {return ybk;}
public void setYbk(String ybk) {this.ybk = ybk;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}
辅助诊断javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//辅助诊断
public class Fzzd extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//辅助诊断名称
private String fzzdName;
//功能编号
private String fzzdbh;
//价格
private Integer fee;
public String getFzzdName() {return fzzdName;}
public void setFzzdName(String fzzdName) {this.fzzdName = fzzdName;}
public String getFzzdbh() {return fzzdbh;}
public void setFzzdbh(String fzzdbh) {this.fzzdbh = fzzdbh;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}
轮播图javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//轮播图
public class Lbt extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
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 Message extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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 Order extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//订单详细
private String productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//订单编号
private String orderNum;
//物流信息
private String pl;
//日期
private Date insertDate;
//
private Integer userId;
//
private String orderDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
}
订单详情javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//订单详情
public class Orderlist extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//订单
private Integer orderId;
//菜品
private Integer productId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
}
评论javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//评论
public class Pinglun extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//评论信息
private Integer wdxxId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
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;}
}
javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//
public class Pinglun_product extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//评论信息
private Integer productId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
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;}
}
医生javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//医生
public class Product extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//医生名称
private String productName;
//图片1
private String productPic1;
//图片2
private String productPic2;
//图片3
private String productPic3;
//图片4
private String productPic4;
//
private Integer price;
//
private Integer oldPrice;
//主治
private String content;
//
private Integer nums;
//推荐星级
private String tjxj;
//状态
private String status;
//分类
private Integer typesId;
//
private Integer jf;
//
private Integer userId;
//
private Integer bqId;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getBqId() {return bqId;}
public void setBqId(Integer bqId) {this.bqId = bqId;}
}
设备javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//设备
public class Sb extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//设备
private String sbName;
//部门
private String bm;
//用途
private String yt;
//生产厂家
private String sccj;
//购入日期
private Date showDate;
public String getSbName() {return sbName;}
public void setSbName(String sbName) {this.sbName = sbName;}
public String getBm() {return bm;}
public void setBm(String bm) {this.bm = bm;}
public String getYt() {return yt;}
public void setYt(String yt) {this.yt = yt;}
public String getSccj() {return sccj;}
public void setSccj(String sccj) {this.sccj = sccj;}
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 Shopcar extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//数量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}
手术室预约javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//手术室预约
public class Sss extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//预约医生
private String v1;
//说明
private String v2;
//手术室备注
private String v3;
//病患名称
private String v4;
//病患身份证
private String v5;
//病因描述
private String v6;
//预约时间
private Date showDate;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public 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 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 User 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 gh;
//手机
private String mobile;
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}
我的消息javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//我的消息
public class Wdxx extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//我
private Integer customerId;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//赞
private Integer zan;
//发布日期
private Date insertDate;
//游客是否可见
private String nologin;
//
private Integer bkId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Integer getZan() {return zan;}
public void setZan(Integer zan) {this.zan = zan;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getNologin() {return nologin;}
public void setNologin(String nologin) {this.nologin = nologin;}
public Integer getBkId() {return bkId;}
public void setBkId(Integer bkId) {this.bkId = bkId;}
}
药品javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//药品
public class Yp extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//药品名称
private String ypName;
//药品编号
private String ypbh;
//图片
private String pic;
//数量
private Integer sl;
//单价
private Integer fee;
public String getYpName() {return ypName;}
public void setYpName(String ypName) {this.ypName = ypName;}
public String getYpbh() {return ypbh;}
public void setYpbh(String ypbh) {this.ypbh = ypbh;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}
问诊信息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 customerId;
//预约日期
private Date yyDate;
//诊断病历内容
private String zd;
//诊断费用
private Integer zdfee;
//药品清单
private String ypqd;
//药品费用
private Integer ypqdfee;
//状态
private String status;
//看病医生
private Integer userId;
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 getZd() {return zd;}
public void setZd(String zd) {this.zd = zd;}
public Integer getZdfee() {return zdfee;}
public void setZdfee(Integer zdfee) {this.zdfee = zdfee;}
public String getYpqd() {return ypqd;}
public void setYpqd(String ypqd) {this.ypqd = ypqd;}
public Integer getYpqdfee() {return ypqdfee;}
public void setYpqdfee(Integer ypqdfee) {this.ypqdfee = ypqdfee;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}
医院javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//医院
public class Yyxx extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//医院信息
private String content;
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 Zj extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String zjName;
//职称
private String zc;
//照片
private String pic;
//部门
private String bm;
//门诊时间
private String wzsj;
public String getZjName() {return zjName;}
public void setZjName(String zjName) {this.zjName = zjName;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getBm() {return bm;}
public void setBm(String bm) {this.bm = bm;}
public String getWzsj() {return wzsj;}
public void setWzsj(String wzsj) {this.wzsj = wzsj;}
}
资讯javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//资讯
public class Zx extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
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 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 Zyjf extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//住院编号
private String zybh;
//费用
private Integer fee;
//住院开始日期
private Date beginDate;
//住院结束日期
private Date endDate;
//费用详细说明
private String fyxx;
//手续单
private String pic;
//状态
private String STATUS;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getZybh() {return zybh;}
public void setZybh(String zybh) {this.zybh = zybh;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getFyxx() {return fyxx;}
public void setFyxx(String fyxx) {this.fyxx = fyxx;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getSTATUS() {return STATUS;}
public void setSTATUS(String STATUS) {this.STATUS = STATUS;}
}