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
72
73
74
75
76
77
78
79
80
81
82
83
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 cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 归档台账 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MesPdArchiveRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "归档编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "ARC2024001")
    @ExcelProperty("归档编号")
    private String archiveCode;
 
    @Schema(description = "设计项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long projectId;
 
    @Schema(description = "任务编码", example = "PD2024001")
    @ExcelProperty("任务编码")
    private String taskCode;
 
    @Schema(description = "任务名称", example = "新产品设计任务")
    @ExcelProperty("任务名称")
    private String taskName;
 
    @Schema(description = "产品编码", example = "P001")
    @ExcelProperty("产品编码")
    private String productCode;
 
    @Schema(description = "产品名称", example = "注塑产品A")
    @ExcelProperty("产品名称")
    private String productName;
 
    @Schema(description = "归档记录数量", example = "3")
    private Integer archiveCount;
 
    @Schema(description = "归档人", example = "1")
    private Long archiver;
 
    @Schema(description = "归档人名称", example = "王五")
    @ExcelProperty("归档人")
    private String archiverNickname;
 
    @Schema(description = "归档状态", example = "0")
    @ExcelProperty(value = "归档状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_PD_ARCHIVE_STATUS)
    private Integer archiveStatus;
 
    @Schema(description = "归档时间")
    @ExcelProperty("归档时间")
    private LocalDateTime archiveTime;
 
    @Schema(description = "备注", example = "测试备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
    @Schema(description = "更新人", example = "1")
    private String updater;
 
    @Schema(description = "更新人名称", example = "李四")
    @ExcelProperty("更新人")
    private String updaterNickname;
 
    @Schema(description = "更新时间")
    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;
 
}