建材租赁业务管理系统

**建材租赁业务管理系统**
建材租赁业务管理系统登录注册界面

建材租赁业务管理系统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_ckkd(
	id int primary key auto_increment comment '主键',
	clId int comment '材料/设备',
	pic varchar(100) comment '图片',
	showDate datetime comment '入库日期',
	num int comment '数量',
	fzr varchar(100) comment '负责人',
	wz varchar(100) comment '位置'
) comment '出库开单';

材料/设备表创建语句如下:


create table t_cl(
	id int primary key auto_increment comment '主键',
	clName varchar(100) comment '材料/设备',
	dsjg int comment '丢损价格'
) comment '材料/设备';

材料/设备类别表创建语句如下:


create table t_cltypes(
	id int primary key auto_increment comment '主键',
	cltypesName varchar(100) comment '材料/设备类别',
	dw varchar(100) comment '单位'
) comment '材料/设备类别';

丢损类型表创建语句如下:


create table t_dslx(
	id int primary key auto_increment comment '主键',
	dslxName varchar(100) comment '丢损类型'
) comment '丢损类型';

供应商表创建语句如下:


create table t_gys(
	id int primary key auto_increment comment '主键',
	gysName varchar(100) comment '供应商名称',
	address varchar(100) comment '地址',
	lxdh varchar(100) comment '联系电话'
) comment '供应商';

普通管理员表创建语句如下:


create table t_ptadmin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '邮箱',
	password varchar(100) comment '密码',
	ptadminName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	idcard varchar(100) comment '身份证',
	pic varchar(100) comment '头像',
	address varchar(100) comment '住址'
) comment '普通管理员';

入库开单表创建语句如下:


create table t_rkkd(
	id int primary key auto_increment comment '主键',
	clId int comment '材料/设备',
	pic varchar(100) comment '图片',
	showDate datetime comment '入库日期',
	num int comment '数量',
	fzr varchar(100) comment '负责人',
	wz varchar(100) comment '位置'
) comment '入库开单';

租出报停表创建语句如下:


create table t_zcbt(
	id int primary key auto_increment comment '主键',
	clId int comment '材料/设备',
	pic varchar(100) comment '图片',
	showDate datetime comment '报停日期'
) comment '租出报停';

租出丢损表创建语句如下:


create table t_zcds(
	id int primary key auto_increment comment '主键',
	clId int comment '材料/设备',
	pic varchar(100) comment '图片',
	showDate datetime comment '丢损日期',
	num int comment ''
) comment '租出丢损';

租出合约表创建语句如下:


create table t_zchy(
	id int primary key auto_increment comment '主键',
	clId int comment '材料',
	zchyName varchar(100) comment '租出合约名称',
	content varchar(100) comment '内容',
	fileUrl varchar(100) comment '文件',
	zje int comment '总金额',
	insertDate datetime comment ''
) comment '租出合约';

租出开单表创建语句如下:


create table t_zckd(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '类型',
	pic varchar(100) comment '图片',
	showDate datetime comment '日期'
) comment '租出开单';

租入报停表创建语句如下:


create table t_zrbt(
	id int primary key auto_increment comment '主键',
	clId int comment '材料/设备',
	pic varchar(100) comment '图片',
	showDate datetime comment '报停日期'
) comment '租入报停';

租入丢损表创建语句如下:


create table t_zrds(
	id int primary key auto_increment comment '主键',
	clId int comment '材料/设备',
	pic varchar(100) comment '图片',
	showDate datetime comment '丢损日期',
	num int comment ''
) comment '租入丢损';

租入合约表创建语句如下:


create table t_zrhy(
	id int primary key auto_increment comment '主键',
	clId int comment '材料',
	zrhyName varchar(100) comment '租入合约名称',
	content varchar(100) comment '内容',
	fileUrl varchar(100) comment '文件',
	zje int comment '总金额',
	insertDate datetime comment ''
) comment '租入合约';

租入开单表创建语句如下:


create table t_zrkd(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '类型',
	pic varchar(100) comment '图片',
	showDate datetime comment '日期'
) comment '租入开单';

建材租赁业务管理系统oracle数据库版本源码:

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


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

出库开单表创建语句如下:


