- SSM物业管理系统mysql数据库创建语句
- SSM物业管理系统oracle数据库创建语句
- SSM物业管理系统sqlserver数据库创建语句
- SSM物业管理系统spring springMVC hibernate框架对象(javaBean,pojo)设计
- SSM物业管理系统spring springMVC mybatis框架对象(javaBean,pojo)设计
管理员功能模块:
(1)物业公司信息:管理员对使用该系统的物业公司进行登记。
(2)员工信息:对员工信息进行维护,添加、修改和删除操作。
(3)小区信息:对小区绿化及位置等信息进行维护,添加、修改和删除操作。
(4)物业设备管理:对物业设备进行管理,添加、修改和删除操作。
(5)住户信息列表:显示小区住户信息列表。
(6)物业费列表:显示物业费收费列表,可通过收费单号过滤该单号信息,查看其详细信息,作废单据操作。
(7)水电费列表:显示水电气费收费列表,可通过收费单号过滤该单号信息,查看其详细信息,作废单据操作。
(8)车位管理列表:显示车位信息列表。
(9)住户报修列表:显示住户报修信息及处理信息列表。
(10)物业费统计:以楼栋为单位,显示楼栋收费统计列表。
(11)水电费统计:以月份为单位,显示水电气收费统计列表。
(12)公告板:对公告板上的公告信息进行维护,添加、修改和删除操作。
(13)社区论坛:对社区论坛上用户发表的信息进行维护,添加、修改和删除操作。
员工管理功能模块:
(1)住户信息维护:员工对本人管辖的住户信息进行登记,添加、修改和删除操作。
(2)物业收费:员工收取本人管辖的住户物业费用操作。并用本系统通知欠费客户。
(3)物业收水电费:员工收取本人管辖的住户水、电、气费的操作。并用本系统通知欠费客户。
(4)车位管理:员工对本人管辖的住户车辆车位信息进行登记,添加、修改和删除操作。
(5)上门维修记录:员工为用户提供维修服务后对用户的保修进行记录
用户功能模块:
(1)用户报修:用户通过注册以后,报修自家的问题。
(2)历史记录:用户累计报修的问题。
(3)缴费信息查看
(4)社区论坛:可以在社区论坛上发表文章和见解。
(5)阅览:可以查看本人的水.电.煤气.物业费用等情况,阅览公告板等。
SSM物业管理系统mysql数据库版本源码:
超级管理员表创建语句如下:
create table t_admin( id int primary key auto_increment comment '主键', username varchar(100) comment '超级管理员账号', password varchar(100) comment '超级管理员密码' ) comment '超级管理员'; insert into t_admin(username,password) values('admin','123456');
报修表创建语句如下:
create table t_bx( id int primary key auto_increment comment '主键', customerId int comment '用户', title varchar(100) comment '报修简单说明', pic varchar(100) comment '图片', content varchar(100) comment '备注', ssld varchar(100) comment '所属楼栋', lxr varchar(100) comment '联系人', lxdh varchar(100) comment '联系电话', status varchar(100) comment '状态' ) comment '报修';
用户表创建语句如下:
create table t_customer( id int primary key auto_increment comment '主键', username varchar(100) comment '账号', password varchar(100) comment '密码', customerName varchar(100) comment '姓名', age varchar(100) comment '年龄', sex varchar(100) comment '性别', phone varchar(100) comment '电话' ) comment '用户';
车位表创建语句如下:
create table t_cw( id int primary key auto_increment comment '主键', cwbh varchar(100) comment '车位编号', szwz varchar(100) comment '所在位置', fee varchar(100) comment '价格', customerId int comment '用户', status varchar(100) comment '状态' ) comment '车位';
费用表创建语句如下:
create table t_fy( id int primary key auto_increment comment '主键', dh varchar(100) comment '收费单号', customerId int comment '用户', yf varchar(100) comment '月份', fee int comment '金额', types varchar(100) comment '类型', bz varchar(100) comment '备注', ewm varchar(100) comment '二维码', status varchar(100) comment '状态' ) comment '费用';
公告表创建语句如下:
create table t_gg( id int primary key auto_increment comment '主键', title varchar(100) comment '标题', pic varchar(100) comment '图片', content varchar(100) comment '详细内容', showDate varchar(100) comment '日期' ) comment '公告';
论坛回复表创建语句如下:
create table t_list( id int primary key auto_increment comment '主键', ltId int comment '论坛', name varchar(100) comment '姓名', content varchar(100) comment '回复内容', insertDate datetime comment '日期' ) comment '论坛回复';
论坛表创建语句如下:
create table t_lt( id int primary key auto_increment comment '主键', title varchar(100) comment '标题', pic varchar(100) comment '图片', content varchar(100) comment '详细内容' ) comment '论坛';
论坛回复表创建语句如下:
create table t_ltlist( id int primary key auto_increment comment '主键', ltId int comment '论坛', name varchar(100) comment '姓名', content varchar(100) comment '回复内容', insertDate datetime comment '日期' ) comment '论坛回复';
物业公司表创建语句如下:
create table t_wygsname( id int primary key auto_increment comment '主键', wygsName varchar(100) comment '姓名', phone varchar(100) comment '电话', fzr varchar(100) comment '负责人' ) comment '物业公司';
物业设备表创建语句如下:
create table t_wysb( id int primary key auto_increment comment '主键', sbName varchar(100) comment '设备名称', sl varchar(100) comment '设备数量' ) comment '物业设备';
小区信息表创建语句如下:
create table t_xqxx( id int primary key auto_increment comment '主键', xqName varchar(100) comment '小区名称', address varchar(100) comment '位置', lh varchar(100) comment '绿化说明' ) comment '小区信息';
员工表创建语句如下:
create table t_yg( id int primary key auto_increment comment '主键', username varchar(100) comment '账号', password varchar(100) comment '密码', ygName varchar(100) comment '姓名', age varchar(100) comment '年龄', sex varchar(100) comment '性别', phone varchar(100) comment '电话', wygsId int comment '物业公司' ) comment '员工';
SSM物业管理系统oracle数据库版本源码:
超级管理员表创建语句如下:
create table t_admin( id integer, username varchar(100), password varchar(100) ); insert into t_admin(id,username,password) values(1,'admin','123456'); --超级管理员字段加注释 comment on column t_admin.id is '主键'; comment on column t_admin.username is '超级管理员账号'; comment on column t_admin.password is '超级管理员密码'; --超级管理员表加注释 comment on table t_admin is '超级管理员';
报修表创建语句如下:
create table t_bx( id integer, customerId int, title varchar(100), pic varchar(100), content varchar(100), ssld varchar(100), lxr varchar(100), lxdh varchar(100), status varchar(100) ); --报修字段加注释 comment on column t_bx.id is '主键'; comment on column t_bx.customerId is '用户'; comment on column t_bx.title is '报修简单说明'; comment on column t_bx.pic is '图片'; comment on column t_bx.content is '备注'; comment on column t_bx.ssld is '所属楼栋'; comment on column t_bx.lxr is '联系人'; comment on column t_bx.lxdh is '联系电话'; comment on column t_bx.status is '状态'; --报修表加注释 comment on table t_bx is '报修';
用户表创建语句如下:
create table t_customer( id integer, username varchar(100), password varchar(100), customerName varchar(100), age varchar(100), sex varchar(100), phone 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.age is '年龄'; comment on column t_customer.sex is '性别'; comment on column t_customer.phone is '电话'; --用户表加注释 comment on table t_customer is '用户';
车位表创建语句如下:
create table t_cw( id integer, cwbh varchar(100), szwz varchar(100), fee varchar(100), customerId int, status varchar(100) ); --车位字段加注释 comment on column t_cw.id is '主键'; comment on column t_cw.cwbh is '车位编号'; comment on column t_cw.szwz is '所在位置'; comment on column t_cw.fee is '价格'; comment on column t_cw.customerId is '用户'; comment on column t_cw.status is '状态'; --车位表加注释 comment on table t_cw is '车位';
费用表创建语句如下:
create table t_fy( id integer, dh varchar(100), customerId int, yf varchar(100), fee int, types varchar(100), bz varchar(100), ewm varchar(100), status varchar(100) ); --费用字段加注释 comment on column t_fy.id is '主键'; comment on column t_fy.dh is '收费单号'; comment on column t_fy.customerId is '用户'; comment on column t_fy.yf is '月份'; comment on column t_fy.fee is '金额'; comment on column t_fy.types is '类型'; comment on column t_fy.bz is '备注'; comment on column t_fy.ewm is '二维码'; comment on column t_fy.status is '状态'; --费用表加注释 comment on table t_fy is '费用';
公告表创建语句如下:
create table t_gg( id integer, title varchar(100), pic varchar(100), content varchar(100), showDate varchar(100) ); --公告字段加注释 comment on column t_gg.id is '主键'; comment on column t_gg.title is '标题'; comment on column t_gg.pic is '图片'; comment on column t_gg.content is '详细内容'; comment on column t_gg.showDate is '日期'; --公告表加注释 comment on table t_gg is '公告';
论坛回复表创建语句如下:
create table t_list( id integer, ltId int, name varchar(100), content varchar(100), insertDate datetime ); --论坛回复字段加注释 comment on column t_list.id is '主键'; comment on column t_list.ltId is '论坛'; comment on column t_list.name is '姓名'; comment on column t_list.content is '回复内容'; comment on column t_list.insertDate is '日期'; --论坛回复表加注释 comment on table t_list is '论坛回复';
论坛表创建语句如下:
create table t_lt( id integer, title varchar(100), pic varchar(100), content varchar(100) ); --论坛字段加注释 comment on column t_lt.id is '主键'; comment on column t_lt.title is '标题'; comment on column t_lt.pic is '图片'; comment on column t_lt.content is '详细内容'; --论坛表加注释 comment on table t_lt is '论坛';
论坛回复表创建语句如下:
create table t_ltlist( id integer, ltId int, name varchar(100), content varchar(100), insertDate datetime ); --论坛回复字段加注释 comment on column t_ltlist.id is '主键'; comment on column t_ltlist.ltId is '论坛'; comment on column t_ltlist.name is '姓名'; comment on column t_ltlist.content is '回复内容'; comment on column t_ltlist.insertDate is '日期'; --论坛回复表加注释 comment on table t_ltlist is '论坛回复';
物业公司表创建语句如下:
create table t_wygsname( id integer, wygsName varchar(100), phone varchar(100), fzr varchar(100) ); --物业公司字段加注释 comment on column t_wygsname.id is '主键'; comment on column t_wygsname.wygsName is '姓名'; comment on column t_wygsname.phone is '电话'; comment on column t_wygsname.fzr is '负责人'; --物业公司表加注释 comment on table t_wygsname is '物业公司';
物业设备表创建语句如下:
create table t_wysb( id integer, sbName varchar(100), sl varchar(100) ); --物业设备字段加注释 comment on column t_wysb.id is '主键'; comment on column t_wysb.sbName is '设备名称'; comment on column t_wysb.sl is '设备数量'; --物业设备表加注释 comment on table t_wysb is '物业设备';
小区信息表创建语句如下:
create table t_xqxx( id integer, xqName varchar(100), address varchar(100), lh varchar(100) ); --小区信息字段加注释 comment on column t_xqxx.id is '主键'; comment on column t_xqxx.xqName is '小区名称'; comment on column t_xqxx.address is '位置'; comment on column t_xqxx.lh is '绿化说明'; --小区信息表加注释 comment on table t_xqxx is '小区信息';
员工表创建语句如下:
create table t_yg( id integer, username varchar(100), password varchar(100), ygName varchar(100), age varchar(100), sex varchar(100), phone varchar(100), wygsId int ); --员工字段加注释 comment on column t_yg.id is '主键'; comment on column t_yg.username is '账号'; comment on column t_yg.password is '密码'; comment on column t_yg.ygName is '姓名'; comment on column t_yg.age is '年龄'; comment on column t_yg.sex is '性别'; comment on column t_yg.phone is '电话'; comment on column t_yg.wygsId is '物业公司'; --员工表加注释 comment on table t_yg is '员工';
oracle特有,对应序列如下:
create sequence s_t_bx; create sequence s_t_customer; create sequence s_t_cw; create sequence s_t_fy; create sequence s_t_gg; create sequence s_t_list; create sequence s_t_lt; create sequence s_t_ltlist; create sequence s_t_wygsname; create sequence s_t_wysb; create sequence s_t_xqxx; create sequence s_t_yg;
SSM物业管理系统sqlserver数据库版本源码:
超级管理员表创建语句如下:
--超级管理员 create table t_admin( id int identity(1,1) primary key not null,--主键 username varchar(100),--超级管理员账号 password varchar(100)--超级管理员密码 ); insert into t_admin(username,password) values('admin','123456');
报修表创建语句如下:
--报修表注释 create table t_bx( id int identity(1,1) primary key not null,--主键 customerId int,--用户 title varchar(100),--报修简单说明 pic varchar(100),--图片 content varchar(100),--备注 ssld varchar(100),--所属楼栋 lxr varchar(100),--联系人 lxdh varchar(100),--联系电话 status varchar(100)--状态 );
用户表创建语句如下:
--用户表注释 create table t_customer( id int identity(1,1) primary key not null,--主键 username varchar(100),--账号 password varchar(100),--密码 customerName varchar(100),--姓名 age varchar(100),--年龄 sex varchar(100),--性别 phone varchar(100)--电话 );
车位表创建语句如下:
--车位表注释 create table t_cw( id int identity(1,1) primary key not null,--主键 cwbh varchar(100),--车位编号 szwz varchar(100),--所在位置 fee varchar(100),--价格 customerId int,--用户 status varchar(100)--状态 );
费用表创建语句如下:
--费用表注释 create table t_fy( id int identity(1,1) primary key not null,--主键 dh varchar(100),--收费单号 customerId int,--用户 yf varchar(100),--月份 fee int,--金额 types varchar(100),--类型 bz varchar(100),--备注 ewm varchar(100),--二维码 status varchar(100)--状态 );
公告表创建语句如下:
--公告表注释 create table t_gg( id int identity(1,1) primary key not null,--主键 title varchar(100),--标题 pic varchar(100),--图片 content varchar(100),--详细内容 showDate varchar(100)--日期 );
论坛回复表创建语句如下:
--论坛回复表注释 create table t_list( id int identity(1,1) primary key not null,--主键 ltId int,--论坛 name varchar(100),--姓名 content varchar(100),--回复内容 insertDate datetime--日期 );
论坛表创建语句如下:
--论坛表注释 create table t_lt( id int identity(1,1) primary key not null,--主键 title varchar(100),--标题 pic varchar(100),--图片 content varchar(100)--详细内容 );
论坛回复表创建语句如下:
--论坛回复表注释 create table t_ltlist( id int identity(1,1) primary key not null,--主键 ltId int,--论坛 name varchar(100),--姓名 content varchar(100),--回复内容 insertDate datetime--日期 );
物业公司表创建语句如下:
--物业公司表注释 create table t_wygsname( id int identity(1,1) primary key not null,--主键 wygsName varchar(100),--姓名 phone varchar(100),--电话 fzr varchar(100)--负责人 );
物业设备表创建语句如下:
--物业设备表注释 create table t_wysb( id int identity(1,1) primary key not null,--主键 sbName varchar(100),--设备名称 sl varchar(100)--设备数量 );
小区信息表创建语句如下:
--小区信息表注释 create table t_xqxx( id int identity(1,1) primary key not null,--主键 xqName varchar(100),--小区名称 address varchar(100),--位置 lh varchar(100)--绿化说明 );
员工表创建语句如下:
--员工表注释 create table t_yg( id int identity(1,1) primary key not null,--主键 username varchar(100),--账号 password varchar(100),--密码 ygName varchar(100),--姓名 age varchar(100),--年龄 sex varchar(100),--性别 phone varchar(100),--电话 wygsId int--物业公司 );
SSM物业管理系统spring springMVC hibernate框架对象(javaBean,pojo)设计:
报修javaBean创建语句如下:
package project.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import java.util.Date; @Entity //报修 @Table(name = "t_bx") public class Bx { //主键 @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //用户 private Integer customerId; //报修简单说明 private String title; //图片 private String pic; //备注 private String content; //所属楼栋 private String ssld; //联系人 private String lxr; //联系电话 private String lxdh; //状态 private String status; public Integer getCustomerId() {return customerId;} public void setCustomerId(Integer customerId) {this.customerId = customerId;} public String getTitle() {return title;} public void setTitle(String title) {this.title = title;} public String getPic() {return pic;} public void setPic(String pic) {this.pic = pic;} public String getContent() {return content;} public void setContent(String content) {this.content = content;} public String getSsld() {return ssld;} public void setSsld(String ssld) {this.ssld = ssld;} public String getLxr() {return lxr;} public void setLxr(String lxr) {this.lxr = lxr;} public String getLxdh() {return lxdh;} public void setLxdh(String lxdh) {this.lxdh = lxdh;} 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_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 age; //性别 private String sex; //电话 private String phone; 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 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;} }
车位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_cw") public class Cw { //主键 @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 cwbh; //所在位置 private String szwz; //价格 private String fee; //用户 private Integer customerId; //状态 private String status; public String getCwbh() {return cwbh;} public void setCwbh(String cwbh) {this.cwbh = cwbh;} public String getSzwz() {return szwz;} public void setSzwz(String szwz) {this.szwz = szwz;} public String getFee() {return fee;} public void setFee(String fee) {this.fee = fee;} public Integer getCustomerId() {return customerId;} public void setCustomerId(Integer customerId) {this.customerId = customerId;} 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_fy") public class Fy { //主键 @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 dh; //用户 private Integer customerId; //月份 private String yf; //金额 private Integer fee; //类型 private String types; //备注 private String bz; //二维码 private String ewm; //状态 private String status; public String getDh() {return dh;} public void setDh(String dh) {this.dh = dh;} public Integer getCustomerId() {return customerId;} public void setCustomerId(Integer customerId) {this.customerId = customerId;} public String getYf() {return yf;} public void setYf(String yf) {this.yf = yf;} public Integer getFee() {return fee;} public void setFee(Integer fee) {this.fee = fee;} public String getTypes() {return types;} public void setTypes(String types) {this.types = types;} public String getBz() {return bz;} public void setBz(String bz) {this.bz = bz;} public String getEwm() {return ewm;} public void setEwm(String ewm) {this.ewm = ewm;} 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_gg") public class Gg { //主键 @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 pic; //详细内容 private String content; //日期 private String showDate; public String getTitle() {return title;} public void setTitle(String title) {this.title = title;} public String getPic() {return pic;} public void setPic(String pic) {this.pic = pic;} public String getContent() {return content;} public void setContent(String content) {this.content = content;} public String getShowDate() {return showDate;} public void setShowDate(String 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_list") public class List { //主键 @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 ltId; //姓名 private String name; //回复内容 private String content; //日期 private Date insertDate; public Integer getLtId() {return ltId;} public void setLtId(Integer ltId) {this.ltId = ltId;} public String getName() {return name;} public void setName(String name) {this.name = name;} 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_lt") public class Lt { //主键 @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 pic; //详细内容 private String content; public String getTitle() {return title;} public void setTitle(String title) {this.title = title;} public String getPic() {return pic;} public void setPic(String pic) {this.pic = pic;} public String getContent() {return content;} public void setContent(String content) {this.content = content;} }
论坛回复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_ltlist") public class Ltlist { //主键 @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 ltId; //姓名 private String name; //回复内容 private String content; //日期 private Date insertDate; public Integer getLtId() {return ltId;} public void setLtId(Integer ltId) {this.ltId = ltId;} public String getName() {return name;} public void setName(String name) {this.name = name;} 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_wygsname") public class Wygsname { //主键 @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 wygsName; //电话 private String phone; //负责人 private String fzr; public String getWygsName() {return wygsName;} public void setWygsName(String wygsName) {this.wygsName = wygsName;} public String getPhone() {return phone;} public void setPhone(String phone) {this.phone = phone;} public String getFzr() {return fzr;} public void setFzr(String fzr) {this.fzr = fzr;} }
物业设备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_wysb") public class Wysb { //主键 @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 sbName; //设备数量 private String sl; public String getSbName() {return sbName;} public void setSbName(String sbName) {this.sbName = sbName;} public String getSl() {return sl;} public void setSl(String sl) {this.sl = sl;} }
小区信息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_xqxx") public class Xqxx { //主键 @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 xqName; //位置 private String address; //绿化说明 private String lh; public String getXqName() {return xqName;} public void setXqName(String xqName) {this.xqName = xqName;} public String getAddress() {return address;} public void setAddress(String address) {this.address = address;} public String getLh() {return lh;} public void setLh(String lh) {this.lh = lh;} }
员工javaBean创建语句如下:
package project.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import java.util.Date; @Entity //员工 @Table(name = "t_yg") public class Yg { //主键 @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //账号 private String username; //密码 private String password; //姓名 private String ygName; //年龄 private String age; //性别 private String sex; //电话 private String phone; //物业公司 private Integer wygsId; public String getUsername() {return username;} public void setUsername(String username) {this.username = username;} public String getPassword() {return password;} public void setPassword(String password) {this.password = password;} public String getYgName() {return ygName;} public void setYgName(String ygName) {this.ygName = ygName;} public String getAge() {return age;} public void setAge(String age) {this.age = age;} public String getSex() {return sex;} public void setSex(String sex) {this.sex = sex;} public String getPhone() {return phone;} public void setPhone(String phone) {this.phone = phone;} public Integer getWygsId() {return wygsId;} public void setWygsId(Integer wygsId) {this.wygsId = wygsId;} }
SSM物业管理系统spring springMVC mybatis框架对象(javaBean,pojo)设计:
报修javaBean创建语句如下:
package project.model; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; //报修 public class Bx extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //用户 private Integer customerId; //报修简单说明 private String title; //图片 private String pic; //备注 private String content; //所属楼栋 private String ssld; //联系人 private String lxr; //联系电话 private String lxdh; //状态 private String status; public Integer getCustomerId() {return customerId;} public void setCustomerId(Integer customerId) {this.customerId = customerId;} public String getTitle() {return title;} public void setTitle(String title) {this.title = title;} public String getPic() {return pic;} public void setPic(String pic) {this.pic = pic;} public String getContent() {return content;} public void setContent(String content) {this.content = content;} public String getSsld() {return ssld;} public void setSsld(String ssld) {this.ssld = ssld;} public String getLxr() {return lxr;} public void setLxr(String lxr) {this.lxr = lxr;} public String getLxdh() {return lxdh;} public void setLxdh(String lxdh) {this.lxdh = lxdh;} 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 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 age; //性别 private String sex; //电话 private String phone; 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 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;} }
车位javaBean创建语句如下:
package project.model; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; //车位 public class Cw extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //车位编号 private String cwbh; //所在位置 private String szwz; //价格 private String fee; //用户 private Integer customerId; //状态 private String status; public String getCwbh() {return cwbh;} public void setCwbh(String cwbh) {this.cwbh = cwbh;} public String getSzwz() {return szwz;} public void setSzwz(String szwz) {this.szwz = szwz;} public String getFee() {return fee;} public void setFee(String fee) {this.fee = fee;} public Integer getCustomerId() {return customerId;} public void setCustomerId(Integer customerId) {this.customerId = customerId;} 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 Fy extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //收费单号 private String dh; //用户 private Integer customerId; //月份 private String yf; //金额 private Integer fee; //类型 private String types; //备注 private String bz; //二维码 private String ewm; //状态 private String status; public String getDh() {return dh;} public void setDh(String dh) {this.dh = dh;} public Integer getCustomerId() {return customerId;} public void setCustomerId(Integer customerId) {this.customerId = customerId;} public String getYf() {return yf;} public void setYf(String yf) {this.yf = yf;} public Integer getFee() {return fee;} public void setFee(Integer fee) {this.fee = fee;} public String getTypes() {return types;} public void setTypes(String types) {this.types = types;} public String getBz() {return bz;} public void setBz(String bz) {this.bz = bz;} public String getEwm() {return ewm;} public void setEwm(String ewm) {this.ewm = ewm;} 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 Gg extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //标题 private String title; //图片 private String pic; //详细内容 private String content; //日期 private String showDate; public String getTitle() {return title;} public void setTitle(String title) {this.title = title;} public String getPic() {return pic;} public void setPic(String pic) {this.pic = pic;} public String getContent() {return content;} public void setContent(String content) {this.content = content;} public String getShowDate() {return showDate;} public void setShowDate(String showDate) {this.showDate = showDate;} }
论坛回复javaBean创建语句如下:
package project.model; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; //论坛回复 public class List extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //论坛 private Integer ltId; //姓名 private String name; //回复内容 private String content; //日期 private Date insertDate; public Integer getLtId() {return ltId;} public void setLtId(Integer ltId) {this.ltId = ltId;} public String getName() {return name;} public void setName(String name) {this.name = name;} 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 Lt extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //标题 private String title; //图片 private String pic; //详细内容 private String content; public String getTitle() {return title;} public void setTitle(String title) {this.title = title;} public String getPic() {return pic;} public void setPic(String pic) {this.pic = pic;} public String getContent() {return content;} public void setContent(String content) {this.content = content;} }
论坛回复javaBean创建语句如下:
package project.model; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; //论坛回复 public class Ltlist extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //论坛 private Integer ltId; //姓名 private String name; //回复内容 private String content; //日期 private Date insertDate; public Integer getLtId() {return ltId;} public void setLtId(Integer ltId) {this.ltId = ltId;} public String getName() {return name;} public void setName(String name) {this.name = name;} 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 Wygsname extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //姓名 private String wygsName; //电话 private String phone; //负责人 private String fzr; public String getWygsName() {return wygsName;} public void setWygsName(String wygsName) {this.wygsName = wygsName;} public String getPhone() {return phone;} public void setPhone(String phone) {this.phone = phone;} public String getFzr() {return fzr;} public void setFzr(String fzr) {this.fzr = fzr;} }
物业设备javaBean创建语句如下:
package project.model; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; //物业设备 public class Wysb extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //设备名称 private String sbName; //设备数量 private String sl; public String getSbName() {return sbName;} public void setSbName(String sbName) {this.sbName = sbName;} public String getSl() {return sl;} public void setSl(String sl) {this.sl = sl;} }
小区信息javaBean创建语句如下:
package project.model; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; //小区信息 public class Xqxx extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //小区名称 private String xqName; //位置 private String address; //绿化说明 private String lh; public String getXqName() {return xqName;} public void setXqName(String xqName) {this.xqName = xqName;} public String getAddress() {return address;} public void setAddress(String address) {this.address = address;} public String getLh() {return lh;} public void setLh(String lh) {this.lh = lh;} }
员工javaBean创建语句如下:
package project.model; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; //员工 public class Yg extends BaseBean{ //主键 private Integer id; public Integer getId() {return id;} public void setId(Integer id) {this.id = id;} //账号 private String username; //密码 private String password; //姓名 private String ygName; //年龄 private String age; //性别 private String sex; //电话 private String phone; //物业公司 private Integer wygsId; public String getUsername() {return username;} public void setUsername(String username) {this.username = username;} public String getPassword() {return password;} public void setPassword(String password) {this.password = password;} public String getYgName() {return ygName;} public void setYgName(String ygName) {this.ygName = ygName;} public String getAge() {return age;} public void setAge(String age) {this.age = age;} public String getSex() {return sex;} public void setSex(String sex) {this.sex = sex;} public String getPhone() {return phone;} public void setPhone(String phone) {this.phone = phone;} public Integer getWygsId() {return wygsId;} public void setWygsId(Integer wygsId) {this.wygsId = wygsId;} }
来源:CSDN
作者:qq_2812491287
链接:https://blog.csdn.net/weixin_44062395/article/details/86522586