pipeline-bidding/models/bid_qualifications.json
yumoqing 19a3d67c68 feat: 投标产线模块(bidding_general)
- 12张 bid_* 表(models+DDL+CRUD):招标信息/邮箱配置/人员/招标文件/评分项/资质/
  投标文件要求/章节/评审/评分/知识库/标书
- 7个角色能力模块(bid_*_capability):采集摘要/解析/知识库资质/编写/评审/合成/评分
- bid_flow 状态对账器:角色任务唯一创建者+阻塞门禁(源头守门,引擎零特判)
- bid_mail:阿里云企业邮 IMAP 采集(凭据存DB AES,客户端专用密码兼容)
- 能力包注册(bid_ability)+ 角色工具自注册(role_tool_schemas)
- 技能:6 common 状态机/规范 + 9 角色技能(pipelines/bidding_general,随 pipeline-core 部署)
- i18n(zh/en)、init/data.json(appcodes+pipelines记录)、build.sh、RBAC load_path
2026-08-26 23:45:03 +08:00

132 lines
3.0 KiB
JSON

{
"summary": [
{
"name": "bid_qualifications",
"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": "qual_name",
"title": "资质名称",
"type": "str",
"length": 255,
"nullable": "no"
},
{
"name": "requirement",
"title": "资质要求原文",
"type": "text"
},
{
"name": "is_mandatory",
"title": "是否必需",
"type": "str",
"length": 1,
"nullable": "no",
"default": "1"
},
{
"name": "owner",
"title": "提供方",
"type": "str",
"length": 16,
"nullable": "no",
"default": "kb"
},
{
"name": "kb_doc_id",
"title": "知识库文档ID",
"type": "str",
"length": 32
},
{
"name": "match_status",
"title": "匹配状态",
"type": "str",
"length": 16,
"nullable": "no",
"default": "pending"
},
{
"name": "file_path",
"title": "文档路径",
"type": "str",
"length": 500
},
{
"name": "note",
"title": "说明",
"type": "str",
"length": 500
},
{
"name": "human_task_id",
"title": "人类任务ID",
"type": "str",
"length": 32
},
{
"name": "created_at",
"title": "创建时间",
"type": "timestamp",
"nullable": "no"
},
{
"name": "updated_at",
"title": "更新时间",
"type": "timestamp"
}
],
"indexes": [
{
"name": "idx_bq_project",
"idxtype": "index",
"idxfields": [
"project_id"
]
},
{
"name": "idx_bq_match",
"idxtype": "index",
"idxfields": [
"match_status"
]
}
],
"codes": [
{
"field": "match_status",
"table": "appcodes_kv",
"valuefield": "k",
"textfield": "v",
"cond": "parentid='bid_qual_match_status'"
},
{
"field": "owner",
"table": "appcodes_kv",
"valuefield": "k",
"textfield": "v",
"cond": "parentid='bid_qual_owner'"
}
]
}