Sha256: ac849122a6d93279539984f481dea77dade3be4e4d67e582a16a6fc79740b6c7

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

# frozen_string_literals: true

module Jobshop
  class RFQLine < ApplicationRecord
    self.primary_keys = %i[ organization_id rfq_id rfq_line_id ]

    belongs_to :organization

    belongs_to :rfq, inverse_of: :rfq_lines,
      foreign_key: %i[ organization_id rfq_id ]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jobshop-0.0.167 app/models/jobshop/rfq_line.rb
jobshop-0.0.163 app/models/jobshop/rfq_line.rb