Sha256: 2c0dd320be60a23e7181d297a4481055cb3679a94cd6e09560d841c30db400be

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

class RESO::Property::Structure < ApplicationRecord
  self.table_name = 'reso_property_structures'

  belongs_to :property

  has_one :year_built_source_assignment, as: :enumerable
  has_one :year_built_source, through: :year_built_source_assignment, source: :enumeration, class_name: "RESO::Lookup::YearBuiltSource"

  has_one :performance
  has_one :room
end

Version data entries

1 entries across 1 versions & 1 rubygems

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