| | |
| | | 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 |
| | |
| | | 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 = "流水号") |
| | |
| | | private String bc; |
| | | |
| | | @Schema(description = "班次") |
| | | @Dict(dicCode = "bc", itemValue = "bc") |
| | | private String bcName; |
| | | |
| | | @Schema(description = "采样点") |
| | | private String cyd; |
| | | |
| | | @Schema(description = "采样点") |
| | | @Dict(dicCode = "cyd", itemValue = "cyd") |
| | | private String cydName; |
| | | |
| | | @Schema(description = "采样时间") |
| | | private java.util.Date cysj; |
| | | @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8") |
| | | private Date cysj; |
| | | |
| | | @Schema(description = "化验时间") |
| | | private java.util.Date hysj; |
| | | @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8") |
| | | private Date hysj; |
| | | |
| | | @Schema(description = "采样数量") |
| | | private BigDecimal cysl; |