Sha256: 8bb5cde28da9e9565b2b2640d9403971df541ae5806bd158404c9b0d643b2076

Contents?: true

Size: 602 Bytes

Versions: 6

Compression:

Stored size: 602 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Purchases < DearInventory::Model
      class InventoryMovement < DearInventory::Model
        extend T::Sig

        fields(
          TaskID: {
            name: :task_id,
            type: :Guid,
          },
          ProductID: {
            name: :product_id,
            type: :Guid,
          },
          Date: {
            name: :date,
            type: :Date,
          },
          COGS: {
            name: :cogs,
            type: :BigDecimal,
          }
        )
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/purchases/inventory_movement.rb
dear_inventory-1.3.0 lib/dear_inventory/models/purchases/inventory_movement.rb
dear_inventory-1.2.0 lib/dear_inventory/models/purchases/inventory_movement.rb
dear_inventory-1.1.1 lib/dear_inventory/models/purchases/inventory_movement.rb
dear_inventory-1.1.0 lib/dear_inventory/models/purchases/inventory_movement.rb
dear_inventory-1.0.0 lib/dear_inventory/models/purchases/inventory_movement.rb