Sha256: 9372ffdc5fc6a614d2663e5a0c677fd2f95aba65aca8b2d0b22635cb3255bfda

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

class RESO::Property < ApplicationRecord

  self.table_name = 'reso_properties'

  has_one :property_sub_type_assignment, as: :enumerable
  has_one :property_sub_type, through: :property_sub_type_assignment, source: :enumeration, class_name: "RESO::Lookup::PropertySubType"

  has_one :business
  has_one :characteristic
  has_one :equipment
  has_one :farming
  has_one :financial
  has_one :hoa, class_name: "HOA"
  has_one :location
  has_one :listing
  has_one :occupant_owner
  has_one :structure
  has_one :tax
  has_one :unit_type
  has_one :utility

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reso-0.2.2 lib/reso/app/models/reso/property.rb