package com.iailab.module.pms.coalquality.modules.plan.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.List; /** * @author PanZhibao * @Description * @createTime 2023年02月04日 14:54:00 */ @Data @Schema(description = "质量计划") public class QualityPlanDTO 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 = "名称") private String name; @Schema(description = "计划类型") private String planType; @Schema(description = "煤类型") private String coalType; @Schema(description = "时间") private String sj; @Schema(description = "备注") private String bz; @Schema(description = "创建人") private String creator; @Schema(description = "创建时间") private java.util.Date createDate; @Schema(description = "修改人") private String updater; @Schema(description = "修改时间") private java.util.Date updateDate; @Schema(description = "详情") private List detList; }