21 lines
1.4 KiB
JSON
21 lines
1.4 KiB
JSON
{
|
|
"summary": [{"name": "entity_import_log", "title": "实体导入日志表", "primary": ["id"], "catelog": "relation"}],
|
|
"fields": [
|
|
{"name": "id", "title": "主键ID", "type": "str", "length": 32, "nullable": "no"},
|
|
{"name": "world_id", "title": "所属世界ID", "type": "str", "length": 32, "nullable": "no"},
|
|
{"name": "file_name", "title": "导入文件名", "type": "str", "length": 255, "nullable": "no"},
|
|
{"name": "total", "title": "总记录数", "type": "int", "nullable": "no", "default": "0"},
|
|
{"name": "success", "title": "成功数", "type": "int", "nullable": "no", "default": "0"},
|
|
{"name": "failed", "title": "失败数", "type": "int", "nullable": "no", "default": "0"},
|
|
{"name": "status", "title": "导入状态", "type": "str", "length": 16, "nullable": "no", "default": "processing"},
|
|
{"name": "detail", "title": "失败明细", "type": "text", "nullable": "yes"},
|
|
{"name": "created_by", "title": "导入人ID", "type": "str", "length": 32, "nullable": "yes"},
|
|
{"name": "created_at", "title": "导入时间", "type": "timestamp", "nullable": "no"}
|
|
],
|
|
"indexes": [{"name": "idx_entity_ilog_world", "idxtype": "index", "idxfields": ["world_id"]}],
|
|
"codes": [
|
|
{"field": "world_id", "table": "world", "valuefield": "id", "textfield": "name"},
|
|
{"field": "status", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='import_status'"}
|
|
]
|
|
}
|