参照 llmage 范式(llm主表无ppid + llm_api_map挂ppid + llmusage计费六件套): - 资源主表不带 ppid,定价挂在「资源×用法」映射表上 - 对外统一 resolve_ppid(resource_ref_id, ctx),load 时注册到产品层解析器注册表 - 含 models 四段式/json CRUD/i18n四语言/load_path/init 种子数据
99 lines
2.3 KiB
JSON
99 lines
2.3 KiB
JSON
{
|
|
"tblname": "storres_sample",
|
|
"params": {
|
|
"title": "容量采样",
|
|
"browserfields": [
|
|
{
|
|
"field": "spec_id",
|
|
"title": "规格ID"
|
|
},
|
|
{
|
|
"field": "target_type",
|
|
"title": "计量对象类型"
|
|
},
|
|
{
|
|
"field": "target_id",
|
|
"title": "计量对象ID"
|
|
},
|
|
{
|
|
"field": "sample_date",
|
|
"title": "采样日期"
|
|
},
|
|
{
|
|
"field": "used_gb",
|
|
"title": "实测容量GB"
|
|
},
|
|
{
|
|
"field": "quota_gb",
|
|
"title": "配额容量GB"
|
|
},
|
|
{
|
|
"field": "over_gb",
|
|
"title": "超额GB"
|
|
},
|
|
{
|
|
"field": "source",
|
|
"title": "采样来源"
|
|
}
|
|
],
|
|
"editfields": [
|
|
{
|
|
"field": "spec_id",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "subscription_id",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "target_type",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "target_id",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "userid",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "userorgid",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "sample_date",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "sample_time",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "used_gb",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "quota_gb",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "over_gb",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "source",
|
|
"uitype": "Text"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"uitype": "Text"
|
|
}
|
|
],
|
|
"searchfields": [
|
|
"spec_id",
|
|
"target_type"
|
|
]
|
|
}
|
|
}
|