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

基于Android的旅游自助APP

基于Android的旅游自助APP登录注册界面

基于Android的旅游自助APPmysql数据库版本源码:

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


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_blog(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	pic varchar(100) comment '图片',
	insertDate datetime comment '发布日期',
	vNum int comment '访问数',
	pNum int comment '评论数'
) comment '个人博客';

个人博客评论表创建语句如下:


create table t_blogpinglun(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	blogId int comment '博客',
	content varchar(100) comment '评论内容',
	insertDate datetime comment '评论日期'
) comment '个人博客评论';

旅游公司工作人员表创建语句如下:


create table t_company(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	companyName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄'
) comment '旅游公司工作人员';

用户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sfz varchar(100) comment '身份证',
	sex varchar(100) comment '性别',
	headPic 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 '景点介绍',
	jg varchar(100) comment '价格',
	wz varchar(100) comment '位置',
	kfsj varchar(100) comment '开发时间'
) comment '景点';

轮播图表创建语句如下:


create table t_lbt(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	link varchar(100) comment '链接'
) comment '轮播图';

留言表创建语句如下:


create table t_liuyan(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期',
	back varchar(100) comment '回复内容',
	status varchar(100) comment '状态'
) comment '留言';

旅游局工作人员表创建语句如下:


create table t_lyj(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	lyjName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄'
) comment '旅游局工作人员';

景点线路表创建语句如下:


create table t_xianlu(
	id int primary key auto_increment comment '主键',
	companyId int comment '旅游公司',
	xianluName varchar(100) comment '线路名称',
	ts int comment '天数',
	pic varchar(100) comment '图片',
	v1 varchar(100) comment '餐饮',
	v2 varchar(100) comment '住宿',
	v3 varchar(100) comment '交通',
	v4 varchar(100) comment '浏览时间',
	jg varchar(100) comment '价格',
	lxfs varchar(100) comment '联系方式'
) comment '景点线路';

预约表创建语句如下:


create table t_yy(
	id int primary key auto_increment comment '主键',
	companyId int comment '旅游公司',
	xianluId int comment '线路',
	customerId int comment '用户',
	showDate varchar(100) comment '预约日期',
	remark varchar(100) comment '备注'
) comment '预约';

资讯表创建语句如下:


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

基于Android的旅游自助APPoracle数据库版本源码:

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


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_blog(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	pic varchar(100),
	insertDate datetime,
	vNum int,
	pNum int
);
--个人博客字段加注释
comment on column t_blog.id is '主键';
comment on column t_blog.customerId is '用户';
comment on column t_blog.title is '标题';
comment on column t_blog.content is '内容';
comment on column t_blog.pic is '图片';
comment on column t_blog.insertDate is '发布日期';
comment on column t_blog.vNum is '访问数';
comment on column t_blog.pNum is '评论数';
--个人博客表加注释
comment on table t_blog is '个人博客';

个人博客评论表创建语句如下:


create table t_blogpinglun(
	id integer,
	customerId int,
	blogId int,
	content varchar(100),
	insertDate datetime
);
--个人博客评论字段加注释
comment on column t_blogpinglun.id is '主键';
comment on column t_blogpinglun.customerId is '用户';
comment on column t_blogpinglun.blogId is '博客';
comment on column t_blogpinglun.content is '评论内容';
comment on column t_blogpinglun.insertDate is '评论日期';
--个人博客评论表加注释
comment on table t_blogpinglun is '个人博客评论';

旅游公司工作人员表创建语句如下:


create table t_company(
	id integer,
	username varchar(100),
	password varchar(100),
	companyName varchar(100),
	phone varchar(100),
	age varchar(100)
);
--旅游公司工作人员字段加注释
comment on column t_company.id is '主键';
comment on column t_company.username is '账号';
comment on column t_company.password is '密码';
comment on column t_company.companyName is '姓名';
comment on column t_company.phone is '电话';
comment on column t_company.age is '年龄';
--旅游公司工作人员表加注释
comment on table t_company is '旅游公司工作人员';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	phone varchar(100),
	age varchar(100),
	sfz varchar(100),
	sex varchar(100),
	headPic varchar(100)
);
--用户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sfz is '身份证';
comment on column t_customer.sex is '性别';
comment on column t_customer.headPic is '头像';
--用户表加注释
comment on table t_customer is '用户';

