From 3f07ab2e03e501ae55d1d1b0d031daf50c8e13e5 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期二, 10 十二月 2024 17:27:44 +0800 Subject: [PATCH] common依赖排除父类 --- iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickItemDTO.java | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickItemDTO.java b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickItemDTO.java new file mode 100644 index 0000000..30914b2 --- /dev/null +++ b/iailab-xmc-pms-biz/src/main/java/com/iailab/module/pms/coalquality/modules/detection/dto/QualityQuickItemDTO.java @@ -0,0 +1,86 @@ +package com.iailab.module.pms.coalquality.modules.detection.dto; + +import com.alibaba.excel.annotation.ExcelIgnore; +import com.alibaba.excel.annotation.ExcelProperty; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.iailab.iems.common.annotation.Dict; +import com.iailab.iems.common.validator.group.AddGroup; +import com.iailab.iems.common.validator.group.UpdateGroup; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Null; +import java.math.BigDecimal; + +/** + * @author DongYukun + * @Description + * @createTime 2023年12月27日 9:53:00 + */ +@Data +@Schema(description = "生产快速检查详情") +public class QualityQuickItemDTO { + + private static final long serialVersionUID = 1L; + + @Schema(description = "id") + @Null(message="{id.null}", groups = AddGroup.class) + @NotNull(message="{id.require}", groups = UpdateGroup.class) + @ExcelIgnore + private String id; + + @Schema(description = "流水号") + @ExcelIgnore + private String lsh; + + @Schema(description = "压力") + @ExcelProperty(index = 1) + private BigDecimal yl; + + @Schema(description = "密度") + @JsonFormat(shape = JsonFormat.Shape.STRING) + @ExcelProperty(index = 2) + private BigDecimal md; + + @Schema(description = "项目") + @ExcelIgnore + private String xm; + + @Schema(description = "项目名称") + @Dict(dicCode = "sckjxm", itemValue = "xm") + @ExcelProperty(index = 0) + private String xmName; + + @Schema(description = "灰分") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal hf; + + @Schema(description = "硫分") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal lf; + + @Schema(description = "-1.4浮沉灰分") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal hf1; + + @Schema(description = "-1.4浮沉产率") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal cl1; + + @Schema(description = "1.4-1.8浮沉灰分") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal hf2; + + @Schema(description = "1.4-1.8浮沉产率") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal cl2; + + @Schema(description = "+1.8浮沉灰分") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal hf3; + + @Schema(description = "+1.8浮沉产率") + @JsonFormat(shape = JsonFormat.Shape.STRING) + private BigDecimal cl3; +} -- Gitblit v1.9.3