Class: RestaurantInfo

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

Overview

Schema Information

Table name: restaurant_infos

id                     :bigint           not null, primary key
covid_safety           :boolean          default(FALSE)
has_delivery_inventory :boolean          default(FALSE)
has_dine_in_inventory  :boolean          default(FALSE)
my_mooban_vr_link      :string(191)
overall_cleanliness    :decimal(10, 2)   default(0.0)
social_distancing      :decimal(10, 2)   default(0.0)
staff_protection       :decimal(10, 2)   default(0.0)
created_at             :datetime         not null
updated_at             :datetime         not null
restaurant_id          :bigint

Indexes

index_restaurant_infos_on_restaurant_id  (restaurant_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url