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

基于Java的游泳馆信息管理网站的设计与实现

基于Java的游泳馆信息管理网站的设计与实现登录注册界面

基于Java的游泳馆信息管理网站的设计与实现mysql数据库版本源码:

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


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

游泳馆场地表创建语句如下:


create table t_changdi(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '场地名称',
	fzr 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 '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别'
) comment '用户';

员工表创建语句如下:


create table t_employee(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	employeeName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别'
) comment '员工';

游泳馆费用表创建语句如下:


create table t_feiyong(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '名称',
	fee int comment '金额',
	types varchar(100) comment '类型',
	showDate datetime comment '日期'
) comment '游泳馆费用';

工资表创建语句如下:


create table t_gongzi(
	id int primary key auto_increment comment '主键',
	employeeId int comment '员工',
	yf varchar(100) comment '月份',
	fee1 int comment '月工资',
	fee2 int comment '奖励金额',
	fee3 int comment '惩罚金额',
	remark varchar(100) comment '奖励惩罚说明'
) comment '工资';

会员卡表创建语句如下:


create table t_huiyuan(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	num varchar(100) comment '卡号',
	fee int comment '金额',
	status varchar(100) comment '状态',
	levels varchar(100) comment '会员等级'
) comment '会员卡';

会员卡消费表创建语句如下:


create table t_huiyuanxf(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	num varchar(100) comment '卡号',
	fee int comment '金额',
	remark varchar(100) comment '消费明目'
) comment '会员卡消费';

会员卡业务表创建语句如下:


create table t_huiyuanyw(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	num varchar(100) comment '卡号',
	fee int comment '金额',
	types varchar(100) comment '业务类型'
) comment '会员卡业务';

轮播图表创建语句如下:


create table t_lbt(
	id int primary key auto_increment comment '主键',
	pic varchar(100) comment '图片'
) comment '轮播图';

留言表创建语句如下:


create table t_liuyan(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	content varchar(100) comment '内容',
	insertDate datetime comment '留言日期',
	remark varchar(100) comment '回复',
	status varchar(100) 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 '标签',
	djl int 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_xiaoxi(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	showDate datetime comment '显示日期'
) comment '消息';

资讯表创建语句如下:


create table t_zx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	pic varchar(100) comment '图片'
) comment '资讯';

基于Java的游泳馆信息管理网站的设计与实现oracle数据库版本源码:

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


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

游泳馆场地表创建语句如下:


create table t_changdi(
	id integer,
	title varchar(100),
	fzr varchar(100)
);
--游泳馆场地字段加注释
comment on column t_changdi.id is '主键';
comment on column t_changdi.title is '场地名称';
comment on column t_changdi.fzr is '负责人';
--游泳馆场地表加注释
comment on table t_changdi 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),
	phone varchar(100),
	age varchar(100),
	sex 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.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
--用户表加注释
comment on table t_customer is '用户';

员工表创建语句如下:


create table t_employee(
	id integer,
	username varchar(100),
	password varchar(100),
	employeeName varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100)
);
--员工字段加注释
comment on column t_employee.id is '主键';
comment on column t_employee.username is '账号';
comment on column t_employee.password is '密码';
comment on column t_employee.employeeName is '姓名';
comment on column t_employee.phone is '电话';
comment on column t_employee.age is '年龄';
comment on column t_employee.sex is '性别';
--员工表加注释
comment on table t_employee is '员工';

游泳馆费用表创建语句如下:


create table t_feiyong(
	id integer,
	title varchar(100),
	fee int,
	types varchar(100),
	showDate datetime
);
--游泳馆费用字段加注释
comment on column t_feiyong.id is '主键';
comment on column t_feiyong.title is '名称';
comment on column t_feiyong.fee is '金额';
comment on column t_feiyong.types is '类型';
comment on column t_feiyong.showDate is '日期';
--游泳馆费用表加注释
comment on table t_feiyong is '游泳馆费用';

工资表创建语句如下:


create table t_gongzi(
	id integer,
	employeeId int,
	yf varchar(100),
	fee1 int,
	fee2 int,
	fee3 int,
	remark varchar(100)
);
--工资字段加注释
comment on column t_gongzi.id is '主键';
comment on column t_gongzi.employeeId is '员工';
comment on column t_gongzi.yf is '月份';
comment on column t_gongzi.fee1 is '月工资';
comment on column t_gongzi.fee2 is '奖励金额';
comment on column t_gongzi.fee3 is '惩罚金额';
comment on column t_gongzi.remark is '奖励惩罚说明';
--工资表加注释
comment on table t_gongzi is '工资';

会员卡表创建语句如下:


