package com.iailab.module.prod.dto; import com.iailab.framework.common.validation.group.AddGroup; import com.iailab.framework.common.validation.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.util.Date; /** * @author PanZhibao * @Description * @createTime 2024年05月14日 */ @Data @Schema(name = "日产品产量") public class PrdDayProdDTO implements Serializable { private static final long serialVersionUID = 1L; @Schema(name = "id") @Null(message="{id.null}", groups = AddGroup.class) @NotNull(message="{id.require}", groups = UpdateGroup.class) private String id; private String rq; private double rawCoal; private double mixedCoal; private double mediumCoal; private double smallCoal; private double gangue; private Date createDate; private Date updateDate; }