收藏 分享(赏)

【程序技术开发文档143—数据库设计文档】数据库开发文档.doc

上传人:刘岱文 文档编号:23560 上传时间:2018-06-24 格式:DOC 页数:51 大小:1.01MB
下载 相关 举报
【程序技术开发文档143—数据库设计文档】数据库开发文档.doc_第1页
第1页 / 共51页
【程序技术开发文档143—数据库设计文档】数据库开发文档.doc_第2页
第2页 / 共51页
【程序技术开发文档143—数据库设计文档】数据库开发文档.doc_第3页
第3页 / 共51页
【程序技术开发文档143—数据库设计文档】数据库开发文档.doc_第4页
第4页 / 共51页
【程序技术开发文档143—数据库设计文档】数据库开发文档.doc_第5页
第5页 / 共51页
点击查看更多>>
资源描述

1、表 名 : 权 限 分 配 表 ( LZH_ACL)名称 代码 数据类型 默认值 是否为空权限控制器 controller text null权限组 ID group_id int(10) pk权限组名称 groupname Varchar(100) not null主键 contraint pk_ lzh_acl primary key (group_id)关键字说明表 名 : 广 告 管 理 表 ( LZH_AD)名称 代码 数据类型 默认值 是否为空编号 ID Id int(10) pk广告内容 content varchar(5000) not null显示开始时间 start_tim

2、e int(10) not null显示结束时间 end_time int(10) not null添加时间 add_time int(10) 0 not null广告标题 title varchar(100) not null广告类型 ad_type tinyint(4) 0 not null主键 contraint pk_ lzh_ad primary key (id)关键字说明 ad_type: 0 代表普通广告;1 代表多图广告表 名 : 地 区 管 理 表 ( LZH_AREA)名称 代码 数据类型 默认值 是否为空编号 ID Id smallint(5) pk地区根节点 reid

3、smallint(5) 0 not null地区名称 name varchar(120) not null地区子节点 sort_order smallint(5) 0 not null是否开通子域名 is_open tinyint(3) 0 not null域名 domain varchar(10) not null主键 contraint pk_ lzh_area primary key (id)关键字说明表 名 : 文 章 管 理 表 ( LZH_ARTICLE)名称 代码 数据类型 默认值 是否为空编号 ID Id int(10) pk文章标题 title varchar(50) 0 n

4、ot null文章简介 art_info varchar(255) not null文章关键字 art_keyword varchar(200) not null文章内容 art_content text not null文章作者 art_writer varchar(20) not null文章添加时间 art_time int(10) 0 not null文章类型 type_id smallint(5) not null文章跳转地址 art_url varchar(200) not null缩略图 art_img varchar(200) not null文章添加人 art_userid

5、smallint(5) not null文章分类排序 sort_order int(10) not null点击数 art_click int(10) 0 not null文章属性设置 art_set int(1) 0 not null文章属性 art_attr tinyint(4) 0 not null主键 contraint pk_lzh_article primary key (id)关键字说明 art_set: 0 代表普通; 1 代表跳转表 名 : 地 区 文 章 管 理 表 ( LZH_ARTICLE_AREA)名称 代码 数据类型 默认值 是否为空文章 id Id int(10)

6、 pk文章标题 title varchar(50) 0 not null文章简介 art_info varchar(255) not null文章关键字 art_keyword varchar(200) not null文章内容 art_content text not null文章作者 art_writer varchar(20) not null文章添加时间 art_time int(10) 0 not null文章类型 type_id smallint(5) not null文章跳转地址 art_url varchar(200) not null缩略图 art_img varchar(2

7、00) not null文章添加人 art_userid smallint(5) not null文章分类排序 sort_order int(10) not null点击数 art_click int(10) 0 not null文章属性设置 art_set int(1) 0 not null文章属性 art_attr tinyint(4) 0 not null地区 ID area_id int(10) 0 not null主键 contraint pk_ lzh_article_area primary key (id)关键字说明 art_set: 0 代表普通; 1 代表跳转表 名 : 文

