Class: BookingGroup
- Inherits:
-
SlotGroup
- Object
- ActiveRecord::Base
- SlotGroup
- BookingGroup
- Includes:
- ActiveSupport::Callbacks
- Defined in:
- app/models/booking_group.rb
Overview
This is an implementation of SlotGroup; it represents a group of recurring Bookings, allowing for batch operations to be performed on them.
Schema Information
Table name: slot_groups
id :integer not null, primary key
monday :boolean default("false"), not null
tuesday :boolean default("false"), not null
wednesday :boolean default("false"), not null
thursday :boolean default("false"), not null
friday :boolean default("false"), not null
saturday :boolean default("false"), not null
sunday :boolean default("false"), not null
weekly :boolean default("false"), not null
monthly :boolean default("false"), not null
capacity :integer default("1"), not null
ends_on :date
created_at :datetime not null
updated_at :datetime not null
type :string not null
starts_at :datetime not null
ends_at :datetime not null
provider_id :integer
affiliation_id :integer
free_slot_group_id :integer