class TheatreSkipEvent < ApplicationRecord
  belongs_to :theatre
  belongs_to :post
  belongs_to :skipped_by_user, class_name: 'User'

  has_many :voters, class_name: 'TheatreSkipEventVoter', dependent: :delete_all
  has_many :event_tags, class_name: 'TheatreSkipEventTag', dependent: :delete_all
  has_many :users, through: :voters
  has_many :tags, through: :event_tags
end
