基于微信的学生公寓服务助手,优秀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;}
}

评论