Make quick sale products on machines as orders paid when ready
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\Machines\Domain\Contracts;
|
||||
|
||||
use App\Modules\Machines\Domain\ValueObjects\ProductionStep;
|
||||
|
||||
interface ProductionProcessRepository
|
||||
{
|
||||
/**
|
||||
* Replaces the product's production process; no steps removes it.
|
||||
*
|
||||
* @param list<ProductionStep> $steps
|
||||
*/
|
||||
public function replace(int $productId, array $steps): void;
|
||||
}
|
||||
Reference in New Issue
Block a user