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,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Inventory\Application\DTOs;
|
||||
|
||||
/**
|
||||
* A job's task as stock sees it: whether material may be recorded on it
|
||||
* (its service unit uses stock, spec 19) and whether its job is locked.
|
||||
*/
|
||||
final readonly class StockTaskContext
|
||||
{
|
||||
public function __construct(
|
||||
public int $taskId,
|
||||
public int $jobId,
|
||||
public string $label,
|
||||
public bool $usesStock,
|
||||
public bool $isLocked,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user