initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Integration;
|
||||
|
||||
use Carbon\CarbonInterface;
|
||||
|
||||
readonly class MachineStatusSnapshot
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $metadata
|
||||
*/
|
||||
public function __construct(
|
||||
public string $status,
|
||||
public ?CarbonInterface $lastHeartbeat = null,
|
||||
public array $metadata = [],
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user