Class: SpiffRewardThreshold
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- SpiffRewardThreshold
- Includes:
- Models::Auditable
- Defined in:
- app/models/spiff_reward_threshold.rb
Overview
== Schema Information
Table name: spiff_reward_thresholds
Database name: primary
id :integer not null, primary key
max_amount :decimal(12, 2)
min_amount :decimal(12, 2)
reward_amount :decimal(12, 2)
created_at :datetime
updated_at :datetime
spiff_reward_id :integer
Constant Summary
Constants included from Models::Auditable
Models::Auditable::ALWAYS_IGNORED
Belongs to collapse
Methods included from Models::Auditable
Methods included from Models::Auditable
#all_skipped_columns, #audit_reference_data, #should_not_save_version, #stamp_record
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#spiff_reward ⇒ SpiffReward
19 |
# File 'app/models/spiff_reward_threshold.rb', line 19 belongs_to :spiff_reward, optional: true |