# GmwrHotelKpiConfigSaveDTO.java

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

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

    import jakarta.validation.constraints.NotNull;
    import java.util.List;

    /**
     * DTO: Hotel KPI Config Save DTO
     *
     * @author zc
     * @date 2024/12/30
     */
    @Data
    public class GmwrHotelKpiConfigSaveDTO {

        /**
         * 分类
         */
        @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;

        /**
         * 指标类型
         */
        private List<Integer> metrics;
    }