{ "summary": [ { "name": "bid_chapters", "title": "投标文件章节", "primary": [ "id" ], "catelog": "entity" } ], "fields": [ { "name": "id", "title": "主键ID", "type": "str", "length": 32, "nullable": "no" }, { "name": "project_id", "title": "项目ID", "type": "str", "length": 32, "nullable": "no" }, { "name": "chapter_no", "title": "章节号", "type": "str", "length": 32, "nullable": "no" }, { "name": "parent_no", "title": "父章节号", "type": "str", "length": 32 }, { "name": "title", "title": "章节标题", "type": "str", "length": 255, "nullable": "no" }, { "name": "section", "title": "所属部分", "type": "str", "length": 32, "default": "technical" }, { "name": "scoring_item_ids", "title": "对应评分项(JSON)", "type": "text" }, { "name": "outline", "title": "章节要点", "type": "text" }, { "name": "status", "title": "章节状态", "type": "str", "length": 16, "nullable": "no", "default": "pending" }, { "name": "version", "title": "版本号", "type": "int", "nullable": "no", "default": "1" }, { "name": "content", "title": "章节正文", "type": "text" }, { "name": "file_path", "title": "章节文件路径", "type": "str", "length": 500 }, { "name": "word_count", "title": "字数", "type": "int", "default": "0" }, { "name": "review_score", "title": "评审得分", "type": "float", "length": 8, "dec": 2 }, { "name": "max_score", "title": "对应满分", "type": "float", "length": 8, "dec": 2 }, { "name": "review_comment", "title": "评审意见/改进意见", "type": "text" }, { "name": "revise_count", "title": "重做次数", "type": "int", "nullable": "no", "default": "0" }, { "name": "assignee_role", "title": "承办角色", "type": "str", "length": 64, "default": "agent.bid_writer" }, { "name": "task_id", "title": "关联任务ID", "type": "str", "length": 32 }, { "name": "order_no", "title": "排序", "type": "int", "default": "0" }, { "name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no" }, { "name": "updated_at", "title": "更新时间", "type": "timestamp" } ], "indexes": [ { "name": "idx_bc_project", "idxtype": "index", "idxfields": [ "project_id" ] }, { "name": "idx_bc_status", "idxtype": "index", "idxfields": [ "status" ] }, { "name": "idx_bc_no", "idxtype": "index", "idxfields": [ "project_id", "chapter_no" ] } ], "codes": [ { "field": "status", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='bid_chapter_status'" }, { "field": "section", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='bid_scoring_section'" } ] }