diff --git a/schemas/project/project_base.py b/schemas/project/project_base.py index 343d6bd..3671993 100644 --- a/schemas/project/project_base.py +++ b/schemas/project/project_base.py @@ -70,7 +70,7 @@ class ProjectResponseBase(BaseResponseWithID): complete_investment: float = Field(0.0, description="完成投资", examples=[80000.0]) # 其他信息 - progress_type: ProgressType = Field(..., description="推进分类", examples=[ProgressType.A]) + progress_type: ProgressType | None = Field(None, description="推进分类", examples=[ProgressType.A]) key_constraints: KeyConstraints = Field(KeyConstraints.NONE, description="关键制约", examples=[KeyConstraints.NONE]) key_constraints_remark: Optional[str] = Field("", description="关键制约备注", examples=["无"]) status: Optional[str] = Field(None, description="项目状态")