From bee96a1d36c86068cd5a7eb69f4e3294a8123b04 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期五, 03 七月 2026 18:02:55 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_business' into dev_business
---
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pd/archive/vo/MesPdArchiveDetailRespVO.java | 145 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 145 insertions(+), 0 deletions(-)
diff --git a/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pd/archive/vo/MesPdArchiveDetailRespVO.java b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pd/archive/vo/MesPdArchiveDetailRespVO.java
new file mode 100644
index 0000000..1ced7b7
--- /dev/null
+++ b/yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pd/archive/vo/MesPdArchiveDetailRespVO.java
@@ -0,0 +1,145 @@
+package cn.iocoder.yudao.module.mes.controller.admin.pd.archive.vo;
+
+import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
+import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
+import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.Data;
+
+import java.time.LocalDateTime;
+import java.util.List;
+
+@Schema(description = "绠$悊鍚庡彴 - MES 褰掓。鍙拌处璇︽儏锛堟寜浜у搧锛� Response VO")
+@Data
+public class MesPdArchiveDetailRespVO {
+
+ @Schema(description = "椤圭洰淇℃伅")
+ private ProjectInfo project;
+
+ @Schema(description = "褰掓。璁板綍鍒楄〃")
+ private List<ArchiveInfo> archives;
+
+ @Schema(description = "璁捐璧勬枡鍒楄〃")
+ private List<DocumentInfo> documents;
+
+ @Schema(description = "椤圭洰淇℃伅")
+ @Data
+ public static class ProjectInfo {
+
+ @Schema(description = "椤圭洰ID", example = "1")
+ private Long id;
+
+ @Schema(description = "浠诲姟缂栫爜", example = "PD2024001")
+ private String taskCode;
+
+ @Schema(description = "浠诲姟鍚嶇О", example = "鏂颁骇鍝佽璁′换鍔�")
+ private String taskName;
+
+ @Schema(description = "浜у搧缂栫爜", example = "P001")
+ private String productCode;
+
+ @Schema(description = "浜у搧鍚嶇О", example = "娉ㄥ浜у搧A")
+ private String productName;
+
+ @Schema(description = "鐗堟湰鍙�", example = "V1.0")
+ private String version;
+
+ @Schema(description = "椤圭洰鐘舵��", example = "4")
+ @DictFormat(DictTypeConstants.MES_PD_PROJECT_STATUS)
+ private Integer status;
+
+ @Schema(description = "涓昏璁″笀", example = "1")
+ private Long chiefDesigner;
+
+ @Schema(description = "涓昏璁″笀鍚嶇О", example = "寮犱笁")
+ private String chiefDesignerNickname;
+
+ @Schema(description = "瀹℃牳浜�", example = "2")
+ private Long reviewer;
+
+ @Schema(description = "瀹℃牳浜哄悕绉�", example = "鏉庡洓")
+ private String reviewerNickname;
+
+ @Schema(description = "璁″垝瀹屾垚鏃堕棿")
+ private LocalDateTime planFinishTime;
+
+ @Schema(description = "澶囨敞", example = "娴嬭瘯澶囨敞")
+ private String remark;
+
+ @Schema(description = "鍒涘缓鏃堕棿")
+ private LocalDateTime createTime;
+
+ }
+
+ @Schema(description = "褰掓。璁板綍淇℃伅")
+ @Data
+ public static class ArchiveInfo {
+
+ @Schema(description = "褰掓。ID", example = "1")
+ private Long id;
+
+ @Schema(description = "褰掓。缂栧彿", example = "ARC2024001")
+ private String archiveCode;
+
+ @Schema(description = "褰掓。浜�", example = "1")
+ private Long archiver;
+
+ @Schema(description = "褰掓。浜哄悕绉�", example = "鐜嬩簲")
+ private String archiverNickname;
+
+ @Schema(description = "褰掓。鐘舵��", example = "1")
+ @DictFormat(DictTypeConstants.MES_PD_ARCHIVE_STATUS)
+ private Integer archiveStatus;
+
+ @Schema(description = "褰掓。鏃堕棿")
+ private LocalDateTime archiveTime;
+
+ @Schema(description = "澶囨敞", example = "娴嬭瘯澶囨敞")
+ private String remark;
+
+ @Schema(description = "鍒涘缓鏃堕棿")
+ private LocalDateTime createTime;
+
+ }
+
+ @Schema(description = "璁捐璧勬枡淇℃伅")
+ @Data
+ public static class DocumentInfo {
+
+ @Schema(description = "璧勬枡ID", example = "1")
+ private Long id;
+
+ @Schema(description = "璧勬枡绫诲瀷", example = "1")
+ @DictFormat(DictTypeConstants.MES_PD_DOCUMENT_TYPE)
+ private String documentType;
+
+ @Schema(description = "璧勬枡鍚嶇О", example = "浜у搧璁捐鍥�")
+ private String documentName;
+
+ @Schema(description = "璧勬枡鐗堟湰", example = "V1.0")
+ private String documentVersion;
+
+ @Schema(description = "鏂囦欢鍚�", example = "design.pdf")
+ private String fileName;
+
+ @Schema(description = "鏂囦欢URL", example = "/files/design.pdf")
+ private String fileUrl;
+
+ @Schema(description = "涓婁紶浜�", example = "1")
+ private Long uploadUserId;
+
+ @Schema(description = "涓婁紶浜哄悕绉�", example = "璧靛叚")
+ private String uploadUserNickname;
+
+ @Schema(description = "涓婁紶鏃堕棿")
+ private LocalDateTime uploadTime;
+
+ @Schema(description = "澶囨敞", example = "娴嬭瘯澶囨敞")
+ private String remark;
+
+ @Schema(description = "鍒涘缓鏃堕棿")
+ private LocalDateTime createTime;
+
+ }
+
+}
--
Gitblit v1.9.3