You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1.3 KiB
18 lines
1.3 KiB
|
3 weeks ago
|
# 03 商机主表字段与归属模型
|
||
|
|
|
||
|
|
Type: grilling
|
||
|
|
Status: open
|
||
|
|
Blocked by: 01
|
||
|
|
|
||
|
|
## Question
|
||
|
|
|
||
|
|
定 `opportunity` 主表的字段清单与归属模型(对称线索主表,是后面状态机/公海/子表/视图票的地基)。
|
||
|
|
|
||
|
|
- **归属字段**:`owner_user_id`(领取人 = 决策[B],归属归商机主表)、`owner_dept_id`(部门快照)、`pool_id`(来源商机公海池)、`creator_user_id`(创建人,全生命周期不变)。
|
||
|
|
- **两条轴的落点**:轴1 归属流转状态字段(单字段,取值见 04);轴2 当前阶段字段(`current_stage_id` + 引用哪个阶段模板 `stage_template_id`/版本)。
|
||
|
|
- **来源字段**:`source_lead_id`(可空,见 02)+ 带出快照(商机名称/联系电话/需求产品 code 等)。
|
||
|
|
- **业务字段**(从原型 A3-1-1-2-1 新增/编辑商机抽取):商机名称、行业(字典)、招标形式(字典)、甲方/意向客户、地区(国标 code)、预计金额、预计成交时间、备注等——逐字段定必填/类型/长度/校验。
|
||
|
|
- **两把计时器?**:线索有回收N/失效M两把计时器。商机公海是否也有"超时回收/提醒"计时(见 05 公海与提醒规则),主表是否需要计时锚点字段。
|
||
|
|
|
||
|
|
产出:主表 DDL 级字段规格表(字段名/必填/类型/长度/校验/错误提示)。
|