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

基于WEB的餐厅后勤管理系统,java程序毕业设计

基于WEB的餐厅后勤管理系统登录注册界面

基于WEB的餐厅后勤管理系统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_cgqd(
	id int primary key auto_increment comment '主键',
	gysId int comment '供应商',
	ylId int comment '原料',
	num varchar(100) comment '采购数量',
	gjId int comment '工具',
	cgDate varchar(100) comment '采购日期',
	content varchar(100) comment '备注'
) comment '采购清单';

仓库表创建语句如下:


create table t_ck(
	id int primary key auto_increment comment '主键',
	ylId int comment '原料',
	types varchar(100) comment '类型',
	num int comment '数量',
	ckDate varchar(100) comment '日期'
) comment '仓库';

菜谱表创建语句如下:


create table t_cp(
	id int primary key auto_increment comment '主键',
	cpName varchar(100) comment '菜品名称',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	yl varchar(100) comment '原料',
	je int comment '价格'
) comment '菜谱';

文件表创建语句如下:


create table t_file(
	id int primary key auto_increment comment '主键',
	ygId int comment '用户',
	fileName varchar(100) comment '文件名称',
	fileUrl varchar(100) comment '地址',
	insertDate datetime comment '上传日期',
	qm varchar(100) comment '签名'
) comment '文件';

工具表创建语句如下:


create table t_gj(
	id int primary key auto_increment comment '主键',
	gjName varchar(100) comment '工具',
	status varchar(100) comment '状态',
	content varchar(100) comment '意见'
) comment '工具';

供应商表创建语句如下:


create table t_gys(
	id int primary key auto_increment comment '主键',
	gysName varchar(100) comment '供应商',
	status varchar(100) comment '状态',
	content varchar(100) comment '意见'
) comment '供应商';

计划表创建语句如下:


create table t_jh(
	id int primary key auto_increment comment '主键',
	jhName varchar(100) comment '计划标题',
	jhContent varchar(100) comment '计划内容',
	status varchar(100) comment '状态',
	content varchar(100) comment '意见'
) comment '计划';

日常销售表创建语句如下:


create table t_xs(
	id int primary key auto_increment comment '主键',
	cpId int comment '菜品',
	insertDate datetime comment '日期',
	je int comment '金额'
) comment '日常销售';

用户表创建语句如下:


create table t_yg(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	ygName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	address varchar(100) comment '地址'
) comment '用户';

原料表创建语句如下:


create table t_yl(
	id int primary key auto_increment comment '主键',
	ylName varchar(100) comment '原料',
	status varchar(100) comment '状态',
	content varchar(100) comment '意见'
) comment '原料';

基于WEB的餐厅后勤管理系统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_cgqd(
	id integer,
	gysId int,
	ylId int,
	num varchar(100),
	gjId int,
	cgDate varchar(100),
	content varchar(100)
);
--采购清单字段加注释
comment on column t_cgqd.id is '主键';
comment on column t_cgqd.gysId is '供应商';
comment on column t_cgqd.ylId is '原料';
comment on column t_cgqd.num is '采购数量';
comment on column t_cgqd.gjId is '工具';
comment on column t_cgqd.cgDate is '采购日期';
comment on column t_cgqd.content is '备注';
--采购清单表加注释
comment on table t_cgqd is '采购清单';

仓库表创建语句如下:


create table t_ck(
	id integer,
	ylId int,
	types varchar(100),
	num int,
	ckDate varchar(100)
);
--仓库字段加注释
comment on column t_ck.id is '主键';
comment on column t_ck.ylId is '原料';
comment on column t_ck.types is '类型';
comment on column t_ck.num is '数量';
comment on column t_ck.ckDate is '日期';
--仓库表加注释
comment on table t_ck is '仓库';

菜谱表创建语句如下:


