景点信息综合服务后台系统

景点信息综合服务后台系统登录注册界面

景点信息综合服务后台系统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_hotal(
	id int primary key auto_increment comment '主键',
	hotalName varchar(100) comment '名称',
	pic varchar(100) comment '图片',
	price int comment '价格',
	content varchar(100) comment '内容'
) comment '酒店';

酒店订单表创建语句如下:


create table t_hotalorder(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	hotalId int comment '酒店名称',
	orderDate varchar(100) comment '订单日期',
	insertDate datetime comment '入库日期',
	status varchar(100) comment '状态'
) comment '酒店订单';

景点表创建语句如下:


create table t_jd(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	jd varchar(100) comment '经度',
	wd varchar(100) comment '纬度',
	showDate varchar(100) comment '显示日期'
) comment '景点';

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	ticketId int comment '票名称',
	orderDate varchar(100) comment '订单日期',
	insertDate datetime comment '入库日期',
	status varchar(100) comment '状态',
	types varchar(100) comment '分类'
) comment '订单';

票务表创建语句如下:


create table t_ticket(
	id int primary key auto_increment comment '主键',
	ticketName varchar(100) comment '门票名称',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	price varchar(100) comment '价格',
	types varchar(100) comment '类型',
	flow varchar(100) comment '来源'
) comment '票务';

周边美食表创建语句如下:


