Class: QeDataStatistic
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- QeDataStatistic
- Defined in:
- app/models/qe_data_statistic.rb
Overview
== Schema Information
Table name: qe_data_statistics
Database name: primary
id :integer not null, primary key
application_type :string(255)
coverage_state :string(255) default("0"), not null
expansion_joint_spacing :decimal(8, 2)
heating_system_type_code :string(255)
zone_length :decimal(8, 2)
zone_sqft :decimal(8, 2)
zone_width :decimal(8, 2)
catalog_id :integer
floor_type_id :integer
Indexes
index_qe_data_statistics_on_application_type (application_type)
index_qe_data_statistics_on_catalog_id (catalog_id)
index_qe_data_statistics_on_coverage_state (coverage_state)
index_qe_data_statistics_on_floor_type_id (floor_type_id)
index_qe_data_statistics_on_heating_system_type_code (heating_system_type_code)
Constant Summary
Constants included from Models::Schedulable
Models::Schedulable::SIMPLE_FORM_OPTIONS
Has one collapse
Instance Method Summary collapse
- #expansion_joint_spacing_defined? ⇒ Boolean
- #length_defined? ⇒ Boolean
- #sqft_defined? ⇒ Boolean
- #width_defined? ⇒ Boolean
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::Schedulable
Methods included from Models::AfterCommittable
Methods included from Models::EventPublishable
Instance Method Details
#expansion_joint_spacing_defined? ⇒ Boolean
53 54 55 |
# File 'app/models/qe_data_statistic.rb', line 53 def expansion_joint_spacing_defined? expansion_joint_spacing? end |
#length_defined? ⇒ Boolean
48 49 50 |
# File 'app/models/qe_data_statistic.rb', line 48 def length_defined? length? end |
#qe_access_statistic ⇒ QeAccessStatistic
28 |
# File 'app/models/qe_data_statistic.rb', line 28 has_one :qe_access_statistic |
#sqft_defined? ⇒ Boolean
38 39 40 |
# File 'app/models/qe_data_statistic.rb', line 38 def sqft_defined? sqft? end |
#width_defined? ⇒ Boolean
43 44 45 |
# File 'app/models/qe_data_statistic.rb', line 43 def width_defined? width? end |