Class: AdaptivePointsRatio

Inherits:
ApplicationRecord show all
Defined in:
app/models/adaptive_points_ratio.rb

Overview

Schema Information

Table name: adaptive_points_ratios

id            :bigint           not null, primary key
baht_value    :integer
campaign_name :string(191)
campaign_type :string(191)
created_by    :string(191)
end_date      :datetime
is_active     :boolean          default(TRUE)
points_value  :integer
start_date    :datetime
created_at    :datetime         not null
updated_at    :datetime         not null
campaign_id   :bigint

Indexes

index_adaptive_points_ratios_on_campaign_type_and_campaign_id  (campaign_type,campaign_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url