8、 章 分 类 管 理 表 ( LZH_ARTICLE_CATEGORY)名称 代码 数据类型 默认值 是否为空分类 id Id smallint(6) pk分类标题 type_name varchar(40) 0 not null分类跳转路径 type_url varchar(200) not null分类关键字 type_keyword varchar(200) not null分类简介 type_info varchar(400) not null分类内容 type_content text not null分类排序 sort_order int(10) not null分类类型 type

9、_set smallint(5) 0 not null分类根节点 parent_id varchar(200) not null分类唯一标识 type_nid varchar(200) not null是否隐藏 is_hiden smallint(5) not null分类添加时间 add_time int(10) not null是否为系统默认 is_sys int(10) 0 not null模板 model char(30) not null主键 contraint pk_lzh_article_category primary key (id)关键字说明 type_set: 0 代表单

10、页;1 代表列表页 2 代表跳转页表 名 : 地 区 文 章 分 类 管 理 表 ( LZH_ ARTICLE_CATEGORY_AREA)名称 代码 数据类型 默认值 是否为空分类 id Id smallint(6) pk分类标题 type_name varchar(40) 0 not null分类跳转路径 type_url varchar(200) not null分类关键字 type_keyword varchar(200) not null分类简介 type_info varchar(400) not null分类内容 type_content text not null分类排序 so

11、rt_order int(10) not null分类类型 type_set smallint(5) 0 not null分类根节点 parent_id varchar(200) not null分类唯一标识 type_nid varchar(200) not null是否隐藏 is_hiden smallint(5) not null分类添加时间 add_time int(10) not null是否为系统默认 is_sys int(10) 0 not null地区 ID area_id int(10) 0 not null主键 contraint pk_lzh_article_catego

12、ry_area primary key (id)关键字说明 type_set: 0 代表单页;1 代表列表页 2 代表跳转页表 名 : 管 理 员 信 息 管 理 表 ( LZH_AUSERS)名称 代码 数据类型 默认值 是否为空管理员 ID Id int(11) Pk管理员用户名 user_name varchar(50) 0 not null管理员密码 user_pass varchar(50) not null所属用户组 ID u_group_id smallint(6) not null真实姓名 real_name varchar(20) not null上次登录时间 last_lo

13、g_time int(10) not null上次登录 IP last_log_ip varchar(30) not null是否禁用 is_ban int(1) 0 not null所属子站 ID area_id int(11) not null所属子站名称 area_name Varchar(10) not null是否是客服 is_kf int(10) not nullQQ qq Varchar(20) not null电话 phone Varchar(20) 0 not null密码口令 user_word Varchar(100) 0 not null主键 contraint pk_

14、lzh_ausers primary key (id)关键字说明is_ban: 0 代表不禁用;1 代表禁用;is_kf: 0 代表不是客服;1 代表是客服表 名 : 管 理 员 操 作 记 录 ( LZH_AUSER_DOLOGS)名称 代码 数据类型 默认值 是否为空编号 ID id int(10) pk操作类型 type varchar(16) not null目标 ID tid int(10) not null目标状态 tstatus tinyint(4) not null审核 IP deal_ip varchar(16) not null审核时间 deal_time int(10)

15、not null审核用户名 deal_user varchar(50) not null审核信息 deal_info varchar(200) not null主键 contraint pk_lzh_auser_dologs primary key (id)关键字说明表 名 : 自 动 投 标 设 置 管 理 表 ( LZH_AUTO_BORROW)名称 代码 数据类型 默认值 是否为空编号 ID Id int(10) Pk会员 ID uid int(10) not null最低利率 Interest_rate decimal(5,2) not null借款期限起始 duration_from

16、 tinyint(3) not null借款期限结束 duration_to tinyint(3) not null账户保留金额* account_money decimal(15,2) not null自动投标日期 end_time int(10) not null记录产生时间 add_time int(10) not nullIP add_ip Varchar(16) not null自动加满* is_auto_full int(11) not null最大投标金额 invest_money decimal(15,2) not null当前设置标志位 is_use tinyint(4) 1

