基于Android的消防网格化管理系统设计,java管理系统毕业设计

基于Android的消防网格化管理系统设计登录注册界面

基于Android的消防网格化管理系统设计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_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

用户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	phone varchar(100) comment '手机',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	address varchar(100) comment '家庭住址',
	idcard varchar(100) comment '身份证',
	insertDate datetime comment '入库日期',
	headPic varchar(100) comment ''
) comment '用户';

大网格表创建语句如下:


create table t_d1(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	d1Name varchar(100) comment '网格编号',
	phone varchar(100) comment '联系方式'
) comment '大网格';

中网格表创建语句如下:


create table t_d2(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	d2Name varchar(100) comment '网格编号',
	phone varchar(100) comment '联系方式'
) comment '中网格';

小网格表创建语句如下:


create table t_d3(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	d3Name varchar(100) comment '网格编号',
	phone varchar(100) comment '联系方式'
) comment '小网格';

单位表创建语句如下:


create table t_dw(
	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 '消防预案二',
	v6 varchar(100) comment '消防预案三'
) comment '单位';

消防监督表创建语句如下:


create table t_xfjd(
	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 '消防器材、设施',
	v6 varchar(100) comment '消防通道',
	v7 varchar(100) comment '消防水源',
	v8 varchar(100) comment '消防标志',
	v9 varchar(100) comment '应急照明',
	v10 varchar(100) comment '用火用电',
	v11 varchar(100) comment '消防重点单位(部位)',
	v12 varchar(100) comment '记录',
	v13 varchar(100) comment '易燃易爆化学品',
	v14 varchar(100) comment '状态'
) comment '消防监督';

新闻表创建语句如下:


create table t_xw(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	showDate varchar(100) comment '日期'
) comment '新闻';

基于Android的消防网格化管理系统设计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_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	phone varchar(100),
	sex varchar(100),
	age varchar(100),
	address varchar(100),
	idcard varchar(100),
	insertDate datetime,
	headPic 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.name is '姓名';
comment on column t_customer.phone is '手机';
comment on column t_customer.sex is '性别';
comment on column t_customer.age is '年龄';
comment on column t_customer.address is '家庭住址';
comment on column t_customer.idcard is '身份证';
comment on column t_customer.insertDate is '入库日期';
comment on column t_customer.headPic is '';
--用户表加注释
comment on table t_customer is '用户';

大网格表创建语句如下:


create table t_d1(
	id integer,
	username varchar(100),
	password varchar(100),
	d1Name varchar(100),
	phone varchar(100)
);
--大网格字段加注释
comment on column t_d1.id is '主键';
comment on column t_d1.username is '账号';
comment on column t_d1.password is '密码';
comment on column t_d1.d1Name is '网格编号';
comment on column t_d1.phone is '联系方式';
--大网格表加注释
comment on table t_d1 is '大网格';

中网格表创建语句如下:


create table t_d2(
	id integer,
	username varchar(100),
	password varchar(100),
	d2Name varchar(100),
	phone varchar(100)
);
--中网格字段加注释
comment on column t_d2.id is '主键';
comment on column t_d2.username is '账号';
comment on column t_d2.password is '密码';
comment on column t_d2.d2Name is '网格编号';
comment on column t_d2.phone is '联系方式';
--中网格表加注释
comment on table t_d2 is '中网格';

小网格表创建语句如下:


create table t_d3(
	id integer,
	username varchar(100),
	password varchar(100),
	d3Name varchar(100),
	phone varchar(100)
);
--小网格字段加注释
comment on column t_d3.id is '主键';
comment on column t_d3.username is '账号';
comment on column t_d3.password is '密码';
comment on column t_d3.d3Name is '网格编号';
comment on column t_d3.phone is '联系方式';
--小网格表加注释
comment on table t_d3 is '小网格';

单位表创建语句如下:


create table t_dw(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100)
);
--单位字段加注释
comment on column t_dw.id is '主键';
comment on column t_dw.v1 is '基本信息一';
comment on column t_dw.v2 is '基本信息二';
comment on column t_dw.v3 is '基本信息三';
comment on column t_dw.v4 is '消防预案一';
comment on column t_dw.v5 is '消防预案二';
comment on column t_dw.v6 is '消防预案三';
--单位表加注释
comment on table t_dw is '单位';

消防监督表创建语句如下:


create table t_xfjd(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	v9 varchar(100),
	v10 varchar(100),
	v11 varchar(100),
	v12 varchar(100),
	v13 varchar(100),
	v14 varchar(100)
);
--消防监督字段加注释
comment on column t_xfjd.id is '主键';
comment on column t_xfjd.v1 is '检查时间';
comment on column t_xfjd.v2 is '检查人';
comment on column t_xfjd.v3 is '受检单位';
comment on column t_xfjd.v4 is '负责人';
comment on column t_xfjd.v5 is '消防器材、设施';
comment on column t_xfjd.v6 is '消防通道';
comment on column t_xfjd.v7 is '消防水源';
comment on column t_xfjd.v8 is '消防标志';
comment on column t_xfjd.v9 is '应急照明';
comment on column t_xfjd.v10 is '用火用电';
comment on column t_xfjd.v11 is '消防重点单位(部位)';
comment on column t_xfjd.v12 is '记录';
comment on column t_xfjd.v13 is '易燃易爆化学品';
comment on column t_xfjd.v14 is '状态';
--消防监督表加注释
comment on table t_xfjd is '消防监督';

新闻表创建语句如下:


