storage_resource/json/storres_spec.json
ymq 04b1b19b94 feat: storage_resource 资源模块
参照 llmage 范式(llm主表无ppid + llm_api_map挂ppid + llmusage计费六件套):
- 资源主表不带 ppid,定价挂在「资源×用法」映射表上
- 对外统一 resolve_ppid(resource_ref_id, ctx),load 时注册到产品层解析器注册表
- 含 models 四段式/json CRUD/i18n四语言/load_path/init 种子数据
2026-08-26 14:51:29 +08:00

95 lines
2.3 KiB
JSON

{
"tblname": "storres_spec",
"params": {
"title": "存储规格",
"browserfields": [
{
"field": "spec_code",
"title": "规格编码"
},
{
"field": "spec_name",
"title": "规格名称"
},
{
"field": "storage_class",
"title": "存储类型"
},
{
"field": "min_gb",
"title": "起售容量GB"
},
{
"field": "capacity_total",
"title": "可售总量GB"
},
{
"field": "capacity_used",
"title": "已分配GB"
},
{
"field": "status",
"title": "状态"
}
],
"editfields": [
{
"field": "spec_code",
"uitype": "Text"
},
{
"field": "spec_name",
"uitype": "Text"
},
{
"field": "storage_class",
"uitype": "Text"
},
{
"field": "description",
"uitype": "Text"
},
{
"field": "min_gb",
"uitype": "Text"
},
{
"field": "max_gb",
"uitype": "Text"
},
{
"field": "step_gb",
"uitype": "Text"
},
{
"field": "capacity_total",
"uitype": "Text"
},
{
"field": "capacity_used",
"uitype": "Text"
},
{
"field": "backup_enabled",
"uitype": "Text"
},
{
"field": "attr_json",
"uitype": "Text"
},
{
"field": "sort_order",
"uitype": "Text"
},
{
"field": "status",
"uitype": "Text"
}
],
"searchfields": [
"spec_code",
"spec_name"
]
}
}