partner 伙伴
核心字段id, name, mobile, type(个人/企业), industries, region, status, signed_at, tier, referrer_id, created_at
说明tier=普通/核心/战略;referrer_id 用于一次性推荐奖励
customer 客户
核心字段id, company, industry, scale, contact, mobile(脱敏), region, source_partner_id, status
说明source_partner_id=报备伙伴,防冲突
requirement 需求单
核心字段id, partner_id, customer_id, template_id, product_line, description, pain_point, budget_range, status, blacklist_flag
说明blacklist_flag 自动校验
order 订单
核心字段id, requirement_id, customer_id, partner_id, quote_amount, settled_amount, status, signed_at, paid_at, delivered_at, observe_end_at
说明核心流转单据,关联全链路时间戳
deliverable 交付物
核心字段id, order_id, version, file_url, reviewer, review_checklist, status, confirmed_at
说明多版本管理,复核清单留痕
commission 分成记录
核心字段id, order_id, partner_id, amount, rate, mode(买断/不买断), type(预估/可结算/已结算), status
说明按模式快照防规则变动影响历史;买断订单另记 buyout_fee(6,888) 与版权授权凭证
settlement 结算单
核心字段id, partner_id, period, gross_amount, tax_amount, net_amount, status, paid_at, voucher_url
说明对公打款 + 完税凭证
template 模板
核心字段id, industry, product_line, version, prompt_content, review_checklist, status, usage_count
说明行业 × 产品线二维索引
material 素材
核心字段id, category, title, file_url, access_level, download_count
说明素材库/知识库/合规文档统一
audit_log 审计日志
核心字段id, user_id, role, action, target_type, target_id, detail, created_at
说明不可删除
伙伴状态 partner.status
枚举取值PENDING 待审核 / ACTIVE 已激活 / DORMANT 休眠 / BANNED 封禁
说明休眠可重启,封禁不可逆
伙伴层级 partner.tier
枚举取值NORMAL 普通 / CORE 核心 / STRATEGIC 战略
说明月度评定,可升降
需求单状态 requirement.status
枚举取值DRAFT 草稿 / SUBMITTED 已提报 / ACCEPTED 运营接单 / REJECTED 已驳回 / CANCELED 已取消
说明驳回需注明原因
订单状态 order.status
枚举取值QUOTING 待报价 / QUOTED 已报价 / PENDING_SIGN 待签约 / PENDING_PAY 待收款 / PAID 收款确认 / DELIVERING 交付中 / OBSERVING 售后观察期 / PENDING_SETTLE 待结算 / SETTLED 已结算 / CANCELED 已取消 / REFUNDED 已退款
说明见 8.1 状态机
结算单状态 settlement.status
枚举取值DRAFT 已生成 / REVIEWING 审核中 / APPROVED 已通过 / PAID 已打款 / FROZEN 冻结 / CANCELED 作废
说明冻结用于争议/退款冲减
收益类型 commission.type
枚举取值ESTIMATE 预估 / SETTLABLE 可结算 / SETTLED 已结算
说明预估 ≠ 可结算,前端强提示
分成模式 commission.mode
枚举取值BUYOUT 买断(平台仅抽10%)/ NON_BUYOUT 不买断(提出者按销售额60%)
说明按订单所选模式自动带入
产品线 product_line
枚举取值BRAND 品牌 / MARKETING 获客 / FRANCHISE 招商 / OPS 运营 / CONTENT 内容包
说明与模板库二维索引对齐
需求来源 source_type
枚举取值SELF 伙伴自供 / HEAD 总部派发 / REFERRAL 转介绍
说明总部派发另有分佣规则
交付物状态 deliverable.status
枚举取值GENERATING 生成中 / REVIEWING 复核中 / APPROVED 已定稿 / DELIVERED 已交付 / CONFIRMED 已回执
说明未复核不可交付
黑名单行业 blacklist.industry
枚举取值FINANCE 金融 / MEDICAL_BEAUTY 医美 / GAMBLING 博彩 / CRYPTO 虚拟货币 / OTHER 其他
说明系统级拦截 + 人工复核双保险