# HotelKpiYearly.java

    package cloud.wconnect.workperformance.entity.hotelkpi;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.*;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * Hotel KPI Yearly
     * </p>
     *
     * @author zc
     * @since 2024-06-24
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("hotel_kpi_yearly_v2")
    public class HotelKpiYearly 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;

        private String detail;
    }