create table t_huiyuan(
	id integer,
	customerId int,
	num varchar(100),
	fee int,
	status varchar(100),
	levels varchar(100)
);
--会员卡字段加注释
comment on column t_huiyuan.id is '主键';
comment on column t_huiyuan.customerId is '用户';
comment on column t_huiyuan.num is '卡号';
comment on column t_huiyuan.fee is '金额';
comment on column t_huiyuan.status is '状态';
comment on column t_huiyuan.levels is '会员等级';
--会员卡表加注释
comment on table t_huiyuan is '会员卡';

会员卡消费表创建语句如下:


create table t_huiyuanxf(
	id integer,
	customerId int,
	num varchar(100),
	fee int,
	remark varchar(100)
);
--会员卡消费字段加注释
comment on column t_huiyuanxf.id is '主键';
comment on column t_huiyuanxf.customerId is '用户';
comment on column t_huiyuanxf.num is '卡号';
comment on column t_huiyuanxf.fee is '金额';
comment on column t_huiyuanxf.remark is '消费明目';
--会员卡消费表加注释
comment on table t_huiyuanxf is '会员卡消费';

会员卡业务表创建语句如下:


create table t_huiyuanyw(
	id integer,
	customerId int,
	num varchar(100),
	fee int,
	types varchar(100)
);
--会员卡业务字段加注释
comment on column t_huiyuanyw.id is '主键';
comment on column t_huiyuanyw.customerId is '用户';
comment on column t_huiyuanyw.num is '卡号';
comment on column t_huiyuanyw.fee is '金额';
comment on column t_huiyuanyw.types is '业务类型';
--会员卡业务表加注释
comment on table t_huiyuanyw 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_liuyan(
	id integer,
	customerId int,
	content varchar(100),
	insertDate datetime,
	remark varchar(100),
	status varchar(100)
);
--留言字段加注释
comment on column t_liuyan.id is '主键';
comment on column t_liuyan.customerId is '用户';
comment on column t_liuyan.content is '内容';
comment on column t_liuyan.insertDate is '留言日期';
comment on column t_liuyan.remark is '回复';
comment on column t_liuyan.status is '状态';
--留言表加注释
comment on table t_liuyan 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,
	djl 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 column t_product.djl is '点击量';
--产品表加注释
comment on table t_product 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_xiaoxi(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate datetime
);
--消息字段加注释
comment on column t_xiaoxi.id is '主键';
comment on column t_xiaoxi.title is '标题';
comment on column t_xiaoxi.pic is '图片';
comment on column t_xiaoxi.content is '内容';
comment on column t_xiaoxi.showDate is '显示日期';
--消息表加注释
comment on table t_xiaoxi 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 '资讯';

oracle特有,对应序列如下:


create sequence s_t_changdi;
create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_employee;
create sequence s_t_feiyong;
create sequence s_t_gongzi;
create sequence s_t_huiyuan;
create sequence s_t_huiyuanxf;
create sequence s_t_huiyuanyw;
create sequence s_t_lbt;
create sequence s_t_liuyan;
create sequence s_t_pinglun;
create sequence s_t_pinglun_product;
create sequence s_t_product;
create sequence s_t_wdxx;
create sequence s_t_xiaoxi;
create sequence s_t_zx;

基于Java的游泳馆信息管理网站的设计与实现sqlserver数据库版本源码:

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


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

游泳馆场地表创建语句如下:


--游泳馆场地表注释
create table t_changdi(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--场地名称
	fzr 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),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100)--性别
);

员工表创建语句如下:


--员工表注释
create table t_employee(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	employeeName varchar(100),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100)--性别
);

游泳馆费用表创建语句如下:


--游泳馆费用表注释
create table t_feiyong(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--名称
	fee int,--金额
	types varchar(100),--类型
	showDate datetime--日期
);

工资表创建语句如下:


--工资表注释
create table t_gongzi(
	id int identity(1,1) primary key not null,--主键
	employeeId int,--员工
	yf varchar(100),--月份
	fee1 int,--月工资
	fee2 int,--奖励金额
	fee3 int,--惩罚金额
	remark varchar(100)--奖励惩罚说明
);

会员卡表创建语句如下:


--会员卡表注释
create table t_huiyuan(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	num varchar(100),--卡号
	fee int,--金额
	status varchar(100),--状态
	levels varchar(100)--会员等级
);

会员卡消费表创建语句如下:


--会员卡消费表注释
create table t_huiyuanxf(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	num varchar(100),--卡号
	fee int,--金额
	remark varchar(100)--消费明目
);

会员卡业务表创建语句如下:


--会员卡业务表注释
create table t_huiyuanyw(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	num varchar(100),--卡号
	fee int,--金额
	types varchar(100)--业务类型
);

轮播图表创建语句如下:


--轮播图表注释
create table t_lbt(
	id int identity(1,1) primary key not null,--主键
	pic varchar(100)--图片
);

留言表创建语句如下:


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

评论表创建语句如下:


--评论表注释
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,--标签
	djl int--点击量
);

我的消息表创建语句如下:


