Its been a while
CI / scan_ruby (push) Failing after 2m13s
CI / lint (push) Failing after 20s

This commit is contained in:
Jason Jordan
2026-07-23 10:41:46 -04:00
parent 16fadfd529
commit 9853d58469
83 changed files with 1978 additions and 243 deletions
+19
View File
@@ -0,0 +1,19 @@
module Baclight
class Broker < BaclightRecord
self.table_name = 'Brokers'
belongs_to :baclight_carrier, class_name: "Baclight::Carrier", foreign_key: "carrier_id"
has_many :baclight_employers, class_name: "Baclight::Employer", foreign_key: "broker_id", primary_key: "id"
has_many :baclight_members,
through: :baclight_employers,
source: :baclight_member
alias_attribute :id, :id
alias_attribute :name, :name
alias_attribute :carrier_id, :carrier_id
alias_attribute :created_at, :created_at
alias_attribute :updated_at, :updated_at
end
end