2024-01-16 20:54:44 -06:00
|
|
|
class Employer < ApplicationRecord
|
|
|
|
has_many :participants
|
|
|
|
has_many :workers, through: :participants
|
|
|
|
# Association with Vendor if needed
|
2024-01-29 22:04:56 -06:00
|
|
|
|
|
|
|
def full_name
|
|
|
|
"#{first_name} #{last_name}"
|
|
|
|
end
|
|
|
|
|
2024-01-16 20:54:44 -06:00
|
|
|
end
|
|
|
|
|