# HotelKpiSettingCalculationFactorSettingDTO.java

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

    import cloud.wconnect.commonlib.pojo.dto.jsonview.Views;
    import com.fasterxml.jackson.annotation.JsonView;
    import jakarta.validation.constraints.NotNull;
    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    /**
     * DTO: Hotel KPI Setting Calculation Factor Setting
     *
     * @author zc
     * @date 2024/06/26
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class HotelKpiSettingCalculationFactorSettingDTO {

        /**
         * 分类(1:恒定 2:累加 3:动态 4:独立 5:递减剩余)
         */
        @JsonView(Views.GeneralView.class)
        @NotNull(message = "The category cannot be null")
        private Integer category;

        /**
         * 配置内容 json
         */
        @JsonView(Views.GeneralView.class)
        private String settingValue;
    }