25 lines
536 B
PHP
25 lines
536 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Reports\Application\DTOs;
|
|
|
|
use App\Modules\Inventory\Application\DTOs\StockValueEntry;
|
|
|
|
/**
|
|
* The stock value report of a day: the items, their total value in cents
|
|
* and those to order.
|
|
*/
|
|
final readonly class StockValueReportData
|
|
{
|
|
/**
|
|
* @param list<StockValueEntry> $items
|
|
* @param list<StockValueEntry> $toOrder
|
|
*/
|
|
public function __construct(
|
|
public array $items,
|
|
public int $totalCents,
|
|
public array $toOrder,
|
|
) {}
|
|
}
|