--我的消息表注释
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_xiaoxi(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	showDate datetime--显示日期
);

资讯表创建语句如下:


--资讯表注释
create table t_zx(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	content varchar(100),--内容
	pic varchar(100)--图片
);

基于Java的游泳馆信息管理网站的设计与实现登录后主页

基于Java的游泳馆信息管理网站的设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

游泳馆场地javaBean创建语句如下:


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

//游泳馆场地
@Table(name = "t_changdi")
public class Changdi {
//主键
@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 fzr;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
}

建议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 phone;
//年龄
private String age;
//性别
private String sex;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

员工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_employee")
public class Employee {
//主键
@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 employeeName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

游泳馆费用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_feiyong")
public class Feiyong {
//主键
@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 Integer fee;
//类型
private String types;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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_gongzi")
public class Gongzi {
//主键
@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 employeeId;
//月份
private String yf;
//月工资
private Integer fee1;
//奖励金额
private Integer fee2;
//惩罚金额
private Integer fee3;
//奖励惩罚说明
private String remark;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
public Integer getFee1() {return fee1;}
public void setFee1(Integer fee1) {this.fee1 = fee1;}
public Integer getFee2() {return fee2;}
public void setFee2(Integer fee2) {this.fee2 = fee2;}
public Integer getFee3() {return fee3;}
public void setFee3(Integer fee3) {this.fee3 = fee3;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

会员卡javaBean创建语句如下:


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

//会员卡
@Table(name = "t_huiyuan")
public class Huiyuan {
//主键
@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 num;
//金额
private Integer fee;
//状态
private String status;
//会员等级
private String levels;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getLevels() {return levels;}
public void setLevels(String levels) {this.levels = levels;}
}

会员卡消费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_huiyuanxf")
public class Huiyuanxf {
//主键
@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 num;
//金额
private Integer fee;
//消费明目
private String remark;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

会员卡业务javaBean创建语句如下:


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

//会员卡业务
@Table(name = "t_huiyuanyw")
public class Huiyuanyw {
//主键
@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 num;
//金额
private Integer fee;
//业务类型
private String types;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

轮播图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_liuyan")
public class Liuyan {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//留言日期
private Date insertDate;
//回复
private String remark;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

评论javaBean创建语句如下:


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

//评论
@Table(name = "t_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;
//点击量
private Integer djl;
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;}
public Integer getDjl() {return djl;}
public void setDjl(Integer djl) {this.djl = djl;}
}

我的消息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_xiaoxi")
public class Xiaoxi {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//显示日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

资讯javaBean创建语句如下:


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

//资讯
@Table(name = "t_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;}
}

基于Java的游泳馆信息管理网站的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

游泳馆场地javaBean创建语句如下:


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

//游泳馆场地
public class Changdi  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//场地名称
private String title;
//负责人
private String fzr;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
}

建议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 phone;
//年龄
private String age;
//性别
private String sex;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

员工javaBean创建语句如下:


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

//员工
public class Employee  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 employeeName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

游泳馆费用javaBean创建语句如下:


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

//游泳馆费用
public class Feiyong  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名称
private String title;
//金额
private Integer fee;
//类型
private String types;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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 Gongzi  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer employeeId;
//月份
private String yf;
//月工资
private Integer fee1;
//奖励金额
private Integer fee2;
//惩罚金额
private Integer fee3;
//奖励惩罚说明
private String remark;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
public Integer getFee1() {return fee1;}
public void setFee1(Integer fee1) {this.fee1 = fee1;}
public Integer getFee2() {return fee2;}
public void setFee2(Integer fee2) {this.fee2 = fee2;}
public Integer getFee3() {return fee3;}
public void setFee3(Integer fee3) {this.fee3 = fee3;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

会员卡javaBean创建语句如下:


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

//会员卡
public class Huiyuan  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//卡号
private String num;
//金额
private Integer fee;
//状态
private String status;
//会员等级
private String levels;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getLevels() {return levels;}
public void setLevels(String levels) {this.levels = levels;}
}

会员卡消费javaBean创建语句如下:


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

//会员卡消费
public class Huiyuanxf  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//卡号
private String num;
//金额
private Integer fee;
//消费明目
private String remark;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

会员卡业务javaBean创建语句如下:


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

//会员卡业务
public class Huiyuanyw  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//卡号
private String num;
//金额
private Integer fee;
//业务类型
private String types;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

轮播图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 Liuyan  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//留言日期
private Date insertDate;
//回复
private String remark;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

评论javaBean创建语句如下:


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

//评论
public class 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;
//点击量
private Integer djl;
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;}
public Integer getDjl() {return djl;}
public void setDjl(Integer djl) {this.djl = djl;}
}

我的消息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 Xiaoxi  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//显示日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

资讯javaBean创建语句如下:


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

//资讯
public class 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;}
}

评论