Files
Toiminnanohjaus/app/Modules/Inventory/Application/DTOs/StockTaskContext.php

21 lines
470 B
PHP

<?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,
) {}
}