Track machine counters and maintenance with counter and time intervals
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Modules\Machines\Application\Contracts;
|
||||
|
||||
/**
|
||||
* Records the stock used at a maintenance through the Inventory module.
|
||||
*/
|
||||
interface MaintenanceMaterials
|
||||
{
|
||||
/**
|
||||
* @return bool False when the stock could not be recorded (e.g. the item is out of use).
|
||||
*/
|
||||
public function use(int $stockItemId, int $quantityMilli, int $machineId, int $maintenanceRecordId, int $userId): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user