# RevenueHistoryAndForecast.java

    package cloud.wconnect.rateshop.entity.revenue;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.ToString;
    import lombok.experimental.Accessors;

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

    /**
     * <p>
     *
     * </p>
     *
     * @author lichen
     * @since 2025-08-05
     */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("revenue_history_and_forecast")
    public class RevenueHistoryAndForecast implements Serializable {

        private static final long serialVersionUID = 1L;

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

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

        /**
         * 数据日期（yyyyMMdd）
         */
        private Integer targetDate;

        /**
         * Occupany
         */
        private BigDecimal occPercent;

        /**
         * Sold Rooms
         */
        private Integer soldRooms;

        /**
         * Transient Room Number
         */
        private Integer transientRoomNum;

        /**
         * Group Room Number
         */
        private Integer groupRoomNum;

        /**
         * AVERAGE ROOM RATE
         */
        private BigDecimal adr;

        /**
         * 更新人
         */
        private Integer updateBy;

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