Everyone sees their open tasks on an agenda, their open jobs, this week's hours and quick links. Admin and management also get a lazily loaded management panel: things to do, the month so far against the previous month, jobs and late work, and everyone's workload. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
21 lines
402 B
PHP
21 lines
402 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Dashboard\Application\DTOs;
|
|
|
|
use App\Modules\Dashboard\Domain\ValueObjects\Workload;
|
|
|
|
/**
|
|
* A person's workload this week and next week.
|
|
*/
|
|
final readonly class PersonLoad
|
|
{
|
|
public function __construct(
|
|
public int $userId,
|
|
public string $name,
|
|
public Workload $thisWeek,
|
|
public Workload $nextWeek,
|
|
) {}
|
|
}
|