<?php
namespace App\Entity;
use App\Repository\OpenDayPersonRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: OpenDayPersonRepository::class)]
#[ORM\HasLifecycleCallbacks]
class OpenDayPerson
{
use \App\Traits\EntityDateTimeAbleTrait;
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')]
private $id;
#[ORM\ManyToOne(targetEntity: OpenDay::class, inversedBy: 'openDayPeople')]
private ?\App\Entity\OpenDay $openDay = null;
#[ORM\ManyToOne(targetEntity: Profile::class, inversedBy: 'openDayPeople')]
private ?\App\Entity\Profile $profile = null;
#[ORM\ManyToOne(inversedBy: 'openDayPeople')]
private ?Campus $campus = null;
#[ORM\Column(nullable: true)]
private ?array $information = null;
public function getId(): ?int
{
return $this->id;
}
public function getOpenDay(): ?OpenDay
{
return $this->openDay;
}
public function setOpenDay(?OpenDay $openDay): self
{
$this->openDay = $openDay;
return $this;
}
public function getProfile(): ?Profile
{
return $this->profile;
}
public function setProfile(?Profile $profile): self
{
$this->profile = $profile;
return $this;
}
public function getCampus(): ?Campus
{
return $this->campus;
}
public function setCampus(?Campus $campus): static
{
$this->campus = $campus;
return $this;
}
public function getInformation(): ?array
{
return $this->information;
}
public function setInformation(?array $information): static
{
$this->information = $information;
return $this;
}
}