# HistoryRateNHoursManual.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 java.math.BigDecimal;
    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_n_hours_manual")
    public class HistoryRateNHoursManual 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;

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

        /**
         * YYYYMMDD
         */
        private Integer targetDate;

        /**
         * 0-23
         */
        private Integer hour;

        /**
         * 平台id
         */
        private Integer platformId;

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

        /**
         * 税前最低房价
         */
        private BigDecimal rate;

        /**
         * 税后最低房价
         */
        private BigDecimal afterTaxRate;

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

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