# HkEfficiency.java

    package cloud.wconnect.workperformance.entity.hkefficiency;

    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.*;
    import lombok.experimental.Accessors;

    import java.io.Serializable;
    import java.math.BigDecimal;

    /**
     * <p>
     * 实体类：Housekeeping Efficiency
     * </p>
     *
     * @author zc
     * @since 2023-03-29
     */
    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("hk_efficiency")
    public class HkEfficiency implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * property id
         */
        @TableField("hotel_id")
        private Integer propertyId;

        /**
         * 月开始日
         */
        private Long startOfMonth;

        /**
         * 指定日期
         */
        private Long theDate;

        /**
         * Rms Rented
         */
        private Integer roomsRented;

        /**
         * Hours worked
         */
        private BigDecimal hoursWorked;

        /**
         * Retro
         */
        private BigDecimal retro;

        /**
         * Temp Hours
         */
        private BigDecimal tempHours;

        /**
         * Adjust Hours
         */
        private BigDecimal adjustHours;

        /**
         * Explanation from Hotel about Variance
         */
        private String explanation;

        /**
         * 修改人
         */
        private Integer updatedBy;

        /**
         * 修改时间
         */
        private Long updatedTime;

        /**
         * 数据来源1-PDF 2-CSV 3-M3 API 4-Other
         */
        private Integer datasource;

        public HkEfficiency(int propertyId, long startOfMontTime, long theDate, int updatedBy, long updatedTime) {
            this.propertyId = propertyId;
            this.startOfMonth = startOfMontTime;
            this.theDate = theDate;
            this.updatedBy = updatedBy;
            this.updatedTime = updatedTime;
        }
    }