mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +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
|