1. 程式人生 > >基於微信的學生公寓服務助手,優秀java設計

基於微信的學生公寓服務助手,優秀java設計

**基於微信的學生公寓服務助手,優秀java設計** 基於微信的學生公寓服務助手登入註冊介面

基於微信的學生公寓服務助手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 '姓名',
	sex varchar(100) comment '性別',
	address varchar(100) comment '地址',
	mobile varchar(100) comment '手機',
	account varchar(100) comment '網銀金額'
) comment '客戶';

電費表建立語句如下:


create table t_df(
	id int primary key auto_increment comment '主鍵',
	v1 varchar(100) comment '姓名',
	v2 varchar(100) comment '宿舍',
	v3 int comment '電費',
	v4 varchar(100) comment '狀態',
	customerId int comment '繳費使用者',
	insertDate datetime comment '繳費時間'
) comment '電費';

宿舍調換表建立語句如下:


create table t_dhsq(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	v1 varchar(100) comment '現在宿舍',
	v2 varchar(100) comment '要調換宿舍',
	v3 varchar(100) comment '說明',
	v4 varchar(100) comment '狀態',
	v5 varchar(100) comment '稽核說明'
) comment '宿舍調換';

公寓物品維修表建立語句如下:


create table t_gywp(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	v1 varchar(100) comment '物品名稱',
	v2 varchar(100) comment '維修內容',
	v3 varchar(100) comment '備註',
	v4 varchar(100) comment '狀態',
	v5 varchar(100) comment '說明'
) comment '公寓物品維修';

社團活動通知表建立語句如下:


create table t_sthd(
	id int primary key auto_increment comment '主鍵',
	v1 varchar(100) comment '社團活動',
	v2 varchar(100) comment '圖片',
	v3 varchar(100) comment '內容',
	v4 varchar(100) comment '通知日期'
) comment '社團活動通知';

公寓通知表建立語句如下:


create table t_tz(
	id int primary key auto_increment comment '主鍵',
	v1 varchar(100) comment '通知標題',
	v2 varchar(100) comment '圖片',
	v3 varchar(100) comment '內容',
	v4 varchar(100) comment '通知日期'
) comment '公寓通知';

普通員工表建立語句如下:


create table t_user(
	id int primary key auto_increment comment '主鍵',
	username varchar(100) comment '賬號',
	password varchar(100) comment '密碼',
	name varchar(100) comment '姓名',
	gh varchar(100) comment '工號',
	mobile varchar(100) comment '手機'
) comment '普通員工';

基於微信的學生公寓服務助手oracle資料庫版本原始碼:

超級管理員表建立語句如下:


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超級管理員欄位加註釋
comment on column t_admin.id is '主鍵';
comment on column t_admin.username is '超級管理員賬號';
comment on column t_admin.password is '超級管理員密碼';
--超級管理員表加註釋
comment on table t_admin is '超級管理員';

建議表建立語句如下:


create table t_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),
	sex varchar(100),
	address varchar(100),
	mobile varchar(100),
	account 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.sex is '性別';
comment on column t_customer.address is '地址';
comment on column t_customer.mobile is '手機';
comment on column t_customer.account is '網銀金額';
--客戶表加註釋
comment on table t_customer is '客戶';

電費表建立語句如下:


create table t_df(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 int,
	v4 varchar(100),
	customerId int,
	insertDate datetime
);
--電費欄位加註釋
comment on column t_df.id is '主鍵';
comment on column t_df.v1 is '姓名';
comment on column t_df.v2 is '宿舍';
comment on column t_df.v3 is '電費';
comment on column t_df.v4 is '狀態';
comment on column t_df.customerId is '繳費使用者';
comment on column t_df.insertDate is '繳費時間';
--電費表加註釋
comment on table t_df is '電費';

宿舍調換表建立語句如下:


create table t_dhsq(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100)
);
--宿舍調換欄位加註釋
comment on column t_dhsq.id is '主鍵';
comment on column t_dhsq.customerId is '使用者';
comment on column t_dhsq.v1 is '現在宿舍';
comment on column t_dhsq.v2 is '要調換宿舍';
comment on column t_dhsq.v3 is '說明';
comment on column t_dhsq.v4 is '狀態';
comment on column t_dhsq.v5 is '稽核說明';
--宿舍調換表加註釋
comment on table t_dhsq is '宿舍調換';

公寓物品維修表建立語句如下:


create table t_gywp(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100)
);
--公寓物品維修欄位加註釋
comment on column t_gywp.id is '主鍵';
comment on column t_gywp.customerId is '使用者';
comment on column t_gywp.v1 is '物品名稱';
comment on column t_gywp.v2 is '維修內容';
comment on column t_gywp.v3 is '備註';
comment on column t_gywp.v4 is '狀態';
comment on column t_gywp.v5 is '說明';
--公寓物品維修表加註釋
comment on table t_gywp is '公寓物品維修';

社團活動通知表建立語句如下:


