{ "summary": [ { "name": "customer_handover_items", "title": "客户交接项目明细表", "primary": "id", "catelog": "relation" } ], "fields": [ { "name": "id", "title": "项目ID", "type": "str", "length": 32, "nullable": "no", "comments": "主键 - UUID格式" }, { "name": "handover_id", "title": "交接ID", "type": "str", "length": 32, "nullable": "no", "comments": "关联的交接记录ID" }, { "name": "item_type", "title": "项目类型", "type": "str", "length": 50, "nullable": "no", "comments": "交接项目类型:basic_info=基本信息, opportunities=未结商机, contracts=历史合同, service_tickets=服务工单, payment_issues=回款问题" }, { "name": "item_id", "title": "关联ID", "type": "str", "length": 32, "nullable": "yes", "comments": "关联的具体记录ID(如商机ID、合同ID等)" }, { "name": "item_description", "title": "项目描述", "type": "text", "nullable": "no", "comments": "项目详细描述或补充说明" }, { "name": "is_completed", "title": "是否完成", "type": "str", "length": 1, "nullable": "no", "default": "0", "comments": "是否已完成交接:1=是, 0=否" }, { "name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no", "comments": "项目创建时间" }, { "name": "updated_at", "title": "更新时间", "type": "timestamp", "nullable": "no", "comments": "最后更新时间" } ], "indexes": [ { "name": "idx_handover_items_handover", "idxtype": "index", "idxfields": ["handover_id"] }, { "name": "idx_handover_items_type", "idxtype": "index", "idxfields": ["item_type"] }, { "name": "idx_handover_items_item_id", "idxtype": "index", "idxfields": ["item_id"] } ] }