17、 not null借款类型* borrow_type tinyint(4) not null最小投标金额 min_invest decimal(15,2) not null借款时间 invest_time int(10) 0 not null主键 contraint pk_lzh_auto_borrow primary key (id)关键字说明account_money: 当您账户可用余额低于该值时,将不能自动投标borrow_type:1-普通标 2-担保标 3-秒还标 4-净值标 表 名 : 借 款 信 息 管 理 表 ( LZH_BORROW_INFO)名称 代码 数据类型 默认值 是

18、否为空编号 ID Id int(10) pk借款标题 borrow_name Varchar(50) not null借款会员 ID borrow_uid int(11) not null借款期限 borrow_duration tinyint(3) not null借款金额 borrow_money decimal(15,2) not null借款利息 borrow_interest decimal(15,2) not null借款利率 borrow_interest_rate decimal(5,2) not null借款管理费 borrow_fee decimal(15,2) not n

19、ull已借款金额 has_borrow decimal(15,2) not null借款次数 borrow_times Smallint(5) 0 not null还款金额 repayment_money decimal(15,2) not null还款利息 repayment_interest decimal(15,2) not null逾期还款 expired_money decimal(15,2) not null还款方式 repayment_type tinyint(3) not null借款类型 borrow_type tinyint(3) not null借款状态 borrow_s

20、tatus tinyint(3) not null借款用途 borrow_use tinyint(3) not null借款发布时间 add_time int(10) not null借款期限 collect_day tinyint(3) not null回收时间 collect_time int(10) not null满标时间 full_time int(10) 0 not null还款时间 deadline int(10) not null初审时间 first_verify_time int(10) not null复审时间 second_verify_time int(10) not

21、null处理人 IP add_ip Varchar(16) not null借款说明 borrow_info Varchar(500) not null总还款期数 total tinyint(4) not null已还款期数 has_pay tinyint(4) not null网站垫付金额 substitute_money decimal(15,2) not null担保奖励利率 reward_vouch_rate float(5,2) not null担保奖励金额 reward_vouch_money decimal(15,2) not null奖励方式 reward_type tinyi

22、nt(3) 0 not null比例 reward_num decimal(10,2) not null金额 reward_money decimal(15,2) not null最小投资金额 borrow_min mediumint(8) not null最大投资金额 borrow_max mediumint(8) not null所属省份 province int(10) not null所属城市 city int(10) not null所属地区 area int(10) not null担保会员 vouch_member Varchar(100) not null已担保金额 has_v

23、ouch decimal(15,2) not null密码标密码 password char(32) not null是否为推荐标 is_tuijian tinyint(2) not null是否允许自动投标 can_auto tinyint(3) 1 not null是否是惠农标 is_huinong tinyint(3) 0 Not null上传文件资料 updata Varchar(3000) Not null担保公司 ID danbao int(11) Not null担保金额 vouch_money decimal(15,2) Not null待收金额 money_collect d

24、ecimal(15,2) 0.00 not null风险控制* risk_control Varchar(2000) Not null主键 contraint pk_lzh_borrow_info primary key (id)关键字说明repayment_type: 1 代表按天到期还款;2 代表按月分期还款; 3 代表按季分期还款;4 代表每月还息到期还本;borrow_type: 1 代表普通标;2 代表担保标;3 代表秒还标;4 代表净值标;5 代表抵押标;borrow_status: 0 代表初审待审核;1 代表初审未通过;2 代表初审通过,借款中;3 代表标未满,结束,流标;4 代表标满,复审中;5 代表复审未通过,结束;6 代表复审通过,还款中;7 代表正常完成;8 代表已逾期;9 代表网站代还完成;10 代表会员在网站代还后,逾期还款;表 名 : 借 款 锁 定 列 表 ( LZH_BORROW_INFO_LOCK)

展开阅读全文
相关资源
相关搜索
资源标签

当前位置:首页 > 网络技术 > 热门技术

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:文库网官方知乎号:文库网

经营许可证编号: 粤ICP备2021046453号世界地图

文库网官网©版权所有2025营业执照举报