pbl_blueprint/pbl_blueprint/json/pbl_blueprint_version_delta.json

138 lines
3.0 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_version_delta",
"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,
"editable": true,
"query": true,
"summary": "所属蓝图ID"
},
"from_version": {
"type": "int",
"notnull": true,
"default": 0,
"editable": true,
"query": true,
"summary": "基准版本号"
},
"to_version": {
"type": "int",
"notnull": true,
"default": 0,
"editable": true,
"query": true,
"summary": "目标版本号"
},
"delta_type": {
"type": "str",
"size": 16,
"notnull": true,
"editable": true,
"query": true,
"code": "delta_type",
"summary": "差异对象类型"
},
"op_type": {
"type": "str",
"size": 16,
"notnull": true,
"editable": true,
"query": true,
"code": "op_type",
"summary": "操作类型"
},
"target_id": {
"type": "str",
"size": 32,
"notnull": true,
"default": "",
"editable": true,
"query": true,
"summary": "差异对象ID(节点ID/边ID/蓝图ID)"
},
"target_name": {
"type": "str",
"size": 128,
"notnull": true,
"default": "",
"editable": true,
"query": false,
"summary": "差异对象名称(冗余便于展示)"
},
"before_json": {
"type": "text",
"default": "",
"editable": false,
"query": false,
"summary": "变更前JSON"
},
"after_json": {
"type": "text",
"default": "",
"editable": false,
"query": false,
"summary": "变更后JSON"
},
"sort_no": {
"type": "int",
"notnull": true,
"default": 0,
"editable": true,
"query": false,
"summary": "排序号"
},
"create_user": {
"type": "str",
"size": 32,
"default": "",
"editable": false,
"query": false,
"summary": "创建人"
},
"create_time": {
"type": "datetime",
"editable": false,
"query": false,
"summary": "创建时间"
},
"deleted": {
"type": "int",
"notnull": true,
"default": 0,
"editable": false,
"query": false,
"summary": "逻辑删除标记 0正常 1删除"
}
},
"editable": [
"api/pbl_blueprint_version_delta_list.dspy",
"api/pbl_blueprint_version_delta_edit.dspy",
"api/pbl_blueprint_version_delta_view.dspy"
],
"browserfields": [
"from_version",
"to_version",
"delta_type",
"op_type",
"target_name"
]
}