Track machine counters and maintenance with counter and time intervals

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 16:52:49 +02:00
co-authored by Claude Sonnet 5.5
parent aac579257a
commit 3e1c671949
53 changed files with 2636 additions and 6 deletions
@@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace App\Modules\Machines\Application\DTOs;
/**
* A maintenance done, as in a machine's maintenance history. Times are
* "Y-m-d H:i" in the company's time zone.
*/
final readonly class MaintenanceRecordSummary
{
public function __construct(
public int $id,
public int $itemId,
public string $itemName,
public string $performedAt,
public string $userName,
public ?int $readingMilli,
public ?string $note,
public ?string $cancelledAt,
public ?string $cancelledByName,
) {}
}