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

基于ssm的在线订餐位系统,java网站毕业设计

基于ssm的在线订餐位系统登录注册界面

基于ssm的在线订餐位系统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_cd(
	id int primary key auto_increment comment '主键',
	sjId int comment '商家',
	cdName varchar(100) comment '菜单名称',
	content varchar(100) comment '描述',
	pic varchar(100) comment '图片',
	jg varchar(100) comment '价格',
	v1 varchar(100) comment '是否推荐',
	v2 varchar(100) comment '点餐人气'
) comment '菜单';

菜单收藏表创建语句如下:


create table t_cdsc(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	cdId int comment '商家',
	insertDate datetime comment '日期'
) comment '菜单收藏';

用户表创建语句如下:


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

餐桌表创建语句如下:


create table t_cz(
	id int primary key auto_increment comment '主键',
	sjId int comment '商家',
	czName varchar(100) comment '餐桌号'
) comment '餐桌';

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


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

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	sjId int comment '商家',
	czId int comment '餐桌',
	insertDate datetime comment '日期',
	status varchar(100) comment '状态',
	je int comment '金额',
	jf int comment '积分',
	v1 varchar(100) comment '用户评价',
	v2 varchar(100) comment '管理员回复'
) comment '订单';

商家表创建语句如下:


create table t_sj(
	id int primary key auto_increment comment '主键',
	sjName varchar(100) comment '餐馆名称',
	v1 varchar(100) comment '电话',
	v2 varchar(100) comment '联系人',
	v3 varchar(100) comment '地址',
	v4 varchar(100) comment '内部环境图',
	v5 varchar(100) comment '俯瞰图'
) comment '商家';

商家收藏表创建语句如下:


create table t_sjsc(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	sjId int comment '商家',
	insertDate datetime comment '日期'
) comment '商家收藏';

基于ssm的在线订餐位系统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_cd(
	id integer,
	sjId int,
	cdName varchar(100),
	content varchar(100),
	pic varchar(100),
	jg varchar(100),
	v1 varchar(100),
	v2 varchar(100)
);
--菜单字段加注释
comment on column t_cd.id is '主键';
comment on column t_cd.sjId is '商家';
comment on column t_cd.cdName is '菜单名称';
comment on column t_cd.content is '描述';
comment on column t_cd.pic is '图片';
comment on column t_cd.jg is '价格';
comment on column t_cd.v1 is '是否推荐';
comment on column t_cd.v2 is '点餐人气';
--菜单表加注释
comment on table t_cd is '菜单';

菜单收藏表创建语句如下:


create table t_cdsc(
	id integer,
	customerId int,
	cdId int,
	insertDate datetime
);
--菜单收藏字段加注释
comment on column t_cdsc.id is '主键';
comment on column t_cdsc.customerId is '用户';
comment on column t_cdsc.cdId is '商家';
comment on column t_cdsc.insertDate is '日期';
--菜单收藏表加注释
comment on table t_cdsc is '菜单收藏';

用户表创建语句如下:


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

餐桌表创建语句如下:


create table t_cz(
	id integer,
	sjId int,
	czName varchar(100)
);
--餐桌字段加注释
comment on column t_cz.id is '主键';
comment on column t_cz.sjId is '商家';
comment on column t_cz.czName is '餐桌号';
--餐桌表加注释
comment on table t_cz is '餐桌';

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


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

订单表创建语句如下:


create table t_order(
	id integer,
	customerId int,
	sjId int,
	czId int,
	insertDate datetime,
	status varchar(100),
	je int,
	jf int,
	v1 varchar(100),
	v2 varchar(100)
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '用户';
comment on column t_order.sjId is '商家';
comment on column t_order.czId is '餐桌';
comment on column t_order.insertDate is '日期';
comment on column t_order.status is '状态';
comment on column t_order.je is '金额';
comment on column t_order.jf is '积分';
comment on column t_order.v1 is '用户评价';
comment on column t_order.v2 is '管理员回复';
--订单表加注释
comment on table t_order is '订单';

商家表创建语句如下:


create table t_sj(
	id integer,
	sjName varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100)
);
--商家字段加注释
comment on column t_sj.id is '主键';
comment on column t_sj.sjName is '餐馆名称';
comment on column t_sj.v1 is '电话';
comment on column t_sj.v2 is '联系人';
comment on column t_sj.v3 is '地址';
comment on column t_sj.v4 is '内部环境图';
comment on column t_sj.v5 is '俯瞰图';
--商家表加注释
comment on table t_sj is '商家';

商家收藏表创建语句如下:


create table t_sjsc(
	id integer,
	customerId int,
	sjId int,
	insertDate datetime
);
--商家收藏字段加注释
comment on column t_sjsc.id is '主键';
comment on column t_sjsc.customerId is '用户';
comment on column t_sjsc.sjId is '商家';
comment on column t_sjsc.insertDate is '日期';
--商家收藏表加注释
comment on table t_sjsc is '商家收藏';

oracle特有,对应序列如下:


create sequence s_t_cd;
create sequence s_t_cdsc;
create sequence s_t_customer;
create sequence s_t_cz;
create sequence s_t_ltsm;
create sequence s_t_order;
create sequence s_t_sj;
create sequence s_t_sjsc;

基于ssm的在线订餐位系统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_cd(
	id int identity(1,1) primary key not null,--主键
	sjId int,--商家
	cdName varchar(100),--菜单名称
	content varchar(100),--描述
	pic varchar(100),--图片
	jg varchar(100),--价格
	v1 varchar(100),--是否推荐
	v2 varchar(100)--点餐人气
);

菜单收藏表创建语句如下:


--菜单收藏表注释
create table t_cdsc(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	cdId int,--商家
	insertDate datetime--日期
);

用户表创建语句如下:


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

餐桌表创建语句如下:


--餐桌表注释
create table t_cz(
	id int identity(1,1) primary key not null,--主键
	sjId int,--商家
	czName varchar(100)--餐桌号
);

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


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

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	sjId int,--商家
	czId int,--餐桌
	insertDate datetime,--日期
	status varchar(100),--状态
	je int,--金额
	jf int,--积分
	v1 varchar(100),--用户评价
	v2 varchar(100)--管理员回复
);

商家表创建语句如下:


--商家表注释
create table t_sj(
	id int identity(1,1) primary key not null,--主键
	sjName varchar(100),--餐馆名称
	v1 varchar(100),--电话
	v2 varchar(100),--联系人
	v3 varchar(100),--地址
	v4 varchar(100),--内部环境图
	v5 varchar(100)--俯瞰图
);

商家收藏表创建语句如下:


--商家收藏表注释
create table t_sjsc(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	sjId int,--商家
	insertDate datetime--日期
);

基于ssm的在线订餐位系统登录后主页

基于ssm的在线订餐位系统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_cd")
public class Cd {
//主键
@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 sjId;
//菜单名称
private String cdName;
//描述
private String content;
//图片
private String pic;
//价格
private String jg;
//是否推荐
private String v1;
//点餐人气
private String v2;
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public String getCdName() {return cdName;}
public void setCdName(String cdName) {this.cdName = cdName;}
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 String getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
}

菜单收藏javaBean创建语句如下:


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

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

餐桌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_cz")
public class Cz {
//主键
@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 sjId;
//餐桌号
private String czName;
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public String getCzName() {return czName;}
public void setCzName(String czName) {this.czName = czName;}
}

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


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

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

订单javaBean创建语句如下:


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

//订单
@Table(name = "t_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 sjId;
//餐桌
private Integer czId;
//日期
private Date insertDate;
//状态
private String status;
//金额
private Integer je;
//积分
private Integer jf;
//用户评价
private String v1;
//管理员回复
private String v2;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public Integer getCzId() {return czId;}
public void setCzId(Integer czId) {this.czId = czId;}
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 Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
}

商家javaBean创建语句如下:


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

//商家
@Table(name = "t_sj")
public class Sj {
//主键
@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 sjName;
//电话
private String v1;
//联系人
private String v2;
//地址
private String v3;
//内部环境图
private String v4;
//俯瞰图
private String v5;
public String getSjName() {return sjName;}
public void setSjName(String sjName) {this.sjName = sjName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

商家收藏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_sjsc")
public class Sjsc {
//主键
@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 sjId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

基于ssm的在线订餐位系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

菜单javaBean创建语句如下:


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

//菜单
public class Cd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//商家
private Integer sjId;
//菜单名称
private String cdName;
//描述
private String content;
//图片
private String pic;
//价格
private String jg;
//是否推荐
private String v1;
//点餐人气
private String v2;
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public String getCdName() {return cdName;}
public void setCdName(String cdName) {this.cdName = cdName;}
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 String getJg() {return jg;}
public void setJg(String jg) {this.jg = jg;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
}

菜单收藏javaBean创建语句如下:


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

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

餐桌javaBean创建语句如下:


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

//餐桌
public class Cz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//商家
private Integer sjId;
//餐桌号
private String czName;
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public String getCzName() {return czName;}
public void setCzName(String czName) {this.czName = czName;}
}

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


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

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

订单javaBean创建语句如下:


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

//订单
public class Order  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//商家
private Integer sjId;
//餐桌
private Integer czId;
//日期
private Date insertDate;
//状态
private String status;
//金额
private Integer je;
//积分
private Integer jf;
//用户评价
private String v1;
//管理员回复
private String v2;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public Integer getCzId() {return czId;}
public void setCzId(Integer czId) {this.czId = czId;}
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 Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
}

商家javaBean创建语句如下:


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

//商家
public class Sj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//餐馆名称
private String sjName;
//电话
private String v1;
//联系人
private String v2;
//地址
private String v3;
//内部环境图
private String v4;
//俯瞰图
private String v5;
public String getSjName() {return sjName;}
public void setSjName(String sjName) {this.sjName = sjName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

商家收藏javaBean创建语句如下:


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

//商家收藏
public class Sjsc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//商家
private Integer sjId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getSjId() {return sjId;}
public void setSjId(Integer sjId) {this.sjId = sjId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

评论