基于语义分析的金融资讯系统

做一个网站,
1.用爬虫抓取金融之家网站上的资讯,然后将资讯传到自己的网站上,在网站上对资讯进行分类(就按照金融之家的资讯分类即可),
2.搜索功能,可以对网站内的资讯进行搜索即可
基于语义分析的金融资讯系统登录注册界面

基于语义分析的金融资讯系统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_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 '头像',
	mb1 varchar(100) comment '密保1',
	mb2 varchar(100) comment '密保2',
	mb3 varchar(100) comment '密保3',
	js varchar(100) comment '角色'
) comment '用户';

记录表创建语句如下:


create table t_movice_click(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	moviceId int comment '',
	insertDate datetime comment '日期'
) comment '记录';

热点表创建语句如下:


create table t_xm1(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment ' 标题',
	pic varchar(100) comment '图片',
	ms varchar(100) comment '描述',
	content varchar(100) comment '内容',
	url varchar(100) comment '原网址',
	insertDate datetime comment '日期',
	types varchar(100) comment ''
) comment '热点';

社会表创建语句如下:


create table t_xm2(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment ' 标题',
	pic varchar(100) comment '图片',
	ms varchar(100) comment '描述',
	content varchar(100) comment '内容',
	url varchar(100) comment '原网址',
	insertDate datetime comment '日期'
) comment '社会';

娱乐表创建语句如下:


create table t_xm3(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment ' 标题',
	pic varchar(100) comment '图片',
	ms varchar(100) comment '描述',
	content varchar(100) comment '内容',
	url varchar(100) comment '原网址',
	insertDate datetime comment '日期'
) comment '娱乐';

体育表创建语句如下:


create table t_xm4(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment ' 标题',
	pic varchar(100) comment '图片',
	ms varchar(100) comment '描述',
	content varchar(100) comment '内容',
	url varchar(100) comment '原网址',
	insertDate datetime comment '日期'
) comment '体育';

财经表创建语句如下:


create table t_xm5(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment ' 标题',
	pic varchar(100) comment '图片',
	ms varchar(100) comment '描述',
	content varchar(100) comment '内容',
	url varchar(100) comment '原网址',
	insertDate datetime 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_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),
	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.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_movice_click(
	id integer,
	customerId int,
	moviceId int,
	insertDate datetime
);
--记录字段加注释
comment on column t_movice_click.id is '主键';
comment on column t_movice_click.customerId is '用户';
comment on column t_movice_click.moviceId is '';
comment on column t_movice_click.insertDate is '日期';
--记录表加注释
comment on table t_movice_click is '记录';

热点表创建语句如下:


create table t_xm1(
	id integer,
	title varchar(100),
	pic varchar(100),
	ms varchar(100),
	content varchar(100),
	url varchar(100),
	insertDate datetime,
	types varchar(100)
);
--热点字段加注释
comment on column t_xm1.id is '主键';
comment on column t_xm1.title is ' 标题';
comment on column t_xm1.pic is '图片';
comment on column t_xm1.ms is '描述';
comment on column t_xm1.content is '内容';
comment on column t_xm1.url is '原网址';
comment on column t_xm1.insertDate is '日期';
comment on column t_xm1.types is '';
--热点表加注释
comment on table t_xm1 is '热点';

社会表创建语句如下:


create table t_xm2(
	id integer,
	title varchar(100),
	pic varchar(100),
	ms varchar(100),
	content varchar(100),
	url varchar(100),
	insertDate datetime
);
--社会字段加注释
comment on column t_xm2.id is '主键';
comment on column t_xm2.title is ' 标题';
comment on column t_xm2.pic is '图片';
comment on column t_xm2.ms is '描述';
comment on column t_xm2.content is '内容';
comment on column t_xm2.url is '原网址';
comment on column t_xm2.insertDate is '日期';
--社会表加注释
comment on table t_xm2 is '社会';

娱乐表创建语句如下:


create table t_xm3(
	id integer,
	title varchar(100),
	pic varchar(100),
	ms varchar(100),
	content varchar(100),
	url varchar(100),
	insertDate datetime
);
--娱乐字段加注释
comment on column t_xm3.id is '主键';
comment on column t_xm3.title is ' 标题';
comment on column t_xm3.pic is '图片';
comment on column t_xm3.ms is '描述';
comment on column t_xm3.content is '内容';
comment on column t_xm3.url is '原网址';
comment on column t_xm3.insertDate is '日期';
--娱乐表加注释
comment on table t_xm3 is '娱乐';

