# OverBalanceConfigDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.guestledgercheck;

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import lombok.Data;

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

    /**
     * @author zc
     * @date 2023/12/14
     */
    @Data
    public class OverBalanceConfigDTO {

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