pbl_validation/models/pbl_validation_result.json

126 lines
2.3 KiB
JSON
Raw Permalink 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.

{
"summary": [
{
"name": "pbl_validation_result",
"comment": "校验结果14 维 + 5 级质量状态)",
"module": "pbl_validation",
"engine": "mariadb",
"charset": "utf8mb4",
"tenant_scoped": true
}
],
"fields": [
{
"name": "tenant_id",
"comment": "租户ID(强制打头)",
"null": false,
"type": "str",
"length": 32
},
{
"name": "id",
"comment": "主键",
"null": false,
"type": "int",
"length": 20,
"unsigned": true,
"auto_increment": true
},
{
"name": "blueprint_id",
"comment": "蓝图ID",
"null": false,
"type": "bigint"
},
{
"name": "blueprint_version_no",
"comment": "校验时版本",
"null": false,
"type": "int"
},
{
"name": "dimension_count",
"comment": "维度数(=14)",
"null": false,
"type": "int"
},
{
"name": "passed_count",
"comment": "通过数",
"null": false,
"type": "int"
},
{
"name": "failed_count",
"comment": "失败数",
"null": false,
"type": "int"
},
{
"name": "score",
"comment": "得分",
"null": false,
"type": "double",
"precision": 18,
"scale": 2
},
{
"name": "quality_state",
"comment": "质量状态",
"null": false,
"type": "str",
"length": 64
},
{
"name": "findings_json",
"comment": "逐维结论",
"null": true,
"type": "json"
},
{
"name": "rule_set_version",
"comment": "规则集版本",
"null": false,
"type": "str",
"length": 64
},
{
"name": "created_by",
"comment": "触发人",
"null": false,
"type": "str",
"length": 32
},
{
"name": "created_at",
"comment": "创建时间",
"null": false,
"type": "datetime"
},
{
"name": "updated_at",
"comment": "更新时间",
"null": false,
"type": "datetime"
}
],
"indexes": [
{
"name": "idx_vres_bp",
"unique": false,
"fields": [
"tenant_id",
"blueprint_id"
]
},
{
"name": "PRIMARY",
"unique": true,
"fields": [
"id"
]
}
],
"codes": []
}