<?php
namespace App\Entity\Similar;
use App\Repository\Similar\ExecutedProcessRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ExecutedProcessRepository::class)
* @ORM\Table(name="similar_executed")
*/
class ExecutedProcess
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $executedAt;
/**
* @ORM\Column(type="array")
*/
private $persons = [];
public function getId(): ?int
{
return $this->id;
}
public function getExecutedAt(): ?\DateTimeImmutable
{
return $this->executedAt;
}
public function setExecutedAt(\DateTimeImmutable $executedAt): self
{
$this->executedAt = $executedAt;
return $this;
}
public function getPersons(): ?array
{
return $this->persons;
}
public function setPersons(array $persons): self
{
$this->persons = $persons;
return $this;
}
}