Java毕业设计_基于web的聊天系统的设计与实现

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

基于web的聊天系统的设计与实现mysql数据库创建语句
基于web的聊天系统的设计与实现oracle数据库创建语句
基于web的聊天系统的设计与实现sqlserver数据库创建语句
基于web的聊天系统的设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计
基于web的聊天系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计
高质量编程视频:shangyepingtai.xin

基于web的聊天系统的设计与实现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’);
SQLCopy
用户表创建语句如下:
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 ‘用户’;
SQLCopy
用户好友表创建语句如下:
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 ‘用户好友’;
SQLCopy
好友申请表创建语句如下:
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 ‘好友申请’;
SQLCopy
发送信息表创建语句如下:
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 ‘发送信息’;
SQLCopy
群组表创建语句如下:
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 ‘群组’;
SQLCopy
群组好友表创建语句如下:
create table t_qunzu_haoyou(
id int primary key auto_increment comment ‘主键’,
qunzuId int comment ‘群组’,
hyId int comment ‘好友’,
insertDate datetime comment ‘日期’
) comment ‘群组好友’;
SQLCopy
群组信息表创建语句如下:
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 ‘群组信息’;
SQLCopy
群组邀请表创建语句如下:
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 ‘群组邀请’;
SQLCopy

基于web的聊天系统的设计与实现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 ‘超级管理员’;
SQLCopy
用户表创建语句如下:
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 ‘用户’;
SQLCopy
用户好友表创建语句如下:
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 ‘用户好友’;
SQLCopy
好友申请表创建语句如下:
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 ‘好友申请’;
SQLCopy
发送信息表创建语句如下:
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 ‘发送信息’;
SQLCopy
群组表创建语句如下:
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 ‘创建日

  • 0
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值