<?phpdeclare(strict_types=1);namespace App\Entity;use Doctrine\ORM\Mapping as ORM;use Ksante\CoreBundle\Entity\Channel;use Ksante\CoreBundle\Entity\Traits\TimestampableTrait;use Symfony\Component\Serializer\Annotation\Groups;/** * @ORM\Entity() * * @ORM\Table(name="ksante_appointment_resume") * * @ORM\HasLifecycleCallbacks() */class AppointmentResume{ use TimestampableTrait; /** * @ORM\Id * * @ORM\GeneratedValue * * @ORM\Column(type="integer") * * @Groups({"CustomerGroup"}) */ private $id; /** * @ORM\Column(type="string", nullable=false) */ private string $resume = ''; /** * @ORM\ManyToOne(targetEntity=Channel::class) * * @ORM\JoinColumn(nullable=false) */ private ?Channel $channel; /** * @ORM\ManyToOne(targetEntity=Customer::class, inversedBy="appointmentsResume") * * @ORM\JoinColumn(nullable=false) */ private ?Customer $customer; /** * @ORM\ManyToOne(targetEntity=Diet::class, inversedBy="appointmentsResume") * * @ORM\JoinColumn(nullable=false) */ private ?Diet $diet; public function getId(): ?int { return $this->id; } public function getResume(): string { return $this->resume; } public function setResume(string $resume): self { $this->resume = $resume; return $this; } public function getChannel(): ?Channel { return $this->channel; } public function setChannel(?Channel $channel): self { $this->channel = $channel; return $this; } public function getCustomer(): ?Customer { return $this->customer; } public function setCustomer(?Customer $customer): self { $this->customer = $customer; return $this; } public function getDiet(): ?Diet { return $this->diet; } public function setDiet(?Diet $diet): self { $this->diet = $diet; return $this; }}