Record used material on tasks and suggest workflow steps' default materials
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Inventory\Application\DTOs;
|
||||
|
||||
use App\Modules\Inventory\Domain\Enums\StockUnit;
|
||||
|
||||
/**
|
||||
* A default material suggested on a task, waiting to be confirmed.
|
||||
*/
|
||||
final readonly class TaskMaterialSuggestion
|
||||
{
|
||||
public function __construct(
|
||||
public int $id,
|
||||
public int $taskId,
|
||||
public int $stockItemId,
|
||||
public string $itemName,
|
||||
public StockUnit $unit,
|
||||
public int $quantityMilli,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user