Class: DigitalAssetProductLine
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- DigitalAssetProductLine
- Defined in:
- app/models/digital_asset_product_line.rb
Overview
== Schema Information
Table name: digital_asset_product_lines
Database name: primary
id :integer not null, primary key
position :integer not null
created_at :datetime not null
updated_at :datetime not null
digital_asset_id :integer not null
product_line_id :integer not null
Indexes
by_daid_plid (digital_asset_id,product_line_id)
index_digital_asset_product_lines_on_product_line_id (product_line_id)
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::EventPublishable
Instance Method Details
#digital_asset ⇒ DigitalAsset
19 |
# File 'app/models/digital_asset_product_line.rb', line 19 belongs_to :digital_asset, :inverse_of => :digital_asset_product_lines, optional: true |
#product_line ⇒ ProductLine
20 |
# File 'app/models/digital_asset_product_line.rb', line 20 belongs_to :product_line, :inverse_of => :digital_asset_product_lines, optional: true |