Class: SpiffRewardThreshold

Inherits:
ApplicationRecord show all
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

Constants included from Schedulable

Schedulable::SIMPLE_FORM_OPTIONS

Belongs to collapse

Methods included from Models::Auditable

#creator, #updater

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 Schedulable

config

Methods included from Models::AfterCommittable

#after_commit

Methods included from Models::EventPublishable

#publish_event

Instance Method Details

#spiff_rewardSpiffReward



18
# File 'app/models/spiff_reward_threshold.rb', line 18

belongs_to :spiff_reward, optional: true