小区物业管理系统

孤街醉人 提交于 2019-11-27 16:12:23
小区物业管理系统

小区物业管理系统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_crz(  	id int primary key auto_increment comment '主键',  	yzId int comment '业主',  	v1 varchar(100) comment '姓名',  	v2 varchar(100) comment '电话',  	v3 varchar(100) comment '身份证',  	content varchar(100) comment '详细信息',  	lzrq datetime comment '领证日期',  	dd varchar(100) comment '地点'  ) comment '出入证网上申请';    

来访登记表创建语句如下:

  create table t_lfdj(  	id int primary key auto_increment comment '主键',  	v1 varchar(100) comment '姓名',  	v2 varchar(100) comment '电话',  	v3 varchar(100) comment '身份证',  	v4 varchar(100) comment '来访住户',  	v5 varchar(100) comment '来访缘由'  ) comment '来访登记';    

设施设备普查表创建语句如下:

  create table t_pc(  	id int primary key auto_increment comment '主键',  	yzId int comment '业主',  	content varchar(100) comment '说明',  	showDate datetime comment '普查日期'  ) comment '设施设备普查';    

设施设备维修申请表创建语句如下:

  create table t_wx(  	id int primary key auto_increment comment '主键',  	yzId int comment '业主',  	title varchar(100) comment '说明',  	yyDate datetime comment '预约日期',  	pic varchar(100) comment '图片',  	status varchar(100) comment '状态'  ) comment '设施设备维修申请';    

意见表创建语句如下:

  create table t_yj(  	id int primary key auto_increment comment '主键',  	yzId int comment '业主',  	content varchar(100) comment '内容',  	insertDate datetime comment '入库日期',  	status varchar(100) comment '状态'  ) comment '意见';    

业主表创建语句如下:

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

值班表创建语句如下:

  create table t_zb(  	id int primary key auto_increment comment '主键',  	v1 varchar(100) comment '姓名',  	v2 varchar(100) comment '电话',  	v3 varchar(100) comment '头像',  	v4 datetime comment '时间'  ) comment '值班';    

