Add stock items, groups and movements at a moving average cost
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Inventory\Application\DTOs;
|
||||
|
||||
/**
|
||||
* A stock item's details as entered: the unit key and the reorder level
|
||||
* as typed ("2,5"; empty for none).
|
||||
*/
|
||||
final readonly class StockItemData
|
||||
{
|
||||
public function __construct(
|
||||
public int $groupId,
|
||||
public string $name,
|
||||
public string $unit,
|
||||
public ?string $code = null,
|
||||
public ?string $supplier = null,
|
||||
public string $reorderLevel = '',
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user