Sha256: e66d8c85123d0681ac7bed90d805261765080e3d40f2ab575f009ce026c46d18

Contents?: true

Size: 283 Bytes

Versions: 3

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

module Vindi
  # Bill Item
  #
  # @example
  #
  #   bill = Vindi::Bill.find(1)
  #   bill_items = bill.items
  #
  class BillItem < Model
    belongs_to :product
    belongs_to :product_item
    belongs_to :discount

    # has_many :usages
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rvindi-0.0.3 lib/vindi/models/bill_item.rb
vindi-hermes-0.0.2 lib/vindi/models/bill_item.rb
vindi-hermes-0.0.1 lib/vindi/models/bill_item.rb