# HistoryBARRateNHours.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个时刻的历史BAR房价
     * </p>
     *
     * @author lichen
     * @since 2024-05-14
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("history_bar_rate_n_hours")
    public class HistoryBARRateNHours implements Serializable {

        private static final long serialVersionUID = 1L;

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

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

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

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

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

        /**
         * YYYYMMDD
         */
        private Integer targetDate;

        /**
         * [{		hour: 0-23,		platformId: 平台id,		datasourceId: 数据源id（1: google）,		price: “该平台最低价（无关房型）”,	 queryDate:查询时刻},]
         */
        private String data;

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

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