Advertisement

学生健康管理系统

阅读量:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
复制代码
    #############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(11) comment '用户',
    	phone varchar(100) comment '联系方式',
    	content text 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(11) comment '账户',
    	jf int(11) comment '积分',
    	headPic varchar(50) comment '头像',
    	xh varchar(50) comment '',
    	zy varchar(50) comment '',
    	zz varchar(50) comment '',
    	status varchar(50) comment ''
    ) comment '客户';
    
    create table t_daka(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	xh varchar(100) comment '学号',
    	insertDate datetime 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 '采集时间内你如果正在被隔离,请填写隔离地的详细地址(没有隔离无需填写)',
    	v7 varchar(100) comment '你是否经相关医疗机构确诊为新冠肺炎、疑似病例',
    	v8 varchar(100) comment '采集时间内你是否进行了核算检测',
    	v9 varchar(100) comment '如果你采集时间内进行了核算检测,请选择核酸检测结果(没有检测不选)',
    	v10 varchar(100) comment '近14天你和家人有误和经常相关医疗机构确诊为新冠肺炎、疑似病例接触史',
    	v11 varchar(100) comment '采集时间内你是否提前返回校区所在地(不含回家)'
    ) comment '健康打卡';
    
    create table t_jiankangnr(
    	id int primary key auto_increment comment '主键',
    	productName varchar(100) comment '名称',
    	productPic1 varchar(100) comment '图片',
    	productPic2 varchar(100) comment '图片2',
    	productPic3 varchar(100) comment '图片3',
    	productPic4 varchar(100) comment '图片4',
    	price int(11) comment '',
    	oldPrice int(11) comment '',
    	content longtext comment '内容',
    	nums int(11) comment '',
    	tjxj varchar(50) comment '',
    	status varchar(50) comment '状态',
    	typesId int(11) comment '分类',
    	jf int(11) comment '',
    	userId int(11) comment '',
    	bqId int(11) comment '标签',
    	djl int(11) comment '点击量',
    	v1 varchar(1000) comment '',
    	v2 varchar(1000) comment '',
    	v3 varchar(1000) comment ''
    ) comment '展示咨询';
    
    create table t_jiankangnrclick(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '资讯',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '资讯点击';
    
    create table t_lbt(
    	id int primary key auto_increment comment '主键',
    	pic varchar(100) comment '图片',
    	url varchar(1000) comment ''
    ) comment '轮播图';
    
    create table t_liaotian(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	toId int(11) comment '用户',
    	content text comment '内容',
    	insertDate datetime comment '日期',
    	batchNum varchar(100) comment '批次',
    	fq int(11) comment ''
    ) comment '聊天';
    
    create table t_pf(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	userId int(11) comment '医生',
    	pf int(11) comment '评分',
    	insertDate datetime comment '日期'
    ) comment '评分';
    
    create table t_pinglun(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '评论';
    
    create table t_pinglun_jk(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '健康留言';
    
    create table t_pinglun_ys(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	userId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '';
    
    create table t_qj(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	showDate datetime comment '请假开始日期',
    	endDate datetime comment '请假结束日期',
    	content text comment '请假说明',
    	insertDate datetime comment '发起日期',
    	back text comment '回复',
    	status varchar(100) comment '状态'
    ) comment '请假';
    
    create table t_shoucang(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	productId int(11) comment '咨询',
    	insertDate datetime comment '日期'
    ) comment '收藏';
    
    create table t_types(
    	id int primary key auto_increment comment '主键',
    	typesName varchar(1000) comment '分类'
    ) comment '分类';
    
    create table t_wdxx(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '我',
    	title varchar(100) comment '标题',
    	pic varchar(100) comment '图片',
    	content text comment '内容',
    	zan int(11) comment '赞',
    	insertDate datetime comment '发布日期',
    	nologin varchar(50) comment '游客是否可见',
    	bkId int(11) comment ''
    ) comment '我的消息';
    
    create table t_xiaoxi(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	title varchar(100) comment '标题',
    	content text comment '内容',
    	insertDate datetime comment '日期'
    ) comment '消息';
    
    create table t_xinwendt(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '标题',
    	content longtext comment '内容',
    	pic varchar(100) comment '图片'
    ) comment '新闻动态';
    
    create table t_zixunshi(
    	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 '手机',
    	headPic varchar(100) comment '头像',
    	zz varchar(100) comment '营业执照',
    	status varchar(100) comment '状态',
    	pf int(11) comment ''
    ) comment '医生';
    
    
    
    
    #############oracle数据库创建语句###################
    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(11) comment '用户',
    	phone varchar(100) comment '联系方式',
    	content text 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(11) comment '账户',
    	jf int(11) comment '积分',
    	headPic varchar(50) comment '头像',
    	xh varchar(50) comment '',
    	zy varchar(50) comment '',
    	zz varchar(50) comment '',
    	status varchar(50) comment ''
    ) comment '客户';
    
    create table t_daka(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	xh varchar(100) comment '学号',
    	insertDate datetime 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 '采集时间内你如果正在被隔离,请填写隔离地的详细地址(没有隔离无需填写)',
    	v7 varchar(100) comment '你是否经相关医疗机构确诊为新冠肺炎、疑似病例',
    	v8 varchar(100) comment '采集时间内你是否进行了核算检测',
    	v9 varchar(100) comment '如果你采集时间内进行了核算检测,请选择核酸检测结果(没有检测不选)',
    	v10 varchar(100) comment '近14天你和家人有误和经常相关医疗机构确诊为新冠肺炎、疑似病例接触史',
    	v11 varchar(100) comment '采集时间内你是否提前返回校区所在地(不含回家)'
    ) comment '健康打卡';
    
    create table t_jiankangnr(
    	id int primary key auto_increment comment '主键',
    	productName varchar(100) comment '名称',
    	productPic1 varchar(100) comment '图片',
    	productPic2 varchar(100) comment '图片2',
    	productPic3 varchar(100) comment '图片3',
    	productPic4 varchar(100) comment '图片4',
    	price int(11) comment '',
    	oldPrice int(11) comment '',
    	content longtext comment '内容',
    	nums int(11) comment '',
    	tjxj varchar(50) comment '',
    	status varchar(50) comment '状态',
    	typesId int(11) comment '分类',
    	jf int(11) comment '',
    	userId int(11) comment '',
    	bqId int(11) comment '标签',
    	djl int(11) comment '点击量',
    	v1 varchar(1000) comment '',
    	v2 varchar(1000) comment '',
    	v3 varchar(1000) comment ''
    ) comment '展示咨询';
    
    create table t_jiankangnrclick(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '资讯',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '资讯点击';
    
    create table t_lbt(
    	id int primary key auto_increment comment '主键',
    	pic varchar(100) comment '图片',
    	url varchar(1000) comment ''
    ) comment '轮播图';
    
    create table t_liaotian(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	toId int(11) comment '用户',
    	content text comment '内容',
    	insertDate datetime comment '日期',
    	batchNum varchar(100) comment '批次',
    	fq int(11) comment ''
    ) comment '聊天';
    
    create table t_pf(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	userId int(11) comment '医生',
    	pf int(11) comment '评分',
    	insertDate datetime comment '日期'
    ) comment '评分';
    
    create table t_pinglun(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '评论';
    
    create table t_pinglun_jk(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '健康留言';
    
    create table t_pinglun_ys(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	userId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '';
    
    create table t_qj(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	showDate datetime comment '请假开始日期',
    	endDate datetime comment '请假结束日期',
    	content text comment '请假说明',
    	insertDate datetime comment '发起日期',
    	back text comment '回复',
    	status varchar(100) comment '状态'
    ) comment '请假';
    
    create table t_shoucang(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	productId int(11) comment '咨询',
    	insertDate datetime comment '日期'
    ) comment '收藏';
    
    create table t_types(
    	id int primary key auto_increment comment '主键',
    	typesName varchar(1000) comment '分类'
    ) comment '分类';
    
    create table t_wdxx(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '我',
    	title varchar(100) comment '标题',
    	pic varchar(100) comment '图片',
    	content text comment '内容',
    	zan int(11) comment '赞',
    	insertDate datetime comment '发布日期',
    	nologin varchar(50) comment '游客是否可见',
    	bkId int(11) comment ''
    ) comment '我的消息';
    
    create table t_xiaoxi(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	title varchar(100) comment '标题',
    	content text comment '内容',
    	insertDate datetime comment '日期'
    ) comment '消息';
    
    create table t_xinwendt(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '标题',
    	content longtext comment '内容',
    	pic varchar(100) comment '图片'
    ) comment '新闻动态';
    
    create table t_zixunshi(
    	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 '手机',
    	headPic varchar(100) comment '头像',
    	zz varchar(100) comment '营业执照',
    	status varchar(100) comment '状态',
    	pf int(11) comment ''
    ) comment '医生';
    
    create table t_contact(
    	id integer,
    	customerId int(11),
    	phone varchar(100),
    	content text,
    	insertDate datetime
    );
    --建议字段加注释
    comment on column t_contact.id is '主键';
    comment on column t_contact.id is '主键唯一ID';
    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(11),
    	jf int(11),
    	headPic varchar(50),
    	xh varchar(50),
    	zy varchar(50),
    	zz varchar(50),
    	status varchar(50)
    );
    --客户字段加注释
    comment on column t_customer.id is '主键';
    comment on column t_customer.id is '主键唯一ID';
    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.headPic is '头像';
    comment on column t_customer.xh is '';
    comment on column t_customer.zy is '';
    comment on column t_customer.zz is '';
    comment on column t_customer.status is '';
    --客户表加注释
    comment on table t_customer is '客户';
    
    create table t_daka(
    	id integer,
    	customerId int(11),
    	xh varchar(100),
    	insertDate datetime,
    	v1 varchar(100),
    	v2 varchar(100),
    	v3 varchar(100),
    	v4 varchar(100),
    	v5 varchar(100),
    	v6 varchar(100),
    	v7 varchar(100),
    	v8 varchar(100),
    	v9 varchar(100),
    	v10 varchar(100),
    	v11 varchar(100)
    );
    --健康打卡字段加注释
    comment on column t_daka.id is '主键';
    comment on column t_daka.id is '主键唯一ID';
    comment on column t_daka.customerId is '用户';
    comment on column t_daka.xh is '学号';
    comment on column t_daka.insertDate is '打卡日期';
    comment on column t_daka.v1 is '采集时间内体温';
    comment on column t_daka.v2 is '采集时间内的居住地/滞留地';
    comment on column t_daka.v3 is '请填写采集时间内的居住地/滞留地详细地址';
    comment on column t_daka.v4 is '采集时间内是否有位置发生变化';
    comment on column t_daka.v5 is '采集时间内你是否正在被隔离';
    comment on column t_daka.v6 is '采集时间内你如果正在被隔离,请填写隔离地的详细地址(没有隔离无需填写)';
    comment on column t_daka.v7 is '你是否经相关医疗机构确诊为新冠肺炎、疑似病例';
    comment on column t_daka.v8 is '采集时间内你是否进行了核算检测';
    comment on column t_daka.v9 is '如果你采集时间内进行了核算检测,请选择核酸检测结果(没有检测不选)';
    comment on column t_daka.v10 is '近14天你和家人有误和经常相关医疗机构确诊为新冠肺炎、疑似病例接触史';
    comment on column t_daka.v11 is '采集时间内你是否提前返回校区所在地(不含回家)';
    --健康打卡表加注释
    comment on table t_daka is '健康打卡';
    
    create table t_jiankangnr(
    	id integer,
    	productName varchar(100),
    	productPic1 varchar(100),
    	productPic2 varchar(100),
    	productPic3 varchar(100),
    	productPic4 varchar(100),
    	price int(11),
    	oldPrice int(11),
    	content longtext,
    	nums int(11),
    	tjxj varchar(50),
    	status varchar(50),
    	typesId int(11),
    	jf int(11),
    	userId int(11),
    	bqId int(11),
    	djl int(11),
    	v1 varchar(1000),
    	v2 varchar(1000),
    	v3 varchar(1000)
    );
    --展示咨询字段加注释
    comment on column t_jiankangnr.id is '主键';
    comment on column t_jiankangnr.id is '主键唯一ID';
    comment on column t_jiankangnr.productName is '名称';
    comment on column t_jiankangnr.productPic1 is '图片';
    comment on column t_jiankangnr.productPic2 is '图片2';
    comment on column t_jiankangnr.productPic3 is '图片3';
    comment on column t_jiankangnr.productPic4 is '图片4';
    comment on column t_jiankangnr.price is '';
    comment on column t_jiankangnr.oldPrice is '';
    comment on column t_jiankangnr.content is '内容';
    comment on column t_jiankangnr.nums is '';
    comment on column t_jiankangnr.tjxj is '';
    comment on column t_jiankangnr.status is '状态';
    comment on column t_jiankangnr.typesId is '分类';
    comment on column t_jiankangnr.jf is '';
    comment on column t_jiankangnr.userId is '';
    comment on column t_jiankangnr.bqId is '标签';
    comment on column t_jiankangnr.djl is '点击量';
    comment on column t_jiankangnr.v1 is '';
    comment on column t_jiankangnr.v2 is '';
    comment on column t_jiankangnr.v3 is '';
    --展示咨询表加注释
    comment on table t_jiankangnr is '展示咨询';
    
    create table t_jiankangnrclick(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	insertDate datetime
    );
    --资讯点击字段加注释
    comment on column t_jiankangnrclick.id is '主键';
    comment on column t_jiankangnrclick.id is '主键唯一ID';
    comment on column t_jiankangnrclick.productId is '资讯';
    comment on column t_jiankangnrclick.customerId is '用户';
    comment on column t_jiankangnrclick.insertDate is '日期';
    --资讯点击表加注释
    comment on table t_jiankangnrclick is '资讯点击';
    
    create table t_lbt(
    	id integer,
    	pic varchar(100),
    	url varchar(1000)
    );
    --轮播图字段加注释
    comment on column t_lbt.id is '主键';
    comment on column t_lbt.id is '主键唯一ID';
    comment on column t_lbt.pic is '图片';
    comment on column t_lbt.url is '';
    --轮播图表加注释
    comment on table t_lbt is '轮播图';
    
    create table t_liaotian(
    	id integer,
    	customerId int(11),
    	toId int(11),
    	content text,
    	insertDate datetime,
    	batchNum varchar(100),
    	fq int(11)
    );
    --聊天字段加注释
    comment on column t_liaotian.id is '主键';
    comment on column t_liaotian.id is '主键唯一ID';
    comment on column t_liaotian.customerId is '用户';
    comment on column t_liaotian.toId is '用户';
    comment on column t_liaotian.content is '内容';
    comment on column t_liaotian.insertDate is '日期';
    comment on column t_liaotian.batchNum is '批次';
    comment on column t_liaotian.fq is '';
    --聊天表加注释
    comment on table t_liaotian is '聊天';
    
    create table t_pf(
    	id integer,
    	customerId int(11),
    	userId int(11),
    	pf int(11),
    	insertDate datetime
    );
    --评分字段加注释
    comment on column t_pf.id is '主键';
    comment on column t_pf.id is '主键唯一ID';
    comment on column t_pf.customerId is '用户';
    comment on column t_pf.userId is '医生';
    comment on column t_pf.pf is '评分';
    comment on column t_pf.insertDate is '日期';
    --评分表加注释
    comment on table t_pf is '评分';
    
    create table t_pinglun(
    	id integer,
    	wdxxId int(11),
    	customerId int(11),
    	content text,
    	insertDate datetime
    );
    --评论字段加注释
    comment on column t_pinglun.id is '主键';
    comment on column t_pinglun.id is '主键唯一ID';
    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_jk(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	content text,
    	insertDate datetime
    );
    --健康留言字段加注释
    comment on column t_pinglun_jk.id is '主键';
    comment on column t_pinglun_jk.id is '主键唯一ID';
    comment on column t_pinglun_jk.productId is '评论信息';
    comment on column t_pinglun_jk.customerId is '评论人';
    comment on column t_pinglun_jk.content is '评论内容';
    comment on column t_pinglun_jk.insertDate is '评论日期';
    --健康留言表加注释
    comment on table t_pinglun_jk is '健康留言';
    
    create table t_pinglun_ys(
    	id integer,
    	wdxxId int(11),
    	userId int(11),
    	content text,
    	insertDate datetime
    );
    --字段加注释
    comment on column t_pinglun_ys.id is '主键';
    comment on column t_pinglun_ys.id is '主键唯一ID';
    comment on column t_pinglun_ys.wdxxId is '评论信息';
    comment on column t_pinglun_ys.userId is '评论人';
    comment on column t_pinglun_ys.content is '评论内容';
    comment on column t_pinglun_ys.insertDate is '评论日期';
    --表加注释
    comment on table t_pinglun_ys is '';
    
    create table t_qj(
    	id integer,
    	customerId int(11),
    	showDate datetime,
    	endDate datetime,
    	content text,
    	insertDate datetime,
    	back text,
    	status varchar(100)
    );
    --请假字段加注释
    comment on column t_qj.id is '主键';
    comment on column t_qj.id is '主键唯一ID';
    comment on column t_qj.customerId is '用户';
    comment on column t_qj.showDate is '请假开始日期';
    comment on column t_qj.endDate is '请假结束日期';
    comment on column t_qj.content is '请假说明';
    comment on column t_qj.insertDate is '发起日期';
    comment on column t_qj.back is '回复';
    comment on column t_qj.status is '状态';
    --请假表加注释
    comment on table t_qj is '请假';
    
    create table t_shoucang(
    	id integer,
    	customerId int(11),
    	productId int(11),
    	insertDate datetime
    );
    --收藏字段加注释
    comment on column t_shoucang.id is '主键';
    comment on column t_shoucang.id is '主键唯一ID';
    comment on column t_shoucang.customerId is '用户';
    comment on column t_shoucang.productId is '咨询';
    comment on column t_shoucang.insertDate is '日期';
    --收藏表加注释
    comment on table t_shoucang is '收藏';
    
    create table t_types(
    	id integer,
    	typesName varchar(1000)
    );
    --分类字段加注释
    comment on column t_types.id is '主键';
    comment on column t_types.id is '主键唯一ID';
    comment on column t_types.typesName is '分类';
    --分类表加注释
    comment on table t_types is '分类';
    
    create table t_wdxx(
    	id integer,
    	customerId int(11),
    	title varchar(100),
    	pic varchar(100),
    	content text,
    	zan int(11),
    	insertDate datetime,
    	nologin varchar(50),
    	bkId int(11)
    );
    --我的消息字段加注释
    comment on column t_wdxx.id is '主键';
    comment on column t_wdxx.id is '主键唯一ID';
    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_xiaoxi(
    	id integer,
    	customerId int(11),
    	title varchar(100),
    	content text,
    	insertDate datetime
    );
    --消息字段加注释
    comment on column t_xiaoxi.id is '主键';
    comment on column t_xiaoxi.id is '主键唯一ID';
    comment on column t_xiaoxi.customerId is '用户';
    comment on column t_xiaoxi.title is '标题';
    comment on column t_xiaoxi.content is '内容';
    comment on column t_xiaoxi.insertDate is '日期';
    --消息表加注释
    comment on table t_xiaoxi is '消息';
    
    create table t_xinwendt(
    	id integer,
    	title varchar(100),
    	content longtext,
    	pic varchar(100)
    );
    --新闻动态字段加注释
    comment on column t_xinwendt.id is '主键';
    comment on column t_xinwendt.id is '主键唯一ID';
    comment on column t_xinwendt.title is '标题';
    comment on column t_xinwendt.content is '内容';
    comment on column t_xinwendt.pic is '图片';
    --新闻动态表加注释
    comment on table t_xinwendt is '新闻动态';
    
    create table t_zixunshi(
    	id integer,
    	username varchar(100),
    	password varchar(100),
    	name varchar(100),
    	gh varchar(100),
    	mobile varchar(100),
    	headPic varchar(100),
    	zz varchar(100),
    	status varchar(100),
    	pf int(11)
    );
    --医生字段加注释
    comment on column t_zixunshi.id is '主键';
    comment on column t_zixunshi.id is '主键唯一ID';
    comment on column t_zixunshi.username is '账号';
    comment on column t_zixunshi.password is '密码';
    comment on column t_zixunshi.name is '姓名';
    comment on column t_zixunshi.gh is '工号';
    comment on column t_zixunshi.mobile is '手机';
    comment on column t_zixunshi.headPic is '头像';
    comment on column t_zixunshi.zz is '营业执照';
    comment on column t_zixunshi.status is '状态';
    comment on column t_zixunshi.pf is '';
    --医生表加注释
    comment on table t_zixunshi is '医生';
    
    
    
    
    #############sqlserver数据库创建语句###################
    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(11) comment '用户',
    	phone varchar(100) comment '联系方式',
    	content text 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(11) comment '账户',
    	jf int(11) comment '积分',
    	headPic varchar(50) comment '头像',
    	xh varchar(50) comment '',
    	zy varchar(50) comment '',
    	zz varchar(50) comment '',
    	status varchar(50) comment ''
    ) comment '客户';
    
    create table t_daka(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	xh varchar(100) comment '学号',
    	insertDate datetime 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 '采集时间内你如果正在被隔离,请填写隔离地的详细地址(没有隔离无需填写)',
    	v7 varchar(100) comment '你是否经相关医疗机构确诊为新冠肺炎、疑似病例',
    	v8 varchar(100) comment '采集时间内你是否进行了核算检测',
    	v9 varchar(100) comment '如果你采集时间内进行了核算检测,请选择核酸检测结果(没有检测不选)',
    	v10 varchar(100) comment '近14天你和家人有误和经常相关医疗机构确诊为新冠肺炎、疑似病例接触史',
    	v11 varchar(100) comment '采集时间内你是否提前返回校区所在地(不含回家)'
    ) comment '健康打卡';
    
    create table t_jiankangnr(
    	id int primary key auto_increment comment '主键',
    	productName varchar(100) comment '名称',
    	productPic1 varchar(100) comment '图片',
    	productPic2 varchar(100) comment '图片2',
    	productPic3 varchar(100) comment '图片3',
    	productPic4 varchar(100) comment '图片4',
    	price int(11) comment '',
    	oldPrice int(11) comment '',
    	content longtext comment '内容',
    	nums int(11) comment '',
    	tjxj varchar(50) comment '',
    	status varchar(50) comment '状态',
    	typesId int(11) comment '分类',
    	jf int(11) comment '',
    	userId int(11) comment '',
    	bqId int(11) comment '标签',
    	djl int(11) comment '点击量',
    	v1 varchar(1000) comment '',
    	v2 varchar(1000) comment '',
    	v3 varchar(1000) comment ''
    ) comment '展示咨询';
    
    create table t_jiankangnrclick(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '资讯',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '资讯点击';
    
    create table t_lbt(
    	id int primary key auto_increment comment '主键',
    	pic varchar(100) comment '图片',
    	url varchar(1000) comment ''
    ) comment '轮播图';
    
    create table t_liaotian(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	toId int(11) comment '用户',
    	content text comment '内容',
    	insertDate datetime comment '日期',
    	batchNum varchar(100) comment '批次',
    	fq int(11) comment ''
    ) comment '聊天';
    
    create table t_pf(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	userId int(11) comment '医生',
    	pf int(11) comment '评分',
    	insertDate datetime comment '日期'
    ) comment '评分';
    
    create table t_pinglun(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '评论';
    
    create table t_pinglun_jk(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '健康留言';
    
    create table t_pinglun_ys(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	userId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '';
    
    create table t_qj(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	showDate datetime comment '请假开始日期',
    	endDate datetime comment '请假结束日期',
    	content text comment '请假说明',
    	insertDate datetime comment '发起日期',
    	back text comment '回复',
    	status varchar(100) comment '状态'
    ) comment '请假';
    
    create table t_shoucang(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	productId int(11) comment '咨询',
    	insertDate datetime comment '日期'
    ) comment '收藏';
    
    create table t_types(
    	id int primary key auto_increment comment '主键',
    	typesName varchar(1000) comment '分类'
    ) comment '分类';
    
    create table t_wdxx(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '我',
    	title varchar(100) comment '标题',
    	pic varchar(100) comment '图片',
    	content text comment '内容',
    	zan int(11) comment '赞',
    	insertDate datetime comment '发布日期',
    	nologin varchar(50) comment '游客是否可见',
    	bkId int(11) comment ''
    ) comment '我的消息';
    
    create table t_xiaoxi(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	title varchar(100) comment '标题',
    	content text comment '内容',
    	insertDate datetime comment '日期'
    ) comment '消息';
    
    create table t_xinwendt(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '标题',
    	content longtext comment '内容',
    	pic varchar(100) comment '图片'
    ) comment '新闻动态';
    
    create table t_zixunshi(
    	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 '手机',
    	headPic varchar(100) comment '头像',
    	zz varchar(100) comment '营业执照',
    	status varchar(100) comment '状态',
    	pf int(11) comment ''
    ) comment '医生';
    
    create table t_contact(
    	id integer,
    	customerId int(11),
    	phone varchar(100),
    	content text,
    	insertDate datetime
    );
    --建议字段加注释
    comment on column t_contact.id is '主键';
    comment on column t_contact.id is '主键唯一ID';
    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(11),
    	jf int(11),
    	headPic varchar(50),
    	xh varchar(50),
    	zy varchar(50),
    	zz varchar(50),
    	status varchar(50)
    );
    --客户字段加注释
    comment on column t_customer.id is '主键';
    comment on column t_customer.id is '主键唯一ID';
    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.headPic is '头像';
    comment on column t_customer.xh is '';
    comment on column t_customer.zy is '';
    comment on column t_customer.zz is '';
    comment on column t_customer.status is '';
    --客户表加注释
    comment on table t_customer is '客户';
    
    create table t_daka(
    	id integer,
    	customerId int(11),
    	xh varchar(100),
    	insertDate datetime,
    	v1 varchar(100),
    	v2 varchar(100),
    	v3 varchar(100),
    	v4 varchar(100),
    	v5 varchar(100),
    	v6 varchar(100),
    	v7 varchar(100),
    	v8 varchar(100),
    	v9 varchar(100),
    	v10 varchar(100),
    	v11 varchar(100)
    );
    --健康打卡字段加注释
    comment on column t_daka.id is '主键';
    comment on column t_daka.id is '主键唯一ID';
    comment on column t_daka.customerId is '用户';
    comment on column t_daka.xh is '学号';
    comment on column t_daka.insertDate is '打卡日期';
    comment on column t_daka.v1 is '采集时间内体温';
    comment on column t_daka.v2 is '采集时间内的居住地/滞留地';
    comment on column t_daka.v3 is '请填写采集时间内的居住地/滞留地详细地址';
    comment on column t_daka.v4 is '采集时间内是否有位置发生变化';
    comment on column t_daka.v5 is '采集时间内你是否正在被隔离';
    comment on column t_daka.v6 is '采集时间内你如果正在被隔离,请填写隔离地的详细地址(没有隔离无需填写)';
    comment on column t_daka.v7 is '你是否经相关医疗机构确诊为新冠肺炎、疑似病例';
    comment on column t_daka.v8 is '采集时间内你是否进行了核算检测';
    comment on column t_daka.v9 is '如果你采集时间内进行了核算检测,请选择核酸检测结果(没有检测不选)';
    comment on column t_daka.v10 is '近14天你和家人有误和经常相关医疗机构确诊为新冠肺炎、疑似病例接触史';
    comment on column t_daka.v11 is '采集时间内你是否提前返回校区所在地(不含回家)';
    --健康打卡表加注释
    comment on table t_daka is '健康打卡';
    
    create table t_jiankangnr(
    	id integer,
    	productName varchar(100),
    	productPic1 varchar(100),
    	productPic2 varchar(100),
    	productPic3 varchar(100),
    	productPic4 varchar(100),
    	price int(11),
    	oldPrice int(11),
    	content longtext,
    	nums int(11),
    	tjxj varchar(50),
    	status varchar(50),
    	typesId int(11),
    	jf int(11),
    	userId int(11),
    	bqId int(11),
    	djl int(11),
    	v1 varchar(1000),
    	v2 varchar(1000),
    	v3 varchar(1000)
    );
    --展示咨询字段加注释
    comment on column t_jiankangnr.id is '主键';
    comment on column t_jiankangnr.id is '主键唯一ID';
    comment on column t_jiankangnr.productName is '名称';
    comment on column t_jiankangnr.productPic1 is '图片';
    comment on column t_jiankangnr.productPic2 is '图片2';
    comment on column t_jiankangnr.productPic3 is '图片3';
    comment on column t_jiankangnr.productPic4 is '图片4';
    comment on column t_jiankangnr.price is '';
    comment on column t_jiankangnr.oldPrice is '';
    comment on column t_jiankangnr.content is '内容';
    comment on column t_jiankangnr.nums is '';
    comment on column t_jiankangnr.tjxj is '';
    comment on column t_jiankangnr.status is '状态';
    comment on column t_jiankangnr.typesId is '分类';
    comment on column t_jiankangnr.jf is '';
    comment on column t_jiankangnr.userId is '';
    comment on column t_jiankangnr.bqId is '标签';
    comment on column t_jiankangnr.djl is '点击量';
    comment on column t_jiankangnr.v1 is '';
    comment on column t_jiankangnr.v2 is '';
    comment on column t_jiankangnr.v3 is '';
    --展示咨询表加注释
    comment on table t_jiankangnr is '展示咨询';
    
    create table t_jiankangnrclick(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	insertDate datetime
    );
    --资讯点击字段加注释
    comment on column t_jiankangnrclick.id is '主键';
    comment on column t_jiankangnrclick.id is '主键唯一ID';
    comment on column t_jiankangnrclick.productId is '资讯';
    comment on column t_jiankangnrclick.customerId is '用户';
    comment on column t_jiankangnrclick.insertDate is '日期';
    --资讯点击表加注释
    comment on table t_jiankangnrclick is '资讯点击';
    
    create table t_lbt(
    	id integer,
    	pic varchar(100),
    	url varchar(1000)
    );
    --轮播图字段加注释
    comment on column t_lbt.id is '主键';
    comment on column t_lbt.id is '主键唯一ID';
    comment on column t_lbt.pic is '图片';
    comment on column t_lbt.url is '';
    --轮播图表加注释
    comment on table t_lbt is '轮播图';
    
    create table t_liaotian(
    	id integer,
    	customerId int(11),
    	toId int(11),
    	content text,
    	insertDate datetime,
    	batchNum varchar(100),
    	fq int(11)
    );
    --聊天字段加注释
    comment on column t_liaotian.id is '主键';
    comment on column t_liaotian.id is '主键唯一ID';
    comment on column t_liaotian.customerId is '用户';
    comment on column t_liaotian.toId is '用户';
    comment on column t_liaotian.content is '内容';
    comment on column t_liaotian.insertDate is '日期';
    comment on column t_liaotian.batchNum is '批次';
    comment on column t_liaotian.fq is '';
    --聊天表加注释
    comment on table t_liaotian is '聊天';
    
    create table t_pf(
    	id integer,
    	customerId int(11),
    	userId int(11),
    	pf int(11),
    	insertDate datetime
    );
    --评分字段加注释
    comment on column t_pf.id is '主键';
    comment on column t_pf.id is '主键唯一ID';
    comment on column t_pf.customerId is '用户';
    comment on column t_pf.userId is '医生';
    comment on column t_pf.pf is '评分';
    comment on column t_pf.insertDate is '日期';
    --评分表加注释
    comment on table t_pf is '评分';
    
    create table t_pinglun(
    	id integer,
    	wdxxId int(11),
    	customerId int(11),
    	content text,
    	insertDate datetime
    );
    --评论字段加注释
    comment on column t_pinglun.id is '主键';
    comment on column t_pinglun.id is '主键唯一ID';
    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_jk(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	content text,
    	insertDate datetime
    );
    --健康留言字段加注释
    comment on column t_pinglun_jk.id is '主键';
    comment on column t_pinglun_jk.id is '主键唯一ID';
    comment on column t_pinglun_jk.productId is '评论信息';
    comment on column t_pinglun_jk.customerId is '评论人';
    comment on column t_pinglun_jk.content is '评论内容';
    comment on column t_pinglun_jk.insertDate is '评论日期';
    --健康留言表加注释
    comment on table t_pinglun_jk is '健康留言';
    
    create table t_pinglun_ys(
    	id integer,
    	wdxxId int(11),
    	userId int(11),
    	content text,
    	insertDate datetime
    );
    --字段加注释
    comment on column t_pinglun_ys.id is '主键';
    comment on column t_pinglun_ys.id is '主键唯一ID';
    comment on column t_pinglun_ys.wdxxId is '评论信息';
    comment on column t_pinglun_ys.userId is '评论人';
    comment on column t_pinglun_ys.content is '评论内容';
    comment on column t_pinglun_ys.insertDate is '评论日期';
    --表加注释
    comment on table t_pinglun_ys is '';
    
    create table t_qj(
    	id integer,
    	customerId int(11),
    	showDate datetime,
    	endDate datetime,
    	content text,
    	insertDate datetime,
    	back text,
    	status varchar(100)
    );
    --请假字段加注释
    comment on column t_qj.id is '主键';
    comment on column t_qj.id is '主键唯一ID';
    comment on column t_qj.customerId is '用户';
    comment on column t_qj.showDate is '请假开始日期';
    comment on column t_qj.endDate is '请假结束日期';
    comment on column t_qj.content is '请假说明';
    comment on column t_qj.insertDate is '发起日期';
    comment on column t_qj.back is '回复';
    comment on column t_qj.status is '状态';
    --请假表加注释
    comment on table t_qj is '请假';
    
    create table t_shoucang(
    	id integer,
    	customerId int(11),
    	productId int(11),
    	insertDate datetime
    );
    --收藏字段加注释
    comment on column t_shoucang.id is '主键';
    comment on column t_shoucang.id is '主键唯一ID';
    comment on column t_shoucang.customerId is '用户';
    comment on column t_shoucang.productId is '咨询';
    comment on column t_shoucang.insertDate is '日期';
    --收藏表加注释
    comment on table t_shoucang is '收藏';
    
    create table t_types(
    	id integer,
    	typesName varchar(1000)
    );
    --分类字段加注释
    comment on column t_types.id is '主键';
    comment on column t_types.id is '主键唯一ID';
    comment on column t_types.typesName is '分类';
    --分类表加注释
    comment on table t_types is '分类';
    
    create table t_wdxx(
    	id integer,
    	customerId int(11),
    	title varchar(100),
    	pic varchar(100),
    	content text,
    	zan int(11),
    	insertDate datetime,
    	nologin varchar(50),
    	bkId int(11)
    );
    --我的消息字段加注释
    comment on column t_wdxx.id is '主键';
    comment on column t_wdxx.id is '主键唯一ID';
    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_xiaoxi(
    	id integer,
    	customerId int(11),
    	title varchar(100),
    	content text,
    	insertDate datetime
    );
    --消息字段加注释
    comment on column t_xiaoxi.id is '主键';
    comment on column t_xiaoxi.id is '主键唯一ID';
    comment on column t_xiaoxi.customerId is '用户';
    comment on column t_xiaoxi.title is '标题';
    comment on column t_xiaoxi.content is '内容';
    comment on column t_xiaoxi.insertDate is '日期';
    --消息表加注释
    comment on table t_xiaoxi is '消息';
    
    create table t_xinwendt(
    	id integer,
    	title varchar(100),
    	content longtext,
    	pic varchar(100)
    );
    --新闻动态字段加注释
    comment on column t_xinwendt.id is '主键';
    comment on column t_xinwendt.id is '主键唯一ID';
    comment on column t_xinwendt.title is '标题';
    comment on column t_xinwendt.content is '内容';
    comment on column t_xinwendt.pic is '图片';
    --新闻动态表加注释
    comment on table t_xinwendt is '新闻动态';
    
    create table t_zixunshi(
    	id integer,
    	username varchar(100),
    	password varchar(100),
    	name varchar(100),
    	gh varchar(100),
    	mobile varchar(100),
    	headPic varchar(100),
    	zz varchar(100),
    	status varchar(100),
    	pf int(11)
    );
    --医生字段加注释
    comment on column t_zixunshi.id is '主键';
    comment on column t_zixunshi.id is '主键唯一ID';
    comment on column t_zixunshi.username is '账号';
    comment on column t_zixunshi.password is '密码';
    comment on column t_zixunshi.name is '姓名';
    comment on column t_zixunshi.gh is '工号';
    comment on column t_zixunshi.mobile is '手机';
    comment on column t_zixunshi.headPic is '头像';
    comment on column t_zixunshi.zz is '营业执照';
    comment on column t_zixunshi.status is '状态';
    comment on column t_zixunshi.pf is '';
    --医生表加注释
    comment on table t_zixunshi is '医生';
    
    --建议表注释
    create table t_contact(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	phone varchar(100),--联系方式
    	content text,--内容
    	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(11),--账户
    	jf int(11),--积分
    	headPic varchar(50),--头像
    	xh varchar(50),--
    	zy varchar(50),--
    	zz varchar(50),--
    	status varchar(50)--
    );
    
    --健康打卡表注释
    create table t_daka(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	xh varchar(100),--学号
    	insertDate datetime,--打卡日期
    	v1 varchar(100),--采集时间内体温
    	v2 varchar(100),--采集时间内的居住地/滞留地
    	v3 varchar(100),--请填写采集时间内的居住地/滞留地详细地址
    	v4 varchar(100),--采集时间内是否有位置发生变化
    	v5 varchar(100),--采集时间内你是否正在被隔离
    	v6 varchar(100),--采集时间内你如果正在被隔离,请填写隔离地的详细地址(没有隔离无需填写)
    	v7 varchar(100),--你是否经相关医疗机构确诊为新冠肺炎、疑似病例
    	v8 varchar(100),--采集时间内你是否进行了核算检测
    	v9 varchar(100),--如果你采集时间内进行了核算检测,请选择核酸检测结果(没有检测不选)
    	v10 varchar(100),--近14天你和家人有误和经常相关医疗机构确诊为新冠肺炎、疑似病例接触史
    	v11 varchar(100)--采集时间内你是否提前返回校区所在地(不含回家)
    );
    
    --展示咨询表注释
    create table t_jiankangnr(
    	id int identity(1,1) primary key not null,--主键
    	productName varchar(100),--名称
    	productPic1 varchar(100),--图片
    	productPic2 varchar(100),--图片2
    	productPic3 varchar(100),--图片3
    	productPic4 varchar(100),--图片4
    	price int(11),--
    	oldPrice int(11),--
    	content longtext,--内容
    	nums int(11),--
    	tjxj varchar(50),--
    	status varchar(50),--状态
    	typesId int(11),--分类
    	jf int(11),--
    	userId int(11),--
    	bqId int(11),--标签
    	djl int(11),--点击量
    	v1 varchar(1000),--
    	v2 varchar(1000),--
    	v3 varchar(1000)--
    );
    
    --资讯点击表注释
    create table t_jiankangnrclick(
    	id int identity(1,1) primary key not null,--主键
    	productId int(11),--资讯
    	customerId int(11),--用户
    	insertDate datetime--日期
    );
    
    --轮播图表注释
    create table t_lbt(
    	id int identity(1,1) primary key not null,--主键
    	pic varchar(100),--图片
    	url varchar(1000)--
    );
    
    --聊天表注释
    create table t_liaotian(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	toId int(11),--用户
    	content text,--内容
    	insertDate datetime,--日期
    	batchNum varchar(100),--批次
    	fq int(11)--
    );
    
    --评分表注释
    create table t_pf(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	userId int(11),--医生
    	pf int(11),--评分
    	insertDate datetime--日期
    );
    
    --评论表注释
    create table t_pinglun(
    	id int identity(1,1) primary key not null,--主键
    	wdxxId int(11),--评论信息
    	customerId int(11),--评论人
    	content text,--评论内容
    	insertDate datetime--评论日期
    );
    
    --健康留言表注释
    create table t_pinglun_jk(
    	id int identity(1,1) primary key not null,--主键
    	productId int(11),--评论信息
    	customerId int(11),--评论人
    	content text,--评论内容
    	insertDate datetime--评论日期
    );
    
    --表注释
    create table t_pinglun_ys(
    	id int identity(1,1) primary key not null,--主键
    	wdxxId int(11),--评论信息
    	userId int(11),--评论人
    	content text,--评论内容
    	insertDate datetime--评论日期
    );
    
    --请假表注释
    create table t_qj(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	showDate datetime,--请假开始日期
    	endDate datetime,--请假结束日期
    	content text,--请假说明
    	insertDate datetime,--发起日期
    	back text,--回复
    	status varchar(100)--状态
    );
    
    --收藏表注释
    create table t_shoucang(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	productId int(11),--咨询
    	insertDate datetime--日期
    );
    
    --分类表注释
    create table t_types(
    	id int identity(1,1) primary key not null,--主键
    	typesName varchar(1000)--分类
    );
    
    --我的消息表注释
    create table t_wdxx(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--我
    	title varchar(100),--标题
    	pic varchar(100),--图片
    	content text,--内容
    	zan int(11),--赞
    	insertDate datetime,--发布日期
    	nologin varchar(50),--游客是否可见
    	bkId int(11)--
    );
    
    --消息表注释
    create table t_xiaoxi(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	title varchar(100),--标题
    	content text,--内容
    	insertDate datetime--日期
    );
    
    --新闻动态表注释
    create table t_xinwendt(
    	id int identity(1,1) primary key not null,--主键
    	title varchar(100),--标题
    	content longtext,--内容
    	pic varchar(100)--图片
    );
    
    --医生表注释
    create table t_zixunshi(
    	id int identity(1,1) primary key not null,--主键
    	username varchar(100),--账号
    	password varchar(100),--密码
    	name varchar(100),--姓名
    	gh varchar(100),--工号
    	mobile varchar(100),--手机
    	headPic varchar(100),--头像
    	zz varchar(100),--营业执照
    	status varchar(100),--状态
    	pf int(11)--
    );
    
    
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
    AI助手
复制代码
    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;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //联系方式
    private String phone;
    //内容
    private String content;
    //日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int 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;}
    }
    
    
    
    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;}
    //主键唯一ID
    private int id;
    //账号
    private String username;
    //密码
    private String password;
    //姓名
    private String customerName;
    //性别
    private String sex;
    //地址
    private String address;
    //手机
    private String phone;
    //账户
    private int account;
    //积分
    private int jf;
    //头像
    private String headPic;
    //
    private String xh;
    //
    private String zy;
    //
    private String zz;
    //
    private String status;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    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 int getAccount() {return account;}
    public void setAccount(int account) {this.account = account;}
    public int getJf() {return jf;}
    public void setJf(int jf) {this.jf = jf;}
    public String getHeadPic() {return headPic;}
    public void setHeadPic(String headPic) {this.headPic = headPic;}
    public String getXh() {return xh;}
    public void setXh(String xh) {this.xh = xh;}
    public String getZy() {return zy;}
    public void setZy(String zy) {this.zy = zy;}
    public String getZz() {return zz;}
    public void setZz(String zz) {this.zz = zz;}
    public String getStatus() {return status;}
    public void setStatus(String status) {this.status = status;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //健康打卡
    public class Daka  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //学号
    private String xh;
    //打卡日期
    private Date insertDate;
    //采集时间内体温
    private String v1;
    //采集时间内的居住地/滞留地
    private String v2;
    //请填写采集时间内的居住地/滞留地详细地址
    private String v3;
    //采集时间内是否有位置发生变化
    private String v4;
    //采集时间内你是否正在被隔离
    private String v5;
    //采集时间内你如果正在被隔离,请填写隔离地的详细地址(没有隔离无需填写)
    private String v6;
    //你是否经相关医疗机构确诊为新冠肺炎、疑似病例
    private String v7;
    //采集时间内你是否进行了核算检测
    private String v8;
    //如果你采集时间内进行了核算检测,请选择核酸检测结果(没有检测不选)
    private String v9;
    //近14天你和家人有误和经常相关医疗机构确诊为新冠肺炎、疑似病例接触史
    private String v10;
    //采集时间内你是否提前返回校区所在地(不含回家)
    private String v11;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public String getXh() {return xh;}
    public void setXh(String xh) {this.xh = xh;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    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 String getV7() {return v7;}
    public void setV7(String v7) {this.v7 = v7;}
    public String getV8() {return v8;}
    public void setV8(String v8) {this.v8 = v8;}
    public String getV9() {return v9;}
    public void setV9(String v9) {this.v9 = v9;}
    public String getV10() {return v10;}
    public void setV10(String v10) {this.v10 = v10;}
    public String getV11() {return v11;}
    public void setV11(String v11) {this.v11 = v11;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //展示咨询
    public class Jiankangnr  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //名称
    private String productName;
    //图片
    private String productPic1;
    //图片2
    private String productPic2;
    //图片3
    private String productPic3;
    //图片4
    private String productPic4;
    //
    private int price;
    //
    private int oldPrice;
    //内容
    private String content;
    //
    private int nums;
    //
    private String tjxj;
    //状态
    private String status;
    //分类
    private int typesId;
    //
    private int jf;
    //
    private int userId;
    //标签
    private int bqId;
    //点击量
    private int djl;
    //
    private String v1;
    //
    private String v2;
    //
    private String v3;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    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 int getPrice() {return price;}
    public void setPrice(int price) {this.price = price;}
    public int getOldPrice() {return oldPrice;}
    public void setOldPrice(int oldPrice) {this.oldPrice = oldPrice;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public int getNums() {return nums;}
    public void setNums(int 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 int getTypesId() {return typesId;}
    public void setTypesId(int typesId) {this.typesId = typesId;}
    public int getJf() {return jf;}
    public void setJf(int jf) {this.jf = jf;}
    public int getUserId() {return userId;}
    public void setUserId(int userId) {this.userId = userId;}
    public int getBqId() {return bqId;}
    public void setBqId(int bqId) {this.bqId = bqId;}
    public int getDjl() {return djl;}
    public void setDjl(int djl) {this.djl = djl;}
    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;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //资讯点击
    public class Jiankangnrclick  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //资讯
    private int productId;
    //用户
    private int customerId;
    //日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getProductId() {return productId;}
    public void setProductId(int productId) {this.productId = productId;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    }
    
    
    
    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;}
    //主键唯一ID
    private int id;
    //图片
    private String pic;
    //
    private String url;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getPic() {return pic;}
    public void setPic(String pic) {this.pic = pic;}
    public String getUrl() {return url;}
    public void setUrl(String url) {this.url = url;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //聊天
    public class Liaotian  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //用户
    private int toId;
    //内容
    private String content;
    //日期
    private Date insertDate;
    //批次
    private String batchNum;
    //
    private int fq;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public int getToId() {return toId;}
    public void setToId(int toId) {this.toId = toId;}
    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 getBatchNum() {return batchNum;}
    public void setBatchNum(String batchNum) {this.batchNum = batchNum;}
    public int getFq() {return fq;}
    public void setFq(int fq) {this.fq = fq;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //评分
    public class Pf  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //医生
    private int userId;
    //评分
    private int pf;
    //日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public int getUserId() {return userId;}
    public void setUserId(int userId) {this.userId = userId;}
    public int getPf() {return pf;}
    public void setPf(int pf) {this.pf = pf;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    }
    
    
    
    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;}
    //主键唯一ID
    private int id;
    //评论信息
    private int wdxxId;
    //评论人
    private int customerId;
    //评论内容
    private String content;
    //评论日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getWdxxId() {return wdxxId;}
    public void setWdxxId(int wdxxId) {this.wdxxId = wdxxId;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int 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;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //健康留言
    public class Pinglun_jk  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //评论信息
    private int productId;
    //评论人
    private int customerId;
    //评论内容
    private String content;
    //评论日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getProductId() {return productId;}
    public void setProductId(int productId) {this.productId = productId;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int 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;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //
    public class Pinglun_ys  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //评论信息
    private int wdxxId;
    //评论人
    private int userId;
    //评论内容
    private String content;
    //评论日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getWdxxId() {return wdxxId;}
    public void setWdxxId(int wdxxId) {this.wdxxId = wdxxId;}
    public int getUserId() {return userId;}
    public void setUserId(int userId) {this.userId = userId;}
    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;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //请假
    public class Qj  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //请假开始日期
    private Date showDate;
    //请假结束日期
    private Date endDate;
    //请假说明
    private String content;
    //发起日期
    private Date insertDate;
    //回复
    private String back;
    //状态
    private String status;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public Date getShowDate() {return showDate;}
    public void setShowDate(Date showDate) {this.showDate = showDate;}
    public Date getEndDate() {return endDate;}
    public void setEndDate(Date endDate) {this.endDate = endDate;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    public String getBack() {return back;}
    public void setBack(String back) {this.back = back;}
    public String getStatus() {return status;}
    public void setStatus(String status) {this.status = status;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //收藏
    public class Shoucang  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //咨询
    private int productId;
    //日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public int getProductId() {return productId;}
    public void setProductId(int productId) {this.productId = productId;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    }
    
    
    
    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;}
    //主键唯一ID
    private int id;
    //分类
    private String typesName;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getTypesName() {return typesName;}
    public void setTypesName(String typesName) {this.typesName = typesName;}
    }
    
    
    
    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;}
    //主键唯一ID
    private int id;
    //我
    private int customerId;
    //标题
    private String title;
    //图片
    private String pic;
    //内容
    private String content;
    //赞
    private int zan;
    //发布日期
    private Date insertDate;
    //游客是否可见
    private String nologin;
    //
    private int bkId;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int 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 int getZan() {return zan;}
    public void setZan(int 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 int getBkId() {return bkId;}
    public void setBkId(int bkId) {this.bkId = bkId;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //消息
    public class Xiaoxi  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //标题
    private String title;
    //内容
    private String content;
    //日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public String getTitle() {return title;}
    public void setTitle(String title) {this.title = title;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //新闻动态
    public class Xinwendt  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //标题
    private String title;
    //内容
    private String content;
    //图片
    private String pic;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    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;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //医生
    public class Zixunshi  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //账号
    private String username;
    //密码
    private String password;
    //姓名
    private String name;
    //工号
    private String gh;
    //手机
    private String mobile;
    //头像
    private String headPic;
    //营业执照
    private String zz;
    //状态
    private String status;
    //
    private int pf;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    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;}
    public String getHeadPic() {return headPic;}
    public void setHeadPic(String headPic) {this.headPic = headPic;}
    public String getZz() {return zz;}
    public void setZz(String zz) {this.zz = zz;}
    public String getStatus() {return status;}
    public void setStatus(String status) {this.status = status;}
    public int getPf() {return pf;}
    public void setPf(int pf) {this.pf = pf;}
    }
    
    
    
    
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
    AI助手

全部评论 (0)

还没有任何评论哟~