# HotelKpiCalculationFactorDTO.java

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

    import cloud.wconnect.workperformance.pojo.dto.hotelkpi.internal.crawl.value.v1.HotelKpiCrawlValueIndexDTO;
    import com.google.common.collect.Lists;
    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;

    import java.math.BigDecimal;
    import java.util.List;

    /**
     * DTO: Hotel KPI Calculation Factor
     *
     * @author zc
     * @date 2024/06/30
     */
    @Data
    @Builder
    @AllArgsConstructor
    public class HotelKpiCalculationFactorDTO {

        /**
         * 索引
         */
        private Integer index;

        /**
         * 采集数值结果
         */
        private BigDecimal crawl;

        /**
         * 设置分类：1:恒定 2:累加 3:动态 4:独立 5:递减剩余
         */
        private Integer settingCategory;

        /**
         * 采集原始数值
         */
        private List<HotelKpiCrawlValueIndexDTO> crawlOrigin;

        public HotelKpiCalculationFactorDTO() {
            this.crawlOrigin = Lists.newArrayList();
        }
    }