create table t_sthd(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--社團活動通知欄位加註釋
comment on column t_sthd.id is '主鍵';
comment on column t_sthd.v1 is '社團活動';
comment on column t_sthd.v2 is '圖片';
comment on column t_sthd.v3 is '內容';
comment on column t_sthd.v4 is '通知日期';
--社團活動通知表加註釋
comment on table t_sthd is '社團活動通知';

公寓通知表建立語句如下:


create table t_tz(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--公寓通知欄位加註釋
comment on column t_tz.id is '主鍵';
comment on column t_tz.v1 is '通知標題';
comment on column t_tz.v2 is '圖片';
comment on column t_tz.v3 is '內容';
comment on column t_tz.v4 is '通知日期';
--公寓通知表加註釋
comment on table t_tz is '公寓通知';

普通員工表建立語句如下:


create table t_user(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	gh varchar(100),
	mobile varchar(100)
);
--普通員工欄位加註釋
comment on column t_user.id is '主鍵';
comment on column t_user.username is '賬號';
comment on column t_user.password is '密碼';
comment on column t_user.name is '姓名';
comment on column t_user.gh is '工號';
comment on column t_user.mobile is '手機';
--普通員工表加註釋
comment on table t_user is '普通員工';

oracle特有,對應序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_df;
create sequence s_t_dhsq;
create sequence s_t_gywp;
create sequence s_t_sthd;
create sequence s_t_tz;
create sequence s_t_user;

基於微信的學生公寓服務助手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),--姓名
	sex varchar(100),--性別
	address varchar(100),--地址
	mobile varchar(100),--手機
	account varchar(100)--網銀金額
);

電費表建立語句如下:


--電費表註釋
create table t_df(
	id int identity(1,1) primary key not null,--主鍵
	v1 varchar(100),--姓名
	v2 varchar(100),--宿舍
	v3 int,--電費
	v4 varchar(100),--狀態
	customerId int,--繳費使用者
	insertDate datetime--繳費時間
);

宿舍調換表建立語句如下:


--宿舍調換表註釋
create table t_dhsq(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	v1 varchar(100),--現在宿舍
	v2 varchar(100),--要調換宿舍
	v3 varchar(100),--說明
	v4 varchar(100),--狀態
	v5 varchar(100)--稽核說明
);

公寓物品維修表建立語句如下:


--公寓物品維修表註釋
create table t_gywp(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	v1 varchar(100),--物品名稱
	v2 varchar(100),--維修內容
	v3 varchar(100),--備註
	v4 varchar(100),--狀態
	v5 varchar(100)--說明
);

社團活動通知表建立語句如下:


--社團活動通知表註釋
create table t_sthd(
	id int identity(1,1) primary key not null,--主鍵
	v1 varchar(100),--社團活動
	v2 varchar(100),--圖片
	v3 varchar(100),--內容
	v4 varchar(100)--通知日期
);

公寓通知表建立語句如下:


--公寓通知表註釋
create table t_tz(
	id int identity(1,1) primary key not null,--主鍵
	v1 varchar(100),--通知標題
	v2 varchar(100),--圖片
	v3 varchar(100),--內容
	v4 varchar(100)--通知日期
);

普通員工表建立語句如下:


--普通員工表註釋
create table t_user(
	id int identity(1,1) primary key not null,--主鍵
	username varchar(100),--賬號
	password varchar(100),--密碼
	name varchar(100),--姓名
	gh varchar(100),--工號
	mobile varchar(100)--手機
);

基於微信的學生公寓服務助手登入後主頁

基於微信的學生公寓服務助手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 sex;
//地址
private String address;
//手機
private String mobile;
//網銀金額
private String account;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
public String getAccount() {return account;}
public void setAccount(String account) {this.account = account;}
}

電費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_df")
public class Df {
//主鍵
@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 Integer v3;
//狀態
private String v4;
//繳費使用者
private Integer customerId;
//繳費時間
private Date insertDate;
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 Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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_dhsq")
public class Dhsq {
//主鍵
@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 v1;
//要調換宿舍
private String v2;
//說明
private String v3;
//狀態
private String v4;
//稽核說明
private String v5;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

公寓物品維修javaBean建立語句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//公寓物品維修
@Table(name = "t_gywp")
public class Gywp {
//主鍵
@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 v1;
//維修內容
private String v2;
//備註
private String v3;
//狀態
private String v4;
//說明
private String v5;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

社團活動通知javaBean建立語句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//社團活動通知
@Table(name = "t_sthd")
public class Sthd {
//主鍵
@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;
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;}
}

公寓通知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_tz")
public class Tz {
//主鍵
@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;
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;}
}

普通員工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_user")
public class User {
//主鍵
@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 gh;
//手機
private String mobile;
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

基於微信的學生公寓服務助手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 sex;
//地址
private String address;
//手機
private String mobile;
//網銀金額
private String account;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
public String getAccount() {return account;}
public void setAccount(String account) {this.account = account;}
}

電費javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//電費
public class Df  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 Integer v3;
//狀態
private String v4;
//繳費使用者
private Integer customerId;
//繳費時間
private Date insertDate;
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 Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Dhsq  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//現在宿舍
private String v1;
//要調換宿舍
private String v2;
//說明
private String v3;
//狀態
private String v4;
//稽核說明
private String v5;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

公寓物品維修javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//公寓物品維修
public class Gywp  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//物品名稱
private String v1;
//維修內容
private String v2;
//備註
private String v3;
//狀態
private String v4;
//說明
private String v5;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

社團活動通知javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//社團活動通知
public class Sthd  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;
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;}
}

公寓通知javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//公寓通知
public class Tz  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;
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;}
}

普通員工javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//普通員工
public class User  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 gh;
//手機
private String mobile;
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}