create table t_cp(
	id integer,
	cpName varchar(100),
	pic varchar(100),
	content varchar(100),
	yl varchar(100),
	je int
);
--菜谱字段加注释
comment on column t_cp.id is '主键';
comment on column t_cp.cpName is '菜品名称';
comment on column t_cp.pic is '图片';
comment on column t_cp.content is '内容';
comment on column t_cp.yl is '原料';
comment on column t_cp.je is '价格';
--菜谱表加注释
comment on table t_cp is '菜谱';

文件表创建语句如下:


create table t_file(
	id integer,
	ygId int,
	fileName varchar(100),
	fileUrl varchar(100),
	insertDate datetime,
	qm varchar(100)
);
--文件字段加注释
comment on column t_file.id is '主键';
comment on column t_file.ygId is '用户';
comment on column t_file.fileName is '文件名称';
comment on column t_file.fileUrl is '地址';
comment on column t_file.insertDate is '上传日期';
comment on column t_file.qm is '签名';
--文件表加注释
comment on table t_file is '文件';

工具表创建语句如下:


create table t_gj(
	id integer,
	gjName varchar(100),
	status varchar(100),
	content varchar(100)
);
--工具字段加注释
comment on column t_gj.id is '主键';
comment on column t_gj.gjName is '工具';
comment on column t_gj.status is '状态';
comment on column t_gj.content is '意见';
--工具表加注释
comment on table t_gj is '工具';

供应商表创建语句如下:


create table t_gys(
	id integer,
	gysName varchar(100),
	status varchar(100),
	content varchar(100)
);
--供应商字段加注释
comment on column t_gys.id is '主键';
comment on column t_gys.gysName is '供应商';
comment on column t_gys.status is '状态';
comment on column t_gys.content is '意见';
--供应商表加注释
comment on table t_gys is '供应商';

计划表创建语句如下:


create table t_jh(
	id integer,
	jhName varchar(100),
	jhContent varchar(100),
	status varchar(100),
	content varchar(100)
);
--计划字段加注释
comment on column t_jh.id is '主键';
comment on column t_jh.jhName is '计划标题';
comment on column t_jh.jhContent is '计划内容';
comment on column t_jh.status is '状态';
comment on column t_jh.content is '意见';
--计划表加注释
comment on table t_jh is '计划';

日常销售表创建语句如下:


create table t_xs(
	id integer,
	cpId int,
	insertDate datetime,
	je int
);
--日常销售字段加注释
comment on column t_xs.id is '主键';
comment on column t_xs.cpId is '菜品';
comment on column t_xs.insertDate is '日期';
comment on column t_xs.je is '金额';
--日常销售表加注释
comment on table t_xs is '日常销售';

用户表创建语句如下:


create table t_yg(
	id integer,
	username varchar(100),
	password varchar(100),
	ygName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	address varchar(100)
);
--用户字段加注释
comment on column t_yg.id is '主键';
comment on column t_yg.username is '账号';
comment on column t_yg.password is '密码';
comment on column t_yg.ygName is '姓名';
comment on column t_yg.age is '年龄';
comment on column t_yg.sex is '性别';
comment on column t_yg.phone is '电话';
comment on column t_yg.address is '地址';
--用户表加注释
comment on table t_yg is '用户';

原料表创建语句如下:


create table t_yl(
	id integer,
	ylName varchar(100),
	status varchar(100),
	content varchar(100)
);
--原料字段加注释
comment on column t_yl.id is '主键';
comment on column t_yl.ylName is '原料';
comment on column t_yl.status is '状态';
comment on column t_yl.content is '意见';
--原料表加注释
comment on table t_yl is '原料';

oracle特有,对应序列如下:


create sequence s_t_cgqd;
create sequence s_t_ck;
create sequence s_t_cp;
create sequence s_t_file;
create sequence s_t_gj;
create sequence s_t_gys;
create sequence s_t_jh;
create sequence s_t_xs;
create sequence s_t_yg;
create sequence s_t_yl;

基于WEB的餐厅后勤管理系统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_cgqd(
	id int identity(1,1) primary key not null,--主键
	gysId int,--供应商
	ylId int,--原料
	num varchar(100),--采购数量
	gjId int,--工具
	cgDate varchar(100),--采购日期
	content varchar(100)--备注
);

