2017-06-03 16:05:59 +05:30
|
|
|
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
|
2017-07-11 17:05:07 +05:30
|
|
|
has_many :ticket_scannings
|
2017-06-03 16:05:59 +05:30
|
|
|
end
|