漫展资讯系统的设计与实现

漫展资讯系统的设计与实现登录注册界面

漫展资讯系统的设计与实现mysql数据库版本源码:

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


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

分类表创建语句如下:


create table t_bk(
	id int primary key auto_increment comment '主键',
	bkName varchar(100) comment '版块名称'
) comment '分类';

用户表创建语句如下:


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

工作表创建语句如下:


create table t_gz(
	id int primary key auto_increment comment '主键',
	wdxxId int comment '漫展',
	gzName varchar(100) comment '工作职务',
	customerId int comment '用户',
	status varchar(100) comment '状态',
	sj varchar(100) comment '时间',
	rx varchar(100) comment '日薪',
	rs varchar(100) comment '人数'
) comment '工作';

工作申请人表创建语句如下:


create table t_gzlist(
	id int primary key auto_increment comment '主键',
	gzId int comment '工作',
	customerId int comment '用户',
	status varchar(100) comment '状态'
) comment '工作申请人';

活动表创建语句如下:


create table t_hd(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	showDate varchar(100) comment '显示日期'
) comment '活动';

记录表创建语句如下:


create table t_log(
	id int primary key auto_increment comment '主键',
	wdxxId int comment '房产',
	insertDate datetime comment '日期',
	customerId int comment ''
) comment '记录';

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


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

表创建语句如下:


create table t_mgc(
	id int primary key auto_increment comment '主键',
	mgc varchar(100) comment '敏感词'
) comment '';

门票表创建语句如下:


