# HotelKpiSettingRuleQuery.java

    package cloud.wconnect.workperformance.pojo.query.hotelkpi.old;

    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotNull;

    /**
     * Query: Hotel KPI Setting Rule
     *
     * @author zc
     * @date 2025/01/14
     */
    @Data
    public class HotelKpiSettingRuleQuery {

        /**
         * 指标类型
         */
        @NotNull(message = "The metricsType cannot be null")
        @Range(min = 1, max = 29, message = "The metricsType must be in [1 - 29]")
        private Integer metricsType;

        /**
         * 1:Actual 2:Target
         */
        @NotNull(message = "The valueCategory cannot be null")
        @Range(min = 1, max = 2, message = "The valueCategory must be in [1:Actual 2:Target]")
        private Integer valueCategory;

    }