src/Entity/Configurator/FontColorTranslation.php line 15

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Configurator;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Sylius\Component\Resource\Model\AbstractTranslation;
  6. use Sylius\Component\Resource\Model\ResourceInterface;
  7. /**
  8.  * @ORM\Entity
  9.  * @ORM\Table(name="app_configurator_font_color_translation")
  10.  */
  11. class FontColorTranslation extends AbstractTranslation implements ResourceInterface
  12. {
  13.     /**
  14.      * @ORM\Id()
  15.      * @ORM\GeneratedValue()
  16.      * @ORM\Column(type="integer")
  17.      */
  18.     protected ?int $id null;
  19.     /**
  20.      * @ORM\Column(type="string", name="meta_title", nullable=true)
  21.      */
  22.     protected ?string $metaTitle null;
  23.     /**
  24.      * @return mixed
  25.      */
  26.     public function getId()
  27.     {
  28.         return $this->id;
  29.     }
  30.     /**
  31.      * @param mixed $id
  32.      */
  33.     public function setId($id): void
  34.     {
  35.         $this->id $id;
  36.     }
  37.     /**
  38.      * @return string
  39.      */
  40.     public function getMetaTitle(): ?string
  41.     {
  42.         return $this->metaTitle;
  43.     }
  44.     /**
  45.      * @param string $metaTitle
  46.      */
  47.     public function setMetaTitle(?string $metaTitle): void
  48.     {
  49.         $this->metaTitle $metaTitle;
  50.     }
  51. }