Files
2026-11-26 16:18:59 +02:00

24 lines
597 B
PHP

<?php
declare(strict_types=1);
namespace App\Modules\Inventory\Application\DTOs;
/**
* Stock used (käyttö) as entered: the quantity as typed and what it was
* used for; use without a target needs a reason.
*/
final readonly class StockUseData
{
public function __construct(
public int $itemId,
public string $quantity,
public ?int $taskId = null,
public ?int $jobId = null,
public ?int $machineId = null,
public ?int $orderLineId = null,
public ?int $maintenanceRecordId = null,
public ?string $reason = null,
) {}
}