<?phpnamespace App\Entity;use App\Entity\Enum\ProfilingType;use App\Repository\ProfilingPersonRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ProfilingPersonRepository::class)]class ProfilingPerson{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private $id; #[ORM\Column(type: 'text', nullable: true)] private $comment; #[ORM\ManyToOne(targetEntity: Person::class, inversedBy: 'profilingPersons')] #[ORM\JoinColumn(nullable: false)] private $person; #[ORM\ManyToOne(targetEntity: Season::class, inversedBy: 'profilingPersons')] #[ORM\JoinColumn(nullable: false)] private $season; #[ORM\ManyToOne(targetEntity: Profiling::class, inversedBy: 'profilingPersons')] private $profiling; #[ORM\Column(type: 'string', length: 20, enumType: ProfilingType::class)] private $type; public function getId(): ?int { return $this->id; } public function getComment(): ?string { return $this->comment; } public function setComment(?string $comment): self { $this->comment = $comment; return $this; } public function getPerson(): ?Person { return $this->person; } public function setPerson(?Person $person): self { $this->person = $person; return $this; } public function getSeason(): ?Season { return $this->season; } public function setSeason(?Season $season): self { $this->season = $season; return $this; } public function getProfiling(): ?Profiling { return $this->profiling; } public function setProfiling(?Profiling $profiling): self { $this->profiling = $profiling; return $this; } public function getType(): ?ProfilingType { return $this->type; } public function setType(ProfilingType $type): self { $this->type = $type; return $this; } public function __clone() { $this->id = null; $this->comment = null; $this->season = null; $this->profiling = null; }}