40 lines
2.1 KiB
JSON
40 lines
2.1 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"table": "pbl_blueprint_learning_goal",
|
|
"name": "蓝图学习目标",
|
|
"title": "学习目标",
|
|
"subtitle": "蓝图子对象-学习目标",
|
|
"primary": ["id"],
|
|
"defaultsort": "seq asc",
|
|
"orderby": "seq asc",
|
|
"caption": "学习目标"
|
|
}
|
|
],
|
|
"fields": [
|
|
{"name": "id", "type": "str(32)", "title": "主键", "notnull": 1, "primary": 1, "readonly": 1},
|
|
{"name": "tenant_id", "type": "str(32)", "title": "租户ID", "notnull": 1, "default": "0"},
|
|
{"name": "blueprint_id", "type": "str(32)", "title": "所属蓝图", "notnull": 1},
|
|
{"name": "seq", "type": "int", "title": "序号", "notnull": 1, "default": 0},
|
|
{"name": "goal_code", "type": "str(64)", "title": "目标编码", "notnull": 1},
|
|
{"name": "title", "type": "str(255)", "title": "目标标题", "notnull": 1},
|
|
{"name": "description", "type": "text", "title": "目标描述", "default": ""},
|
|
{"name": "knowledge_type", "type": "str(32)", "title": "知识类型", "default": "concept", "comment": "fact/concept/procedure/metacognition"},
|
|
{"name": "competency_tags", "type": "text", "title": "素养标签JSON数组", "default": "[]"},
|
|
{"name": "assessable", "type": "str(1)", "title": "可评估", "default": "1"},
|
|
{"name": "alignment_json", "type": "longtext", "title": "对齐关系JSON", "default": ""},
|
|
{"name": "created_by", "type": "str(32)", "title": "创建人", "default": ""},
|
|
{"name": "created_at", "type": "datetime", "title": "创建时间", "notnull": 1},
|
|
{"name": "updated_by", "type": "str(32)", "title": "更新人", "default": ""},
|
|
{"name": "updated_at", "type": "datetime", "title": "更新时间"}
|
|
],
|
|
"indexes": [
|
|
{"name": "uk_pbl_goal_code", "fields": ["tenant_id", "blueprint_id", "goal_code"], "unique": 1},
|
|
{"name": "idx_pbl_goal_bp", "fields": ["tenant_id", "blueprint_id", "seq"], "unique": 0}
|
|
],
|
|
"codes": [
|
|
{"field": "knowledge_type", "table": "appcodes_kv", "cond": "parentid='pbl_knowledge_type'", "valuefield": "k", "textfield": "v"},
|
|
{"field": "blueprint_id", "table": "pbl_blueprint", "cond": "", "valuefield": "id", "textfield": "title"}
|
|
]
|
|
}
|