package com.iailab.module.pms.coalquality.modules.detection.dto; 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.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * 煤质检测 * * @author PanZhibao * @Description * @createTime 2023年02月07日 13:19:00 */ @Data @Schema(description = "煤质检测") public class QualityDetectionDTO 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 rglid; @Schema(description = "流水号") private String code; @Schema(description = "煤质检测类型") private String type; @Schema(description = "日期") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private java.util.Date rq; @Schema(description = "班次") private String bc; @Schema(description = "班次") @Dict(dicCode = "bc", itemValue = "bc") private String bcName; @Schema(description = "采样时间") private java.util.Date cysj; @Schema(description = "采样点") private String cyd; @Schema(description = "采样点") @Dict(dicCode = "cyd", itemValue = "cyd") private String cydName; @Schema(description = "产量") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal cl; @Schema(description = "采样数量") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal cysl; @Schema(description = "化验时间") private java.util.Date hysj; @Schema(description = "煤种") private String mz; @Schema(description = "煤种") @Dict(dicCode = "ymmz,cpmz,spmz", itemValue = "mz") private String mzName; @Schema(description = "灰分Ad%") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal hf; @Schema(description = "水分Mt%") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal sf; @Schema(description = "硫份St,d%") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal lf; @Schema(description = "挥发分Vdaf%") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal hff; @Schema(description = "粘结GR.I") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal nj; @Schema(description = "胶质层Y(㎜)GR.I") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal jzc; @Schema(description = "发热量(cal/g)") @JsonFormat(shape = JsonFormat.Shape.STRING) private BigDecimal frl; @Schema(description = "中损") private BigDecimal zs; @Schema(description = "矸损") private BigDecimal gs; @Schema(description = "压滤煤泥灰分Ad%") private BigDecimal ylmnHf; @Schema(description = "备注") private String bz; @Schema(description = "创建人") private String creator; @Schema(description = "创建时间") private Date createDate; @Schema(description = "修改人") private String updater; @Schema(description = "修改时间") private java.util.Date updateDate; }