create table t_ckkd(
	id integer,
	clId int,
	pic varchar(100),
	showDate datetime,
	num int,
	fzr varchar(100),
	wz varchar(100)
);
--出库开单字段加注释
comment on column t_ckkd.id is '主键';
comment on column t_ckkd.clId is '材料/设备';
comment on column t_ckkd.pic is '图片';
comment on column t_ckkd.showDate is '入库日期';
comment on column t_ckkd.num is '数量';
comment on column t_ckkd.fzr is '负责人';
comment on column t_ckkd.wz is '位置';
--出库开单表加注释
comment on table t_ckkd is '出库开单';

材料/设备表创建语句如下:


create table t_cl(
	id integer,
	clName varchar(100),
	dsjg int
);
--材料/设备字段加注释
comment on column t_cl.id is '主键';
comment on column t_cl.clName is '材料/设备';
comment on column t_cl.dsjg is '丢损价格';
--材料/设备表加注释
comment on table t_cl is '材料/设备';

材料/设备类别表创建语句如下:


create table t_cltypes(
	id integer,
	cltypesName varchar(100),
	dw varchar(100)
);
--材料/设备类别字段加注释
comment on column t_cltypes.id is '主键';
comment on column t_cltypes.cltypesName is '材料/设备类别';
comment on column t_cltypes.dw is '单位';
--材料/设备类别表加注释
comment on table t_cltypes is '材料/设备类别';

丢损类型表创建语句如下:


create table t_dslx(
	id integer,
	dslxName varchar(100)
);
--丢损类型字段加注释
comment on column t_dslx.id is '主键';
comment on column t_dslx.dslxName is '丢损类型';
--丢损类型表加注释
comment on table t_dslx is '丢损类型';

供应商表创建语句如下:


create table t_gys(
	id integer,
	gysName varchar(100),
	address varchar(100),
	lxdh varchar(100)
);
--供应商字段加注释
comment on column t_gys.id is '主键';
comment on column t_gys.gysName is '供应商名称';
comment on column t_gys.address is '地址';
comment on column t_gys.lxdh is '联系电话';
--供应商表加注释
comment on table t_gys is '供应商';

普通管理员表创建语句如下:


create table t_ptadmin(
	id integer,
	username varchar(100),
	password varchar(100),
	ptadminName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	idcard varchar(100),
	pic varchar(100),
	address varchar(100)
);
--普通管理员字段加注释
comment on column t_ptadmin.id is '主键';
comment on column t_ptadmin.username is '邮箱';
comment on column t_ptadmin.password is '密码';
comment on column t_ptadmin.ptadminName is '姓名';
comment on column t_ptadmin.age is '年龄';
comment on column t_ptadmin.sex is '性别';
comment on column t_ptadmin.phone is '电话';
comment on column t_ptadmin.idcard is '身份证';
comment on column t_ptadmin.pic is '头像';
comment on column t_ptadmin.address is '住址';
--普通管理员表加注释
comment on table t_ptadmin is '普通管理员';

入库开单表创建语句如下:


create table t_rkkd(
	id integer,
	clId int,
	pic varchar(100),
	showDate datetime,
	num int,
	fzr varchar(100),
	wz varchar(100)
);
--入库开单字段加注释
comment on column t_rkkd.id is '主键';
comment on column t_rkkd.clId is '材料/设备';
comment on column t_rkkd.pic is '图片';
comment on column t_rkkd.showDate is '入库日期';
comment on column t_rkkd.num is '数量';
comment on column t_rkkd.fzr is '负责人';
comment on column t_rkkd.wz is '位置';
--入库开单表加注释
comment on table t_rkkd is '入库开单';

租出报停表创建语句如下:


create table t_zcbt(
	id integer,
	clId int,
	pic varchar(100),
	showDate datetime
);
--租出报停字段加注释
comment on column t_zcbt.id is '主键';
comment on column t_zcbt.clId is '材料/设备';
comment on column t_zcbt.pic is '图片';
comment on column t_zcbt.showDate is '报停日期';
--租出报停表加注释
comment on table t_zcbt is '租出报停';

租出丢损表创建语句如下:


create table t_zcds(
	id integer,
	clId int,
	pic varchar(100),
	showDate datetime,
	num int
);
--租出丢损字段加注释
comment on column t_zcds.id is '主键';
comment on column t_zcds.clId is '材料/设备';
comment on column t_zcds.pic is '图片';
comment on column t_zcds.showDate is '丢损日期';
comment on column t_zcds.num is '';
--租出丢损表加注释
comment on table t_zcds is '租出丢损';

租出合约表创建语句如下:


create table t_zchy(
	id integer,
	clId int,
	zchyName varchar(100),
	content varchar(100),
	fileUrl varchar(100),
	zje int,
	insertDate datetime
);
--租出合约字段加注释
comment on column t_zchy.id is '主键';
comment on column t_zchy.clId is '材料';
comment on column t_zchy.zchyName is '租出合约名称';
comment on column t_zchy.content is '内容';
comment on column t_zchy.fileUrl is '文件';
comment on column t_zchy.zje is '总金额';
comment on column t_zchy.insertDate is '';
--租出合约表加注释
comment on table t_zchy is '租出合约';

租出开单表创建语句如下:


create table t_zckd(
	id integer,
	types varchar(100),
	pic varchar(100),
	showDate datetime
);
--租出开单字段加注释
comment on column t_zckd.id is '主键';
comment on column t_zckd.types is '类型';
comment on column t_zckd.pic is '图片';
comment on column t_zckd.showDate is '日期';
--租出开单表加注释
comment on table t_zckd is '租出开单';

租入报停表创建语句如下:


create table t_zrbt(
	id integer,
	clId int,
	pic varchar(100),
	showDate datetime
);
--租入报停字段加注释
comment on column t_zrbt.id is '主键';
comment on column t_zrbt.clId is '材料/设备';
comment on column t_zrbt.pic is '图片';
comment on column t_zrbt.showDate is '报停日期';
--租入报停表加注释
comment on table t_zrbt is '租入报停';

租入丢损表创建语句如下:


create table t_zrds(
	id integer,
	clId int,
	pic varchar(100),
	showDate datetime,
	num int
);
--租入丢损字段加注释
comment on column t_zrds.id is '主键';
comment on column t_zrds.clId is '材料/设备';
comment on column t_zrds.pic is '图片';
comment on column t_zrds.showDate is '丢损日期';
comment on column t_zrds.num is '';
--租入丢损表加注释
comment on table t_zrds is '租入丢损';

租入合约表创建语句如下:


create table t_zrhy(
	id integer,
	clId int,
	zrhyName varchar(100),
	content varchar(100),
	fileUrl varchar(100),
	zje int,
	insertDate datetime
);
--租入合约字段加注释
comment on column t_zrhy.id is '主键';
comment on column t_zrhy.clId is '材料';
comment on column t_zrhy.zrhyName is '租入合约名称';
comment on column t_zrhy.content is '内容';
comment on column t_zrhy.fileUrl is '文件';
comment on column t_zrhy.zje is '总金额';
comment on column t_zrhy.insertDate is '';
--租入合约表加注释
comment on table t_zrhy is '租入合约';

租入开单表创建语句如下:


create table t_zrkd(
	id integer,
	types varchar(100),
	pic varchar(100),
	showDate datetime
);
--租入开单字段加注释
comment on column t_zrkd.id is '主键';
comment on column t_zrkd.types is '类型';
comment on column t_zrkd.pic is '图片';
comment on column t_zrkd.showDate is '日期';
--租入开单表加注释
comment on table t_zrkd is '租入开单';

oracle特有,对应序列如下:


create sequence s_t_ckkd;
create sequence s_t_cl;
create sequence s_t_cltypes;
create sequence s_t_dslx;
create sequence s_t_gys;
create sequence s_t_ptadmin;
create sequence s_t_rkkd;
create sequence s_t_zcbt;
create sequence s_t_zcds;
create sequence s_t_zchy;
create sequence s_t_zckd;
create sequence s_t_zrbt;
create sequence s_t_zrds;
create sequence s_t_zrhy;
create sequence s_t_zrkd;

建材租赁业务管理系统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_ckkd(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料/设备
	pic varchar(100),--图片
	showDate datetime,--入库日期
	num int,--数量
	fzr varchar(100),--负责人
	wz varchar(100)--位置
);

材料/设备表创建语句如下:


--材料/设备表注释
create table t_cl(
	id int identity(1,1) primary key not null,--主键
	clName varchar(100),--材料/设备
	dsjg int--丢损价格
);

材料/设备类别表创建语句如下:


--材料/设备类别表注释
create table t_cltypes(
	id int identity(1,1) primary key not null,--主键
	cltypesName varchar(100),--材料/设备类别
	dw varchar(100)--单位
);

丢损类型表创建语句如下:


--丢损类型表注释
create table t_dslx(
	id int identity(1,1) primary key not null,--主键
	dslxName varchar(100)--丢损类型
);

供应商表创建语句如下:


--供应商表注释
create table t_gys(
	id int identity(1,1) primary key not null,--主键
	gysName varchar(100),--供应商名称
	address varchar(100),--地址
	lxdh varchar(100)--联系电话
);

