Class: BookingGroup

Inherits:
SlotGroup
  • Object
show all
Defined in:
app/models/booking_group.rb

Overview

A kind of SlotGroup that relates to Bookings so that batch operations can 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("0"), not null
ends_on    :date             not null
created_at :datetime         not null
updated_at :datetime         not null
type       :string           not null