pbl_blueprint/pbl_blueprint/json/pbl_blueprint_audit.json

154 lines
3.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"tblname": "pbl_blueprint_audit",
"params": {
"id": {
"type": "str",
"size": 32,
"notnull": true,
"editable": true,
"query": false,
"summary": "主键ID(str32,UUID去横线)"
},
"tenant_id": {
"type": "str",
"size": 32,
"notnull": true,
"editable": true,
"query": true,
"summary": "租户ID(首业务字段,所有读写强制打头,缺失即 fail-closed 拒绝)"
},
"blueprint_id": {
"type": "str",
"size": 32,
"notnull": true,
"default": "",
"editable": true,
"query": true,
"summary": "蓝图ID"
},
"target_type": {
"type": "str",
"size": 16,
"notnull": true,
"editable": true,
"query": true,
"code": "target_type",
"summary": "操作对象类型"
},
"target_id": {
"type": "str",
"size": 32,
"notnull": true,
"default": "",
"editable": true,
"query": true,
"summary": "操作对象ID"
},
"action": {
"type": "str",
"size": 32,
"notnull": true,
"editable": true,
"query": true,
"code": "action",
"summary": "操作动作"
},
"version_no": {
"type": "int",
"notnull": true,
"default": 0,
"editable": true,
"query": true,
"summary": "关联版本号"
},
"before_json": {
"type": "text",
"default": "",
"editable": false,
"query": false,
"summary": "操作前数据JSON"
},
"after_json": {
"type": "text",
"default": "",
"editable": false,
"query": false,
"summary": "操作后数据JSON"
},
"result": {
"type": "str",
"size": 16,
"notnull": true,
"default": "success",
"editable": true,
"query": true,
"code": "result",
"summary": "操作结果"
},
"err_code": {
"type": "str",
"size": 32,
"notnull": true,
"default": "",
"editable": false,
"query": false,
"summary": "失败错误码"
},
"cost_ms": {
"type": "int",
"notnull": true,
"default": 0,
"editable": false,
"query": false,
"summary": "耗时毫秒"
},
"op_user": {
"type": "str",
"size": 32,
"notnull": true,
"default": "",
"editable": true,
"query": true,
"summary": "操作人"
},
"op_source": {
"type": "str",
"size": 32,
"notnull": true,
"default": "api",
"editable": true,
"query": true,
"summary": "操作来源(web/api/agent/offline)"
},
"client_ip": {
"type": "str",
"size": 64,
"notnull": true,
"default": "",
"editable": true,
"query": false,
"summary": "客户端IP"
},
"create_time": {
"type": "datetime",
"editable": false,
"query": true,
"summary": "操作时间"
}
},
"editable": [
"api/pbl_blueprint_audit_list.dspy",
"api/pbl_blueprint_audit_edit.dspy",
"api/pbl_blueprint_audit_view.dspy"
],
"browserfields": [
"blueprint_id",
"target_type",
"action",
"result",
"op_user",
"op_source",
"create_time"
]
}