create table t_xw(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate varchar(100)
);
--新闻字段加注释
comment on column t_xw.id is '主键';
comment on column t_xw.title is '标题';
comment on column t_xw.pic is '图片';
comment on column t_xw.content is '内容';
comment on column t_xw.showDate is '日期';
--新闻表加注释
comment on table t_xw is '新闻';

oracle特有,对应序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_d1;
create sequence s_t_d2;
create sequence s_t_d3;
create sequence s_t_dw;
create sequence s_t_xfjd;
create sequence s_t_xw;

基于Android的消防网格化管理系统设计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_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime--日期
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	phone varchar(100),--手机
	sex varchar(100),--性别
	age varchar(100),--年龄
	address varchar(100),--家庭住址
	idcard varchar(100),--身份证
	insertDate datetime,--入库日期
	headPic varchar(100)--
);

大网格表创建语句如下:


--大网格表注释
create table t_d1(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	d1Name varchar(100),--网格编号
	phone varchar(100)--联系方式
);

中网格表创建语句如下:


--中网格表注释
create table t_d2(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	d2Name varchar(100),--网格编号
	phone varchar(100)--联系方式
);

小网格表创建语句如下:


--小网格表注释
create table t_d3(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	d3Name varchar(100),--网格编号
	phone varchar(100)--联系方式
);

单位表创建语句如下:


--单位表注释
create table t_dw(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--基本信息一
	v2 varchar(100),--基本信息二
	v3 varchar(100),--基本信息三
	v4 varchar(100),--消防预案一
	v5 varchar(100),--消防预案二
	v6 varchar(100)--消防预案三
);

消防监督表创建语句如下:


--消防监督表注释
create table t_xfjd(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--检查时间
	v2 varchar(100),--检查人
	v3 varchar(100),--受检单位
	v4 varchar(100),--负责人
	v5 varchar(100),--消防器材、设施
	v6 varchar(100),--消防通道
	v7 varchar(100),--消防水源
	v8 varchar(100),--消防标志
	v9 varchar(100),--应急照明
	v10 varchar(100),--用火用电
	v11 varchar(100),--消防重点单位(部位)
	v12 varchar(100),--记录
	v13 varchar(100),--易燃易爆化学品
	v14 varchar(100)--状态
);

新闻表创建语句如下:


--新闻表注释
create table t_xw(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	showDate varchar(100)--日期
);

基于Android的消防网格化管理系统设计登录后主页

基于Android的消防网格化管理系统设计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_contact")
public class Contact {
//主键
@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 phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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_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 name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
//
private String headPic;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

大网格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_d1")
public class D1 {
//主键
@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 d1Name;
//联系方式
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 getD1Name() {return d1Name;}
public void setD1Name(String d1Name) {this.d1Name = d1Name;}
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_d2")
public class D2 {
//主键
@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 d2Name;
//联系方式
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 getD2Name() {return d2Name;}
public void setD2Name(String d2Name) {this.d2Name = d2Name;}
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_d3")
public class D3 {
//主键
@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 d3Name;
//联系方式
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 getD3Name() {return d3Name;}
public void setD3Name(String d3Name) {this.d3Name = d3Name;}
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_dw")
public class Dw {
//主键
@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;
//消防预案三
private String v6;
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;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
}

消防监督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_xfjd")
public class Xfjd {
//主键
@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;
//消防通道
private String v6;
//消防水源
private String v7;
//消防标志
private String v8;
//应急照明
private String v9;
//用火用电
private String v10;
//消防重点单位(部位)
private String v11;
//记录
private String v12;
//易燃易爆化学品
private String v13;
//状态
private String v14;
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;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getV11() {return v11;}
public void setV11(String v11) {this.v11 = v11;}
public String getV12() {return v12;}
public void setV12(String v12) {this.v12 = v12;}
public String getV13() {return v13;}
public void setV13(String v13) {this.v13 = v13;}
public String getV14() {return v14;}
public void setV14(String v14) {this.v14 = v14;}
}

新闻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_xw")
public class Xw {
//主键
@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;}
}

基于Android的消防网格化管理系统设计spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

建议javaBean创建语句如下:


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

//建议
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 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 name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
//
private String headPic;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

大网格javaBean创建语句如下:


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

//大网格
public class D1  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 d1Name;
//联系方式
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 getD1Name() {return d1Name;}
public void setD1Name(String d1Name) {this.d1Name = d1Name;}
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 D2  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 d2Name;
//联系方式
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 getD2Name() {return d2Name;}
public void setD2Name(String d2Name) {this.d2Name = d2Name;}
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 D3  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 d3Name;
//联系方式
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 getD3Name() {return d3Name;}
public void setD3Name(String d3Name) {this.d3Name = d3Name;}
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 Dw  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;
//消防预案三
private String v6;
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;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
}

消防监督javaBean创建语句如下:


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

//消防监督
public class Xfjd  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;
//消防通道
private String v6;
//消防水源
private String v7;
//消防标志
private String v8;
//应急照明
private String v9;
//用火用电
private String v10;
//消防重点单位(部位)
private String v11;
//记录
private String v12;
//易燃易爆化学品
private String v13;
//状态
private String v14;
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;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getV11() {return v11;}
public void setV11(String v11) {this.v11 = v11;}
public String getV12() {return v12;}
public void setV12(String v12) {this.v12 = v12;}
public String getV13() {return v13;}
public void setV13(String v13) {this.v13 = v13;}
public String getV14() {return v14;}
public void setV14(String v14) {this.v14 = v14;}
}

新闻javaBean创建语句如下:


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

//新闻
public class Xw  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;}
}

源代码下载点这里

评论