<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Repository\BookingPaymentMethodTranslationRepository;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
#[ORM\Entity(repositoryClass:BookingPaymentMethodTranslationRepository::class)]
class BookingPaymentMethodTranslation implements TranslationInterface
{
use TranslationTrait;
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column(type: "integer")]
private $id;
#[ORM\Column(type:"string", length: 255)]
private $title;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
}