基于JavaWeb聊天系统的设计与实现

基于JavaWeb聊天系统的设计与实现登录注册界面

基于JavaWeb聊天系统的设计与实现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_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	headPic varchar(100) comment '头像',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	color varchar(100) comment '颜色'
) comment '用户';

用户好友表创建语句如下:


create table t_haoyou(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	hyId int comment '好友',
	insertDate datetime comment '日期',
	batchId varchar(100) comment ''
) comment '用户好友';

好友申请表创建语句如下:


create table t_hysq(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	toCustomerId int comment '对方',
	insertDate datetime comment '发送日期',
	status varchar(100) comment '状态'
) comment '好友申请';

举报表创建语句如下:


create table t_jb(
	id int primary key auto_increment comment '主键',
	customerId int comment '举报人',
	jbdx varchar(100) comment '举报对象',
	content varchar(100) comment '内容说明',
	pic varchar(100) comment '图片',
	insertDate datetime comment '提交日期',
	back varchar(100) comment '回复',
	status varchar(100) comment '状态'
) comment '举报';

发送信息表创建语句如下:


create table t_message(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	toCustomerId int comment '对方',
	content varchar(100) comment '内容',
	insertDate datetime comment '发送日期',
	types varchar(100) comment '信息类型',
	batchId varchar(100) comment ''
) comment '发送信息';

群组表创建语句如下:


create table t_qunzu(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	qunzuName varchar(100) comment '群组名称',
	num int comment '群组人数',
	insertDate datetime comment '创建日期',
	users varchar(100) comment '人员列表'
) comment '群组';

群组好友表创建语句如下:


create table t_qunzu_haoyou(
	id int primary key auto_increment comment '主键',
	qunzuId int comment '群组',
	hyId int comment '好友',
	insertDate datetime comment '日期'
) comment '群组好友';

群组信息表创建语句如下:


create table t_qunzu_message(
	id int primary key auto_increment comment '主键',
	qunzuId int comment '群组',
	customerId int comment '用户',
	content varchar(100) comment '内容',
	insertDate datetime comment '发送日期',
	types varchar(100) comment '信息类型'
) comment '群组信息';

群组邀请表创建语句如下:


create table t_qzsq(
	id int primary key auto_increment comment '主键',
	qunzuId int comment '群组',
	customerId int comment '用户',
	toCustomerId int comment '对方',
	insertDate datetime comment '发送日期',
	status varchar(100) comment '状态'
) comment '群组邀请';

基于JavaWeb聊天系统的设计与实现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_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	headPic varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	color varchar(100)
);
--用户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.headPic is '头像';
comment on column t_customer.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.color is '颜色';
--用户表加注释
comment on table t_customer is '用户';

用户好友表创建语句如下:


create table t_haoyou(
	id integer,
	customerId int,
	hyId int,
	insertDate datetime,
	batchId varchar(100)
);
--用户好友字段加注释
comment on column t_haoyou.id is '主键';
comment on column t_haoyou.customerId is '用户';
comment on column t_haoyou.hyId is '好友';
comment on column t_haoyou.insertDate is '日期';
comment on column t_haoyou.batchId is '';
--用户好友表加注释
comment on table t_haoyou is '用户好友';

好友申请表创建语句如下:


create table t_hysq(
	id integer,
	customerId int,
	toCustomerId int,
	insertDate datetime,
	status varchar(100)
);
--好友申请字段加注释
comment on column t_hysq.id is '主键';
comment on column t_hysq.customerId is '用户';
comment on column t_hysq.toCustomerId is '对方';
comment on column t_hysq.insertDate is '发送日期';
comment on column t_hysq.status is '状态';
--好友申请表加注释
comment on table t_hysq is '好友申请';

举报表创建语句如下:


create table t_jb(
	id integer,
	customerId int,
	jbdx varchar(100),
	content varchar(100),
	pic varchar(100),
	insertDate datetime,
	back varchar(100),
	status varchar(100)
);
--举报字段加注释
comment on column t_jb.id is '主键';
comment on column t_jb.customerId is '举报人';
comment on column t_jb.jbdx is '举报对象';
comment on column t_jb.content is '内容说明';
comment on column t_jb.pic is '图片';
comment on column t_jb.insertDate is '提交日期';
comment on column t_jb.back is '回复';
comment on column t_jb.status is '状态';
--举报表加注释
comment on table t_jb is '举报';

