src/Entity/Main/ApiPropertiesSupertypeI18n.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ApiPropertiesSupertypeI18n
  6.  *
  7.  * @ORM\Table(name="api_properties_supertype_i18n")
  8.  * @ORM\Entity(repositoryClass="App\Repository\Main\ApiPropertiesSupertypeI18nRepository")
  9.  */
  10. class ApiPropertiesSupertypeI18n
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="NONE")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="cod_lang", type="string", length=6, nullable=false)
  24.      * @ORM\Id
  25.      * @ORM\GeneratedValue(strategy="NONE")
  26.      */
  27.     private $codLang;
  28.     /**
  29.      * @var string|null
  30.      *
  31.      * @ORM\Column(name="text_seo", type="string", length=255, nullable=true, options={"default"="NULL"})
  32.      */
  33.     private $textSeo 'NULL';
  34.     /**
  35.      * @var string|null
  36.      *
  37.      * @ORM\Column(name="text", type="string", length=255, nullable=true, options={"default"="NULL"})
  38.      */
  39.     private $text 'NULL';
  40.     /**
  41.      * @var string|null
  42.      *
  43.      * @ORM\Column(name="friendly", type="string", length=255, nullable=true, options={"default"="NULL"})
  44.      */
  45.     private $friendly 'NULL';
  46.     public function getId(): ?int
  47.     {
  48.         return $this->id;
  49.     }
  50.     public function getCodLang(): ?string
  51.     {
  52.         return $this->codLang;
  53.     }
  54.     public function getTextSeo(): ?string
  55.     {
  56.         return $this->textSeo;
  57.     }
  58.     public function setTextSeo(?string $textSeo): self
  59.     {
  60.         $this->textSeo $textSeo;
  61.         return $this;
  62.     }
  63.     public function getText(): ?string
  64.     {
  65.         return $this->text;
  66.     }
  67.     public function setText(?string $text): self
  68.     {
  69.         $this->text $text;
  70.         return $this;
  71.     }
  72.     public function getFriendly(): ?string
  73.     {
  74.         return $this->friendly;
  75.     }
  76.     public function setFriendly(?string $friendly): self
  77.     {
  78.         $this->friendly $friendly;
  79.         return $this;
  80.     }
  81. }