基于JavaEE的景区游客自助系统,java专业毕业设计

基于JavaEE的景区游客自助系统登录注册界面

基于JavaEE的景区游客自助系统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_lj(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '类型',
	v2 varchar(100) comment '获奖人'
) comment '领奖';

留言表创建语句如下:


create table t_ly(
	id int primary key auto_increment comment '主键',
	zxhdId int comment '活动',
	content varchar(100) comment '内容',
	xj varchar(100) comment '星级',
	phone varchar(100) comment '手机',
	insertDate datetime comment '时间'
) comment '留言';

问卷表创建语句如下:


create table t_wj(
	id int primary key auto_increment comment '主键',
	showDate varchar(100) comment '日期',
	wjName varchar(100) comment '',
	va1 varchar(100) comment '题目一',
	va2 varchar(100) comment '选项A',
	va3 varchar(100) comment '选项B',
	va4 varchar(100) comment '选项C',
	va5 varchar(100) comment '选项D',
	va6 varchar(100) comment '答案',
	vb1 varchar(100) comment '题目二',
	vb2 varchar(100) comment '选项A',
	vb3 varchar(100) comment '选项B',
	vb4 varchar(100) comment '选项C',
	vb5 varchar(100) comment '选项D',
	vb6 varchar(100) comment '答案',
	vc1 varchar(100) comment '多选题目三',
	vc2 varchar(100) comment '选项A',
	vc3 varchar(100) comment '选项B',
	vc4 varchar(100) comment '选项C',
	vc5 varchar(100) comment '选项D',
	vc6 varchar(100) comment '答案'
) comment '问卷';

问卷答案表创建语句如下:


create table t_wjda(
	id int primary key auto_increment comment '主键',
	customerId int comment '客户',
	wjId int comment '问卷',
	d1 varchar(100) comment '答案',
	d2 varchar(100) comment '答案',
	d3 varchar(100) comment '答案',
	d4 varchar(100) comment '答案',
	d5 varchar(100) comment '答案',
	d6 varchar(100) comment '答案',
	d7 varchar(100) comment '答案',
	d8 varchar(100) comment '答案',
	d9 varchar(100) comment '答案',
	phone varchar(100) comment '手机',
	insertDate datetime comment '日期'
) comment '问卷答案';

资讯活动表创建语句如下:


create table t_zxhd(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '标题',
	v2 varchar(100) comment '内容',
	v3 varchar(100) comment '时间',
	types varchar(100) comment '类型'
) comment '资讯活动';

基于JavaEE的景区游客自助系统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_lj(
	id integer,
	v1 varchar(100),
	v2 varchar(100)
);
--领奖字段加注释
comment on column t_lj.id is '主键';
comment on column t_lj.v1 is '类型';
comment on column t_lj.v2 is '获奖人';
--领奖表加注释
comment on table t_lj is '领奖';

留言表创建语句如下:


create table t_ly(
	id integer,
	zxhdId int,
	content varchar(100),
	xj varchar(100),
	phone varchar(100),
	insertDate datetime
);
--留言字段加注释
comment on column t_ly.id is '主键';
comment on column t_ly.zxhdId is '活动';
comment on column t_ly.content is '内容';
comment on column t_ly.xj is '星级';
comment on column t_ly.phone is '手机';
comment on column t_ly.insertDate is '时间';
--留言表加注释
comment on table t_ly is '留言';

问卷表创建语句如下:


create table t_wj(
	id integer,
	showDate varchar(100),
	wjName varchar(100),
	va1 varchar(100),
	va2 varchar(100),
	va3 varchar(100),
	va4 varchar(100),
	va5 varchar(100),
	va6 varchar(100),
	vb1 varchar(100),
	vb2 varchar(100),
	vb3 varchar(100),
	vb4 varchar(100),
	vb5 varchar(100),
	vb6 varchar(100),
	vc1 varchar(100),
	vc2 varchar(100),
	vc3 varchar(100),
	vc4 varchar(100),
	vc5 varchar(100),
	vc6 varchar(100)
);
--问卷字段加注释
comment on column t_wj.id is '主键';
comment on column t_wj.showDate is '日期';
comment on column t_wj.wjName is '';
comment on column t_wj.va1 is '题目一';
comment on column t_wj.va2 is '选项A';
comment on column t_wj.va3 is '选项B';
comment on column t_wj.va4 is '选项C';
comment on column t_wj.va5 is '选项D';
comment on column t_wj.va6 is '答案';
comment on column t_wj.vb1 is '题目二';
comment on column t_wj.vb2 is '选项A';
comment on column t_wj.vb3 is '选项B';
comment on column t_wj.vb4 is '选项C';
comment on column t_wj.vb5 is '选项D';
comment on column t_wj.vb6 is '答案';
comment on column t_wj.vc1 is '多选题目三';
comment on column t_wj.vc2 is '选项A';
comment on column t_wj.vc3 is '选项B';
comment on column t_wj.vc4 is '选项C';
comment on column t_wj.vc5 is '选项D';
comment on column t_wj.vc6 is '答案';
--问卷表加注释
comment on table t_wj is '问卷';

