ragserver/json/subscriptions.json
yumoqing 254bf8e9b2 feat: initial ragserver - web app skeleton with data models, CRUD, and build scripts
- ahserver web app on port 9190
- DB: rag (test/test123, utf8mb4)
- 7 data models: knowledge_bases, documents, document_chunks, entities, entity_relations, subscriptions, engine_configs, usage_logs
- 4 CRUD definitions: knowledge_bases, documents, subscriptions, engine_configs
- build.sh clones all foundation modules + rag-pipeline + services
- independent venv, bricks frontend, RBAC support
2026-07-21 17:00:53 +08:00

29 lines
1.3 KiB
JSON

{
"tblname": "subscriptions",
"params": {
"title": "订阅管理",
"browserfields": [
{"field": "org_id", "title": "机构", "width": "15%"},
{"field": "plan_name", "title": "套餐", "width": "15%"},
{"field": "disk_quota_bytes", "title": "磁盘配额", "width": "12%"},
{"field": "disk_used_bytes", "title": "已用磁盘", "width": "12%"},
{"field": "doc_used", "title": "文档数", "width": "10%"},
{"field": "start_date", "title": "开始", "width": "12%"},
{"field": "end_date", "title": "结束", "width": "12%"},
{"field": "status", "title": "状态", "width": "12%"}
],
"editfields": [
{"field": "org_id", "uitype": "Text", "required": true},
{"field": "plan_name", "uitype": "Text", "required": true},
{"field": "disk_quota_bytes", "uitype": "Text", "default": "1073741824"},
{"field": "doc_quota", "uitype": "Text"},
{"field": "kb_quota", "uitype": "Text"},
{"field": "api_call_quota", "uitype": "Text"},
{"field": "start_date", "uitype": "Text"},
{"field": "end_date", "uitype": "Text"}
],
"searchfields": ["org_id", "plan_name"],
"sort": "created_at desc"
}
}