23 lines
486 B
PHP
23 lines
486 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Inventory\Application\DTOs;
|
|
|
|
use App\Modules\Inventory\Domain\Enums\StockUnit;
|
|
|
|
/**
|
|
* A default material suggested on a task, waiting to be confirmed.
|
|
*/
|
|
final readonly class TaskMaterialSuggestion
|
|
{
|
|
public function __construct(
|
|
public int $id,
|
|
public int $taskId,
|
|
public int $stockItemId,
|
|
public string $itemName,
|
|
public StockUnit $unit,
|
|
public int $quantityMilli,
|
|
) {}
|
|
}
|