发送信息表创建语句如下:


create table t_message(
	id integer,
	customerId int,
	toCustomerId int,
	content varchar(100),
	insertDate datetime,
	types varchar(100),
	batchId varchar(100)
);
--发送信息字段加注释
comment on column t_message.id is '主键';
comment on column t_message.customerId is '用户';
comment on column t_message.toCustomerId is '对方';
comment on column t_message.content is '内容';
comment on column t_message.insertDate is '发送日期';
comment on column t_message.types is '信息类型';
comment on column t_message.batchId is '';
--发送信息表加注释
comment on table t_message is '发送信息';

群组表创建语句如下:


create table t_qunzu(
	id integer,
	customerId int,
	qunzuName varchar(100),
	num int,
	insertDate datetime,
	users varchar(100)
);
--群组字段加注释
comment on column t_qunzu.id is '主键';
comment on column t_qunzu.customerId is '用户';
comment on column t_qunzu.qunzuName is '群组名称';
comment on column t_qunzu.num is '群组人数';
comment on column t_qunzu.insertDate is '创建日期';
comment on column t_qunzu.users is '人员列表';
--群组表加注释
comment on table t_qunzu is '群组';

群组好友表创建语句如下:


create table t_qunzu_haoyou(
	id integer,
	qunzuId int,
	hyId int,
	insertDate datetime
);
--群组好友字段加注释
comment on column t_qunzu_haoyou.id is '主键';
comment on column t_qunzu_haoyou.qunzuId is '群组';
comment on column t_qunzu_haoyou.hyId is '好友';
comment on column t_qunzu_haoyou.insertDate is '日期';
--群组好友表加注释
comment on table t_qunzu_haoyou is '群组好友';

群组信息表创建语句如下:


create table t_qunzu_message(
	id integer,
	qunzuId int,
	customerId int,
	content varchar(100),
	insertDate datetime,
	types varchar(100)
);
--群组信息字段加注释
comment on column t_qunzu_message.id is '主键';
comment on column t_qunzu_message.qunzuId is '群组';
comment on column t_qunzu_message.customerId is '用户';
comment on column t_qunzu_message.content is '内容';
comment on column t_qunzu_message.insertDate is '发送日期';
comment on column t_qunzu_message.types is '信息类型';
--群组信息表加注释
comment on table t_qunzu_message is '群组信息';

群组邀请表创建语句如下:


create table t_qzsq(
	id integer,
	qunzuId int,
	customerId int,
	toCustomerId int,
	insertDate datetime,
	status varchar(100)
);
--群组邀请字段加注释
comment on column t_qzsq.id is '主键';
comment on column t_qzsq.qunzuId is '群组';
comment on column t_qzsq.customerId is '用户';
comment on column t_qzsq.toCustomerId is '对方';
comment on column t_qzsq.insertDate is '发送日期';
comment on column t_qzsq.status is '状态';
--群组邀请表加注释
comment on table t_qzsq is '群组邀请';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_haoyou;
create sequence s_t_hysq;
create sequence s_t_jb;
create sequence s_t_message;
create sequence s_t_qunzu;
create sequence s_t_qunzu_haoyou;
create sequence s_t_qunzu_message;
create sequence s_t_qzsq;

基于JavaWeb聊天系统的设计与实现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_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	headPic varchar(100),--头像
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	color varchar(100)--颜色
);

用户好友表创建语句如下:


--用户好友表注释
create table t_haoyou(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	hyId int,--好友
	insertDate datetime,--日期
	batchId varchar(100)--
);

好友申请表创建语句如下:


--好友申请表注释
create table t_hysq(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	toCustomerId int,--对方
	insertDate datetime,--发送日期
	status varchar(100)--状态
);

举报表创建语句如下:


--举报表注释
create table t_jb(
	id int identity(1,1) primary key not null,--主键
	customerId int,--举报人
	jbdx varchar(100),--举报对象
	content varchar(100),--内容说明
	pic varchar(100),--图片
	insertDate datetime,--提交日期
	back varchar(100),--回复
	status varchar(100)--状态
);

发送信息表创建语句如下:


--发送信息表注释
create table t_message(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	toCustomerId int,--对方
	content varchar(100),--内容
	insertDate datetime,--发送日期
	types varchar(100),--信息类型
	batchId varchar(100)--
);

