Files
petriandClaude Sonnet 5.5 487a7d34ba Replace the demo home page with a dashboard
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]>
2026-11-25 09:20:02 +02:00

29 lines
677 B
PHP

<?php
declare(strict_types=1);
namespace App\Modules\Jobs\Application\DTOs;
use App\Modules\Jobs\Domain\Enums\TaskStatus;
/**
* A task that is not done, on a job that is not archived, with its dates
* (Y-m-d) and its assignee.
*/
final readonly class OpenTask
{
public function __construct(
public int $taskId,
public int $jobId,
public string $jobNumber,
public string $jobName,
public string $title,
public TaskStatus $status,
public ?string $dueOn,
public ?string $plannedFrom,
public ?string $plannedTo,
public ?int $assigneeUserId,
public ?string $assigneeName,
) {}
}