src/Entity/Main/Textos.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Main;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Textos
  6.  *
  7.  * @ORM\Table(name="textos", indexes={@ORM\Index(name="identificador", columns={"identificador"})})
  8.  * @ORM\Entity(repositoryClass="App\Repository\Main\TextosRepository")
  9.  */
  10. class Textos
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="idText", type="integer", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $idtext;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="titol_ca", type="string", length=255, nullable=false)
  24.      */
  25.     private $titolCa;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="identificador", type="string", length=255, nullable=false)
  30.      */
  31.     private $identificador;
  32.     /**
  33.      * @var int|null
  34.      *
  35.      * @ORM\Column(name="idSeccioTextFK", type="integer", nullable=true)
  36.      */
  37.     private $idsecciotextfk '0';
  38.     /**
  39.      * @var string|null
  40.      *
  41.      * @ORM\Column(name="valor_ca", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  42.      */
  43.     private $valorCa 'NULL';
  44.     /**
  45.      * @var string|null
  46.      *
  47.      * @ORM\Column(name="valor_es", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  48.      */
  49.     private $valorEs 'NULL';
  50.     /**
  51.      * @var string|null
  52.      *
  53.      * @ORM\Column(name="valor_en", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  54.      */
  55.     private $valorEn 'NULL';
  56.     /**
  57.      * @var string|null
  58.      *
  59.      * @ORM\Column(name="valor_ru", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  60.      */
  61.     private $valorRu 'NULL';
  62.     /**
  63.      * @var string|null
  64.      *
  65.      * @ORM\Column(name="valor_de", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  66.      */
  67.     private $valorDe 'NULL';
  68.     /**
  69.      * @var string|null
  70.      *
  71.      * @ORM\Column(name="valor_fr", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  72.      */
  73.     private $valorFr 'NULL';
  74.     /**
  75.      * @var string|null
  76.      *
  77.      * @ORM\Column(name="valor_ch", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  78.      */
  79.     private $valorCh 'NULL';
  80.     /**
  81.      * @var string|null
  82.      *
  83.      * @ORM\Column(name="valor_ar", type="text", length=16777215, nullable=true, options={"default"="NULL"})
  84.      */
  85.     private $valorAr 'NULL';
  86.     /**
  87.      * @var bool|null
  88.      *
  89.      * @ORM\Column(name="html", type="boolean", nullable=true)
  90.      */
  91.     private $html '0';
  92.     public function getIdtext(): ?int
  93.     {
  94.         return $this->idtext;
  95.     }
  96.     public function getTitolCa(): ?string
  97.     {
  98.         return $this->titolCa;
  99.     }
  100.     public function setTitolCa(string $titolCa): self
  101.     {
  102.         $this->titolCa $titolCa;
  103.         return $this;
  104.     }
  105.     public function getIdentificador(): ?string
  106.     {
  107.         return $this->identificador;
  108.     }
  109.     public function setIdentificador(string $identificador): self
  110.     {
  111.         $this->identificador $identificador;
  112.         return $this;
  113.     }
  114.     public function getIdsecciotextfk(): ?int
  115.     {
  116.         return $this->idsecciotextfk;
  117.     }
  118.     public function setIdsecciotextfk(?int $idsecciotextfk): self
  119.     {
  120.         $this->idsecciotextfk $idsecciotextfk;
  121.         return $this;
  122.     }
  123.     public function getValorCa(): ?string
  124.     {
  125.         return $this->valorCa;
  126.     }
  127.     public function setValorCa(?string $valorCa): self
  128.     {
  129.         $this->valorCa $valorCa;
  130.         return $this;
  131.     }
  132.     public function getValorEs(): ?string
  133.     {
  134.         return $this->valorEs;
  135.     }
  136.     public function setValorEs(?string $valorEs): self
  137.     {
  138.         $this->valorEs $valorEs;
  139.         return $this;
  140.     }
  141.     public function getValorEn(): ?string
  142.     {
  143.         return $this->valorEn;
  144.     }
  145.     public function setValorEn(?string $valorEn): self
  146.     {
  147.         $this->valorEn $valorEn;
  148.         return $this;
  149.     }
  150.     public function getValorRu(): ?string
  151.     {
  152.         return $this->valorRu;
  153.     }
  154.     public function setValorRu(?string $valorRu): self
  155.     {
  156.         $this->valorRu $valorRu;
  157.         return $this;
  158.     }
  159.     public function getValorDe(): ?string
  160.     {
  161.         return $this->valorDe;
  162.     }
  163.     public function setValorDe(?string $valorDe): self
  164.     {
  165.         $this->valorDe $valorDe;
  166.         return $this;
  167.     }
  168.     public function getValorFr(): ?string
  169.     {
  170.         return $this->valorFr;
  171.     }
  172.     public function setValorFr(?string $valorFr): self
  173.     {
  174.         $this->valorFr $valorFr;
  175.         return $this;
  176.     }
  177.     public function getValorCh(): ?string
  178.     {
  179.         return $this->valorCh;
  180.     }
  181.     public function setValorCh(?string $valorCh): self
  182.     {
  183.         $this->valorCh $valorCh;
  184.         return $this;
  185.     }
  186.     public function getValorAr(): ?string
  187.     {
  188.         return $this->valorAr;
  189.     }
  190.     public function setValorAr(?string $valorAr): self
  191.     {
  192.         $this->valorAr $valorAr;
  193.         return $this;
  194.     }
  195.     public function isHtml(): ?bool
  196.     {
  197.         return $this->html;
  198.     }
  199.     public function setHtml(?bool $html): self
  200.     {
  201.         $this->html $html;
  202.         return $this;
  203.     }
  204. }