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; /** * @author DongYukun * @Description * @createTime 2024年05月25日 */ @Data @Schema(name = "指标权重") public class IndexEvaluateSystemDTO 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; /** * 父ID */ private String pid; /** * 编码 */ private String code; /** * 评价指标 */ private String evaluateIndex; /** * 权重 */ private Integer weight; /** * 创建人 */ private String creator; /** * 创建时间 */ private String createDate; /** * 更新人 */ private String updater; /** * 更新时间 */ private String updateDate; }