mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
9 lines
315 B
Ruby
9 lines
315 B
Ruby
# frozen_string_literal: true
|
|
|
|
# PlansAvailability is the relation table between a Plan and an Availability.
|
|
# An Availability which is associated with a Plan can only be booked by members having subscribed to this Plan.
|
|
class PlansAvailability < ApplicationRecord
|
|
belongs_to :plan
|
|
belongs_to :availability
|
|
end
|