仓库表创建语句如下:


--仓库表注释
create table t_ck(
	id int identity(1,1) primary key not null,--主键
	ylId int,--原料
	types varchar(100),--类型
	num int,--数量
	ckDate varchar(100)--日期
);

菜谱表创建语句如下:


--菜谱表注释
create table t_cp(
	id int identity(1,1) primary key not null,--主键
	cpName varchar(100),--菜品名称
	pic varchar(100),--图片
	content varchar(100),--内容
	yl varchar(100),--原料
	je int--价格
);

文件表创建语句如下:


--文件表注释
create table t_file(
	id int identity(1,1) primary key not null,--主键
	ygId int,--用户
	fileName varchar(100),--文件名称
	fileUrl varchar(100),--地址
	insertDate datetime,--上传日期
	qm varchar(100)--签名
);

工具表创建语句如下:


--工具表注释
create table t_gj(
	id int identity(1,1) primary key not null,--主键
	gjName varchar(100),--工具
	status varchar(100),--状态
	content varchar(100)--意见
);

供应商表创建语句如下:


--供应商表注释
create table t_gys(
	id int identity(1,1) primary key not null,--主键
	gysName varchar(100),--供应商
	status varchar(100),--状态
	content varchar(100)--意见
);

计划表创建语句如下:


--计划表注释
create table t_jh(
	id int identity(1,1) primary key not null,--主键
	jhName varchar(100),--计划标题
	jhContent varchar(100),--计划内容
	status varchar(100),--状态
	content varchar(100)--意见
);

日常销售表创建语句如下:


--日常销售表注释
create table t_xs(
	id int identity(1,1) primary key not null,--主键
	cpId int,--菜品
	insertDate datetime,--日期
	je int--金额
);

用户表创建语句如下:


--用户表注释
create table t_yg(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	ygName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	address varchar(100)--地址
);

原料表创建语句如下:


--原料表注释
create table t_yl(
	id int identity(1,1) primary key not null,--主键
	ylName varchar(100),--原料
	status varchar(100),--状态
	content varchar(100)--意见
);

基于WEB的餐厅后勤管理系统登录后主页

