20 lines
436 B
PHP
20 lines
436 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Inventory\Application\DTOs;
|
|
|
|
/**
|
|
* Recorded use or write-off: the movement, the item's name, the quantity
|
|
* taken and the item's new balance (in thousandths).
|
|
*/
|
|
final readonly class StockUseResult
|
|
{
|
|
public function __construct(
|
|
public int $movementId,
|
|
public string $itemName,
|
|
public int $quantityMilli,
|
|
public int $balanceMilli,
|
|
) {}
|
|
}
|