Class: AddOns::KidsPrice

Inherits:
ApplicationRecord show all
Extended by:
Enumerize
Includes:
IdentityCache
Defined in:
app/models/add_ons/kids_price.rb

Overview

Schema Information

Table name: add_on_kids_prices

id                   :bigint           not null, primary key
policy               :text(65535)
price_cents          :integer          default(0), not null
price_currency       :string(191)      default("THB"), not null
created_at           :datetime         not null
updated_at           :datetime         not null
add_on_id            :bigint

Indexes

index_add_on_kids_prices_on_add_on_id  (add_on_id)

Foreign Keys

fk_rails_...  (add_on_id => add_ons.id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url