|
|
@@ -7,6 +7,7 @@ import java.math.BigDecimal;
|
|
|
import java.time.LocalDate;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.util.List;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
@Schema(description = "管理后台 - 项目立项 Response VO")
|
|
|
@Data
|
|
|
@@ -24,10 +25,10 @@ public class ProjectRespVO {
|
|
|
@Schema(description = "项目级别", example = "国家级")
|
|
|
private String projectLevel;
|
|
|
|
|
|
- @Schema(description = "执行单位(部门ID)", example = "100")
|
|
|
- private Long executingUnit;
|
|
|
+ @Schema(description = "执行单位(部门ID数组)", example = "[100, 200]")
|
|
|
+ private List<Long> executingUnit;
|
|
|
|
|
|
- @Schema(description = "执行单位名称", example = "XX石油技术公司")
|
|
|
+ @Schema(description = "执行单位名称(多个用逗号分隔)", example = "XX研究院, YY研究院")
|
|
|
private String executingUnitName;
|
|
|
|
|
|
@Schema(description = "项目名称", example = "智能仓储系统")
|
|
|
@@ -39,6 +40,10 @@ public class ProjectRespVO {
|
|
|
@Schema(description = "项目组成员(多个逗号分隔)", example = "张三,李四,王五")
|
|
|
private String teamMembers;
|
|
|
|
|
|
+ @Schema(description = "计划结题时间", example = "2027-03-01")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ private LocalDate planEndDate;
|
|
|
+
|
|
|
@Schema(description = "项目类型", example = "研发类")
|
|
|
private String projectType;
|
|
|
|
|
|
@@ -128,6 +133,7 @@ public class ProjectRespVO {
|
|
|
private String workPlan;
|
|
|
|
|
|
@Schema(description = "截止时间", example = "2026-10-01")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private LocalDate deadline;
|
|
|
|
|
|
@Schema(description = "排序值", example = "0")
|