liyong
5 天以前 9b386ddaa6c8892d346d1e09b8bea20cb9000f58
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
84
85
86
87
package cn.iocoder.yudao.module.mes.controller.admin.qc.pendinginspect.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 待检任务 Response VO")
@Data
public class MesQcPendingInspectRespVO {
 
    @Schema(description = "来源单据类型(MesBizTypeConstants)", example = "100")
    private Integer sourceDocType;
 
    @Schema(description = "来源单据 ID", example = "100")
    private Long sourceDocId;
 
    @Schema(description = "来源单据行 ID", example = "200")
    private Long sourceLineId;
    @Schema(description = "来源单据编号", example = "AN2025001")
    private String sourceDocCode;
 
    @Schema(description = "检验类型(MesQcTypeEnum)", example = "1")
    private Integer qcType;
 
    // ========== 物料 ==========
 
    @Schema(description = "物料 ID", example = "10")
    private Long itemId;
 
    @Schema(description = "物料编码", example = "ITEM001")
    private String itemCode;
 
    @Schema(description = "物料名称", example = "物料A")
    private String itemName;
 
    @Schema(description = "规格型号", example = "100mm*50mm")
    private String specification;
 
    @Schema(description = "单位名称", example = "个")
    private String unitName;
 
    // ========== 数量 ==========
 
    @Schema(description = "待检数量", example = "100.00")
    private BigDecimal quantity;
 
    // ========== 供应商(IQC 场景) ==========
 
    @Schema(description = "供应商 ID", example = "5")
    private Long vendorId;
 
    @Schema(description = "供应商名称", example = "供应商A")
    private String vendorName;
 
    // ========== 工单/工作站/任务(IPQC/RQC 场景) ==========
 
    @Schema(description = "生产工单 ID", example = "10")
    private Long workOrderId;
 
    @Schema(description = "工作站 ID", example = "20")
    private Long workstationId;
 
    @Schema(description = "工作站名称", example = "工作站A")
    private String workstationName;
 
    @Schema(description = "生产任务 ID", example = "30")
    private Long taskId;
 
    @Schema(description = "生产任务编码", example = "TASK2025001")
    private String taskCode;
 
    // ========== 客户(OQC/RQC 场景) ==========
 
    @Schema(description = "客户 ID", example = "40")
    private Long clientId;
 
    @Schema(description = "客户名称", example = "客户A")
    private String clientName;
 
    // ========== 时间 ==========
 
    @Schema(description = "记录时间")
    private LocalDateTime recordTime;
 
}