{ "summary": [ { "name": "approval_workflow", "title": "审批工作流", "primary": "id", "catelog": "entity" } ], "fields": [ { "name": "id", "title": "ID", "type": "str", "length": 32, "nullable": "no", "comments": "主键UUID" }, { "name": "workflow_name", "title": "工作流名称", "type": "str", "length": 100, "nullable": "no", "comments": "审批工作流名称" }, { "name": "module_type", "title": "模块类型", "type": "str", "length": 50, "nullable": "no", "comments": "关联的模块类型(customer/opportunity/contract/financial)" }, { "name": "trigger_condition", "title": "触发条件", "type": "str", "length": 500, "nullable": "yes", "comments": "JSON格式的触发条件表达式" }, { "name": "description", "title": "描述", "type": "str", "length": 500, "nullable": "yes", "comments": "工作流描述" }, { "name": "org_id", "title": "组织ID", "type": "str", "length": 32, "nullable": "no", "comments": "多租户组织隔离" }, { "name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no", "comments": "创建时间" }, { "name": "updated_at", "title": "更新时间", "type": "timestamp", "nullable": "no", "comments": "更新时间" }, { "name": "is_active", "title": "是否激活", "type": "str", "length": 1, "nullable": "no", "comments": "Y/N" } ], "indexes": [ { "name": "idx_workflow_org", "idxtype": "index", "idxfields": ["org_id"] }, { "name": "idx_workflow_module", "idxtype": "index", "idxfields": ["module_type"] }, { "name": "uk_workflow_name_org", "idxtype": "unique", "idxfields": ["workflow_name", "org_id"] } ], "codes": [] }