Management's reports (spec 13) get their own module that reads the other modules through ports. The first report sums hours by person in a period, narrowed by service unit or customer, with breakdowns, a chart and CSV. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
28 lines
666 B
PHP
28 lines
666 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Reports\Application\DTOs;
|
|
|
|
/**
|
|
* One row of the hours report: a person's hours on a job's work type, in
|
|
* quarter hours.
|
|
*/
|
|
final readonly class HoursLine
|
|
{
|
|
public function __construct(
|
|
public int $userId,
|
|
public string $userName,
|
|
public int $jobId,
|
|
public string $jobNumber,
|
|
public string $jobName,
|
|
public string $customerName,
|
|
public bool $isInternal,
|
|
public string $workTypeName,
|
|
public string $serviceUnitName,
|
|
public int $quarters,
|
|
public int $unapprovedQuarters,
|
|
public int $billedQuarters,
|
|
) {}
|
|
}
|