130 lines
3.2 KiB
JSON
130 lines
3.2 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "pipeline_flow_plans",
|
|
"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": "pipeline_id",
|
|
"title": "产线ID",
|
|
"type": "str",
|
|
"length": 64,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "base_flow_key",
|
|
"title": "基准流程模板key(多流程机制;空=产线单流程flow_stages)",
|
|
"type": "str",
|
|
"length": 64,
|
|
"nullable": "yes",
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "version",
|
|
"title": "版本(驳回重提+1)",
|
|
"type": "int",
|
|
"nullable": "no",
|
|
"default": "1"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态 draft/pending_confirm/confirmed/rejected/superseded",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"default": "draft"
|
|
},
|
|
{
|
|
"name": "stages",
|
|
"title": "阶段裁剪JSON(全量阶段快照,每项含key/enabled/reason)",
|
|
"type": "longtext",
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "user_requirements",
|
|
"title": "用户裁剪要求原文",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "propose_note",
|
|
"title": "会话agent提案说明",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "confirm_task_id",
|
|
"title": "确认待办ID(pipeline_human_tasks)",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "confirmed_by",
|
|
"title": "确认人",
|
|
"type": "str",
|
|
"length": 64
|
|
},
|
|
{
|
|
"name": "confirmed_at",
|
|
"title": "确认时间",
|
|
"type": "datetime"
|
|
},
|
|
{
|
|
"name": "reject_comment",
|
|
"title": "驳回意见(会话agent按此修订重提)",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "created_by",
|
|
"title": "提案人(agent.main_agent或user_id)",
|
|
"type": "str",
|
|
"length": 64
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "创建时间",
|
|
"type": "timestamp",
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "更新时间",
|
|
"type": "timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_pfp_project",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"project_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_pfp_status",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"status"
|
|
]
|
|
}
|
|
]
|
|
}
|