# HotelKpiMetricsSetting.java

    package cloud.wconnect.workperformance.entity.hotelkpi;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * Hotel KPI Metrics Setting
     * </p>
     *
     * @author zc
     * @since 2025-01-13
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("hotel_kpi_metrics_setting_v2")
    public class HotelKpiMetricsSetting implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 主键 id
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产 id
         */
        private Integer propertyId;

        /**
         * 日期(yyyy)
         */
        private Long year;

        /**
         * 指标类型
         */
        private Integer metricsType;

        /**
         * 1:Actual 2:Target
         */
        private Integer valueCategory;

        /**
         * 计算因子坐标
         */
        @TableField("`index`")
        private Integer index;

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

        /**
         * 设置信息
         */
        private String detail;

        /**
         * 更新人id
         */
        private Integer updatedBy;

        /**
         * 更新时间
         */
        private Long updatedTime;
    }