代码改变世界

数据库表单

2017-09-14 17:34  xx--  阅读(270)  评论(0编辑  收藏  举报

contact:

字段名

说明

 

类型

id

 

主键

int

con_name

联系人真实名称

必填,

Char(20)

user_id

用户账号。

 

Char(20)

con_email

联系人邮件

 

Char(40)

con_mobile

联系人手机。

 

Char(20)

con_comment

备注

 

Text

con_dormitory

联系人宿舍号(例:6607)

 

int

con_sex

联系人性别

必填

Char

con_address

联系人家庭地址

 

char

groups

所属组别(例:好友)

 

char

 

 

 

user:

user_id

用户账号

主键

char

user_password

密码

必填

char

user_qq

QQ号

 

Int

user_tel

电话

 

Int

user_email

邮箱

必填

Char

user_weichat

微信

 

Char

user_address

地址

 

Char

user_photo

头像

必填

image

isactive

账号是否被激活

必填(默认Flase)

bool

isadmin

是否为管理员

必填(默认Flase)

bool