# HotelKpiV2ComparisonRuleDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hotelkpi.kpiv2;

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    /**
     * DTO: Hotel KPI Comparison Rule
     *
     * @author zc
     * @date 2025/08/19
     */
    @Data
    public class HotelKpiV2ComparisonRuleDTO {
        /**
         * 是否开启：true: 开启; false: 关闭
         */
        @NotNull(message = "The on cannot be null")
        private Boolean on;

        /**
         * Budget Chg
         */
        private HotelKpiV2ComparisonRuleDetailDTO budgetChg;

        /**
         * LY Chg
         */
        private HotelKpiV2ComparisonRuleDetailDTO lyChg;

        /**
         * Actual Greater Last is good or bad
         */
        private String actualGreaterLast;
    }