基于WEB的餐厅后勤管理系统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_cgqd")
public class Cgqd {
//主键
@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 gysId;
//原料
private Integer ylId;
//采购数量
private String num;
//工具
private Integer gjId;
//采购日期
private String cgDate;
//备注
private String content;
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getYlId() {return ylId;}
public void setYlId(Integer ylId) {this.ylId = ylId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getGjId() {return gjId;}
public void setGjId(Integer gjId) {this.gjId = gjId;}
public String getCgDate() {return cgDate;}
public void setCgDate(String cgDate) {this.cgDate = cgDate;}
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_ck")
public class Ck {
//主键
@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 ylId;
//类型
private String types;
//数量
private Integer num;
//日期
private String ckDate;
public Integer getYlId() {return ylId;}
public void setYlId(Integer ylId) {this.ylId = ylId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getCkDate() {return ckDate;}
public void setCkDate(String ckDate) {this.ckDate = ckDate;}
}

菜谱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_cp")
public class Cp {
//主键
@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 cpName;
//图片
private String pic;
//内容
private String content;
//原料
private String yl;
//价格
private Integer je;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
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 getYl() {return yl;}
public void setYl(String yl) {this.yl = yl;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

文件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_file")
public class File {
//主键
@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 ygId;
//文件名称
private String fileName;
//地址
private String fileUrl;
//上传日期
private Date insertDate;
//签名
private String qm;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getFileName() {return fileName;}
public void setFileName(String fileName) {this.fileName = fileName;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getQm() {return qm;}
public void setQm(String qm) {this.qm = qm;}
}

工具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_gj")
public class Gj {
//主键
@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 gjName;
//状态
private String status;
//意见
private String content;
public String getGjName() {return gjName;}
public void setGjName(String gjName) {this.gjName = gjName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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_gys")
public class Gys {
//主键
@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 gysName;
//状态
private String status;
//意见
private String content;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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_jh")
public class Jh {
//主键
@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 jhName;
//计划内容
private String jhContent;
//状态
private String status;
//意见
private String content;
public String getJhName() {return jhName;}
public void setJhName(String jhName) {this.jhName = jhName;}
public String getJhContent() {return jhContent;}
public void setJhContent(String jhContent) {this.jhContent = jhContent;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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_xs")
public class Xs {
//主键
@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 cpId;
//日期
private Date insertDate;
//金额
private Integer je;
public Integer getCpId() {return cpId;}
public void setCpId(Integer cpId) {this.cpId = cpId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

用户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_yg")
public class Yg {
//主键
@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 ygName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

原料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_yl")
public class Yl {
//主键
@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 ylName;
//状态
private String status;
//意见
private String content;
public String getYlName() {return ylName;}
public void setYlName(String ylName) {this.ylName = ylName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

基于WEB的餐厅后勤管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

采购清单javaBean创建语句如下:


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

//采购清单
public class Cgqd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商
private Integer gysId;
//原料
private Integer ylId;
//采购数量
private String num;
//工具
private Integer gjId;
//采购日期
private String cgDate;
//备注
private String content;
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getYlId() {return ylId;}
public void setYlId(Integer ylId) {this.ylId = ylId;}
public String getNum() {return num;}
public void setNum(String num) {this.num = num;}
public Integer getGjId() {return gjId;}
public void setGjId(Integer gjId) {this.gjId = gjId;}
public String getCgDate() {return cgDate;}
public void setCgDate(String cgDate) {this.cgDate = cgDate;}
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 Ck  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//原料
private Integer ylId;
//类型
private String types;
//数量
private Integer num;
//日期
private String ckDate;
public Integer getYlId() {return ylId;}
public void setYlId(Integer ylId) {this.ylId = ylId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getCkDate() {return ckDate;}
public void setCkDate(String ckDate) {this.ckDate = ckDate;}
}

菜谱javaBean创建语句如下:


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

//菜谱
public class Cp  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//菜品名称
private String cpName;
//图片
private String pic;
//内容
private String content;
//原料
private String yl;
//价格
private Integer je;
public String getCpName() {return cpName;}
public void setCpName(String cpName) {this.cpName = cpName;}
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 getYl() {return yl;}
public void setYl(String yl) {this.yl = yl;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

文件javaBean创建语句如下:


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

//文件
public class File  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer ygId;
//文件名称
private String fileName;
//地址
private String fileUrl;
//上传日期
private Date insertDate;
//签名
private String qm;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getFileName() {return fileName;}
public void setFileName(String fileName) {this.fileName = fileName;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getQm() {return qm;}
public void setQm(String qm) {this.qm = qm;}
}

工具javaBean创建语句如下:


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

//工具
public class Gj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//工具
private String gjName;
//状态
private String status;
//意见
private String content;
public String getGjName() {return gjName;}
public void setGjName(String gjName) {this.gjName = gjName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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 Gys  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商
private String gysName;
//状态
private String status;
//意见
private String content;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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 Jh  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//计划标题
private String jhName;
//计划内容
private String jhContent;
//状态
private String status;
//意见
private String content;
public String getJhName() {return jhName;}
public void setJhName(String jhName) {this.jhName = jhName;}
public String getJhContent() {return jhContent;}
public void setJhContent(String jhContent) {this.jhContent = jhContent;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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 Xs  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//菜品
private Integer cpId;
//日期
private Date insertDate;
//金额
private Integer je;
public Integer getCpId() {return cpId;}
public void setCpId(Integer cpId) {this.cpId = cpId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getJe() {return je;}
public void setJe(Integer je) {this.je = je;}
}

用户javaBean创建语句如下:


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

//用户
public class Yg  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 ygName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
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 getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

原料javaBean创建语句如下:


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

//原料
public class Yl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//原料
private String ylName;
//状态
private String status;
//意见
private String content;
public String getYlName() {return ylName;}
public void setYlName(String ylName) {this.ylName = ylName;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

评论