问卷答案表创建语句如下:


create table t_wjda(
	id integer,
	customerId int,
	wjId int,
	d1 varchar(100),
	d2 varchar(100),
	d3 varchar(100),
	d4 varchar(100),
	d5 varchar(100),
	d6 varchar(100),
	d7 varchar(100),
	d8 varchar(100),
	d9 varchar(100),
	phone varchar(100),
	insertDate datetime
);
--问卷答案字段加注释
comment on column t_wjda.id is '主键';
comment on column t_wjda.customerId is '客户';
comment on column t_wjda.wjId is '问卷';
comment on column t_wjda.d1 is '答案';
comment on column t_wjda.d2 is '答案';
comment on column t_wjda.d3 is '答案';
comment on column t_wjda.d4 is '答案';
comment on column t_wjda.d5 is '答案';
comment on column t_wjda.d6 is '答案';
comment on column t_wjda.d7 is '答案';
comment on column t_wjda.d8 is '答案';
comment on column t_wjda.d9 is '答案';
comment on column t_wjda.phone is '手机';
comment on column t_wjda.insertDate is '日期';
--问卷答案表加注释
comment on table t_wjda is '问卷答案';

资讯活动表创建语句如下:


create table t_zxhd(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	types varchar(100)
);
--资讯活动字段加注释
comment on column t_zxhd.id is '主键';
comment on column t_zxhd.v1 is '标题';
comment on column t_zxhd.v2 is '内容';
comment on column t_zxhd.v3 is '时间';
comment on column t_zxhd.types is '类型';
--资讯活动表加注释
comment on table t_zxhd is '资讯活动';

oracle特有,对应序列如下:


create sequence s_t_lj;
create sequence s_t_ly;
create sequence s_t_wj;
create sequence s_t_wjda;
create sequence s_t_zxhd;

基于JavaEE的景区游客自助系统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_lj(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--类型
	v2 varchar(100)--获奖人
);

留言表创建语句如下:


--留言表注释
create table t_ly(
	id int identity(1,1) primary key not null,--主键
	zxhdId int,--活动
	content varchar(100),--内容
	xj varchar(100),--星级
	phone varchar(100),--手机
	insertDate datetime--时间
);

问卷表创建语句如下:


--问卷表注释
create table t_wj(
	id int identity(1,1) primary key not null,--主键
	showDate varchar(100),--日期
	wjName varchar(100),--
	va1 varchar(100),--题目一
	va2 varchar(100),--选项A
	va3 varchar(100),--选项B
	va4 varchar(100),--选项C
	va5 varchar(100),--选项D
	va6 varchar(100),--答案
	vb1 varchar(100),--题目二
	vb2 varchar(100),--选项A
	vb3 varchar(100),--选项B
	vb4 varchar(100),--选项C
	vb5 varchar(100),--选项D
	vb6 varchar(100),--答案
	vc1 varchar(100),--多选题目三
	vc2 varchar(100),--选项A
	vc3 varchar(100),--选项B
	vc4 varchar(100),--选项C
	vc5 varchar(100),--选项D
	vc6 varchar(100)--答案
);

问卷答案表创建语句如下:


--问卷答案表注释
create table t_wjda(
	id int identity(1,1) primary key not null,--主键
	customerId int,--客户
	wjId int,--问卷
	d1 varchar(100),--答案
	d2 varchar(100),--答案
	d3 varchar(100),--答案
	d4 varchar(100),--答案
	d5 varchar(100),--答案
	d6 varchar(100),--答案
	d7 varchar(100),--答案
	d8 varchar(100),--答案
	d9 varchar(100),--答案
	phone varchar(100),--手机
	insertDate datetime--日期
);

资讯活动表创建语句如下:


--资讯活动表注释
create table t_zxhd(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--标题
	v2 varchar(100),--内容
	v3 varchar(100),--时间
	types varchar(100)--类型
);

