24 lines
670 B
PHP
24 lines
670 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Queries\Dashboard;
|
|
|
|
use Carbon\CarbonPeriod;
|
|
|
|
final readonly class GetBoDashboardQueryOutput
|
|
{
|
|
/**
|
|
* @param array<int, array{previous: int|float, current: int|float, diff: int|float}> $statsShop
|
|
* @param array<int, array{previous: int|float, current: int|float, diff: int|float}> $statsCustomer
|
|
*/
|
|
public function __construct(
|
|
public int $employeeCount,
|
|
public int $customersLinkedToEmployeeCount,
|
|
public float | int $adhesion,
|
|
public ?CarbonPeriod $prevDates = null,
|
|
public array $statsShop = [],
|
|
public array $statsCustomer = [],
|
|
) {
|
|
}
|
|
}
|