Class: QeAccessStatistic
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- QeAccessStatistic
- Defined in:
- app/models/qe_access_statistic.rb
Overview
== Schema Information
Table name: qe_access_statistics
Database name: primary
id :integer not null, primary key
access_type :string(255)
referer :string(255)
created_at :datetime
updated_at :datetime
qe_data_statistic_id :integer
quick_estimator_id :integer
Indexes
index_qe_access_statistics_on_access_type (access_type)
index_qe_access_statistics_on_qe_data_statistics_id (qe_data_statistic_id)
index_qe_access_statistics_on_quick_estimator_id (quick_estimator_id)
Constant Summary
Constants included from Schedulable
Schedulable::SIMPLE_FORM_OPTIONS
Instance Attribute Summary collapse
- #access_type ⇒ Object readonly
- #quick_estimator_id ⇒ Object readonly
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Schedulable
Methods included from Models::AfterCommittable
Methods included from Models::EventPublishable
Instance Attribute Details
#access_type ⇒ Object (readonly)
24 |
# File 'app/models/qe_access_statistic.rb', line 24 validates :quick_estimator_id, :access_type, presence: true |
#quick_estimator_id ⇒ Object (readonly)
24 |
# File 'app/models/qe_access_statistic.rb', line 24 validates :quick_estimator_id, :access_type, presence: true |
Instance Method Details
#qe_data_statistic ⇒ QeDataStatistic
23 |
# File 'app/models/qe_access_statistic.rb', line 23 belongs_to :qe_data_statistic, optional: true |
#quick_estimator ⇒ QuickEstimator
22 |
# File 'app/models/qe_access_statistic.rb', line 22 belongs_to :quick_estimator, optional: true |