景点表创建语句如下:


create table t_jd(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	jg varchar(100),
	wz varchar(100),
	kfsj 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.jg is '价格';
comment on column t_jd.wz is '位置';
comment on column t_jd.kfsj is '开发时间';
--景点表加注释
comment on table t_jd is '景点';

轮播图表创建语句如下:


create table t_lbt(
	id integer,
	title varchar(100),
	pic varchar(100),
	link varchar(100)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.title is '标题';
comment on column t_lbt.pic is '图片';
comment on column t_lbt.link is '链接';
--轮播图表加注释
comment on table t_lbt is '轮播图';

留言表创建语句如下:


create table t_liuyan(
	id integer,
	customerId int,
	content varchar(100),
	insertDate datetime,
	back varchar(100),
	status varchar(100)
);
--留言字段加注释
comment on column t_liuyan.id is '主键';
comment on column t_liuyan.customerId is '用户';
comment on column t_liuyan.content is '内容';
comment on column t_liuyan.insertDate is '日期';
comment on column t_liuyan.back is '回复内容';
comment on column t_liuyan.status is '状态';
--留言表加注释
comment on table t_liuyan is '留言';

旅游局工作人员表创建语句如下:


create table t_lyj(
	id integer,
	username varchar(100),
	password varchar(100),
	lyjName varchar(100),
	phone varchar(100),
	age varchar(100)
);
--旅游局工作人员字段加注释
comment on column t_lyj.id is '主键';
comment on column t_lyj.username is '账号';
comment on column t_lyj.password is '密码';
comment on column t_lyj.lyjName is '姓名';
comment on column t_lyj.phone is '电话';
comment on column t_lyj.age is '年龄';
--旅游局工作人员表加注释
comment on table t_lyj is '旅游局工作人员';

景点线路表创建语句如下:


create table t_xianlu(
	id integer,
	companyId int,
	xianluName varchar(100),
	ts int,
	pic varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	jg varchar(100),
	lxfs varchar(100)
);
--景点线路字段加注释
comment on column t_xianlu.id is '主键';
comment on column t_xianlu.companyId is '旅游公司';
comment on column t_xianlu.xianluName is '线路名称';
comment on column t_xianlu.ts is '天数';
comment on column t_xianlu.pic is '图片';
comment on column t_xianlu.v1 is '餐饮';
comment on column t_xianlu.v2 is '住宿';
comment on column t_xianlu.v3 is '交通';
comment on column t_xianlu.v4 is '浏览时间';
comment on column t_xianlu.jg is '价格';
comment on column t_xianlu.lxfs is '联系方式';
--景点线路表加注释
comment on table t_xianlu is '景点线路';

预约表创建语句如下:


create table t_yy(
	id integer,
	companyId int,
	xianluId int,
	customerId int,
	showDate varchar(100),
	remark varchar(100)
);
--预约字段加注释
comment on column t_yy.id is '主键';
comment on column t_yy.companyId is '旅游公司';
comment on column t_yy.xianluId is '线路';
comment on column t_yy.customerId is '用户';
comment on column t_yy.showDate is '预约日期';
comment on column t_yy.remark is '备注';
--预约表加注释
comment on table t_yy is '预约';

资讯表创建语句如下:


create table t_zx(
	id integer,
	title varchar(100),
	content varchar(100),
	pic varchar(100),
	insertDate datetime
);
--资讯字段加注释
comment on column t_zx.id is '主键';
comment on column t_zx.title is '标题';
comment on column t_zx.content is '内容';
comment on column t_zx.pic is '资讯图片';
comment on column t_zx.insertDate is '发布日期';
--资讯表加注释
comment on table t_zx is '资讯';

oracle特有,对应序列如下:


create sequence s_t_blog;
create sequence s_t_blogpinglun;
create sequence s_t_company;
create sequence s_t_customer;
create sequence s_t_jd;
create sequence s_t_lbt;
create sequence s_t_liuyan;
create sequence s_t_lyj;
create sequence s_t_xianlu;
create sequence s_t_yy;
create sequence s_t_zx;

基于Android的旅游自助APPsqlserver数据库版本源码:

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


--超级管理员
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_blog(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--标题
	content varchar(100),--内容
	pic varchar(100),--图片
	insertDate datetime,--发布日期
	vNum int,--访问数
	pNum int--评论数
);

个人博客评论表创建语句如下:


--个人博客评论表注释
create table t_blogpinglun(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	blogId int,--博客
	content varchar(100),--评论内容
	insertDate datetime--评论日期
);

旅游公司工作人员表创建语句如下:


--旅游公司工作人员表注释
create table t_company(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	companyName varchar(100),--姓名
	phone varchar(100),--电话
	age varchar(100)--年龄
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sfz varchar(100),--身份证
	sex varchar(100),--性别
	headPic varchar(100)--头像
);

景点表创建语句如下:


--景点表注释
create table t_jd(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--景点名称
	pic varchar(100),--图片
	content varchar(100),--景点介绍
	jg varchar(100),--价格
	wz varchar(100),--位置
	kfsj varchar(100)--开发时间
);

轮播图表创建语句如下:


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

留言表创建语句如下:


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

旅游局工作人员表创建语句如下:


--旅游局工作人员表注释
create table t_lyj(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	lyjName varchar(100),--姓名
	phone varchar(100),--电话
	age varchar(100)--年龄
);

景点线路表创建语句如下:


--景点线路表注释
create table t_xianlu(
	id int identity(1,1) primary key not null,--主键
	companyId int,--旅游公司
	xianluName varchar(100),--线路名称
	ts int,--天数
	pic varchar(100),--图片
	v1 varchar(100),--餐饮
	v2 varchar(100),--住宿
	v3 varchar(100),--交通
	v4 varchar(100),--浏览时间
	jg varchar(100),--价格
	lxfs varchar(100)--联系方式
);

预约表创建语句如下:


--预约表注释
create table t_yy(
	id int identity(1,1) primary key not null,--主键
	companyId int,--旅游公司
	xianluId int,--线路
	customerId int,--用户
	showDate varchar(100),--预约日期
	remark varchar(100)--备注
);

资讯表创建语句如下:


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

基于Android的旅游自助APP登录后主页

基于Android的旅游自助APPspring+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_blog")
public class Blog {
//主键
@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 content;
//图片
private String pic;
//发布日期
private Date insertDate;
//访问数
private Integer vNum;
//评论数
private Integer pNum;
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 getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getVNum() {return vNum;}
public void setVNum(Integer vNum) {this.vNum = vNum;}
public Integer getPNum() {return pNum;}
public void setPNum(Integer pNum) {this.pNum = pNum;}
}

个人博客评论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_blogpinglun")
public class Blogpinglun {
//主键
@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 blogId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getBlogId() {return blogId;}
public void setBlogId(Integer blogId) {this.blogId = blogId;}
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_company")
public class Company {
//主键
@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 companyName;
//电话
private String phone;
//年龄
private String age;
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 getCompanyName() {return companyName;}
public void setCompanyName(String companyName) {this.companyName = companyName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}

用户javaBean创建语句如下:


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

//用户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//电话
private String phone;
//年龄
private String age;
//身份证
private String sfz;
//性别
private String sex;
//头像
private String headPic;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

景点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 jg;
//位置
private String wz;
//开发时间
private String kfsj;
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 getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
public String getKfsj() {return kfsj;}
public void setKfsj(String kfsj) {this.kfsj = kfsj;}
}

轮播图javaBean创建语句如下:


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

//轮播图
@Table(name = "t_lbt")
public class Lbt {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//链接
private String link;
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 getLink() {return link;}
public void setLink(String link) {this.link = link;}
}

留言javaBean创建语句如下:


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

//留言
@Table(name = "t_liuyan")
public class Liuyan {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//日期
private Date insertDate;
//回复内容
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
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_lyj")
public class Lyj {
//主键
@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 lyjName;
//电话
private String phone;
//年龄
private String age;
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 getLyjName() {return lyjName;}
public void setLyjName(String lyjName) {this.lyjName = lyjName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}

景点线路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_xianlu")
public class Xianlu {
//主键
@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 companyId;
//线路名称
private String xianluName;
//天数
private Integer ts;
//图片
private String pic;
//餐饮
private String v1;
//住宿
private String v2;
//交通
private String v3;
//浏览时间
private String v4;
//价格
private String jg;
//联系方式
private String lxfs;
public Integer getCompanyId() {return companyId;}
public void setCompanyId(Integer companyId) {this.companyId = companyId;}
public String getXianluName() {return xianluName;}
public void setXianluName(String xianluName) {this.xianluName = xianluName;}
public Integer getTs() {return ts;}
public void setTs(Integer ts) {this.ts = ts;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
public String getLxfs() {return lxfs;}
public void setLxfs(String lxfs) {this.lxfs = lxfs;}
}

预约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_yy")
public class Yy {
//主键
@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 companyId;
//线路
private Integer xianluId;
//用户
private Integer customerId;
//预约日期
private String showDate;
//备注
private String remark;
public Integer getCompanyId() {return companyId;}
public void setCompanyId(Integer companyId) {this.companyId = companyId;}
public Integer getXianluId() {return xianluId;}
public void setXianluId(Integer xianluId) {this.xianluId = xianluId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

资讯javaBean创建语句如下:


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

//资讯
@Table(name = "t_zx")
public class Zx {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//资讯图片
private String pic;
//发布日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

基于Android的旅游自助APPspring+springMVC+mybatis框架对象(javaBean,pojo)设计:

个人博客javaBean创建语句如下:


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

//个人博客
public class Blog  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 content;
//图片
private String pic;
//发布日期
private Date insertDate;
//访问数
private Integer vNum;
//评论数
private Integer pNum;
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 getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getVNum() {return vNum;}
public void setVNum(Integer vNum) {this.vNum = vNum;}
public Integer getPNum() {return pNum;}
public void setPNum(Integer pNum) {this.pNum = pNum;}
}

个人博客评论javaBean创建语句如下:


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

//个人博客评论
public class Blogpinglun  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//博客
private Integer blogId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getBlogId() {return blogId;}
public void setBlogId(Integer blogId) {this.blogId = blogId;}
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 Company  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 companyName;
//电话
private String phone;
//年龄
private String age;
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 getCompanyName() {return companyName;}
public void setCompanyName(String companyName) {this.companyName = companyName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}

用户javaBean创建语句如下:


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

//用户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//电话
private String phone;
//年龄
private String age;
//身份证
private String sfz;
//性别
private String sex;
//头像
private String headPic;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

景点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 jg;
//位置
private String wz;
//开发时间
private String kfsj;
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 getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
public String getKfsj() {return kfsj;}
public void setKfsj(String kfsj) {this.kfsj = kfsj;}
}

轮播图javaBean创建语句如下:


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

//轮播图
public class Lbt  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//链接
private String link;
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 getLink() {return link;}
public void setLink(String link) {this.link = link;}
}

留言javaBean创建语句如下:


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

//留言
public class Liuyan  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//日期
private Date insertDate;
//回复内容
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
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 Lyj  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 lyjName;
//电话
private String phone;
//年龄
private String age;
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 getLyjName() {return lyjName;}
public void setLyjName(String lyjName) {this.lyjName = lyjName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
}

景点线路javaBean创建语句如下:


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

//景点线路
public class Xianlu  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//旅游公司
private Integer companyId;
//线路名称
private String xianluName;
//天数
private Integer ts;
//图片
private String pic;
//餐饮
private String v1;
//住宿
private String v2;
//交通
private String v3;
//浏览时间
private String v4;
//价格
private String jg;
//联系方式
private String lxfs;
public Integer getCompanyId() {return companyId;}
public void setCompanyId(Integer companyId) {this.companyId = companyId;}
public String getXianluName() {return xianluName;}
public void setXianluName(String xianluName) {this.xianluName = xianluName;}
public Integer getTs() {return ts;}
public void setTs(Integer ts) {this.ts = ts;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
public String getLxfs() {return lxfs;}
public void setLxfs(String lxfs) {this.lxfs = lxfs;}
}

预约javaBean创建语句如下:


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

//预约
public class Yy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//旅游公司
private Integer companyId;
//线路
private Integer xianluId;
//用户
private Integer customerId;
//预约日期
private String showDate;
//备注
private String remark;
public Integer getCompanyId() {return companyId;}
public void setCompanyId(Integer companyId) {this.companyId = companyId;}
public Integer getXianluId() {return xianluId;}
public void setXianluId(Integer xianluId) {this.xianluId = xianluId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

资讯javaBean创建语句如下:


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

//资讯
public class Zx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//资讯图片
private String pic;
//发布日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

评论