# HotelKpiComparisonRuleDTO.java

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

    import lombok.Data;

    import jakarta.validation.constraints.NotNull;

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

        /**
         * Actual Greater Target is good or bad
         */
        private String actualGreaterTarget;

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