Sha256: 444af07919e8ac245db3f5a1ac074d921e76c90d9197bc6d4b6ce4b4aeafd976

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

class RESO::Property::UnitType < ApplicationRecord
  self.table_name = 'reso_property_unit_types'

  belongs_to :property

  has_one :unit_type_type_assignment, as: :enumerable
  has_one :unit_type_type, through: :unit_type_type_assignment, source: :enumeration, class_name: "RESO::Lookup::UnitTypeType"

end

Version data entries

1 entries across 1 versions & 1 rubygems

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