vendor/theatre/core/src/Entity/Countries.php line 13

Open in your IDE?
  1. <?php
  2. namespace TheatreCore\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Countries
  6.  *
  7.  * @ORM\Table(name="countries")
  8.  * @ORM\Entity(repositoryClass="TheatreCore\Repository\CountriesRepository")
  9.  */
  10. class Countries
  11. {
  12.     /**
  13.      * @var string
  14.      *
  15.      * @ORM\Column(name="id", type="string", length=2, nullable=false, options={"fixed"=true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var string|null
  22.      *
  23.      * @ORM\Column(name="fr", type="string", length=180, nullable=true)
  24.      */
  25.     private $fr;
  26.     /**
  27.      * @var string|null
  28.      *
  29.      * @ORM\Column(name="en", type="string", length=180, nullable=true)
  30.      */
  31.     private $en;
  32.     /**
  33.      * @var string|null
  34.      *
  35.      * @ORM\Column(name="es", type="string", length=180, nullable=true)
  36.      */
  37.     private $es;
  38.     /**
  39.      * @var string|null
  40.      *
  41.      * @ORM\Column(name="pt", type="string", length=180, nullable=true)
  42.      */
  43.     private $pt;
  44.     /**
  45.      * @var string|null
  46.      *
  47.      * @ORM\Column(name="de", type="string", length=180, nullable=true)
  48.      */
  49.     private $de;
  50.     /**
  51.      * @var string|null
  52.      *
  53.      * @ORM\Column(name="ru", type="string", length=180, nullable=true)
  54.      */
  55.     private $ru;
  56.     /**
  57.      * @var int
  58.      *
  59.      * @ORM\Column(name="orderby", type="integer", nullable=false, options={"unsigned"=true})
  60.      */
  61.     private $orderby;
  62.     /**
  63.      * Get id.
  64.      *
  65.      * @return string
  66.      */
  67.     public function getId()
  68.     {
  69.         return $this->id;
  70.     }
  71.     /**
  72.      * Set fr.
  73.      *
  74.      * @param string|null $fr
  75.      *
  76.      * @return Countries
  77.      */
  78.     public function setFr($fr null)
  79.     {
  80.         $this->fr $fr;
  81.         return $this;
  82.     }
  83.     /**
  84.      * Get fr.
  85.      *
  86.      * @return string|null
  87.      */
  88.     public function getFr()
  89.     {
  90.         return $this->fr;
  91.     }
  92.     /**
  93.      * Set en.
  94.      *
  95.      * @param string|null $en
  96.      *
  97.      * @return Countries
  98.      */
  99.     public function setEn($en null)
  100.     {
  101.         $this->en $en;
  102.         return $this;
  103.     }
  104.     /**
  105.      * Get en.
  106.      *
  107.      * @return string|null
  108.      */
  109.     public function getEn()
  110.     {
  111.         return $this->en;
  112.     }
  113.     /**
  114.      * Set es.
  115.      *
  116.      * @param string|null $es
  117.      *
  118.      * @return Countries
  119.      */
  120.     public function setEs($es null)
  121.     {
  122.         $this->es $es;
  123.         return $this;
  124.     }
  125.     /**
  126.      * Get es.
  127.      *
  128.      * @return string|null
  129.      */
  130.     public function getEs()
  131.     {
  132.         return $this->es;
  133.     }
  134.     /**
  135.      * Set pt.
  136.      *
  137.      * @param string|null $pt
  138.      *
  139.      * @return Countries
  140.      */
  141.     public function setPt($pt null)
  142.     {
  143.         $this->pt $pt;
  144.         return $this;
  145.     }
  146.     /**
  147.      * Get pt.
  148.      *
  149.      * @return string|null
  150.      */
  151.     public function getPt()
  152.     {
  153.         return $this->pt;
  154.     }
  155.     /**
  156.      * Set de.
  157.      *
  158.      * @param string|null $de
  159.      *
  160.      * @return Countries
  161.      */
  162.     public function setDe($de null)
  163.     {
  164.         $this->de $de;
  165.         return $this;
  166.     }
  167.     /**
  168.      * Get de.
  169.      *
  170.      * @return string|null
  171.      */
  172.     public function getDe()
  173.     {
  174.         return $this->de;
  175.     }
  176.     /**
  177.      * Set ru.
  178.      *
  179.      * @param string|null $ru
  180.      *
  181.      * @return Countries
  182.      */
  183.     public function setRu($ru null)
  184.     {
  185.         $this->ru $ru;
  186.         return $this;
  187.     }
  188.     /**
  189.      * Get ru.
  190.      *
  191.      * @return string|null
  192.      */
  193.     public function getRu()
  194.     {
  195.         return $this->ru;
  196.     }
  197.     /**
  198.      * Set orderby.
  199.      *
  200.      * @param int $orderby
  201.      *
  202.      * @return Countries
  203.      */
  204.     public function setOrderby($orderby)
  205.     {
  206.         $this->orderby $orderby;
  207.         return $this;
  208.     }
  209.     /**
  210.      * Get orderby.
  211.      *
  212.      * @return int
  213.      */
  214.     public function getOrderby()
  215.     {
  216.         return $this->orderby;
  217.     }
  218.     public function __toString()
  219.     {
  220.         return $this->getFr();
  221.     }
  222. }