账单缴费表创建语句如下:

  create table t_zd(  	id int primary key auto_increment comment '主键',  	yzId int comment '业主',  	je varchar(100) comment '金额',  	yf varchar(100) comment '月份',  	sm varchar(100) comment '说明',  	status varchar(100) comment '状态',  	updateDate 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_crz(  	id integer,  	yzId int,  	v1 varchar(100),  	v2 varchar(100),  	v3 varchar(100),  	content varchar(100),  	lzrq datetime,  	dd varchar(100)  );  --出入证网上申请字段加注释  comment on column t_crz.id is '主键';  comment on column t_crz.yzId is '业主';  comment on column t_crz.v1 is '姓名';  comment on column t_crz.v2 is '电话';  comment on column t_crz.v3 is '身份证';  comment on column t_crz.content is '详细信息';  comment on column t_crz.lzrq is '领证日期';  comment on column t_crz.dd is '地点';  --出入证网上申请表加注释  comment on table t_crz is '出入证网上申请';    

来访登记表创建语句如下:

  create table t_lfdj(  	id integer,  	v1 varchar(100),  	v2 varchar(100),  	v3 varchar(100),  	v4 varchar(100),  	v5 varchar(100)  );  --来访登记字段加注释  comment on column t_lfdj.id is '主键';  comment on column t_lfdj.v1 is '姓名';  comment on column t_lfdj.v2 is '电话';  comment on column t_lfdj.v3 is '身份证';  comment on column t_lfdj.v4 is '来访住户';  comment on column t_lfdj.v5 is '来访缘由';  --来访登记表加注释  comment on table t_lfdj is '来访登记';    

设施设备普查表创建语句如下:

  create table t_pc(  	id integer,  	yzId int,  	content varchar(100),  	showDate datetime  );  --设施设备普查字段加注释  comment on column t_pc.id is '主键';  comment on column t_pc.yzId is '业主';  comment on column t_pc.content is '说明';  comment on column t_pc.showDate is '普查日期';  --设施设备普查表加注释  comment on table t_pc is '设施设备普查';    

设施设备维修申请表创建语句如下:

  create table t_wx(  	id integer,  	yzId int,  	title varchar(100),  	yyDate datetime,  	pic varchar(100),  	status varchar(100)  );  --设施设备维修申请字段加注释  comment on column t_wx.id is '主键';  comment on column t_wx.yzId is '业主';  comment on column t_wx.title is '说明';  comment on column t_wx.yyDate is '预约日期';  comment on column t_wx.pic is '图片';  comment on column t_wx.status is '状态';  --设施设备维修申请表加注释  comment on table t_wx is '设施设备维修申请';    

意见表创建语句如下:

  create table t_yj(  	id integer,  	yzId int,  	content varchar(100),  	insertDate datetime,  	status varchar(100)  );  --意见字段加注释  comment on column t_yj.id is '主键';  comment on column t_yj.yzId is '业主';  comment on column t_yj.content is '内容';  comment on column t_yj.insertDate is '入库日期';  comment on column t_yj.status is '状态';  --意见表加注释  comment on table t_yj is '意见';    

业主表创建语句如下:

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

值班表创建语句如下:

  create table t_zb(  	id integer,  	v1 varchar(100),  	v2 varchar(100),  	v3 varchar(100),  	v4 datetime  );  --值班字段加注释  comment on column t_zb.id is '主键';  comment on column t_zb.v1 is '姓名';  comment on column t_zb.v2 is '电话';  comment on column t_zb.v3 is '头像';  comment on column t_zb.v4 is '时间';  --值班表加注释  comment on table t_zb is '值班';    

账单缴费表创建语句如下:

  create table t_zd(  	id integer,  	yzId int,  	je varchar(100),  	yf varchar(100),  	sm varchar(100),  	status varchar(100),  	updateDate datetime  );  --账单缴费字段加注释  comment on column t_zd.id is '主键';  comment on column t_zd.yzId is '业主';  comment on column t_zd.je is '金额';  comment on column t_zd.yf is '月份';  comment on column t_zd.sm is '说明';  comment on column t_zd.status is '状态';  comment on column t_zd.updateDate is '缴费日期';  --账单缴费表加注释  comment on table t_zd is '账单缴费';    

oracle特有,对应序列如下:

  create sequence s_t_crz;  create sequence s_t_lfdj;  create sequence s_t_pc;  create sequence s_t_wx;  create sequence s_t_yj;  create sequence s_t_yz;  create sequence s_t_zb;  create sequence s_t_zd;  

小区物业管理系统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_crz(  	id int identity(1,1) primary key not null,--主键  	yzId int,--业主  	v1 varchar(100),--姓名  	v2 varchar(100),--电话  	v3 varchar(100),--身份证  	content varchar(100),--详细信息  	lzrq datetime,--领证日期  	dd varchar(100)--地点  );    

来访登记表创建语句如下:

  --来访登记表注释  create table t_lfdj(  	id int identity(1,1) primary key not null,--主键  	v1 varchar(100),--姓名  	v2 varchar(100),--电话  	v3 varchar(100),--身份证  	v4 varchar(100),--来访住户  	v5 varchar(100)--来访缘由  );    

设施设备普查表创建语句如下:

  --设施设备普查表注释  create table t_pc(  	id int identity(1,1) primary key not null,--主键  	yzId int,--业主  	content varchar(100),--说明  	showDate datetime--普查日期  );    

设施设备维修申请表创建语句如下:

  --设施设备维修申请表注释  create table t_wx(  	id int identity(1,1) primary key not null,--主键  	yzId int,--业主  	title varchar(100),--说明  	yyDate datetime,--预约日期  	pic varchar(100),--图片  	status varchar(100)--状态  );    

意见表创建语句如下:

  --意见表注释  create table t_yj(  	id int identity(1,1) primary key not null,--主键  	yzId int,--业主  	content varchar(100),--内容  	insertDate datetime,--入库日期  	status varchar(100)--状态  );    

业主表创建语句如下:

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

值班表创建语句如下:

  --值班表注释  create table t_zb(  	id int identity(1,1) primary key not null,--主键  	v1 varchar(100),--姓名  	v2 varchar(100),--电话  	v3 varchar(100),--头像  	v4 datetime--时间  );    

账单缴费表创建语句如下:

  --账单缴费表注释  create table t_zd(  	id int identity(1,1) primary key not null,--主键  	yzId int,--业主  	je varchar(100),--金额  	yf varchar(100),--月份  	sm varchar(100),--说明  	status varchar(100),--状态  	updateDate 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_crz")  public class Crz {  //主键  @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 yzId;  //姓名  private String v1;  //电话  private String v2;  //身份证  private String v3;  //详细信息  private String content;  //领证日期  private Date lzrq;  //地点  private String dd;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getV1() {return v1;}  public void setV1(String v1) {this.v1 = v1;}  public String getV2() {return v2;}  public void setV2(String v2) {this.v2 = v2;}  public String getV3() {return v3;}  public void setV3(String v3) {this.v3 = v3;}  public String getContent() {return content;}  public void setContent(String content) {this.content = content;}  public Date getLzrq() {return lzrq;}  public void setLzrq(Date lzrq) {this.lzrq = lzrq;}  public String getDd() {return dd;}  public void setDd(String dd) {this.dd = dd;}  }

来访登记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_lfdj")  public class Lfdj {  //主键  @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 v1;  //电话  private String v2;  //身份证  private String v3;  //来访住户  private String v4;  //来访缘由  private String v5;  public String getV1() {return v1;}  public void setV1(String v1) {this.v1 = v1;}  public String getV2() {return v2;}  public void setV2(String v2) {this.v2 = v2;}  public String getV3() {return v3;}  public void setV3(String v3) {this.v3 = v3;}  public String getV4() {return v4;}  public void setV4(String v4) {this.v4 = v4;}  public String getV5() {return v5;}  public void setV5(String v5) {this.v5 = v5;}  }

设施设备普查javaBean创建语句如下:

  package project.model;  import javax.persistence.Column;  import javax.persistence.Entity;  import javax.persistence.GeneratedValue;  import javax.persistence.GenerationType;  import javax.persistence.Id;  import javax.persistence.Table;  import java.util.Date;  @Entity  //设施设备普查  @Table(name = "t_pc")  public class Pc {  //主键  @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 yzId;  //说明  private String content;  //普查日期  private Date showDate;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getContent() {return content;}  public void setContent(String content) {this.content = content;}  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_wx")  public class Wx {  //主键  @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 yzId;  //说明  private String title;  //预约日期  private Date yyDate;  //图片  private String pic;  //状态  private String status;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getTitle() {return title;}  public void setTitle(String title) {this.title = title;}  public Date getYyDate() {return yyDate;}  public void setYyDate(Date yyDate) {this.yyDate = yyDate;}  public String getPic() {return pic;}  public void setPic(String pic) {this.pic = pic;}  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_yj")  public class Yj {  //主键  @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 yzId;  //内容  private String content;  //入库日期  private Date insertDate;  //状态  private String status;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  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 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_yz")  public class Yz {  //主键  @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 yzName;  //性别  private String sex;  //年龄  private String age;  //电话  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 getYzName() {return yzName;}  public void setYzName(String yzName) {this.yzName = yzName;}  public String getSex() {return sex;}  public void setSex(String sex) {this.sex = sex;}  public String getAge() {return age;}  public void setAge(String age) {this.age = age;}  public String 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_zb")  public class Zb {  //主键  @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 v1;  //电话  private String v2;  //头像  private String v3;  //时间  private Date v4;  public String getV1() {return v1;}  public void setV1(String v1) {this.v1 = v1;}  public String getV2() {return v2;}  public void setV2(String v2) {this.v2 = v2;}  public String getV3() {return v3;}  public void setV3(String v3) {this.v3 = v3;}  public Date getV4() {return v4;}  public void setV4(Date v4) {this.v4 = v4;}  }

账单缴费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_zd")  public class Zd {  //主键  @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 yzId;  //金额  private String je;  //月份  private String yf;  //说明  private String sm;  //状态  private String status;  //缴费日期  private Date updateDate;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getJe() {return je;}  public void setJe(String je) {this.je = je;}  public String getYf() {return yf;}  public void setYf(String yf) {this.yf = yf;}  public String getSm() {return sm;}  public void setSm(String sm) {this.sm = sm;}  public String getStatus() {return status;}  public void setStatus(String status) {this.status = status;}  public Date getUpdateDate() {return updateDate;}  public void setUpdateDate(Date updateDate) {this.updateDate = updateDate;}  }

小区物业管理系统spring springMVC mybatis框架对象(javaBean,pojo)设计:

出入证网上申请javaBean创建语句如下:

  package project.model;  import org.springframework.format.annotation.DateTimeFormat;  import java.util.Date;  //出入证网上申请  public class Crz  extends BaseBean{  //主键  private Integer id;  public Integer getId() {return id;}  public void setId(Integer id) {this.id = id;}  //业主  private Integer yzId;  //姓名  private String v1;  //电话  private String v2;  //身份证  private String v3;  //详细信息  private String content;  //领证日期  private Date lzrq;  //地点  private String dd;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getV1() {return v1;}  public void setV1(String v1) {this.v1 = v1;}  public String getV2() {return v2;}  public void setV2(String v2) {this.v2 = v2;}  public String getV3() {return v3;}  public void setV3(String v3) {this.v3 = v3;}  public String getContent() {return content;}  public void setContent(String content) {this.content = content;}  public Date getLzrq() {return lzrq;}  public void setLzrq(Date lzrq) {this.lzrq = lzrq;}  public String getDd() {return dd;}  public void setDd(String dd) {this.dd = dd;}  }

来访登记javaBean创建语句如下:

  package project.model;  import org.springframework.format.annotation.DateTimeFormat;  import java.util.Date;  //来访登记  public class Lfdj  extends BaseBean{  //主键  private Integer id;  public Integer getId() {return id;}  public void setId(Integer id) {this.id = id;}  //姓名  private String v1;  //电话  private String v2;  //身份证  private String v3;  //来访住户  private String v4;  //来访缘由  private String v5;  public String getV1() {return v1;}  public void setV1(String v1) {this.v1 = v1;}  public String getV2() {return v2;}  public void setV2(String v2) {this.v2 = v2;}  public String getV3() {return v3;}  public void setV3(String v3) {this.v3 = v3;}  public String getV4() {return v4;}  public void setV4(String v4) {this.v4 = v4;}  public String getV5() {return v5;}  public void setV5(String v5) {this.v5 = v5;}  }

设施设备普查javaBean创建语句如下:

  package project.model;  import org.springframework.format.annotation.DateTimeFormat;  import java.util.Date;  //设施设备普查  public class Pc  extends BaseBean{  //主键  private Integer id;  public Integer getId() {return id;}  public void setId(Integer id) {this.id = id;}  //业主  private Integer yzId;  //说明  private String content;  //普查日期  private Date showDate;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getContent() {return content;}  public void setContent(String content) {this.content = content;}  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 Wx  extends BaseBean{  //主键  private Integer id;  public Integer getId() {return id;}  public void setId(Integer id) {this.id = id;}  //业主  private Integer yzId;  //说明  private String title;  //预约日期  private Date yyDate;  //图片  private String pic;  //状态  private String status;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getTitle() {return title;}  public void setTitle(String title) {this.title = title;}  public Date getYyDate() {return yyDate;}  public void setYyDate(Date yyDate) {this.yyDate = yyDate;}  public String getPic() {return pic;}  public void setPic(String pic) {this.pic = pic;}  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 Yj  extends BaseBean{  //主键  private Integer id;  public Integer getId() {return id;}  public void setId(Integer id) {this.id = id;}  //业主  private Integer yzId;  //内容  private String content;  //入库日期  private Date insertDate;  //状态  private String status;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  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 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 Yz  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 yzName;  //性别  private String sex;  //年龄  private String age;  //电话  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 getYzName() {return yzName;}  public void setYzName(String yzName) {this.yzName = yzName;}  public String getSex() {return sex;}  public void setSex(String sex) {this.sex = sex;}  public String getAge() {return age;}  public void setAge(String age) {this.age = age;}  public String 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 Zb  extends BaseBean{  //主键  private Integer id;  public Integer getId() {return id;}  public void setId(Integer id) {this.id = id;}  //姓名  private String v1;  //电话  private String v2;  //头像  private String v3;  //时间  private Date v4;  public String getV1() {return v1;}  public void setV1(String v1) {this.v1 = v1;}  public String getV2() {return v2;}  public void setV2(String v2) {this.v2 = v2;}  public String getV3() {return v3;}  public void setV3(String v3) {this.v3 = v3;}  public Date getV4() {return v4;}  public void setV4(Date v4) {this.v4 = v4;}  }

账单缴费javaBean创建语句如下:

  package project.model;  import org.springframework.format.annotation.DateTimeFormat;  import java.util.Date;  //账单缴费  public class Zd  extends BaseBean{  //主键  private Integer id;  public Integer getId() {return id;}  public void setId(Integer id) {this.id = id;}  //业主  private Integer yzId;  //金额  private String je;  //月份  private String yf;  //说明  private String sm;  //状态  private String status;  //缴费日期  private Date updateDate;  public Integer getYzId() {return yzId;}  public void setYzId(Integer yzId) {this.yzId = yzId;}  public String getJe() {return je;}  public void setJe(String je) {this.je = je;}  public String getYf() {return yf;}  public void setYf(String yf) {this.yf = yf;}  public String getSm() {return sm;}  public void setSm(String sm) {this.sm = sm;}  public String getStatus() {return status;}  public void setStatus(String status) {this.status = status;}  public Date getUpdateDate() {return updateDate;}  public void setUpdateDate(Date updateDate) {this.updateDate = updateDate;}  }
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!