create table t_mp(
	id int primary key auto_increment comment '主键',
	wdxxId int comment '漫展',
	customerId int comment '用户',
	v1 varchar(100) comment '姓名',
	v2 varchar(100) comment '性别',
	v3 varchar(100) comment '年龄',
	v4 varchar(100) comment '身份证',
	v5 varchar(100) comment '收货地址',
	mpbh 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_sc(
	id int primary key auto_increment comment '主键',
	wdxxId int comment '信息',
	customerId int comment '用户',
	insertDate datetime comment '日期',
	bkId int comment '分类'
) comment '收藏';

摊位表创建语句如下:


create table t_tw(
	id int primary key auto_increment comment '主键',
	wdxxId int comment '漫展',
	twName varchar(100) comment '摊位编号',
	customerId int comment '用户',
	status varchar(100) comment '状态',
	ms varchar(100) comment '描述',
	tp varchar(100) comment '图片',
	jg varchar(100) comment '价格'
) comment '摊位';

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


create table t_wdxx(
	id int primary key auto_increment comment '主键',
	customerId int comment '我',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	zan int comment '赞',
	insertDate datetime comment '发布日期',
	nologin varchar(100) comment '游客是否可见',
	bkId int comment '',
	types int comment '类型',
	bh varchar(100) comment '',
	hx varchar(100) comment '',
	czxs varchar(100) comment '',
	quyu varchar(100) comment '',
	jiage varchar(100) comment '',
	dth varchar(100) comment '',
	fwzt varchar(100) comment '',
	lxr varchar(100) comment '',
	lxdh varchar(100) comment '',
	jwd varchar(100) comment '',
	status varchar(100) comment ''
) comment '我的消息';

赞记录表创建语句如下:


create table t_zanlog(
	id int primary key auto_increment comment '主键',
	wdxxId int comment '房产',
	insertDate datetime comment '日期',
	customerId int comment '用户'
) comment '赞记录';

漫展资讯系统的设计与实现oracle数据库版本源码:

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


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

分类表创建语句如下:


create table t_bk(
	id integer,
	bkName varchar(100)
);
--分类字段加注释
comment on column t_bk.id is '主键';
comment on column t_bk.bkName is '版块名称';
--分类表加注释
comment on table t_bk is '分类';

用户表创建语句如下:


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

工作表创建语句如下:


create table t_gz(
	id integer,
	wdxxId int,
	gzName varchar(100),
	customerId int,
	status varchar(100),
	sj varchar(100),
	rx varchar(100),
	rs varchar(100)
);
--工作字段加注释
comment on column t_gz.id is '主键';
comment on column t_gz.wdxxId is '漫展';
comment on column t_gz.gzName is '工作职务';
comment on column t_gz.customerId is '用户';
comment on column t_gz.status is '状态';
comment on column t_gz.sj is '时间';
comment on column t_gz.rx is '日薪';
comment on column t_gz.rs is '人数';
--工作表加注释
comment on table t_gz is '工作';

工作申请人表创建语句如下:


create table t_gzlist(
	id integer,
	gzId int,
	customerId int,
	status varchar(100)
);
--工作申请人字段加注释
comment on column t_gzlist.id is '主键';
comment on column t_gzlist.gzId is '工作';
comment on column t_gzlist.customerId is '用户';
comment on column t_gzlist.status is '状态';
--工作申请人表加注释
comment on table t_gzlist is '工作申请人';

活动表创建语句如下:


create table t_hd(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate varchar(100)
);
--活动字段加注释
comment on column t_hd.id is '主键';
comment on column t_hd.title is '标题';
comment on column t_hd.pic is '图片';
comment on column t_hd.content is '内容';
comment on column t_hd.showDate is '显示日期';
--活动表加注释
comment on table t_hd is '活动';

记录表创建语句如下:


create table t_log(
	id integer,
	wdxxId int,
	insertDate datetime,
	customerId int
);
--记录字段加注释
comment on column t_log.id is '主键';
comment on column t_log.wdxxId is '房产';
comment on column t_log.insertDate is '日期';
comment on column t_log.customerId is '';
--记录表加注释
comment on table t_log is '记录';

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


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

表创建语句如下:


create table t_mgc(
	id integer,
	mgc varchar(100)
);
--字段加注释
comment on column t_mgc.id is '主键';
comment on column t_mgc.mgc is '敏感词';
--表加注释
comment on table t_mgc is '';

门票表创建语句如下:


create table t_mp(
	id integer,
	wdxxId int,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	mpbh varchar(100),
	status varchar(100)
);
--门票字段加注释
comment on column t_mp.id is '主键';
comment on column t_mp.wdxxId is '漫展';
comment on column t_mp.customerId is '用户';
comment on column t_mp.v1 is '姓名';
comment on column t_mp.v2 is '性别';
comment on column t_mp.v3 is '年龄';
comment on column t_mp.v4 is '身份证';
comment on column t_mp.v5 is '收货地址';
comment on column t_mp.mpbh is '门票编号';
comment on column t_mp.status is '状态';
--门票表加注释
comment on table t_mp 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_sc(
	id integer,
	wdxxId int,
	customerId int,
	insertDate datetime,
	bkId int
);
--收藏字段加注释
comment on column t_sc.id is '主键';
comment on column t_sc.wdxxId is '信息';
comment on column t_sc.customerId is '用户';
comment on column t_sc.insertDate is '日期';
comment on column t_sc.bkId is '分类';
--收藏表加注释
comment on table t_sc is '收藏';

摊位表创建语句如下:


create table t_tw(
	id integer,
	wdxxId int,
	twName varchar(100),
	customerId int,
	status varchar(100),
	ms varchar(100),
	tp varchar(100),
	jg varchar(100)
);
--摊位字段加注释
comment on column t_tw.id is '主键';
comment on column t_tw.wdxxId is '漫展';
comment on column t_tw.twName is '摊位编号';
comment on column t_tw.customerId is '用户';
comment on column t_tw.status is '状态';
comment on column t_tw.ms is '描述';
comment on column t_tw.tp is '图片';
comment on column t_tw.jg is '价格';
--摊位表加注释
comment on table t_tw 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,
	types int,
	bh varchar(100),
	hx varchar(100),
	czxs varchar(100),
	quyu varchar(100),
	jiage varchar(100),
	dth varchar(100),
	fwzt varchar(100),
	lxr varchar(100),
	lxdh varchar(100),
	jwd varchar(100),
	status varchar(100)
);
--我的消息字段加注释
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 column t_wdxx.types is '类型';
comment on column t_wdxx.bh is '';
comment on column t_wdxx.hx is '';
comment on column t_wdxx.czxs is '';
comment on column t_wdxx.quyu is '';
comment on column t_wdxx.jiage is '';
comment on column t_wdxx.dth is '';
comment on column t_wdxx.fwzt is '';
comment on column t_wdxx.lxr is '';
comment on column t_wdxx.lxdh is '';
comment on column t_wdxx.jwd is '';
comment on column t_wdxx.status is '';
--我的消息表加注释
comment on table t_wdxx is '我的消息';

