{ "summary": { "name": "approval_step", "label": "审批步骤", "comment": "审批工作流步骤定义" }, "fields": [ { "name": "id", "title": "ID", "type": "str", "length": 32, "nullable": false, "comments": "主键UUID" }, { "name": "workflow_id", "title": "工作流ID", "type": "str", "length": 32, "nullable": false, "comments": "关联的工作流" }, { "name": "step_name", "title": "步骤名称", "type": "str", "length": 100, "nullable": false, "comments": "审批步骤名称" }, { "name": "step_order", "title": "步骤顺序", "type": "long", "nullable": false, "comments": "步骤执行顺序" }, { "name": "approver_type", "title": "审批人类型", "type": "str", "length": 20, "nullable": false, "comments": "role/user/department/dynamic" }, { "name": "approver_value", "title": "审批人值", "type": "str", "length": 100, "nullable": true, "comments": "角色ID/用户ID/部门ID/动态表达式" }, { "name": "approval_type", "title": "审批类型", "type": "str", "length": 20, "nullable": false, "comments": "single/multiple/sequential/parallel" }, { "name": "timeout_hours", "title": "超时小时数", "type": "long", "nullable": true, "comments": "审批超时时间(小时)" }, { "name": "description", "title": "描述", "type": "str", "length": 500, "nullable": true, "comments": "步骤描述" }, { "name": "org_id", "title": "组织ID", "type": "str", "length": 32, "nullable": false, "comments": "多租户组织隔离" } ], "indexes": [ { "name": "idx_step_workflow", "idxtype": "index", "fields": ["workflow_id"] }, { "name": "idx_step_order", "idxtype": "index", "fields": ["workflow_id", "step_order"] } ], "codes": [ { "tblname": "appcodes", "codevalue": "APPROVER_TYPE", "valuefield": "k", "textfield": "v" }, { "tblname": "appcodes", "codevalue": "APPROVAL_TYPE", "valuefield": "k", "textfield": "v" } ] }