# OccJumpAlertFilterConfigDTO.java

    package cloud.wconnect.rateshop.pojo.dto.revenue;

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotNull;
    import java.math.BigDecimal;

    /**
     * @author zc
     * @date 2024/04/16
     */
    @Data
    public class OccJumpAlertFilterConfigDTO {

        /**
         * 最小差值
         */
        @NotNull(message = "The minValue is required")
        @DigitsCustom(integer = 3, message = "The minValue is wrong format")
        @Range(min = -100, max = 100, message = "The minValue must be between -100 and 100")
        private BigDecimal minValue;

        /**
         * 最大差值
         */
        @NotNull(message = "The maxValue is required")
        @DigitsCustom(integer = 3, message = "The maxValue is wrong format")
        @Range(min = -100, max = 100, message = "The maxValue must be between -100 and 100")
        private BigDecimal maxValue;
    }