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