资源描述
Users用户信息表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
UserId
Number(11)
NOT NULL
用户ID
主键,序列,递增
numberId
Varchar2(15)
NOT NULL
学号
唯一
realName
Varchar2(30)
NOT NULL
真实姓名
Password
Varchar2(30)
NOT NULL
密码
Email
Varchar(70)
E-mail
phone
Varchar(15)
联系电话
Branches
Varchar(20)
NOT NULL
系别
详情查看java sprint代码
Spe
Varchar(20)
NOT NULL
专业
详情查看java sprint代码
userClass
Varchar(30)
NOT NULL
班级
State
Number(2)
NOT NULL
状态
1.可用 2.不可用
Role
Number(2)
NOT NULL
身份
1.管理员2.普通用户
Users_Score用户分数表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
scoreId
Number(11)
NOT NULL
分数ID
主键,序列,递增
UserId
Number(11)
NOT NULL
用户ID
外键,引用users表中userId
Score
Varchar2(10)
NOT NULL
用户分数
(默认100)
Year
Varchar2(50)
NOT NULL
学年
Source上传文件信息表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
SourceId
Number(10)
NOT NULL
资源编号
主键、序列,递增
UserId
Number(10)
NOT NULL
上传用户
外键,引用users表中userId
SourceName
Varchar(30)
NOT NULL
数据库中储存名称
Src
Varchar(1000)
NOT NULL
资源URL地址
FileName
Varchar(30)
文件下载名称
FileType
Varchar(10)
NOT NULL
文件后缀
sourceTime
Date
NOT NULL
文件上传时间
应用上传当地时间(精确到秒)
sourceFileSize
Varchar(10)
NOT NULL
文件大小
SourceContent
Varchar(3000)
文件备注
MESSAGE留言板表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
mgId
Number(11)
NOT NULL
信息编号
主键、序列、递增
userId
Number(11)
NOT NULL
用户编号
外键,引用users表userId
mgTime
Date
NOT NULL
留言时间
Content
Text
留言内容
msId
Number(11)
NOT NULL
留言分类编号
外键,引用message_source表msId
Flag
Number(11)
NOT NULL
未读标示
(默认0:未读) 1:已读
Show
Number(11)
NOT NULL
指向留言
(默认0:全部) 1:管理员
MESSAGE_Source留言分类基准表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
msId
Number(11)
NOT NULL
留言分类编号
主键、序列、递增
msName
Varchar2(30)
NOT NULL
留言分类名称
MESSAGE_answer表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
maId
Number(11)
NOT NULL
留言回复编号
主键、序列、递增
mgId
Number(11)
NOT NULL
回复信息编号
外键,引用message表中mgId
userId
Number(11)
NOT NULL
回复用户编号
外键,引用users表userId
maTime
Date
NOT NULL
回复留言时间
maContent
Text
回复留言内容
Show
Number(11)
回复悄悄话
(默认1:公开) 2:悄悄话
ATTENDANCE考勤表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
adId
Number(11)
NOT NULL
考勤编号
主键、序列、递增
userId
Number(11)
NOT NULL
用户编号
外键,引用users表userId
Week
Number(11)
NOT NULL
缺勤周次
1-16周
Day
Number(11)
NOT NULL
缺勤日
1:星期1 2:星期2 3:星期3 。。。以此类推
Time
Date
缺勤日期
‘yyyy-MM-dd’
cause
Text
缺勤原因
CauseId
Number(11)
NOT NULL
缺勤类型
外键,引用attendance_source表中adsId
ATTENDANCE_SOURCE考勤基准表
字段名
字段类型
允许NULL
默认值
字段意义
注释
标识信息
adsId
Number(11)
NOT NULL
缺勤编号
主键、序列、递增
adsName
Varchar2(30)
NOT NULL
缺勤名称
adsScore
Varchar2(10)
NOT NULL
缺勤分数
展开阅读全文