create table t_zb(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	jd varchar(100) comment '经度',
	wd varchar(100) comment '纬度',
	showDate varchar(100) 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_hotal(
	id integer,
	hotalName varchar(100),
	pic varchar(100),
	price int,
	content varchar(100)
);
--酒店字段加注释
comment on column t_hotal.id is '主键';
comment on column t_hotal.hotalName is '名称';
comment on column t_hotal.pic is '图片';
comment on column t_hotal.price is '价格';
comment on column t_hotal.content is '内容';
--酒店表加注释
comment on table t_hotal is '酒店';

酒店订单表创建语句如下:


create table t_hotalorder(
	id integer,
	customerId int,
	hotalId int,
	orderDate varchar(100),
	insertDate datetime,
	status varchar(100)
);
--酒店订单字段加注释
comment on column t_hotalorder.id is '主键';
comment on column t_hotalorder.customerId is '用户';
comment on column t_hotalorder.hotalId is '酒店名称';
comment on column t_hotalorder.orderDate is '订单日期';
comment on column t_hotalorder.insertDate is '入库日期';
comment on column t_hotalorder.status is '状态';
--酒店订单表加注释
comment on table t_hotalorder is '酒店订单';

景点表创建语句如下:


create table t_jd(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	jd varchar(100),
	wd varchar(100),
	showDate varchar(100)
);
--景点字段加注释
comment on column t_jd.id is '主键';
comment on column t_jd.title is '标题';
comment on column t_jd.pic is '图片';
comment on column t_jd.content is '内容';
comment on column t_jd.jd is '经度';
comment on column t_jd.wd is '纬度';
comment on column t_jd.showDate is '显示日期';
--景点表加注释
comment on table t_jd is '景点';

订单表创建语句如下:


create table t_order(
	id integer,
	customerId int,
	ticketId int,
	orderDate varchar(100),
	insertDate datetime,
	status varchar(100),
	types varchar(100)
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '用户';
comment on column t_order.ticketId is '票名称';
comment on column t_order.orderDate is '订单日期';
comment on column t_order.insertDate is '入库日期';
comment on column t_order.status is '状态';
comment on column t_order.types is '分类';
--订单表加注释
comment on table t_order is '订单';

票务表创建语句如下:


create table t_ticket(
	id integer,
	ticketName varchar(100),
	pic varchar(100),
	content varchar(100),
	price varchar(100),
	types varchar(100),
	flow varchar(100)
);
--票务字段加注释
comment on column t_ticket.id is '主键';
comment on column t_ticket.ticketName is '门票名称';
comment on column t_ticket.pic is '图片';
comment on column t_ticket.content is '内容';
comment on column t_ticket.price is '价格';
comment on column t_ticket.types is '类型';
comment on column t_ticket.flow is '来源';
--票务表加注释
comment on table t_ticket is '票务';

周边美食表创建语句如下:


create table t_zb(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	jd varchar(100),
	wd varchar(100),
	showDate varchar(100)
);
--周边美食字段加注释
comment on column t_zb.id is '主键';
comment on column t_zb.title is '标题';
comment on column t_zb.pic is '图片';
comment on column t_zb.content is '内容';
comment on column t_zb.jd is '经度';
comment on column t_zb.wd is '纬度';
comment on column t_zb.showDate is '显示日期';
--周边美食表加注释
comment on table t_zb is '周边美食';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_hotal;
create sequence s_t_hotalorder;
create sequence s_t_jd;
create sequence s_t_order;
create sequence s_t_ticket;
create sequence s_t_zb;

景点信息综合服务后台系统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_hotal(
	id int identity(1,1) primary key not null,--主键
	hotalName varchar(100),--名称
	pic varchar(100),--图片
	price int,--价格
	content varchar(100)--内容
);

酒店订单表创建语句如下:


--酒店订单表注释
create table t_hotalorder(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	hotalId int,--酒店名称
	orderDate varchar(100),--订单日期
	insertDate datetime,--入库日期
	status varchar(100)--状态
);

景点表创建语句如下:


--景点表注释
create table t_jd(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	jd varchar(100),--经度
	wd varchar(100),--纬度
	showDate varchar(100)--显示日期
);

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	ticketId int,--票名称
	orderDate varchar(100),--订单日期
	insertDate datetime,--入库日期
	status varchar(100),--状态
	types varchar(100)--分类
);

票务表创建语句如下:


--票务表注释
create table t_ticket(
	id int identity(1,1) primary key not null,--主键
	ticketName varchar(100),--门票名称
	pic varchar(100),--图片
	content varchar(100),--内容
	price varchar(100),--价格
	types varchar(100),--类型
	flow varchar(100)--来源
);

周边美食表创建语句如下:


--周边美食表注释
create table t_zb(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	jd varchar(100),--经度
	wd varchar(100),--纬度
	showDate varchar(100)--显示日期
);

景点信息综合服务后台系统登录后主页

景点信息综合服务后台系统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_hotal")
public class Hotal {
//主键
@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 hotalName;
//图片
private String pic;
//价格
private Integer price;
//内容
private String content;
public String getHotalName() {return hotalName;}
public void setHotalName(String hotalName) {this.hotalName = hotalName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

酒店订单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_hotalorder")
public class Hotalorder {
//主键
@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 hotalId;
//订单日期
private String orderDate;
//入库日期
private Date insertDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getHotalId() {return hotalId;}
public void setHotalId(Integer hotalId) {this.hotalId = hotalId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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_jd")
public class Jd {
//主键
@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 jd;
//纬度
private String wd;
//显示日期
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 getJd() {return jd;}
public void setJd(String jd) {this.jd = jd;}
public String getWd() {return wd;}
public void setWd(String wd) {this.wd = wd;}
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_order")
public class Order {
//主键
@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 ticketId;
//订单日期
private String orderDate;
//入库日期
private Date insertDate;
//状态
private String status;
//分类
private String types;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getTicketId() {return ticketId;}
public void setTicketId(Integer ticketId) {this.ticketId = ticketId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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_ticket")
public class Ticket {
//主键
@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 ticketName;
//图片
private String pic;
//内容
private String content;
//价格
private String price;
//类型
private String types;
//来源
private String flow;
public String getTicketName() {return ticketName;}
public void setTicketName(String ticketName) {this.ticketName = ticketName;}
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 getPrice() {return price;}
public void setPrice(String price) {this.price = price;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getFlow() {return flow;}
public void setFlow(String flow) {this.flow = flow;}
}

周边美食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_zb")
public class Zb {
//主键
@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 jd;
//纬度
private String wd;
//显示日期
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 getJd() {return jd;}
public void setJd(String jd) {this.jd = jd;}
public String getWd() {return wd;}
public void setWd(String wd) {this.wd = wd;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

景点信息综合服务后台系统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 Hotal  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名称
private String hotalName;
//图片
private String pic;
//价格
private Integer price;
//内容
private String content;
public String getHotalName() {return hotalName;}
public void setHotalName(String hotalName) {this.hotalName = hotalName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

酒店订单javaBean创建语句如下:


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

//酒店订单
public class Hotalorder  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//酒店名称
private Integer hotalId;
//订单日期
private String orderDate;
//入库日期
private Date insertDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getHotalId() {return hotalId;}
public void setHotalId(Integer hotalId) {this.hotalId = hotalId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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 Jd  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 jd;
//纬度
private String wd;
//显示日期
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 getJd() {return jd;}
public void setJd(String jd) {this.jd = jd;}
public String getWd() {return wd;}
public void setWd(String wd) {this.wd = wd;}
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 Order  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//票名称
private Integer ticketId;
//订单日期
private String orderDate;
//入库日期
private Date insertDate;
//状态
private String status;
//分类
private String types;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getTicketId() {return ticketId;}
public void setTicketId(Integer ticketId) {this.ticketId = ticketId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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 Ticket  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//门票名称
private String ticketName;
//图片
private String pic;
//内容
private String content;
//价格
private String price;
//类型
private String types;
//来源
private String flow;
public String getTicketName() {return ticketName;}
public void setTicketName(String ticketName) {this.ticketName = ticketName;}
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 getPrice() {return price;}
public void setPrice(String price) {this.price = price;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getFlow() {return flow;}
public void setFlow(String flow) {this.flow = flow;}
}

周边美食javaBean创建语句如下:


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

//周边美食
public class Zb  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 jd;
//纬度
private String wd;
//显示日期
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 getJd() {return jd;}
public void setJd(String jd) {this.jd = jd;}
public String getWd() {return wd;}
public void setWd(String wd) {this.wd = wd;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

源代码下载点这里

评论