基于JavaEE的景区游客自助系统登录后主页

基于JavaEE的景区游客自助系统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_lj")
public class Lj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private String v1;
//获奖人
private String v2;
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;}
}

留言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_ly")
public class Ly {
//主键
@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 zxhdId;
//内容
private String content;
//星级
private String xj;
//手机
private String phone;
//时间
private Date insertDate;
public Integer getZxhdId() {return zxhdId;}
public void setZxhdId(Integer zxhdId) {this.zxhdId = zxhdId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getXj() {return xj;}
public void setXj(String xj) {this.xj = xj;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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_wj")
public class Wj {
//主键
@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 showDate;
//
private String wjName;
//题目一
private String va1;
//选项A
private String va2;
//选项B
private String va3;
//选项C
private String va4;
//选项D
private String va5;
//答案
private String va6;
//题目二
private String vb1;
//选项A
private String vb2;
//选项B
private String vb3;
//选项C
private String vb4;
//选项D
private String vb5;
//答案
private String vb6;
//多选题目三
private String vc1;
//选项A
private String vc2;
//选项B
private String vc3;
//选项C
private String vc4;
//选项D
private String vc5;
//答案
private String vc6;
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getWjName() {return wjName;}
public void setWjName(String wjName) {this.wjName = wjName;}
public String getVa1() {return va1;}
public void setVa1(String va1) {this.va1 = va1;}
public String getVa2() {return va2;}
public void setVa2(String va2) {this.va2 = va2;}
public String getVa3() {return va3;}
public void setVa3(String va3) {this.va3 = va3;}
public String getVa4() {return va4;}
public void setVa4(String va4) {this.va4 = va4;}
public String getVa5() {return va5;}
public void setVa5(String va5) {this.va5 = va5;}
public String getVa6() {return va6;}
public void setVa6(String va6) {this.va6 = va6;}
public String getVb1() {return vb1;}
public void setVb1(String vb1) {this.vb1 = vb1;}
public String getVb2() {return vb2;}
public void setVb2(String vb2) {this.vb2 = vb2;}
public String getVb3() {return vb3;}
public void setVb3(String vb3) {this.vb3 = vb3;}
public String getVb4() {return vb4;}
public void setVb4(String vb4) {this.vb4 = vb4;}
public String getVb5() {return vb5;}
public void setVb5(String vb5) {this.vb5 = vb5;}
public String getVb6() {return vb6;}
public void setVb6(String vb6) {this.vb6 = vb6;}
public String getVc1() {return vc1;}
public void setVc1(String vc1) {this.vc1 = vc1;}
public String getVc2() {return vc2;}
public void setVc2(String vc2) {this.vc2 = vc2;}
public String getVc3() {return vc3;}
public void setVc3(String vc3) {this.vc3 = vc3;}
public String getVc4() {return vc4;}
public void setVc4(String vc4) {this.vc4 = vc4;}
public String getVc5() {return vc5;}
public void setVc5(String vc5) {this.vc5 = vc5;}
public String getVc6() {return vc6;}
public void setVc6(String vc6) {this.vc6 = vc6;}
}

问卷答案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_wjda")
public class Wjda {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//客户
private Integer customerId;
//问卷
private Integer wjId;
//答案
private String d1;
//答案
private String d2;
//答案
private String d3;
//答案
private String d4;
//答案
private String d5;
//答案
private String d6;
//答案
private String d7;
//答案
private String d8;
//答案
private String d9;
//手机
private String phone;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getWjId() {return wjId;}
public void setWjId(Integer wjId) {this.wjId = wjId;}
public String getD1() {return d1;}
public void setD1(String d1) {this.d1 = d1;}
public String getD2() {return d2;}
public void setD2(String d2) {this.d2 = d2;}
public String getD3() {return d3;}
public void setD3(String d3) {this.d3 = d3;}
public String getD4() {return d4;}
public void setD4(String d4) {this.d4 = d4;}
public String getD5() {return d5;}
public void setD5(String d5) {this.d5 = d5;}
public String getD6() {return d6;}
public void setD6(String d6) {this.d6 = d6;}
public String getD7() {return d7;}
public void setD7(String d7) {this.d7 = d7;}
public String getD8() {return d8;}
public void setD8(String d8) {this.d8 = d8;}
public String getD9() {return d9;}
public void setD9(String d9) {this.d9 = d9;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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_zxhd")
public class Zxhd {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String v1;
//内容
private String v2;
//时间
private String v3;
//类型
private String types;
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 getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

基于JavaEE的景区游客自助系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

领奖javaBean创建语句如下:


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

//领奖
public class Lj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private String v1;
//获奖人
private String v2;
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;}
}

留言javaBean创建语句如下:


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

//留言
public class Ly  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//活动
private Integer zxhdId;
//内容
private String content;
//星级
private String xj;
//手机
private String phone;
//时间
private Date insertDate;
public Integer getZxhdId() {return zxhdId;}
public void setZxhdId(Integer zxhdId) {this.zxhdId = zxhdId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getXj() {return xj;}
public void setXj(String xj) {this.xj = xj;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 Wj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//日期
private String showDate;
//
private String wjName;
//题目一
private String va1;
//选项A
private String va2;
//选项B
private String va3;
//选项C
private String va4;
//选项D
private String va5;
//答案
private String va6;
//题目二
private String vb1;
//选项A
private String vb2;
//选项B
private String vb3;
//选项C
private String vb4;
//选项D
private String vb5;
//答案
private String vb6;
//多选题目三
private String vc1;
//选项A
private String vc2;
//选项B
private String vc3;
//选项C
private String vc4;
//选项D
private String vc5;
//答案
private String vc6;
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getWjName() {return wjName;}
public void setWjName(String wjName) {this.wjName = wjName;}
public String getVa1() {return va1;}
public void setVa1(String va1) {this.va1 = va1;}
public String getVa2() {return va2;}
public void setVa2(String va2) {this.va2 = va2;}
public String getVa3() {return va3;}
public void setVa3(String va3) {this.va3 = va3;}
public String getVa4() {return va4;}
public void setVa4(String va4) {this.va4 = va4;}
public String getVa5() {return va5;}
public void setVa5(String va5) {this.va5 = va5;}
public String getVa6() {return va6;}
public void setVa6(String va6) {this.va6 = va6;}
public String getVb1() {return vb1;}
public void setVb1(String vb1) {this.vb1 = vb1;}
public String getVb2() {return vb2;}
public void setVb2(String vb2) {this.vb2 = vb2;}
public String getVb3() {return vb3;}
public void setVb3(String vb3) {this.vb3 = vb3;}
public String getVb4() {return vb4;}
public void setVb4(String vb4) {this.vb4 = vb4;}
public String getVb5() {return vb5;}
public void setVb5(String vb5) {this.vb5 = vb5;}
public String getVb6() {return vb6;}
public void setVb6(String vb6) {this.vb6 = vb6;}
public String getVc1() {return vc1;}
public void setVc1(String vc1) {this.vc1 = vc1;}
public String getVc2() {return vc2;}
public void setVc2(String vc2) {this.vc2 = vc2;}
public String getVc3() {return vc3;}
public void setVc3(String vc3) {this.vc3 = vc3;}
public String getVc4() {return vc4;}
public void setVc4(String vc4) {this.vc4 = vc4;}
public String getVc5() {return vc5;}
public void setVc5(String vc5) {this.vc5 = vc5;}
public String getVc6() {return vc6;}
public void setVc6(String vc6) {this.vc6 = vc6;}
}

问卷答案javaBean创建语句如下:


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

//问卷答案
public class Wjda  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//客户
private Integer customerId;
//问卷
private Integer wjId;
//答案
private String d1;
//答案
private String d2;
//答案
private String d3;
//答案
private String d4;
//答案
private String d5;
//答案
private String d6;
//答案
private String d7;
//答案
private String d8;
//答案
private String d9;
//手机
private String phone;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getWjId() {return wjId;}
public void setWjId(Integer wjId) {this.wjId = wjId;}
public String getD1() {return d1;}
public void setD1(String d1) {this.d1 = d1;}
public String getD2() {return d2;}
public void setD2(String d2) {this.d2 = d2;}
public String getD3() {return d3;}
public void setD3(String d3) {this.d3 = d3;}
public String getD4() {return d4;}
public void setD4(String d4) {this.d4 = d4;}
public String getD5() {return d5;}
public void setD5(String d5) {this.d5 = d5;}
public String getD6() {return d6;}
public void setD6(String d6) {this.d6 = d6;}
public String getD7() {return d7;}
public void setD7(String d7) {this.d7 = d7;}
public String getD8() {return d8;}
public void setD8(String d8) {this.d8 = d8;}
public String getD9() {return d9;}
public void setD9(String d9) {this.d9 = d9;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 Zxhd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String v1;
//内容
private String v2;
//时间
private String v3;
//类型
private String types;
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 getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

源代码下载点这里

评论