Athena.Inventory.Movement (athena_logistics v1.0.0)

Movement Model

Link to this section Summary

Link to this section Types

@type t() :: %Athena.Inventory.Movement{
  __meta__: term(),
  amount: pos_integer(),
  destination_location:
    Ecto.Schema.belongs_to(Athena.Inventory.Location.t() | nil),
  destination_location_id: term(),
  event: Ecto.Schema.has_one(Athena.Inventory.Event.t()),
  id: term(),
  inserted_at: DateTime.t(),
  item: Ecto.Schema.belongs_to(Athena.Inventory.Item.t()),
  item_group: Ecto.Schema.has_one(Athena.Inventory.ItemGroup.t()),
  item_id: term(),
  source_location: Ecto.Schema.belongs_to(Athena.Inventory.Location.t() | nil),
  source_location_id: term(),
  updated_at: DateTime.t()
}