Varios cambios Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #25
21 lines
416 B
PHP
21 lines
416 B
PHP
<?php
|
|
namespace Incoviba\Model;
|
|
|
|
use Incoviba\Common\Ideal;
|
|
|
|
class Job extends Ideal\Model
|
|
{
|
|
public array $configuration;
|
|
public bool $executed = false;
|
|
public int $retries = 0;
|
|
|
|
protected function jsonComplement(): array
|
|
{
|
|
return [
|
|
'configuration' => $this->configuration,
|
|
'executed' => $this->executed,
|
|
'retries' => $this->retries
|
|
];
|
|
}
|
|
}
|