product/models/capability.json
2025-12-05 18:03:14 +08:00

28 lines
1.1 KiB
JSON

{
"summary": [
{
"name": "capability",
"title": "能力",
"primary": "id",
"catelog": "entity"
}
],
"fields": [
{"name": "id", "title": "能力ID", "type": "str", "length": 32, "nullable": "no"},
{ "name": "orgid", "title": "租户ID", "type": "str", "length": 32, "nullable": "no", "default": "", "comments": "所属组织(多租户隔离)" },
{"name": "name", "title": "名称", "type": "str", "length": 128, "nullable": "no"},
{"name": "kind", "title": "能力类型", "type": "str", "length": 64, "nullable": "yes"},
{"name": "base_pricing", "title": "基础定价(JSON)", "type": "text", "nullable": "yes"},
{"name": "meta", "title": "元数据", "type": "text", "nullable": "yes"},
{"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "yes"},
{"name": "updated_at", "title": "更新时间", "type": "timestamp", "nullable": "yes"}
],
"indexes": [
{"name": "idx_kind", "idxtype": "index", "idxfields": ["kind"]}
]
}