Class: ReservationSpecialMenu

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

Overview

Schema Information

Table name: reservation_special_menus

id                          :bigint           not null, primary key
name                        :string(191)
quantity                    :integer
created_at                  :datetime         not null
updated_at                  :datetime         not null
package_special_menu_id     :bigint
reservation_id              :bigint
reservation_special_menu_id :bigint           not null
restaurant_package_id       :integer

Indexes

index_reservation_special_menus_on_package_special_menu_id  (package_special_menu_id)
index_reservation_special_menus_on_reservation_id           (reservation_id)
index_reservation_special_menus_on_restaurant_package_id    (restaurant_package_id)

Foreign Keys

fk_rails_...  (restaurant_package_id => hh_package_restaurant_packages.id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url