# HotelKpiSettingRuleQuery.java

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

    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")
        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;

    }