package cn.iocoder.yudao.module.mes.controller.admin.pd.archive.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDateTime; /** * 归档台账分组查询 Response VO *

* 在归档台账字段基础上,额外包含关联项目的产品编码、产品名称。 * 用于 XML mapper 的分组查询结果映射,不破坏 MesPdArchiveDO 与数据库的映射关系。 * * @author 芋道源码 */ @Schema(description = "管理后台 - MES 归档台账分组查询 Response VO") @Data public class MesPdArchiveGroupRespVO { // ========== 归档台账自身字段 ========== @Schema(description = "编号", example = "1024") private Long id; @Schema(description = "归档编号", example = "ARC2024001") private String archiveCode; @Schema(description = "设计项目ID", example = "1") private Long projectId; @Schema(description = "归档人", example = "1") private Long archiver; @Schema(description = "归档状态", example = "0") private Integer archiveStatus; @Schema(description = "归档时间") private LocalDateTime archiveTime; @Schema(description = "备注", example = "测试备注") private String remark; @Schema(description = "创建者") private String creator; @Schema(description = "创建时间") private LocalDateTime createTime; @Schema(description = "更新人") private String updater; @Schema(description = "更新时间") private LocalDateTime updateTime; // ========== 关联项目字段(XML 查询额外返回) ========== @Schema(description = "产品编码", example = "P001") private String productCode; @Schema(description = "产品名称", example = "注塑产品A") private String productName; @Schema(description = "归档记录数量", example = "3") private Integer archiveCount; private String taskCode; private String taskName; private String archiverNickname; }