Class: HotelInformation

Inherits:
ApplicationRecord show all
Defined in:
app/models/hotel_information.rb

Overview

Schema Information

Table name: hotel_informations

id                         :bigint           not null, primary key
available_rooms            :string(191)      not null
average_room_rate_cents    :integer          default(0), not null
average_room_rate_currency :string(191)      default("THB"), not null
brand                      :string(191)      not null
name                       :string(191)
on_site_restaurants        :string(191)      not null
start_rating               :integer
created_at                 :datetime         not null
updated_at                 :datetime         not null
restaurant_id              :bigint

Indexes

index_hotel_informations_on_restaurant_id  (restaurant_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url