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
package cn.iocoder.yudao.module.mes.controller.admin.qc.template.vo.indicator;
 
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 MesQcTemplateIndicatorRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "质检方案ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long templateId;
 
    @Schema(description = "质检指标ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long indicatorId;
 
    @Schema(description = "检测方法", example = "目视检查外观")
    @ExcelProperty("检测方法")
    private String checkMethod;
 
    @Schema(description = "标准值", example = "10.0000")
    @ExcelProperty("标准值")
    private BigDecimal standardValue;
 
    @Schema(description = "计量单位ID", example = "1")
    private Long unitMeasureId;
 
    @Schema(description = "误差上限", example = "10.5000")
    @ExcelProperty("误差上限")
    private BigDecimal thresholdMax;
 
    @Schema(description = "误差下限", example = "9.5000")
    @ExcelProperty("误差下限")
    private BigDecimal thresholdMin;
 
    @Schema(description = "说明图URL", example = "https://example.com/doc.png")
    private String docUrl;
 
    @Schema(description = "备注", example = "备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
    // ========== JOIN mes_qc_indicator ==========
 
    @Schema(description = "检测项编码", example = "QI001")
    @ExcelProperty("检测项编码")
    private String indicatorCode;
 
    @Schema(description = "检测项名称", example = "长度")
    @ExcelProperty("检测项名称")
    private String indicatorName;
 
    @Schema(description = "检测项类型", example = "1")
    @ExcelProperty("检测项类型")
    private Integer indicatorType;
 
    @Schema(description = "检测工具", example = "卡尺")
    @ExcelProperty("检测工具")
    private String indicatorTool;
 
    // ========== JOIN mes_md_unit_measure ==========
 
    @Schema(description = "计量单位名称", example = "mm")
    @ExcelProperty("单位")
    private String unitMeasureName;
 
}