Sha256: 558ceb7918f0b26f385afc76b40cd271ea20347f9c451392ebb66a3168e31f73
Contents?: true
Size: 840 Bytes
Versions: 1
Compression:
Stored size: 840 Bytes
Contents
class RESO::Lookup::CompensationType < RESO::Enumeration has_one :buyer_agency_compensation_type_assignment, foreign_key: :enumeration_id has_one :sub_agency_compensation_type_assignment, foreign_key: :enumeration_id has_one :transaction_broker_compensation_type_assignment, foreign_key: :enumeration_id has_one :reso_property_listing_compensation, through: :buyer_agency_compensation_type_assignment, source: :enumerable, source_type: "RESO::Property::Listing::Compensation" has_one :reso_property_listing_compensation, through: :sub_agency_compensation_type_assignment, source: :enumerable, source_type: "RESO::Property::Listing::Compensation" has_one :reso_property_listing_compensation, through: :transaction_broker_compensation_type_assignment, source: :enumerable, source_type: "RESO::Property::Listing::Compensation" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reso-0.2.2 | lib/reso/app/models/reso/lookup/compensation_type.rb |