1. 程式人生 > >基於Android的消防網格化管理系統設計,java管理系統畢業設計

基於Android的消防網格化管理系統設計,java管理系統畢業設計

**基於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;}
}