<?php
/**
* Tłumaczenia dla Country
*/
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;use Knp\DoctrineBehaviors\Contract\Entity\SoftDeletableInterface;
use Knp\DoctrineBehaviors\Model\SoftDeletable\SoftDeletableTrait;
use Knp\DoctrineBehaviors\Contract\Entity\TimestampableInterface;
use Knp\DoctrineBehaviors\Model\Timestampable\TimestampableTrait;
use Knp\DoctrineBehaviors\Contract\Entity\BlameableInterface;
use Knp\DoctrineBehaviors\Model\Blameable\BlameableTrait;
use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;
use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;
/**
* @Doctrine\ORM\Mapping\Entity
* @Doctrine\ORM\Mapping\Table(name="payment_method_translation")
*/
class PaymentMethodTranslation implements TranslationInterface, BlameableInterface, TimestampableInterface, SoftDeletableInterface {
use TranslationTrait;
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue
*/
private ?int $id = null;
use BlameableTrait;
use TimestampableTrait;
use SoftDeletableTrait;
/**
* @Doctrine\ORM\Mapping\Column(type="string", length=255)
*/
protected $name;
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true)
*/
protected $content;
/**
* @Doctrine\ORM\Mapping\Column(type="text", nullable=true, name="description")
*/
protected $description;
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
* @return null
*/
public function setName($name)
{
$this->name = $name;
}
public function getId(): ?int
{
return $this->id;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(?string $content): self
{
$this->content = $content;
return $this;
}
/**
* @return mixed
*/
public function getDescription()
{
return $this->description;
}
/**
* @param mixed $description
*/
public function setDescription($description): void
{
$this->description = $description;
}
}