package com.iailab.module.pms.coalquality.modules.detection.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2023年02月07日 17:30:00
|
*/
|
@Data
|
@Schema(description = "介质粉检测")
|
public class QualityMediumDTO 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 = "流水号")
|
private String code;
|
|
@Schema(description = "日期")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private java.util.Date rq;
|
|
@Schema(description = "名称")
|
private String mc;
|
|
@Schema(description = "水分")
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
private BigDecimal sf;
|
|
@Schema(description = "创建人")
|
private String creator;
|
|
@Schema(description = "创建时间")
|
private java.util.Date createDate;
|
|
@Schema(description = "修改人")
|
private String updater;
|
|
@Schema(description = "修改时间")
|
private java.util.Date updateDate;
|
}
|