# HistoryRatePropertyMapping.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 java.io.Serializable;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.experimental.Accessors;

    /**
     * <p>
     *
     * </p>
     *
     * @author lichen
     * @since 2024-03-25
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("history_rate_property_mapping")
    public class HistoryRatePropertyMapping implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * 租户id
         */
        private Integer tenantId;

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

        /**
         * 酒店id
         */
        private Integer hotelId;

        /**
         * YYYYMMDD
         */
        private Integer targetDate;

        /**
         * 外键history_rate_next_n_days.id
         */
        private Long rate14Id;

        /**
         * 房价类型1-早鸟价 2-BAR房价
         */
        private Integer rateType;
    }