| | |
| | | } |
| | | |
| | | @Data |
| | | public static class ModulesBatchRequest { |
| | | private Long projectId; |
| | | private List<ModuleSaveRequest> modules = new ArrayList<>(); |
| | | } |
| | | |
| | | @Data |
| | | public static class MemberRequest { |
| | | private Long userId; |
| | | private String userName; |
| | |
| | | private List<String> reporterNames = new ArrayList<>(); |
| | | /** 本次汇报中每位执行人的工作量分配,占比合计必须为100%。 */ |
| | | private List<MemberRequest> reporterShares = new ArrayList<>(); |
| | | /** 本次汇报新增的模块进度,不是模块累计进度。 */ |
| | | private BigDecimal incrementProgress; |
| | | private BigDecimal progress; |
| | | private LocalDate reportDate; |
| | | private String remark; |
| | |
| | | } |
| | | |
| | | @Data |
| | | public static class ProjectExecutorsRequest { |
| | | private Long projectId; |
| | | private List<MemberRequest> executors = new ArrayList<>(); |
| | | } |
| | | |
| | | @Data |
| | | public static class StageTransitionRequest { |
| | | private Long projectId; |
| | | private String targetStage; |
| | | private Map<String, Object> formData; |
| | | private String remark; |
| | | private List<Map<String, Object>> attachments = new ArrayList<>(); |
| | | } |
| | | |
| | | @Data |