项目名称,《数据库设计报告》
目
目
录
录
0. 文档介绍.......................................................................................................................... 5
0.1 文档目的..................................................................................................................... 5
0.2 文档范围..................................................................................................................... 5
0.3 读者对象..................................................................................................................... 5
0.4 参考文献..................................................................................................................... 5
0.5 术语与缩写解释.........................................................................................................5
1. 数据库环境说明............................................................................................................... 6
2. 数据库的命名规则........................................................................................................... 6
3. 逻辑设计.......................................................................................................................... 6
4. 物理设计.......................................................................................................................... 6
4.0 表汇总......................................................................................................................... 6
4.1 BAS_DICT(字典表)..................................................................................................7
4.2 SAL_CHANCE(销售机会表)......................................................................................7
4.3 CST_ACTIVITY(交往记录表)....................................................................................8
4.4 CST_CUSTOMER(客户信息表)..................................................................................8
4.5 CST_LINKMAN(客户联系人表)................................................................................9
4.6 CST_LOST(客户流失表).........................................................................................10
4.7 CST_SERVICE(客户服务表)....................................................................................10
4.8 SAL_PLAN(客户开发计划表).................................................................................11
4.9 SYS_RIGHT(权限表)...............................................................................................11
4.10 SYS_ROLE(角色表)..............................................................................................11
4.11 SYS_ROLE_RIGHT(角色权限表)............................................................................12
4.12 SYS_USER(用户表)..............................................................................................12
4.13 ORDERS(订单表).................................................................................................12
4.14 ORDERS_LINE(订单明细表).................................................................................12
4.14 PRODUCT(商品表)...............................................................................................13
4.15 STORAGE(仓库表)...............................................................................................13
5. 安全性设计..................................................................................................................... 13
5.1 防止用户直接操作数据库的方法.............................................................................14
5.2 用户帐号密码的加密方法........................................................................................14
5.3 角色与权限...............................................................................................................14
6. 优化................................................................................................................................ 14
7. 数据库管理与维护说明..................................................................................................15
机构名称,2002
Page 3 of 15