群组表创建语句如下:


--群组表注释
create table t_qunzu(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	qunzuName varchar(100),--群组名称
	num int,--群组人数
	insertDate datetime,--创建日期
	users varchar(100)--人员列表
);

群组好友表创建语句如下:


--群组好友表注释
create table t_qunzu_haoyou(
	id int identity(1,1) primary key not null,--主键
	qunzuId int,--群组
	hyId int,--好友
	insertDate datetime--日期
);

群组信息表创建语句如下:


--群组信息表注释
create table t_qunzu_message(
	id int identity(1,1) primary key not null,--主键
	qunzuId int,--群组
	customerId int,--用户
	content varchar(100),--内容
	insertDate datetime,--发送日期
	types varchar(100)--信息类型
);

群组邀请表创建语句如下:


--群组邀请表注释
create table t_qzsq(
	id int identity(1,1) primary key not null,--主键
	qunzuId int,--群组
	customerId int,--用户
	toCustomerId int,--对方
	insertDate datetime,--发送日期
	status varchar(100)--状态
);

基于JavaWeb聊天系统的设计与实现登录后主页

基于JavaWeb聊天系统的设计与实现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_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//颜色
private String color;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getColor() {return color;}
public void setColor(String color) {this.color = color;}
}

用户好友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_haoyou")
public class Haoyou {
//主键
@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 Integer hyId;
//日期
private Date insertDate;
//
private String batchId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getHyId() {return hyId;}
public void setHyId(Integer hyId) {this.hyId = hyId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
}

好友申请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_hysq")
public class Hysq {
//主键
@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 Integer toCustomerId;
//发送日期
private Date insertDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToCustomerId() {return toCustomerId;}
public void setToCustomerId(Integer toCustomerId) {this.toCustomerId = toCustomerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

举报javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//举报
@Table(name = "t_jb")
public class Jb {
//主键
@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 jbdx;
//内容说明
private String content;
//图片
private String pic;
//提交日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getJbdx() {return jbdx;}
public void setJbdx(String jbdx) {this.jbdx = jbdx;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

发送信息javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//发送信息
@Table(name = "t_message")
public class Message {
//主键
@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 Integer toCustomerId;
//内容
private String content;
//发送日期
private Date insertDate;
//信息类型
private String types;
//
private String batchId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToCustomerId() {return toCustomerId;}
public void setToCustomerId(Integer toCustomerId) {this.toCustomerId = toCustomerId;}
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;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
}

群组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_qunzu")
public class Qunzu {
//主键
@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 qunzuName;
//群组人数
private Integer num;
//创建日期
private Date insertDate;
//人员列表
private String users;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getQunzuName() {return qunzuName;}
public void setQunzuName(String qunzuName) {this.qunzuName = qunzuName;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getUsers() {return users;}
public void setUsers(String users) {this.users = users;}
}

群组好友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_qunzu_haoyou")
public class Qunzu_haoyou {
//主键
@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 qunzuId;
//好友
private Integer hyId;
//日期
private Date insertDate;
public Integer getQunzuId() {return qunzuId;}
public void setQunzuId(Integer qunzuId) {this.qunzuId = qunzuId;}
public Integer getHyId() {return hyId;}
public void setHyId(Integer hyId) {this.hyId = hyId;}
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_qunzu_message")
public class Qunzu_message {
//主键
@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 qunzuId;
//用户
private Integer customerId;
//内容
private String content;
//发送日期
private Date insertDate;
//信息类型
private String types;
public Integer getQunzuId() {return qunzuId;}
public void setQunzuId(Integer qunzuId) {this.qunzuId = qunzuId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

群组邀请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_qzsq")
public class Qzsq {
//主键
@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 qunzuId;
//用户
private Integer customerId;
//对方
private Integer toCustomerId;
//发送日期
private Date insertDate;
//状态
private String status;
public Integer getQunzuId() {return qunzuId;}
public void setQunzuId(Integer qunzuId) {this.qunzuId = qunzuId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToCustomerId() {return toCustomerId;}
public void setToCustomerId(Integer toCustomerId) {this.toCustomerId = toCustomerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

基于JavaWeb聊天系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

用户javaBean创建语句如下:


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

//用户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//颜色
private String color;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getColor() {return color;}
public void setColor(String color) {this.color = color;}
}

用户好友javaBean创建语句如下:


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

//用户好友
public class Haoyou  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//好友
private Integer hyId;
//日期
private Date insertDate;
//
private String batchId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getHyId() {return hyId;}
public void setHyId(Integer hyId) {this.hyId = hyId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
}

好友申请javaBean创建语句如下:


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

//好友申请
public class Hysq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//对方
private Integer toCustomerId;
//发送日期
private Date insertDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToCustomerId() {return toCustomerId;}
public void setToCustomerId(Integer toCustomerId) {this.toCustomerId = toCustomerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

举报javaBean创建语句如下:


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

//举报
public class Jb  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//举报人
private Integer customerId;
//举报对象
private String jbdx;
//内容说明
private String content;
//图片
private String pic;
//提交日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getJbdx() {return jbdx;}
public void setJbdx(String jbdx) {this.jbdx = jbdx;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

发送信息javaBean创建语句如下:


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

//发送信息
public class Message  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//对方
private Integer toCustomerId;
//内容
private String content;
//发送日期
private Date insertDate;
//信息类型
private String types;
//
private String batchId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToCustomerId() {return toCustomerId;}
public void setToCustomerId(Integer toCustomerId) {this.toCustomerId = toCustomerId;}
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;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
}

群组javaBean创建语句如下:


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

//群组
public class Qunzu  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//群组名称
private String qunzuName;
//群组人数
private Integer num;
//创建日期
private Date insertDate;
//人员列表
private String users;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getQunzuName() {return qunzuName;}
public void setQunzuName(String qunzuName) {this.qunzuName = qunzuName;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getUsers() {return users;}
public void setUsers(String users) {this.users = users;}
}

群组好友javaBean创建语句如下:


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

//群组好友
public class Qunzu_haoyou  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//群组
private Integer qunzuId;
//好友
private Integer hyId;
//日期
private Date insertDate;
public Integer getQunzuId() {return qunzuId;}
public void setQunzuId(Integer qunzuId) {this.qunzuId = qunzuId;}
public Integer getHyId() {return hyId;}
public void setHyId(Integer hyId) {this.hyId = hyId;}
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 Qunzu_message  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//群组
private Integer qunzuId;
//用户
private Integer customerId;
//内容
private String content;
//发送日期
private Date insertDate;
//信息类型
private String types;
public Integer getQunzuId() {return qunzuId;}
public void setQunzuId(Integer qunzuId) {this.qunzuId = qunzuId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

群组邀请javaBean创建语句如下:


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

//群组邀请
public class Qzsq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//群组
private Integer qunzuId;
//用户
private Integer customerId;
//对方
private Integer toCustomerId;
//发送日期
private Date insertDate;
//状态
private String status;
public Integer getQunzuId() {return qunzuId;}
public void setQunzuId(Integer qunzuId) {this.qunzuId = qunzuId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToCustomerId() {return toCustomerId;}
public void setToCustomerId(Integer toCustomerId) {this.toCustomerId = toCustomerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

相关毕业设计源码

基于JSP的易才招聘系统设计,java程序毕业设计

基于JSP的易才招聘系统设计(yicaizhaopin),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

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

基于Android的消防网格化管理系统设计(xiaofangwangge),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

超市收银POS系统的设计与实现

超市收银POS系统的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于android的掌上医疗系统的开发_部分源代码分享

基于android的掌上医疗系统的开发(zhangshangyiliao),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于SSM的宿舍管理系统的设计与实现第二版本

基于SSM的宿舍管理系统的设计与实现(susheguanlixitong),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于Android的定制旅游APP的设计与实现

基于Android的定制旅游APP的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于jsp的店铺管理软件,java毕业设计

基于jsp的店铺管理软件(shopmanager),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于jsp的房屋装修预算系统,java管理系统毕业设计

基于jsp的房屋装修预算系统(fangwuzhuangxiu),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于JavaEE的影库资源管理平台的设计与实现

基于JavaEE的影库资源管理平台的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于SOA架构的毕业生就业信息管理系统设计与实现

基于SOA架构的毕业生就业信息管理系统设计与实现(xueshengjiuye),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

医院医疗器械管理系统(xaa56)_mysql_oracle代码分享

医院医疗器械管理系统,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于android的模拟考试APP,java优秀毕业设计

基于android的模拟考试APP(monikaoshi),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

评论