@keven-gao
2017-11-20T07:05:29.000000Z
字数 1694
阅读 516
wtAgent
- 时间: 2017/11/17
- 数据库名称 wtAgent (mysql)
- redis 使用默认0库 prefix: (wt:xx:xx)
users 代理商用户表
agentId 代理商idaccountNumber 登录账号password 登录密码createTime 创建时间updateTime 更新时间
agent_info 代理商详情表
agentName 代理商名称agentRegion 代理地区agentPhone 代理电话status 状态balance 余额income 总收益stationCount 车位总数lockUserCount 地锁用户总数TradeVolume 交易总量startTime 代理开始时间endTime 代理结束时间
agent_history_income 代理商历史收益表
id 收益记录iddate 日期 (2017-11-15)agentId 代理商idsyncTime 同步时间totalIncome 总收益(截止到统计那天)
extract_deposit_record 提现记录
recodeId 记录idaccountName 账户名称depositBank 开户银行accountNumber 银行卡号rate 进度commitTime 提交时间withdrawBalance 提现金额createTime 创建时间updateTime 更新时间
income_info收益明细
incomeId 主键orderNumber 订单编号orderType 订单代理类型 小区/车场parkTime 停车时间leaveTime 离开时间carNum 车牌号carOwnerPhone 车主电话rentStation 租用车位income_money 收益金额createTimeupdateTime
> agency_village_info 代理小区表 暂时废弃> agencyId 代理id> name 名称> type 类型> region 具体位置> longitude 经度> latitude 维度> phone 联系电话
agency_device_list 设备列表
id 主键deviceId 设备id 硬件type 摄像头类型 1 入口 2 出口agentcyId 代理Id (停车场,小区)agentcyType 代理类型
agency_info 代理业务详情表(有一些扩展字段会在扩展表中)
agencyId 代理主键type 类型 // 标记小区停车场其它 1 有门闸 2 无门闸 3停车场 4 其他name 名称region 地区localtion 地图位置longitude 经度latitude 维度phone 联系电话commission 分佣spacingInterval 间隔时间remark 备注attachmentUrl 附件地址commitTime 提交时间updateTime 更新时间rate 审核进度auditRemark 审核备注describe 描述
agency_parkings 代理停车场扩展表
agencyId 代理idstationTotal 车位总数shareStationTotal 共享车位数量shareTime 共享时间usableTotal 可用总数usableShare 可用共享remoteControl 1是 2 否 //是否需要为该停车场配备门闸遥控placeImages 停车场具体位置图片地址
agency_other 代理其他扩展表
agencyId 代理idstreet 街道parkingNumber 车位号shareTime 共享时间placeImages 具体位置图片地址price 价格
agency_commit_log 代理商申请提交记录
logId 日志id 主键commitDate 提交日期content 申请内容remark 备注attachmentUrl 附件下载地址rate 审核进度 1 已通过 0未通过 2待审核disposeRemark 处理结果备注
withdraw_deposit_log 提现记录表
id 主键accountName 账户名称cardNo 银行卡号depositBank 开户银行deposit 提现金额rate 1 已完成 2 未处理createTime 创建时间updateTime 更新时间