Class: HhPackage::KidsPrice

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

Overview

Schema Information

Table name: hh_package_kids_prices

id                       :bigint           not null, primary key
package_type             :string(191)
policy                   :string(255)
price_cents              :integer          default(0), not null
price_currency           :string(191)      default("THB")
hh_package_kids_price_id :bigint           not null
package_id               :bigint

Indexes

index_hh_package_kids_prices_on_package_type_and_package_id  (package_type,package_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url