普通管理员表创建语句如下:


--普通管理员表注释
create table t_ptadmin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--邮箱
	password varchar(100),--密码
	ptadminName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	idcard varchar(100),--身份证
	pic varchar(100),--头像
	address varchar(100)--住址
);

入库开单表创建语句如下:


--入库开单表注释
create table t_rkkd(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料/设备
	pic varchar(100),--图片
	showDate datetime,--入库日期
	num int,--数量
	fzr varchar(100),--负责人
	wz varchar(100)--位置
);

租出报停表创建语句如下:


--租出报停表注释
create table t_zcbt(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料/设备
	pic varchar(100),--图片
	showDate datetime--报停日期
);

租出丢损表创建语句如下:


--租出丢损表注释
create table t_zcds(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料/设备
	pic varchar(100),--图片
	showDate datetime,--丢损日期
	num int--
);

租出合约表创建语句如下:


--租出合约表注释
create table t_zchy(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料
	zchyName varchar(100),--租出合约名称
	content varchar(100),--内容
	fileUrl varchar(100),--文件
	zje int,--总金额
	insertDate datetime--
);

租出开单表创建语句如下:


--租出开单表注释
create table t_zckd(
	id int identity(1,1) primary key not null,--主键
	types varchar(100),--类型
	pic varchar(100),--图片
	showDate datetime--日期
);

租入报停表创建语句如下:


--租入报停表注释
create table t_zrbt(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料/设备
	pic varchar(100),--图片
	showDate datetime--报停日期
);

租入丢损表创建语句如下:


--租入丢损表注释
create table t_zrds(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料/设备
	pic varchar(100),--图片
	showDate datetime,--丢损日期
	num int--
);

租入合约表创建语句如下:


--租入合约表注释
create table t_zrhy(
	id int identity(1,1) primary key not null,--主键
	clId int,--材料
	zrhyName varchar(100),--租入合约名称
	content varchar(100),--内容
	fileUrl varchar(100),--文件
	zje int,--总金额
	insertDate datetime--
);

租入开单表创建语句如下:


--租入开单表注释
create table t_zrkd(
	id int identity(1,1) primary key not null,--主键
	types varchar(100),--类型
	pic varchar(100),--图片
	showDate datetime--日期
);

建材租赁业务管理系统登录后主页

建材租赁业务管理系统spring springMVC hibernate框架对象(javaBean,pojo)设计:

出库开单javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//出库开单
@Table(name = "t_ckkd")
public class Ckkd {
//主键
@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 clId;
//图片
private String pic;
//入库日期
private Date showDate;
//数量
private Integer num;
//负责人
private String fzr;
//位置
private String wz;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
}

材料/设备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_cl")
public class Cl {
//主键
@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 clName;
//丢损价格
private Integer dsjg;
public String getClName() {return clName;}
public void setClName(String clName) {this.clName = clName;}
public Integer getDsjg() {return dsjg;}
public void setDsjg(Integer dsjg) {this.dsjg = dsjg;}
}

材料/设备类别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_cltypes")
public class Cltypes {
//主键
@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 cltypesName;
//单位
private String dw;
public String getCltypesName() {return cltypesName;}
public void setCltypesName(String cltypesName) {this.cltypesName = cltypesName;}
public String getDw() {return dw;}
public void setDw(String dw) {this.dw = dw;}
}

丢损类型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_dslx")
public class Dslx {
//主键
@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 dslxName;
public String getDslxName() {return dslxName;}
public void setDslxName(String dslxName) {this.dslxName = dslxName;}
}

供应商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 address;
//联系电话
private String lxdh;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
}

