osem-fcy/app/models/physical_ticket.rb
2017-07-11 17:05:07 +05:30

7 lines
242 B
Ruby

class PhysicalTicket < ActiveRecord::Base
belongs_to :ticket_purchase
has_one :ticket, through: :ticket_purchase
has_one :conference, through: :ticket_purchase
has_one :user, through: :ticket_purchase
has_many :ticket_scannings
end