收藏 分销(赏)

软件开发文档:数据库开发文档.docx

上传人:唯嘉 文档编号:9943371 上传时间:2025-04-14 格式:DOCX 页数:51 大小:137.27KB
下载 相关 举报
软件开发文档:数据库开发文档.docx_第1页
第1页 / 共51页
软件开发文档:数据库开发文档.docx_第2页
第2页 / 共51页
点击查看更多>>
资源描述
表名:权限分配表(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_time 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 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 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(200) 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 主键 contraint pk_lzh_article primary key (id) 关键字说明 art_set: 0代表普通; 1代表跳转 表名:地区文章管理表(LZH_ARTICLE_AREA) 名称 代码 数据类型 默认值 是否为空 文章id Id int(10) 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(200) 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代表跳转 表名:文章分类管理表(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_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代表单页;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 分类排序 sort_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_category_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_log_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 null QQ qq Varchar(20) not null 电话 phone Varchar(20) 0 not null 密码口令 user_word Varchar(100) 0 not null 主键 contraint pk_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) 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 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 null IP 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 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) 名称 代码 数据类型 默认值 是否为空 编号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 null 已借款金额 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_status 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 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 tinyint(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_vouch 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 decimal(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) 名称 代码 数据类型 默认值 是否为空 borrow_info对应的ID id int(10) pk 锁定标志位 suo int(10) not null 主键 contraint pk_lzh_borrow_info_lock primary key (id) 关键字说明 id自增,详见App\Lib\Action\Home\ BorrowAction.class.php 表名:投资信息管理表(LZH_BORROW_INVESTOR) 名称 代码 数据类型 默认值 是否为空 编号ID Id int(10) pk 状态 status tinyint(3) 0 not null 借款编号ID borrow_id int(10) not null 投资会员ID investor_uid int(10) not null 借款会员ID borrow_uid int(10) not null 充值资金池的投资金额 investor_capital decimal(15,2) not null 投资利息 investor_interest decimal(15,2) not null 回款资金存放池的投资金额 receive_capital decimal(15,2) not null 回款利息 receive_interest decimal(15,2) not null 网站垫付金额 substitute_money decimal(15,2) not null 逾期金额 expired_money decimal(15,2) not null 逾期利率 invest_fee decimal(15,2) not null 逾期还款 paid_fee decimal(15,2) not null 投资时间 add_time int(10) not null 回款时间 deadline int(10) not null 是否是自动投标 is_auto tinyint(3) 0 not null 奖励金额 reward_money decimal(15,2) not null 债权状态 debt_status tinyint(3) 0 not null 债权人id debt_uid int(11) not null 主键 contraint pk_lzh_borrow_investor primary key (id) 关键字说明 status 1:等待复审 2:标未满,返回 3:审核未通过,返回 4:审核通过,还款中 5:正常完成 6:网站代还完成 7:逾期还款 debt_status:0-可以流转 1-寻求转让 2-转让完成 表名:新标提醒管理表(LZH_BORROW_TIP)(注:已废除) 表名:借款审核管理表(LZH_BORROW_VERIFY) 名称 代码 数据类型 默认值 是否为空 借款编号ID borrow_id int(11) pk 初审处理人 deal_user mediumint(10) not null 初审处理时间 deal_time int(10) not null 初审处理意见 deal_info varchar(50) not null 复审处理时间 deal_time_2 int(10) not null 复审处理人 deal_user_2 mediumint(10) not null 复审处理意见 deal_info_2 varchar(50) not null 初审处理状态 deal_status tinyint(3) not null 复审处理状态 deal_status_2 tinyint(3) not null 主键 contraint pk_lzh_borrow_verify primary key (borrow_id) 关键字说明 表名:借款担保管理表(LZH_BORROW_VOUCH) 名称 代码 数据类型 默认值 是否为空 编号ID Id int(10) pk 担保项目ID borrow_id int(10) not null 担保人ID uid int(10) not null 担保人用户名 uname varchar(20) not null 担保金额 vouch_money decimal(15,2) not null 担保奖励利率 vouch_reward_rate decimal(4,2) not null 担保奖励金额 vouch_reward_money decimal(15,2) not null 操作者IP add_ip varchar(16) not null 担保时间 vouch_time int(11) not null 担保状态 status tinyint(3) 0 not null 网站垫付金额 substitute_money decimal(15,2) not null 回款金额 get_back decimal(15,2) not null 主键 contraint pk_lzh_borrow_vouch primary key (id) 关键字说明 status: 0:担保中 1:担保完成 2:担保失败 3:担保满标,还款中 表名:评论管理表(LZH_ COMMENT) 名称 代码 数据类型 默认值 是否为空 编号ID Id int(11) pk 会员ID uid int(10) not null 用户名 uname varchar(20) not null 回复ID tid int(10) not null 类型 type tinyint(4) not null 评论内容 comment varchar(500) not null 评论时间 add_time int(10) not null 借款者回复时间 deal_time int(10) not null 借款者回复 deal_info varchar(500) not null 标题 name varchar(50) not null 主键 contraint pk_lzh_comment primary key (id) 关键字说明 type 1:借款 2:捐款 表名:爱心捐助管理表(LZH_DONATE)(注:已废除) 表名:现场认证管理表(LZH_FACE_APPLY) 名称 代码 数据类型 默认值 是否为空 编号ID Id int(10) pk 会员ID uid int(10) not null 申请时间 add_time int(10) not null 处理者IP add_ip varchar(16) not null 是否通过 apply_status tinyint(3) 0 not null 奖励积分 credits int(11) not null 审核人员 deal_user int(10) not null 审核时间 deal_time int(10) not null 备注 deal_info varchar(50) not null 主键 contraint pk_lzh_face_apply primary key (id) 关键字说明 apply_status:0-待审核 1-通过 2-未通过 表名:快速借款留言管理表(LZH_FEEDBACK)(注:已废除) 表名:友情链接管理表(LZH_FRIEND) 名称 代码 数据类型 默认值 是否为空 编号ID Id int(11) pk 友情链接名称 link_txt varchar(50) not null 友情链接地址 link_href varchar(500) not null 友情链接图片 link_img varchar(100) not null 显示顺序 link_order int(1) 0 not null 友情链接类型 link_type int(1) 0 not null 是否前台显示 is_show int(1) 1 not null 游戏ID game_id Int(11) 0 not null 游戏链接 game_name char(50) not null 主键 contraint pk_lzh_friend primary key (id) 关键字说明 link_type:0代表以文字形式显示; 1代表以图片形式显示; is_show: 0代表不显示;1代表显示; 表名:站点基本参数设置管理表(LZH_GLOBAL) 名称 代码 数据类型 默认值 是否为空 编号ID Id smallint(6) pk 参数类型 type varchar(10) not null 类型说明 text text not null 参数名称 name varchar(50) not null 参数说明 tip varchar(200) not null 参数排序 order_sn int(11) 0 not null 参数代码 code varchar(20) not null 是否是系统参数 is_sys tinyint(3) 0 not null 主键 contraint pk_lzh_global primary key (id) 关键字说明 is_sys: 0代表非系统参数(可删除); 1代表是系统参数(不允许删除); 新增参数时,默认设置为非系统参数; 表名:居间方合同存档(LZH_HETONG) 名称 代码 数据类型 默认值 是否为空 编号ID id int(11) pk 缩略图 hetong_img varchar(500) not null 缩略图缓存 thumb_hetong_img varchar(500) not null 操作时间 add_time int(11) not null 操作人 deal_user varchar(100) not null 公司名称 name varchar(100) not null 公司地址 dizhi varchar(200) not null 公司电话 tel varchar(50) not null 主键 contraint pk_lzh_hetong primary key (id) 关键字说明 表名:站内信信息管理表(LZH_INNER_MSG) 名称 代码 数据类型 默认值 是否为空 编号ID Id int(11) pk 会员ID uid int(10) not null 消息标题 title varchar(50) not null 消息内容 msg text not null 发送时间 send_time int(10) not null (是否已读)状态 status tinyint(4) 0 not null 主键 contraint pk_lzh_inner_msg primary key (id) 关键字说明 Status:0代表未读;1代表已读; 表名:投资明细管理表(LZH_INVESTOR_DETAIL) 名称 代码 数据类型 默认值 是否为空 编号ID Id int(10) pk 还款时间 repayment_time int(10) 0 not null 借款编号ID borrow_id int(10) not null 投资编号ID invest_id int(10) 投资会员ID investor_uid int(10) not null 借款会员ID borrow_uid int(10) not null 借款总金额 capital decimal(15,2) not null 利息 interest decimal(15,2) not null 利息管理费 interest_fee decimal(15,2) not null 状态 status tinyint(3) not null 回款金额 receive_capital decimal(15,2) not null 回款利息 receive_interest decimal(15,2) not null 还款期数 sort_order tinyint(3) not null 总期数 total tinyint(3) not null 还款时间 deadline int(10) not null 逾期罚金 expired_money decimal(15,2) not null 逾期天数 expired_days tinyint(3) 0 not null 催收费 call_fee decimal(5,2) not null 网站垫付金额 substitute_money decimal(15,2) not null 网站垫付时间 substitute_time int(10) 0 not null 主键 contraint pk_lzh_investor_detail primary key (id) 关键字说明 status: 0代表还未确认通过
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传
相似文档                                   自信AI助手自信AI助手

当前位置:首页 > 通信科技 > 软件工程

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2025 宁波自信网络信息技术有限公司  版权所有

客服电话:4009-655-100  投诉/维权电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服