# HistoryRateNextNDays.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>
     * 酒店当日的未来N天的历史房价
     * </p>
     *
     * @author lichen
     * @since 2024-03-25
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("history_rate_next_n_days")
    public class HistoryRateNextNDays implements Serializable {

        private static final long serialVersionUID = 1L;

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

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

        /**
         * 币种id
         */
        private Integer currencyId;

        /**
         * YYYYMMDD(抓取时间戳在服务器时区下的)
         */
        private Integer version;

        /**
         * [{
    	checkInDate: “YYYYMMDD”,
    	platformId: 平台id,
    	datasourceId: 数据源id（1: google）,
    	price: “该平台最低价（无关房型）”
        }]
         */
        private String data;

        /**
         * 销售地区。us：美国 tw：台湾
         */
        private String pos;

        /**
         * [{uid: 1, timestamp:11111},…]
         */
        private String updateLog;
    }