src/Entity/Similar/ExecutedProcess.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Similar;
  3. use App\Repository\Similar\ExecutedProcessRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ExecutedProcessRepository::class)
  7.  * @ORM\Table(name="similar_executed")
  8.  */
  9. class ExecutedProcess
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="datetime_immutable")
  19.      */
  20.     private $executedAt;
  21.     /**
  22.      * @ORM\Column(type="array")
  23.      */
  24.     private $persons = [];
  25.     public function getId(): ?int
  26.     {
  27.         return $this->id;
  28.     }
  29.     public function getExecutedAt(): ?\DateTimeImmutable
  30.     {
  31.         return $this->executedAt;
  32.     }
  33.     public function setExecutedAt(\DateTimeImmutable $executedAt): self
  34.     {
  35.         $this->executedAt $executedAt;
  36.         return $this;
  37.     }
  38.     public function getPersons(): ?array
  39.     {
  40.         return $this->persons;
  41.     }
  42.     public function setPersons(array $persons): self
  43.     {
  44.         $this->persons $persons;
  45.         return $this;
  46.     }
  47. }