package cn.iocoder.yudao.module.mes.controller.admin.qc.ipqc.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; import java.util.List; @Schema(description = "管理后台 - 工序默认质检方案及检测指标 Response VO") @Data public class MesQcIpqcTemplateProcessRespVO { @Schema(description = "工序编号") private Long processId; @Schema(description = "质检种类") private Integer qcType; @Schema(description = "质检方案编号,空=该工序未绑定方案") private Long templateId; @Schema(description = "质检方案编码") private String templateCode; @Schema(description = "质检方案名称") private String templateName; @Schema(description = "检测指标字段") private List indicators; @Data public static class IndicatorItem { @Schema(description = "方案指标项编号") private Long templateIndicatorId; @Schema(description = "检测指标编号") private Long indicatorId; @Schema(description = "检测指标编码") private String indicatorCode; @Schema(description = "检测指标名称") private String indicatorName; @Schema(description = "指标项目类型") private Integer itemType; @Schema(description = "结果值类型") private Integer resultType; @Schema(description = "结果规格(字典/文件等配置)") private String resultSpecification; @Schema(description = "单位文本") private String unitText; @Schema(description = "检测工具") private String tool; @Schema(description = "检测方法") private String checkMethod; @Schema(description = "标准值") private BigDecimal standardValue; @Schema(description = "计量单位编号") private Long unitMeasureId; @Schema(description = "上限") private BigDecimal thresholdMax; @Schema(description = "下限") private BigDecimal thresholdMin; } }