# SvaAbnormalThresholdDTO.java

    package cloud.wconnect.workperformance.pojo.dto.sva.abnormalthreshold;

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

    import java.math.BigDecimal;

    /**
     * 异常阈值DTO
     *
     * @author lichen
     * @date 2025/10/24
     */
    @Data
    public class SvaAbnormalThresholdDTO {

        /**
         * 销售差值异常阈值
         */
        @Range(min = 0, max = 9999, message = "the salesDiffAbnormalThreshold must between in [0-9999]")
        private Integer salesDiffAbnormalThreshold;

        /**
         * 工时差值异常阈值
         */
        @DecimalMin(value = "0", message = "the workHourDiffAbnormalThreshold must be greater than or equal to 0")
        @DigitsCustom(integer = 2, message = "the workHourDiffAbnormalThreshold format is incorrect")
        private BigDecimal workHourDiffAbnormalThreshold;

    }