Class: InstalledItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- InstalledItem
- Defined in:
- app/models/installed_item.rb
Overview
== Schema Information
Table name: installed_items
Database name: primary
id :integer not null, primary key
after_mohm :string(255)
after_ohm :string(255)
before_mohm :string(255)
before_ohm :string(255)
during_mohm :string(255)
during_ohm :string(255)
qc_mohm :string(255)
qc_ohm :string(255)
serial_number :string(255)
created_at :datetime not null
updated_at :datetime not null
creator_id :integer
item_id :integer
room_configuration_id :integer
updater_id :integer
zone_id :string(255)
Indexes
index_installed_items_on_room_configuration_id (room_configuration_id)
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#room_configuration ⇒ RoomConfiguration
30 |
# File 'app/models/installed_item.rb', line 30 belongs_to :room_configuration, optional: true |