Class: Slot

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/slot.rb

Overview

The abstract concept of a Slot, which can be specialized in FreeSlots or Bookings.

Schema Information

Table name: slots

id                 :integer          not null, primary key
capacity           :integer          default("1")
min_booking_length :integer          default("15")
created_at         :datetime         not null
updated_at         :datetime         not null
slot_group_id      :integer
color              :integer          not null
type               :string           not null
provider_id        :integer
booking_state_id   :integer
period_id          :integer          not null
affiliation_id     :integer
free_slot_id       :integer

Direct Known Subclasses

Booking, FreeSlot