# SalesConfigUpdateTargetDTO.java

    package cloud.wconnect.workperformance.pojo.dto.saleskpi.config;

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import jakarta.validation.constraints.DecimalMin;
    import jakarta.validation.constraints.Digits;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    import java.math.BigDecimal;

    /**
     * DTO: Sales Config Update Target
     *
     * @author zc
     * @date 2023/09/07
     */
    @Data
    public class SalesConfigUpdateTargetDTO {

        /**
         * Target value
         */
        @NotNull(message = "The value cannot be null")
        @DigitsCustom(integer = 8, message = "The value is wrong format")
        @DecimalMin(value = "0", message = "The value must be greater than 0")
        private BigDecimal value;
    }