package com.iailab.module.pms.coalquality.modules.detection.dto;
|
|
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.util.List;
|
|
/**
|
* @author DongYukun
|
* @Description
|
* @createTime 2023年12月27日 9:53:00
|
*/
|
@Data
|
@Schema(description = "快速检查")
|
public class QualityQuickDTO {
|
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 lsh;
|
|
@Schema(description = "采样时间")
|
private java.util.Date datetime;
|
|
@Schema(description = "煤种")
|
private String mz;
|
|
@Schema(description = "煤种")
|
@Dict(dicCode = "ymmz", itemValue = "mz")
|
private String mzName;
|
|
@Schema(description = "快速检查详情")
|
private List<QualityQuickItemDTO> itemList;
|
|
}
|