| | |
| | | package com.iailab.module.pms.coalquality.modules.wash.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; |
| | | |
| | |
| | | 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 = "年月") |
| | |
| | | @Schema(description = "煤种") |
| | | private String mz; |
| | | |
| | | @Dict(dicCode = "ymmz", itemValue = "mz") |
| | | @Schema(description = "煤种") |
| | | private String mzName; |
| | | |