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,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Catalog\Application\DTOs;
|
||||
|
||||
/**
|
||||
* A default material of a workflow step: a stock item and its quantity in
|
||||
* thousandths of the item's unit.
|
||||
*/
|
||||
final readonly class WorkflowStepMaterialSummary
|
||||
{
|
||||
public function __construct(
|
||||
public int $stockItemId,
|
||||
public int $quantityMilli,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user