package com.iailab.module.pms.coalquality.modules.analysis.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.iailab.framework.common.validation.group.AddGroup; import com.iailab.framework.common.validation.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.io.Serializable; import java.math.BigDecimal; /** * @author PanZhibao * @Description * @createTime 2023年01月12日 17:17:00 */ @Data @Schema(description = "全级浮沉实验数据") public class CoalAnalysisFullDetDTO implements Serializable { private static final long serialVersionUID = 1L; @Schema(description = "id") @Null(message="{id.null}", groups = AddGroup.class) @NotNull(message="{id.require}", groups = UpdateGroup.class) private String id; @Schema(description = "全级浮沉实验ID") private String fullId; @Schema(description = "编号") private String code; @Schema(description = "密度级") private String mdj; @Schema(description = "密度级") private String mdjName; @Schema(description = "重量") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal zl; @Schema(description = "产率") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal cl; @Schema(description = "灰分") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal hf; @Schema(description = "硫分") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal lf; @Schema(description = "浮物累计产率") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal fwljcl; @Schema(description = "浮物累计灰分") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal fwljhf; @Schema(description = "沉物累计产率") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal cwljcl; @Schema(description = "沉物累计灰分") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal cwljhf; }