[关闭]
@keven-gao 2017-11-21T03:20:26.000000Z 字数 1046 阅读 1215

代理商自有后台数据库设计

wtAgent

  • mysql DatabaseName: wtAgentManage
  • redis: defalut select 0

agent_manage_users 登录用户管理

  1. userId 用户id
  2. account 账号
  3. password 登录密码
  4. crateTime 创建时间
  5. updateTime 更新时间

agent_manage_info 代理商管理

  1. agentId 代理商id
  2. agentName 代理商姓名
  3. agentRegion 代理商地区
  4. province 省份
  5. city 城市
  6. area 地区
  7. agentPhone 代理商电话
  8. agentAccount 代理商账号
  9. agentPassword 代理商登录密码
  10. agentStartTime 开始代理时间
  11. agentEndTime 结束代理时间
  12. status 处理进度
  13. createTime 创建时间
  14. updateTime 更新时间

agent_withdraw_deposit 代理商取现记录

  1. operId 主键
  2. agentId 代理商id
  3. deposit 提现金额(decimal)
  4. cardNo 银行卡号
  5. depositBank 开户银行
  6. accountName 账户名称
  7. commitstatus 提现状态 1已处理 2未处理
  8. createDate 创建日期

agent_audit 代理商审核表

  1. id 主键
  2. type 类型 1 门闸小区 2 无门闸小区 3 停车场 4 其他
  3. agentName 代理商名称
  4. region 代理地区
  5. agencyName 代理业务名称
  6. place 位置(定位)
  7. longitude 经度
  8. latitude 维度
  9. phone 联系电话
  10. remark 备注
  11. attachmentFlieId 附件下载地址(文件管理器)
  12. auditStatus 1 通过 0 待审批 2 未通过
  13. commision [json] 分佣占比
  14. createTime 创建时间
  15. updateTime 更新时间

agent_audit_parking 代理商审核停车场扩展表 无主键

  1. auditId 审核id 外键
  2. stationTotal 车位总数
  3. shareStationTotal 共享车位数量
  4. shareTime 共享时间
  5. usableTotal 可用总数
  6. usableShare 可用共享
  7. remoteControl 1 2 //是否需要为该停车场配备门闸遥控
  8. spacingInterval 间隔时间
  9. describe 描述
  10. tradeArea 所在商圈

agent_audit_other 代理商审核其他扩展表 无主键

  1. auditId 审核id 外键
  2. shareTime 共享时间
  3. parkingNumber 车位号
  4. price 价格
  5. describe 描述
  6. street街道
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注