# BudgetDTO.java

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

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

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

    /**
     * DTO: Budget
     *
     * @author yyt
     * 2023/10/26
     */
    @Data
    public class BudgetDTO {

        /**
         * 对应 OTB Revenue 列
         */
        @DigitsCustom(integer = 10, message = "the roomRevenue is wrong format")
        @Min(value = 0, message = "the roomRevenue min value is 0")
        private BigDecimal roomRevenue;

        /**
         * 对应 OTB Occ% 列
         */
        @DigitsCustom(integer = 6, message = "the occPercent is wrong format")
        @Min(value = 0, message = "the occPercent min value is 0")
        private BigDecimal occPercent;

        /**
         * 对饮 OTB ADR 列
         */
        @DigitsCustom(integer = 10, message = "the adr is wrong format")
        @Min(value = 0, message = "the adr min value is 0")
        private BigDecimal adr;

        /**
         * 对应 RevPar 列
         */
        private BigDecimal revPar;

        /**
         * 对应 OTB Revenue 列（Banquet Revenue）
         */
        @DigitsCustom(integer = 10, message = "the banquetRevenue is wrong format")
        @Min(value = 0, message = "the banquetRevenue min value is 0")
        private BigDecimal banquetRevenue;

        /**
         * F&B OTB Revenue
         */
        @DigitsCustom(integer = 10, message = "the fbOtbRevenue is wrong format")
        @Min(value = 0, message = "the fbOtbRevenue min value is 0")
        private BigDecimal fbOtbRevenue;

    }