体育表创建语句如下:


create table t_xm4(
	id integer,
	title varchar(100),
	pic varchar(100),
	ms varchar(100),
	content varchar(100),
	url varchar(100),
	insertDate datetime
);
--体育字段加注释
comment on column t_xm4.id is '主键';
comment on column t_xm4.title is ' 标题';
comment on column t_xm4.pic is '图片';
comment on column t_xm4.ms is '描述';
comment on column t_xm4.content is '内容';
comment on column t_xm4.url is '原网址';
comment on column t_xm4.insertDate is '日期';
--体育表加注释
comment on table t_xm4 is '体育';

财经表创建语句如下:


create table t_xm5(
	id integer,
	title varchar(100),
	pic varchar(100),
	ms varchar(100),
	content varchar(100),
	url varchar(100),
	insertDate datetime
);
--财经字段加注释
comment on column t_xm5.id is '主键';
comment on column t_xm5.title is ' 标题';
comment on column t_xm5.pic is '图片';
comment on column t_xm5.ms is '描述';
comment on column t_xm5.content is '内容';
comment on column t_xm5.url is '原网址';
comment on column t_xm5.insertDate is '日期';
--财经表加注释
comment on table t_xm5 is '财经';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_movice_click;
create sequence s_t_xm1;
create sequence s_t_xm2;
create sequence s_t_xm3;
create sequence s_t_xm4;
create sequence s_t_xm5;

基于语义分析的金融资讯系统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_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),--头像
	mb1 varchar(100),--密保1
	mb2 varchar(100),--密保2
	mb3 varchar(100),--密保3
	js varchar(100)--角色
);

记录表创建语句如下:


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

热点表创建语句如下:


--热点表注释
create table t_xm1(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),-- 标题
	pic varchar(100),--图片
	ms varchar(100),--描述
	content varchar(100),--内容
	url varchar(100),--原网址
	insertDate datetime,--日期
	types varchar(100)--
);

社会表创建语句如下:


--社会表注释
create table t_xm2(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),-- 标题
	pic varchar(100),--图片
	ms varchar(100),--描述
	content varchar(100),--内容
	url varchar(100),--原网址
	insertDate datetime--日期
);

娱乐表创建语句如下:


--娱乐表注释
create table t_xm3(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),-- 标题
	pic varchar(100),--图片
	ms varchar(100),--描述
	content varchar(100),--内容
	url varchar(100),--原网址
	insertDate datetime--日期
);

体育表创建语句如下:


--体育表注释
create table t_xm4(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),-- 标题
	pic varchar(100),--图片
	ms varchar(100),--描述
	content varchar(100),--内容
	url varchar(100),--原网址
	insertDate datetime--日期
);

财经表创建语句如下:


--财经表注释
create table t_xm5(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),-- 标题
	pic varchar(100),--图片
	ms varchar(100),--描述
	content varchar(100),--内容
	url varchar(100),--原网址
	insertDate datetime--日期
);

基于语义分析的金融资讯系统登录后主页

基于语义分析的金融资讯系统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_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;
//密保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 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_movice_click")
public class Movice_click {
//主键
@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 moviceId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getMoviceId() {return moviceId;}
public void setMoviceId(Integer moviceId) {this.moviceId = moviceId;}
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_xm1")
public class Xm1 {
//主键
@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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
//
private String types;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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_xm2")
public class Xm2 {
//主键
@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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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_xm3")
public class Xm3 {
//主键
@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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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_xm4")
public class Xm4 {
//主键
@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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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_xm5")
public class Xm5 {
//主键
@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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

基于语义分析的金融资讯系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

用户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;
//密保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 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 Movice_click  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//
private Integer moviceId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getMoviceId() {return moviceId;}
public void setMoviceId(Integer moviceId) {this.moviceId = moviceId;}
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 Xm1  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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
//
private String types;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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 Xm2  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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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 Xm3  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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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 Xm4  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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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 Xm5  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 ms;
//内容
private String content;
//原网址
private String url;
//日期
private Date insertDate;
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 getMs() {return ms;}
public void setMs(String ms) {this.ms = ms;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

评论