class Employer < ApplicationRecord has_many :participants has_many :workers, through: :participants has_many :employer_records has_many :participants, through: :employer_records # Association with Vendor if needed def full_name "#{first_name} #{last_name}" end end