赞记录表创建语句如下:


create table t_zanlog(
	id integer,
	wdxxId int,
	insertDate datetime,
	customerId int
);
--赞记录字段加注释
comment on column t_zanlog.id is '主键';
comment on column t_zanlog.wdxxId is '房产';
comment on column t_zanlog.insertDate is '日期';
comment on column t_zanlog.customerId is '用户';
--赞记录表加注释
comment on table t_zanlog is '赞记录';

oracle特有,对应序列如下:


create sequence s_t_bk;
create sequence s_t_customer;
create sequence s_t_gz;
create sequence s_t_gzlist;
create sequence s_t_hd;
create sequence s_t_log;
create sequence s_t_ltsm;
create sequence s_t_mgc;
create sequence s_t_mp;
create sequence s_t_pinglun;
create sequence s_t_sc;
create sequence s_t_tw;
create sequence s_t_wdxx;
create sequence s_t_zanlog;

漫展资讯系统的设计与实现sqlserver数据库版本源码:

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


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

分类表创建语句如下:


--分类表注释
create table t_bk(
	id int identity(1,1) primary key not null,--主键
	bkName varchar(100)--版块名称
);

用户表创建语句如下:


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

工作表创建语句如下:


--工作表注释
create table t_gz(
	id int identity(1,1) primary key not null,--主键
	wdxxId int,--漫展
	gzName varchar(100),--工作职务
	customerId int,--用户
	status varchar(100),--状态
	sj varchar(100),--时间
	rx varchar(100),--日薪
	rs varchar(100)--人数
);

工作申请人表创建语句如下:


--工作申请人表注释
create table t_gzlist(
	id int identity(1,1) primary key not null,--主键
	gzId int,--工作
	customerId int,--用户
	status varchar(100)--状态
);

活动表创建语句如下:


--活动表注释
create table t_hd(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	showDate varchar(100)--显示日期
);

记录表创建语句如下:


--记录表注释
create table t_log(
	id int identity(1,1) primary key not null,--主键
	wdxxId int,--房产
	insertDate datetime,--日期
	customerId int--
);

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


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

表创建语句如下:


--表注释
create table t_mgc(
	id int identity(1,1) primary key not null,--主键
	mgc varchar(100)--敏感词
);

门票表创建语句如下:


