Sha256: 42ac53c340d1176e80b4d71ceb3f488c1783babd5c9efce4abdf6b6b6f420f88

Contents?: true

Size: 509 Bytes

Versions: 17

Compression:

Stored size: 509 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-1.3.0 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-1.2.0 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-1.1.1 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-1.1.0 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-1.0.0 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.7.5 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.7.4 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.7.3 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.7.2 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.7.1 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.7.0 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.6.3 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.6.2 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.6.1 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.6.0 lib/dear_inventory/models/inventory_movement.rb
dear_inventory-0.5.0 lib/dear_inventory/models/inventory_movement.rb