1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/models/event_price_category.rb
2016-08-29 11:09:36 +02:00

10 lines
204 B
Ruby

class EventPriceCategory < ActiveRecord::Base
belongs_to :event
belongs_to :price_category
has_many :tickets
validates :price_category_id, presence: true
validates :amount, presence: true
end