# GmwrHotelKpiSyncDTO.java

    package cloud.wconnect.workperformance.pojo.dto.gmwr.hotelkpi.note;

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    /**
     * DTO: GM Weekly Report Hotel KPI Sync
     *
     * @author zc
     * @date 2024/12/30
     */
    @Data
    public class GmwrHotelKpiSyncDTO {

        /**
         * 指标类型
         */
        @NotNull(message = "The category cannot be null")
        @Range(min = 1, max = 3, message = "The category must in [1:Revenue 2:Expense 3:Quality & Service]")
        private Integer category;
    }