普通管理员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_ptadmin")
public class Ptadmin {
//主键
@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 ptadminName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//头像
private String pic;
//住址
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_rkkd")
public class Rkkd {
//主键
@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 clId;
//图片
private String pic;
//入库日期
private Date showDate;
//数量
private Integer num;
//负责人
private String fzr;
//位置
private String wz;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
}

租出报停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_zcbt")
public class Zcbt {
//主键
@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 clId;
//图片
private String pic;
//报停日期
private Date showDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

租出丢损javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//租出丢损
@Table(name = "t_zcds")
public class Zcds {
//主键
@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 clId;
//图片
private String pic;
//丢损日期
private Date showDate;
//
private Integer num;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
}

租出合约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_zchy")
public class Zchy {
//主键
@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 clId;
//租出合约名称
private String zchyName;
//内容
private String content;
//文件
private String fileUrl;
//总金额
private Integer zje;
//
private Date insertDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getZchyName() {return zchyName;}
public void setZchyName(String zchyName) {this.zchyName = zchyName;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
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_zckd")
public class Zckd {
//主键
@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 types;
//图片
private String pic;
//日期
private Date showDate;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

租入报停javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//租入报停
@Table(name = "t_zrbt")
public class Zrbt {
//主键
@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 clId;
//图片
private String pic;
//报停日期
private Date showDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

租入丢损javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//租入丢损
@Table(name = "t_zrds")
public class Zrds {
//主键
@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 clId;
//图片
private String pic;
//丢损日期
private Date showDate;
//
private Integer num;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
}

租入合约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_zrhy")
public class Zrhy {
//主键
@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 clId;
//租入合约名称
private String zrhyName;
//内容
private String content;
//文件
private String fileUrl;
//总金额
private Integer zje;
//
private Date insertDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getZrhyName() {return zrhyName;}
public void setZrhyName(String zrhyName) {this.zrhyName = zrhyName;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
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_zrkd")
public class Zrkd {
//主键
@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 types;
//图片
private String pic;
//日期
private Date showDate;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

建材租赁业务管理系统spring springMVC mybatis框架对象(javaBean,pojo)设计:

出库开单javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//出库开单
public class Ckkd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备
private Integer clId;
//图片
private String pic;
//入库日期
private Date showDate;
//数量
private Integer num;
//负责人
private String fzr;
//位置
private String wz;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
}

材料/设备javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//材料/设备
public class Cl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备
private String clName;
//丢损价格
private Integer dsjg;
public String getClName() {return clName;}
public void setClName(String clName) {this.clName = clName;}
public Integer getDsjg() {return dsjg;}
public void setDsjg(Integer dsjg) {this.dsjg = dsjg;}
}

材料/设备类别javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//材料/设备类别
public class Cltypes  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备类别
private String cltypesName;
//单位
private String dw;
public String getCltypesName() {return cltypesName;}
public void setCltypesName(String cltypesName) {this.cltypesName = cltypesName;}
public String getDw() {return dw;}
public void setDw(String dw) {this.dw = dw;}
}

丢损类型javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//丢损类型
public class Dslx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//丢损类型
private String dslxName;
public String getDslxName() {return dslxName;}
public void setDslxName(String dslxName) {this.dslxName = dslxName;}
}

供应商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 address;
//联系电话
private String lxdh;
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
}

普通管理员javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//普通管理员
public class Ptadmin  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 ptadminName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//身份证
private String idcard;
//头像
private String pic;
//住址
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Rkkd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备
private Integer clId;
//图片
private String pic;
//入库日期
private Date showDate;
//数量
private Integer num;
//负责人
private String fzr;
//位置
private String wz;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
}

租出报停javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//租出报停
public class Zcbt  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备
private Integer clId;
//图片
private String pic;
//报停日期
private Date showDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

租出丢损javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//租出丢损
public class Zcds  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备
private Integer clId;
//图片
private String pic;
//丢损日期
private Date showDate;
//
private Integer num;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
}

租出合约javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//租出合约
public class Zchy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料
private Integer clId;
//租出合约名称
private String zchyName;
//内容
private String content;
//文件
private String fileUrl;
//总金额
private Integer zje;
//
private Date insertDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getZchyName() {return zchyName;}
public void setZchyName(String zchyName) {this.zchyName = zchyName;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
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 Zckd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private String types;
//图片
private String pic;
//日期
private Date showDate;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

租入报停javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//租入报停
public class Zrbt  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备
private Integer clId;
//图片
private String pic;
//报停日期
private Date showDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

租入丢损javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//租入丢损
public class Zrds  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料/设备
private Integer clId;
//图片
private String pic;
//丢损日期
private Date showDate;
//
private Integer num;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
}

租入合约javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//租入合约
public class Zrhy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//材料
private Integer clId;
//租入合约名称
private String zrhyName;
//内容
private String content;
//文件
private String fileUrl;
//总金额
private Integer zje;
//
private Date insertDate;
public Integer getClId() {return clId;}
public void setClId(Integer clId) {this.clId = clId;}
public String getZrhyName() {return zrhyName;}
public void setZrhyName(String zrhyName) {this.zrhyName = zrhyName;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
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 Zrkd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private String types;
//图片
private String pic;
//日期
private Date showDate;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

猜你喜欢

转载自blog.csdn.net/weixin_44062395/article/details/86529773