<?php
namespace App\Entity\Similar;
use App\Repository\Similar\ProcessedPersonRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ProcessedPersonRepository::class)
*/
class ProcessedPerson
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="datetime_immutable")
*/
private $generatedAt;
/**
* @ORM\Column(type="json")
*/
private $persons = [];
public function getId(): ?int
{
return $this->id;
}
public function getGeneratedAt(): ?\DateTimeImmutable
{
return $this->generatedAt;
}
public function setGeneratedAt(\DateTimeImmutable $generatedAt): self
{
$this->generatedAt = $generatedAt;
return $this;
}
public function getPersons(): ?array
{
return $this->persons;
}
public function setPersons(array $persons): self
{
$this->persons = $persons;
return $this;
}
}