<?php
namespace App\Entity;
use App\Repository\AbstractOptionReservationRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\InheritanceType("SINGLE_TABLE")
* @ORM\DiscriminatorColumn(name="discr", type="string")
*/
class AbstractOptionReservation
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
protected $id;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $commentary;
public function getId(): ?int
{
return $this->id;
}
public function getCommentary(): ?string
{
return $this->commentary;
}
public function setCommentary(?string $commentary): self
{
$this->commentary = $commentary;
return $this;
}
}