Class: PackagePaymentType

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

Overview

Schema Information

Table name: package_payment_types

id                         :bigint           not null, primary key
created_at                 :datetime         not null
updated_at                 :datetime         not null
hh_package_package_attr_id :bigint
payment_type_id            :bigint

Indexes

index_package_payment_types_on_hh_package_package_attr_id  (hh_package_package_attr_id)
index_package_payment_types_on_payment_type_id             (payment_type_id)
package_payment_index                                      (payment_type_id,hh_package_package_attr_id) UNIQUE

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url