{ "summary": [ { "name": "customer_pool", "title": "客户公海池表", "primary": "id", "catelog": "relation" } ], "fields": [ { "name": "id", "title": "公海记录ID", "type": "str", "length": 32, "nullable": "no", "comments": "主键 - UUID格式" }, { "name": "customer_id", "title": "客户ID", "type": "str", "length": 32, "nullable": "no", "comments": "回收到公海的客户ID" }, { "name": "original_owner_id", "title": "原负责人ID", "type": "str", "length": 32, "nullable": "no", "comments": "客户原来的负责人ID" }, { "name": "recycle_reason", "title": "回收原因", "type": "str", "length": 100, "nullable": "no", "comments": "回收原因:inactive_days=未跟进天数超限, manual=手动回收" }, { "name": "inactive_days", "title": "未跟进天数", "type": "long", "nullable": "yes", "comments": "触发回收的未跟进天数" }, { "name": "recycled_at", "title": "回收时间", "type": "timestamp", "nullable": "no", "comments": "客户被回收到公海的时间" }, { "name": "assigned_to", "title": "分配给", "type": "str", "length": 32, "nullable": "yes", "comments": "分配给的新负责人ID(如果已分配)" }, { "name": "assigned_at", "title": "分配时间", "type": "timestamp", "nullable": "yes", "comments": "客户被分配的时间" }, { "name": "pool_status", "title": "公海状态", "type": "str", "length": 20, "nullable": "no", "default": "available", "comments": "公海状态:available=可领取, assigned=已分配, claimed=已认领" }, { "name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no", "comments": "记录创建时间" } ], "indexes": [ { "name": "idx_pool_customer", "idxtype": "unique", "idxfields": ["customer_id"] }, { "name": "idx_pool_original_owner", "idxtype": "index", "idxfields": ["original_owner_id"] }, { "name": "idx_pool_assigned_to", "idxtype": "index", "idxfields": ["assigned_to"] }, { "name": "idx_pool_status", "idxtype": "index", "idxfields": ["pool_status"] }, { "name": "idx_pool_recycled", "idxtype": "index", "idxfields": ["recycled_at"] } ] }