liyong
2026-07-03 7085354cb7e6283f72e99d7eff8e73b8c7ba0cb9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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
 * <p>
 * 在归档台账字段基础上,额外包含关联项目的产品编码、产品名称。
 * 用于 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;
 
}