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,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Inventory\Application\DTOs;
|
||||
|
||||
/**
|
||||
* Stock used (käyttö) as entered: the quantity as typed and what it was
|
||||
* used for; use without a target needs a reason.
|
||||
*/
|
||||
final readonly class StockUseData
|
||||
{
|
||||
public function __construct(
|
||||
public int $itemId,
|
||||
public string $quantity,
|
||||
public ?int $taskId = null,
|
||||
public ?int $jobId = null,
|
||||
public ?int $machineId = null,
|
||||
public ?int $orderLineId = null,
|
||||
public ?int $maintenanceRecordId = null,
|
||||
public ?string $reason = null,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user