ldc-cocotte/app/Cqs/Queries/Dashboard/GetBoDashboardQueryOutput.php
Jérémy Munsch d0efb0f527
refactor: update namespaces for actions and queries
Refactored the codebase to change the namespaces of various actions and queries from `App\Actions` to `App\Cqs\Actions` and `App\Queries` to `App\Cqs\Queries`. This restructuring improves organization and clarity in the codebase.
2026-11-10 15:13:26 +01:00

24 lines
674 B
PHP

<?php
declare(strict_types=1);
namespace App\Cqs\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 = [],
) {
}
}