# ActualTargetDTO.java

    package cloud.wconnect.workperformance.pojo.dto.scorecardgm;

    import lombok.Data;

    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.NotNull;
    import java.util.List;

    /**
     * DTO: Calculation Result
     *
     * @author yyt
     * 2023/10/5
     */
    @Data
    public class ActualTargetDTO {

        /**
         * 指标内容
         */
        @Valid
        @NotEmpty(message = "the configList must not be empty")
        private List<UpdateItemDTO> configList;

        /**
         * 要计算的指标 id
         */
        @NotNull(message = "the targetId must no be null")
        private Integer targetId;

    }