# HotelKpiExplainValueDTO.java

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

    import cloud.wconnect.workperformance.pojo.dto.hotelkpi.old.kpi.HotelKpiCalculationFactorValueDTO;
    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import org.apache.commons.compress.utils.Lists;

    import java.util.List;

    /**
     * DTO: Hotel KPI Explain Value
     *
     * @author zc
     * @date 2024/06/24
     */
    @Data
    @Builder
    @AllArgsConstructor
    public class HotelKpiExplainValueDTO {

        /**
         * 公式
         */
        private String formula;

        /**
         * 计算因子
         */
        private List<HotelKpiCalculationFactorValueDTO> calculationFactor;

        /**
         * 计算因子详情（前 N 周的计算因子）
         */
        private List<HotelKpiPreviousWeeksCalculationFactorDTO> calculationFactorDetail;

        /**
         * 当计算因子分母等于 0 时，显示的内容
         */
        private String valueContent;

        public HotelKpiExplainValueDTO() {
            this.calculationFactor = Lists.newArrayList();
        }
    }