mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-15 00:24:09 +01:00
12 lines
239 B
Ruby
12 lines
239 B
Ruby
# frozen_string_literal: true
|
|
|
|
# TrainingsPricing configures the price of a Training session, per Group
|
|
class TrainingsPricing < ApplicationRecord
|
|
belongs_to :training
|
|
belongs_to :group
|
|
|
|
def amount_by_plan(plan)
|
|
amount
|
|
end
|
|
end
|