--门票表注释
create table t_mp(
	id int identity(1,1) primary key not null,--主键
	wdxxId int,--漫展
	customerId int,--用户
	v1 varchar(100),--姓名
	v2 varchar(100),--性别
	v3 varchar(100),--年龄
	v4 varchar(100),--身份证
	v5 varchar(100),--收货地址
	mpbh 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_sc(
	id int identity(1,1) primary key not null,--主键
	wdxxId int,--信息
	customerId int,--用户
	insertDate datetime,--日期
	bkId int--分类
);

摊位表创建语句如下:


--摊位表注释
create table t_tw(
	id int identity(1,1) primary key not null,--主键
	wdxxId int,--漫展
	twName varchar(100),--摊位编号
	customerId int,--用户
	status varchar(100),--状态
	ms varchar(100),--描述
	tp varchar(100),--图片
	jg varchar(100)--价格
);

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


--我的消息表注释
create table t_wdxx(
	id int identity(1,1) primary key not null,--主键
	customerId int,--我
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	zan int,--赞
	insertDate datetime,--发布日期
	nologin varchar(100),--游客是否可见
	bkId int,--
	types int,--类型
	bh varchar(100),--
	hx varchar(100),--
	czxs varchar(100),--
	quyu varchar(100),--
	jiage varchar(100),--
	dth varchar(100),--
	fwzt varchar(100),--
	lxr varchar(100),--
	lxdh varchar(100),--
	jwd varchar(100),--
	status varchar(100)--
);

赞记录表创建语句如下:


--赞记录表注释
create table t_zanlog(
	id int identity(1,1) primary key not null,--主键
	wdxxId int,--房产
	insertDate datetime,--日期
	customerId int--用户
);

漫展资讯系统的设计与实现登录后主页

漫展资讯系统的设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

分类javaBean创建语句如下:


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

//分类
@Table(name = "t_bk")
public class Bk {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//版块名称
private String bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}

用户javaBean创建语句如下:


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

//用户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
//头像
private String headPic;
//层级
private String level;
//发帖权限
private String isft;
//评论权限
private String ispl;
//密保1
private String mb1;
//密保2
private String mb2;
//密保3
private String mb3;
//角色
private String js;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getLevel() {return level;}
public void setLevel(String level) {this.level = level;}
public String getIsft() {return isft;}
public void setIsft(String isft) {this.isft = isft;}
public String getIspl() {return ispl;}
public void setIspl(String ispl) {this.ispl = ispl;}
public String getMb1() {return mb1;}
public void setMb1(String mb1) {this.mb1 = mb1;}
public String getMb2() {return mb2;}
public void setMb2(String mb2) {this.mb2 = mb2;}
public String getMb3() {return mb3;}
public void setMb3(String mb3) {this.mb3 = mb3;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

工作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_gz")
public class Gz {
//主键
@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 String gzName;
//用户
private Integer customerId;
//状态
private String status;
//时间
private String sj;
//日薪
private String rx;
//人数
private String rs;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public String getGzName() {return gzName;}
public void setGzName(String gzName) {this.gzName = gzName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getSj() {return sj;}
public void setSj(String sj) {this.sj = sj;}
public String getRx() {return rx;}
public void setRx(String rx) {this.rx = rx;}
public String getRs() {return rs;}
public void setRs(String rs) {this.rs = rs;}
}

工作申请人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_gzlist")
public class Gzlist {
//主键
@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 gzId;
//用户
private Integer customerId;
//状态
private String status;
public Integer getGzId() {return gzId;}
public void setGzId(Integer gzId) {this.gzId = gzId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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_hd")
public class Hd {
//主键
@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 String 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 String getShowDate() {return showDate;}
public void setShowDate(String 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_log")
public class Log {
//主键
@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 Date insertDate;
//
private Integer customerId;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

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


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

//论坛说明
@Table(name = "t_ltsm")
public class Ltsm {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//论坛说明
private String title;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
}

javaBean创建语句如下:


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

//
@Table(name = "t_mgc")
public class Mgc {
//主键
@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 mgc;
public String getMgc() {return mgc;}
public void setMgc(String mgc) {this.mgc = mgc;}
}

门票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_mp")
public class Mp {
//主键
@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 v1;
//性别
private String v2;
//年龄
private String v3;
//身份证
private String v4;
//收货地址
private String v5;
//门票编号
private String mpbh;
//状态
private String status;
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 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 getMpbh() {return mpbh;}
public void setMpbh(String mpbh) {this.mpbh = mpbh;}
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_sc")
public class Sc {
//主键
@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 Date insertDate;
//分类
private Integer bkId;
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 Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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_tw")
public class Tw {
//主键
@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 String twName;
//用户
private Integer customerId;
//状态
private String status;
//描述
private String ms;
//图片
private String tp;
//价格
private String jg;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public String getTwName() {return twName;}
public void setTwName(String twName) {this.twName = twName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
public String getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
}

我的消息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;
//类型
private Integer types;
//
private String bh;
//
private String hx;
//
private String czxs;
//
private String quyu;
//
private String jiage;
//
private String dth;
//
private String fwzt;
//
private String lxr;
//
private String lxdh;
//
private String jwd;
//
private String status;
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;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public String getBh() {return bh;}
public void setBh(String bh) {this.bh = bh;}
public String getHx() {return hx;}
public void setHx(String hx) {this.hx = hx;}
public String getCzxs() {return czxs;}
public void setCzxs(String czxs) {this.czxs = czxs;}
public String getQuyu() {return quyu;}
public void setQuyu(String quyu) {this.quyu = quyu;}
public String getJiage() {return jiage;}
public void setJiage(String jiage) {this.jiage = jiage;}
public String getDth() {return dth;}
public void setDth(String dth) {this.dth = dth;}
public String getFwzt() {return fwzt;}
public void setFwzt(String fwzt) {this.fwzt = fwzt;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public String getJwd() {return jwd;}
public void setJwd(String jwd) {this.jwd = jwd;}
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_zanlog")
public class Zanlog {
//主键
@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 Date insertDate;
//用户
private Integer customerId;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

漫展资讯系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

分类javaBean创建语句如下:


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

//分类
public class Bk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//版块名称
private String bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}

用户javaBean创建语句如下:


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

//用户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
//头像
private String headPic;
//层级
private String level;
//发帖权限
private String isft;
//评论权限
private String ispl;
//密保1
private String mb1;
//密保2
private String mb2;
//密保3
private String mb3;
//角色
private String js;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getLevel() {return level;}
public void setLevel(String level) {this.level = level;}
public String getIsft() {return isft;}
public void setIsft(String isft) {this.isft = isft;}
public String getIspl() {return ispl;}
public void setIspl(String ispl) {this.ispl = ispl;}
public String getMb1() {return mb1;}
public void setMb1(String mb1) {this.mb1 = mb1;}
public String getMb2() {return mb2;}
public void setMb2(String mb2) {this.mb2 = mb2;}
public String getMb3() {return mb3;}
public void setMb3(String mb3) {this.mb3 = mb3;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

工作javaBean创建语句如下:


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

//工作
public class Gz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//漫展
private Integer wdxxId;
//工作职务
private String gzName;
//用户
private Integer customerId;
//状态
private String status;
//时间
private String sj;
//日薪
private String rx;
//人数
private String rs;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public String getGzName() {return gzName;}
public void setGzName(String gzName) {this.gzName = gzName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getSj() {return sj;}
public void setSj(String sj) {this.sj = sj;}
public String getRx() {return rx;}
public void setRx(String rx) {this.rx = rx;}
public String getRs() {return rs;}
public void setRs(String rs) {this.rs = rs;}
}

工作申请人javaBean创建语句如下:


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

//工作申请人
public class Gzlist  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//工作
private Integer gzId;
//用户
private Integer customerId;
//状态
private String status;
public Integer getGzId() {return gzId;}
public void setGzId(Integer gzId) {this.gzId = gzId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Hd  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 String 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 String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

记录javaBean创建语句如下:


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

//记录
public class Log  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//房产
private Integer wdxxId;
//日期
private Date insertDate;
//
private Integer customerId;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

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


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

//论坛说明
public class Ltsm  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//论坛说明
private String title;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
}

javaBean创建语句如下:


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

//
public class Mgc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//敏感词
private String mgc;
public String getMgc() {return mgc;}
public void setMgc(String mgc) {this.mgc = mgc;}
}

门票javaBean创建语句如下:


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

//门票
public class Mp  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 v1;
//性别
private String v2;
//年龄
private String v3;
//身份证
private String v4;
//收货地址
private String v5;
//门票编号
private String mpbh;
//状态
private String status;
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 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 getMpbh() {return mpbh;}
public void setMpbh(String mpbh) {this.mpbh = mpbh;}
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 Sc  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 Date insertDate;
//分类
private Integer bkId;
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 Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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 Tw  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//漫展
private Integer wdxxId;
//摊位编号
private String twName;
//用户
private Integer customerId;
//状态
private String status;
//描述
private String ms;
//图片
private String tp;
//价格
private String jg;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public String getTwName() {return twName;}
public void setTwName(String twName) {this.twName = twName;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
public String getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
}

我的消息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;
//类型
private Integer types;
//
private String bh;
//
private String hx;
//
private String czxs;
//
private String quyu;
//
private String jiage;
//
private String dth;
//
private String fwzt;
//
private String lxr;
//
private String lxdh;
//
private String jwd;
//
private String status;
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;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public String getBh() {return bh;}
public void setBh(String bh) {this.bh = bh;}
public String getHx() {return hx;}
public void setHx(String hx) {this.hx = hx;}
public String getCzxs() {return czxs;}
public void setCzxs(String czxs) {this.czxs = czxs;}
public String getQuyu() {return quyu;}
public void setQuyu(String quyu) {this.quyu = quyu;}
public String getJiage() {return jiage;}
public void setJiage(String jiage) {this.jiage = jiage;}
public String getDth() {return dth;}
public void setDth(String dth) {this.dth = dth;}
public String getFwzt() {return fwzt;}
public void setFwzt(String fwzt) {this.fwzt = fwzt;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public String getJwd() {return jwd;}
public void setJwd(String jwd) {this.jwd = jwd;}
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 Zanlog  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//房产
private Integer wdxxId;
//日期
private Date insertDate;
//用户
private Integer customerId;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

源代码下载点这里

评论