吴羡
52 分钟以前 3d416372d21acb1a554e4e3eb96e2f9dead6d5a4
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package cn.iocoder.yudao.module.mes.controller.admin.dc.record.vo;
 
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.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 采集记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MesDcRecordRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "采集设备ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long deviceId;
 
    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "DC001")
    @ExcelProperty("设备编号")
    private String deviceCode;
 
    @Schema(description = "设备名称", example = "一车间鸡爪计数器")
    @ExcelProperty("设备名称")
    private String deviceName;
 
    @Schema(description = "生产工单ID", example = "2048")
    private Long workOrderId;
 
    @Schema(description = "生产工单编号", example = "WO202611100001")
    @ExcelProperty("生产工单编号")
    private String workOrderCode;
 
    @Schema(description = "产品ID", example = "88")
    private Long productId;
 
    @Schema(description = "产品编码", example = "P001")
    @ExcelProperty("产品编码")
    private String productCode;
 
    @Schema(description = "产品名称", example = "自热火锅")
    @ExcelProperty("产品名称")
    private String productName;
 
    @Schema(description = "生产批次号", example = "B20261110001")
    @ExcelProperty("生产批次号")
    private String batchCode;
 
    @Schema(description = "设备侧记录序号", example = "0001")
    @ExcelProperty("设备记录序号")
    private String recordNo;
 
    @Schema(description = "本次采集数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "12")
    @ExcelProperty("采集数量")
    private Integer quantity;
 
    @Schema(description = "设备累计数量", example = "1234")
    private Integer totalQuantity;
 
    @Schema(description = "本次重量(g)", example = "3500.50")
    @ExcelProperty("重量(g)")
    private BigDecimal weight;
 
    @Schema(description = "设备累计重量(g)", example = "123456.70")
    private BigDecimal totalWeight;
 
    @Schema(description = "设备采集时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("采集时间")
    private LocalDateTime recordTime;
 
    @Schema(description = "服务器接收时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("接收时间")
    private LocalDateTime receiveTime;
 
    @Schema(description = "是否在线实时上报", example = "true")
    private Boolean online;
 
    @Schema(description = "上报方式", example = "在线")
    @ExcelProperty("上报方式")
    private String onlineName;
 
    @Schema(description = "记录状态:0 正常 / 1 已更正 / 2 已作废", example = "0")
    private Integer status;
 
    @Schema(description = "记录状态名称", example = "正常")
    @ExcelProperty("记录状态")
    private String statusName;
 
    @Schema(description = "更正前的原始数量", example = "11")
    @ExcelProperty("原始数量")
    private Integer originalQuantity;
 
    @Schema(description = "更正/作废原因", example = "设备误计数,按实际数量更正")
    @ExcelProperty("更正/作废原因")
    private String correctReason;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "原始上报报文")
    private String rawData;
 
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
 
}