40 lines
2.2 KiB
JSON
40 lines
2.2 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"table": "pbl_blueprint_reflection_spec",
|
|
"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": "reflection_code", "type": "str(64)", "title": "反思编码", "notnull": 1},
|
|
{"name": "title", "type": "str(255)", "title": "反思标题", "notnull": 1},
|
|
{"name": "prompt", "type": "text", "title": "反思提示语", "default": ""},
|
|
{"name": "reflection_type", "type": "str(32)", "title": "反思类型", "default": "self", "comment": "self/peer/team/teacher"},
|
|
{"name": "trigger_point", "type": "str(64)", "title": "触发时点", "default": "task_end", "comment": "task_end/mission_end/project_end/manual"},
|
|
{"name": "required", "type": "str(1)", "title": "是否必需", "default": "1"},
|
|
{"name": "rubric_hint", "type": "text", "title": "量规提示", "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_reflection_code", "fields": ["tenant_id", "blueprint_id", "reflection_code"], "unique": 1},
|
|
{"name": "idx_pbl_reflection_bp", "fields": ["tenant_id", "blueprint_id", "seq"], "unique": 0}
|
|
],
|
|
"codes": [
|
|
{"field": "reflection_type", "table": "appcodes_kv", "cond": "parentid='pbl_reflect_type'", "valuefield": "k", "textfield": "v"},
|
|
{"field": "blueprint_id", "table": "pbl_blueprint", "cond": "", "valuefield": "id", "textfield": "title"}
|
|
]
|
|
}
|