公寓管理系统(xfa120)_mysql_oracle代码分享

公寓管理系统登录注册界面

公寓管理系统mysql数据库版本源码:

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


create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

员工表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	headPic varchar(100) comment '头像',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment ''
) comment '员工';

公告表创建语句如下:


create table t_gonggao(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	content text comment '内容',
	insertDate datetime comment '发起日期'
) comment '公告';

公寓表创建语句如下:


create table t_gy(
	id int primary key auto_increment comment '主键',
	gyName varchar(100) comment '公寓名称',
	typesId int comment '类型',
	gywz varchar(100) comment '公寓位置',
	pic varchar(100) comment '图片',
	fzr varchar(100) comment '负责人',
	phone varchar(100) comment '负责人电话',
	mj int comment '面积',
	cqlx varchar(100) comment '产权类型',
	status varchar(100) comment '',
	zje int comment '总金额',
	bz text comment '备注'
) comment '公寓';

留言表创建语句如下:


create table t_ly(
	id int primary key auto_increment comment '主键',
	customerId int comment '员工',
	content text comment '内容',
	insertDate datetime comment '发起日期',
	back text comment '回复',
	status varchar(100) comment '状态'
) comment '留言';

公寓类型表创建语句如下:


create table t_types(
	id int primary key auto_increment comment '主键',
	typesName varchar(100) comment '公寓类型'
) comment '公寓类型';

公寓销售表创建语句如下:


create table t_xs(
	id int primary key auto_increment comment '主键',
	gyId int comment '公寓',
	typesId int comment '公寓类型',
	zje int comment '总金额',
	ht varchar(100) comment '合同',
	fzr varchar(100) comment '负责人',
	phone varchar(100) comment '负责人电话',
	showDate datetime comment '操作日期'
) comment '公寓销售';

公寓租赁表创建语句如下:


create table t_zl(
	id int primary key auto_increment comment '主键',
	gyId int comment '公寓',
	typesId int comment '公寓类型',
	beginDate datetime comment '开始日期',
	endDate datetime comment '结束日期',
	ydj int comment '月单价',
	zje int comment '总金额',
	zq int comment '租期/月',
	ht varchar(100) comment '合同',
	fzr varchar(100) comment '负责人',
	phone 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_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	headPic varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100)
);
--员工字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.headPic is '头像';
comment on column t_customer.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '';
--员工表加注释
comment on table t_customer is '员工';

公告表创建语句如下:


create table t_gonggao(
	id integer,
	title varchar(100),
	content text,
	insertDate datetime
);
--公告字段加注释
comment on column t_gonggao.id is '主键';
comment on column t_gonggao.title is '标题';
comment on column t_gonggao.content is '内容';
comment on column t_gonggao.insertDate is '发起日期';
--公告表加注释
comment on table t_gonggao is '公告';

公寓表创建语句如下:


create table t_gy(
	id integer,
	gyName varchar(100),
	typesId int,
	gywz varchar(100),
	pic varchar(100),
	fzr varchar(100),
	phone varchar(100),
	mj int,
	cqlx varchar(100),
	status varchar(100),
	zje int,
	bz text
);
--公寓字段加注释
comment on column t_gy.id is '主键';
comment on column t_gy.gyName is '公寓名称';
comment on column t_gy.typesId is '类型';
comment on column t_gy.gywz is '公寓位置';
comment on column t_gy.pic is '图片';
comment on column t_gy.fzr is '负责人';
comment on column t_gy.phone is '负责人电话';
comment on column t_gy.mj is '面积';
comment on column t_gy.cqlx is '产权类型';
comment on column t_gy.status is '';
comment on column t_gy.zje is '总金额';
comment on column t_gy.bz is '备注';
--公寓表加注释
comment on table t_gy is '公寓';

留言表创建语句如下:


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

公寓类型表创建语句如下:


create table t_types(
	id integer,
	typesName varchar(100)
);
--公寓类型字段加注释
comment on column t_types.id is '主键';
comment on column t_types.typesName is '公寓类型';
--公寓类型表加注释
comment on table t_types is '公寓类型';

公寓销售表创建语句如下:


create table t_xs(
	id integer,
	gyId int,
	typesId int,
	zje int,
	ht varchar(100),
	fzr varchar(100),
	phone varchar(100),
	showDate datetime
);
--公寓销售字段加注释
comment on column t_xs.id is '主键';
comment on column t_xs.gyId is '公寓';
comment on column t_xs.typesId is '公寓类型';
comment on column t_xs.zje is '总金额';
comment on column t_xs.ht is '合同';
comment on column t_xs.fzr is '负责人';
comment on column t_xs.phone is '负责人电话';
comment on column t_xs.showDate is '操作日期';
--公寓销售表加注释
comment on table t_xs is '公寓销售';

公寓租赁表创建语句如下:


create table t_zl(
	id integer,
	gyId int,
	typesId int,
	beginDate datetime,
	endDate datetime,
	ydj int,
	zje int,
	zq int,
	ht varchar(100),
	fzr varchar(100),
	phone varchar(100),
	showDate datetime
);
--公寓租赁字段加注释
comment on column t_zl.id is '主键';
comment on column t_zl.gyId is '公寓';
comment on column t_zl.typesId is '公寓类型';
comment on column t_zl.beginDate is '开始日期';
comment on column t_zl.endDate is '结束日期';
comment on column t_zl.ydj is '月单价';
comment on column t_zl.zje is '总金额';
comment on column t_zl.zq is '租期/月';
comment on column t_zl.ht is '合同';
comment on column t_zl.fzr is '负责人';
comment on column t_zl.phone is '负责人电话';
comment on column t_zl.showDate is '操作日期';
--公寓租赁表加注释
comment on table t_zl is '公寓租赁';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_gonggao;
create sequence s_t_gy;
create sequence s_t_ly;
create sequence s_t_types;
create sequence s_t_xs;
create sequence s_t_zl;

公寓管理系统sqlserver数据库版本源码:

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


--超级管理员
create table t_admin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--超级管理员账号
	password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

员工表创建语句如下:


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

公告表创建语句如下:


--公告表注释
create table t_gonggao(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	content text,--内容
	insertDate datetime--发起日期
);

公寓表创建语句如下:


--公寓表注释
create table t_gy(
	id int identity(1,1) primary key not null,--主键
	gyName varchar(100),--公寓名称
	typesId int,--类型
	gywz varchar(100),--公寓位置
	pic varchar(100),--图片
	fzr varchar(100),--负责人
	phone varchar(100),--负责人电话
	mj int,--面积
	cqlx varchar(100),--产权类型
	status varchar(100),--
	zje int,--总金额
	bz text--备注
);

留言表创建语句如下:


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

公寓类型表创建语句如下:


--公寓类型表注释
create table t_types(
	id int identity(1,1) primary key not null,--主键
	typesName varchar(100)--公寓类型
);

公寓销售表创建语句如下:


--公寓销售表注释
create table t_xs(
	id int identity(1,1) primary key not null,--主键
	gyId int,--公寓
	typesId int,--公寓类型
	zje int,--总金额
	ht varchar(100),--合同
	fzr varchar(100),--负责人
	phone varchar(100),--负责人电话
	showDate datetime--操作日期
);

公寓租赁表创建语句如下:


--公寓租赁表注释
create table t_zl(
	id int identity(1,1) primary key not null,--主键
	gyId int,--公寓
	typesId int,--公寓类型
	beginDate datetime,--开始日期
	endDate datetime,--结束日期
	ydj int,--月单价
	zje int,--总金额
	zq int,--租期/月
	ht varchar(100),--合同
	fzr varchar(100),--负责人
	phone 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_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//
private String sex;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

公告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_gonggao")
public class Gonggao {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//发起日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public 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_gy")
public class Gy {
//主键
@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 gyName;
//类型
private Long typesId;
//公寓位置
private String gywz;
//图片
private String pic;
//负责人
private String fzr;
//负责人电话
private String phone;
//面积
private Integer mj;
//产权类型
private String cqlx;
//
private String status;
//总金额
private Integer zje;
//备注
private String bz;
public String getGyName() {return gyName;}
public void setGyName(String gyName) {this.gyName = gyName;}
public Long getTypesId() {return typesId;}
public void setTypesId(Long typesId) {this.typesId = typesId;}
public String getGywz() {return gywz;}
public void setGywz(String gywz) {this.gywz = gywz;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getMj() {return mj;}
public void setMj(Integer mj) {this.mj = mj;}
public String getCqlx() {return cqlx;}
public void setCqlx(String cqlx) {this.cqlx = cqlx;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
}

留言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_ly")
public class Ly {
//主键
@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 Long customerId;
//内容
private String content;
//发起日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

公寓类型javaBean创建语句如下:


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

//公寓类型
@Table(name = "t_types")
public class Types {
//主键
@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 typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

公寓销售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 Long gyId;
//公寓类型
private Long typesId;
//总金额
private Integer zje;
//合同
private String ht;
//负责人
private String fzr;
//负责人电话
private String phone;
//操作日期
private Date showDate;
public Long getGyId() {return gyId;}
public void setGyId(Long gyId) {this.gyId = gyId;}
public Long getTypesId() {return typesId;}
public void setTypesId(Long typesId) {this.typesId = typesId;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public String getHt() {return ht;}
public void setHt(String ht) {this.ht = ht;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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_zl")
public class Zl {
//主键
@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 Long gyId;
//公寓类型
private Long typesId;
//开始日期
private Date beginDate;
//结束日期
private Date endDate;
//月单价
private Integer ydj;
//总金额
private Integer zje;
//租期/月
private Integer zq;
//合同
private String ht;
//负责人
private String fzr;
//负责人电话
private String phone;
//操作日期
private Date showDate;
public Long getGyId() {return gyId;}
public void setGyId(Long gyId) {this.gyId = gyId;}
public Long getTypesId() {return typesId;}
public void setTypesId(Long typesId) {this.typesId = typesId;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public Integer getYdj() {return ydj;}
public void setYdj(Integer ydj) {this.ydj = ydj;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public Integer getZq() {return zq;}
public void setZq(Integer zq) {this.zq = zq;}
public String getHt() {return ht;}
public void setHt(String ht) {this.ht = ht;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//
private String sex;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
}

公告javaBean创建语句如下:


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

//公告
public class Gonggao  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//发起日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public 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 Gy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//公寓名称
private String gyName;
//类型
private Long typesId;
//公寓位置
private String gywz;
//图片
private String pic;
//负责人
private String fzr;
//负责人电话
private String phone;
//面积
private Integer mj;
//产权类型
private String cqlx;
//
private String status;
//总金额
private Integer zje;
//备注
private String bz;
public String getGyName() {return gyName;}
public void setGyName(String gyName) {this.gyName = gyName;}
public Long getTypesId() {return typesId;}
public void setTypesId(Long typesId) {this.typesId = typesId;}
public String getGywz() {return gywz;}
public void setGywz(String gywz) {this.gywz = gywz;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getMj() {return mj;}
public void setMj(Integer mj) {this.mj = mj;}
public String getCqlx() {return cqlx;}
public void setCqlx(String cqlx) {this.cqlx = cqlx;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
}

留言javaBean创建语句如下:


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

//留言
public class Ly  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Long customerId;
//内容
private String content;
//发起日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Long getCustomerId() {return customerId;}
public void setCustomerId(Long customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

公寓类型javaBean创建语句如下:


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

//公寓类型
public class Types  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//公寓类型
private String typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

公寓销售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 Long gyId;
//公寓类型
private Long typesId;
//总金额
private Integer zje;
//合同
private String ht;
//负责人
private String fzr;
//负责人电话
private String phone;
//操作日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date showDate;
public Long getGyId() {return gyId;}
public void setGyId(Long gyId) {this.gyId = gyId;}
public Long getTypesId() {return typesId;}
public void setTypesId(Long typesId) {this.typesId = typesId;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public String getHt() {return ht;}
public void setHt(String ht) {this.ht = ht;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 Zl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//公寓
private Long gyId;
//公寓类型
private Long typesId;
//开始日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date beginDate;
//结束日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date endDate;
//月单价
private Integer ydj;
//总金额
private Integer zje;
//租期/月
private Integer zq;
//合同
private String ht;
//负责人
private String fzr;
//负责人电话
private String phone;
//操作日期
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date showDate;
public Long getGyId() {return gyId;}
public void setGyId(Long gyId) {this.gyId = gyId;}
public Long getTypesId() {return typesId;}
public void setTypesId(Long typesId) {this.typesId = typesId;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public Integer getYdj() {return ydj;}
public void setYdj(Integer ydj) {this.ydj = ydj;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public Integer getZq() {return zq;}
public void setZq(Integer zq) {this.zq = zq;}
public String getHt() {return ht;}
public void setHt(String ht) {this.ht = ht;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

相关毕业设计源码

基于Spring MVC学生信息管理子系统的实现,java设计与开发

基于Spring MVC学生信息管理子系统的实现(xueshengxixni),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于WEB的网上选课系统的设计与实现 _部分源代码分享

基于WEB的网上选课系统的设计与实现(chooseclass),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于Android平台的图书借阅管理系统,毕业设计java项目

基于Android平台的图书借阅管理系统(tushujieyue),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

高校表白墙Web应用系统的设计与实现

高校表白墙Web应用系统的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

高校后勤在线报修系统的设计与研发

高校后勤在线报修系统的设计与研发,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于JSP课程教学质量评测反馈系统

管理员的登录与注册(学生与老师只能登陆,登陆界面有验证码),管理员界面需要有学生录入(录入学生的用户名与初始密码,还有班级),老师录入(录入教师的用户名、初始密码、所教课程、所教班级,邮箱信息,电话),学生录入的信息有:姓名,性别,所属专业,班级,出生年月日,学制,学历信息,电话,备注信息;管理员可以删除学生与老师信息老师录入的信息有:姓名,性别,出生年月日,学历,毕业院校,办公地点。

基于web的个性化网上阅读系统设计与开发

基于web的个性化网上阅读系统设计与开发,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于android的备忘录系统,java专业毕业设计

基于android的备忘录系统(biewanglu),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于安卓的驾考宝典系统的设计与实现

基于安卓的驾考宝典系统的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

教师管理系统(xba35)_mysql_oracle代码分享

教师管理系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

山西大医院档案管理信息系统的设计与实现

山西大医院档案管理信息系统的设计与实现(danganguanli),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

快递自动化处理系统

快递自动化处理系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

评论