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

Open in your IDE?
  1. <?php
  2. namespace TheatreCore\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * Bigregions
  6.  *
  7.  * @ORM\Table(name="bigregions", uniqueConstraints={@ORM\UniqueConstraint(name="bigregionmaj", columns={"bigregionmaj"}), @ORM\UniqueConstraint(name="bigregion", columns={"bigregion"}), @ORM\UniqueConstraint(name="idbigregioninsee", columns={"idbigregioninsee"})}, indexes={@ORM\Index(name="idcontact", columns={"idcontact"})})
  8.  * @ORM\Entity(repositoryClass="TheatreCore\Repository\BigregionsRepository")
  9.  */
  10. class Bigregions
  11. {
  12.     /**
  13.      * @var bool
  14.      *
  15.      * @ORM\Column(name="idbigregion", type="boolean", nullable=false)
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="IDENTITY")
  18.      */
  19.     private $idbigregion;
  20.     /**
  21.      * @var string
  22.      *
  23.      * @ORM\Column(name="bigregion", type="string", length=60, nullable=false)
  24.      */
  25.     private $bigregion;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="bigregionmaj", type="string", length=60, nullable=false)
  30.      */
  31.     private $bigregionmaj;
  32.     /**
  33.      * @var bool
  34.      *
  35.      * @ORM\Column(name="idbigregioninsee", type="boolean", nullable=false)
  36.      */
  37.     private $idbigregioninsee;
  38.     /**
  39.      * @var \Contacts
  40.      *
  41.      * @ORM\ManyToOne(targetEntity="Contacts")
  42.      * @ORM\JoinColumns({
  43.      *   @ORM\JoinColumn(name="idcontact", referencedColumnName="idcontact")
  44.      * })
  45.      */
  46.     private $idcontact;
  47.     /**
  48.      * Get idbigregion.
  49.      *
  50.      * @return bool
  51.      */
  52.     public function getIdbigregion()
  53.     {
  54.         return $this->idbigregion;
  55.     }
  56.     /**
  57.      * Set bigregion.
  58.      *
  59.      * @param string $bigregion
  60.      *
  61.      * @return Bigregions
  62.      */
  63.     public function setBigregion($bigregion)
  64.     {
  65.         $this->bigregion $bigregion;
  66.         return $this;
  67.     }
  68.     /**
  69.      * Get bigregion.
  70.      *
  71.      * @return string
  72.      */
  73.     public function getBigregion()
  74.     {
  75.         return $this->bigregion;
  76.     }
  77.     /**
  78.      * Set bigregionmaj.
  79.      *
  80.      * @param string $bigregionmaj
  81.      *
  82.      * @return Bigregions
  83.      */
  84.     public function setBigregionmaj($bigregionmaj)
  85.     {
  86.         $this->bigregionmaj $bigregionmaj;
  87.         return $this;
  88.     }
  89.     /**
  90.      * Get bigregionmaj.
  91.      *
  92.      * @return string
  93.      */
  94.     public function getBigregionmaj()
  95.     {
  96.         return $this->bigregionmaj;
  97.     }
  98.     /**
  99.      * Set idbigregioninsee.
  100.      *
  101.      * @param bool $idbigregioninsee
  102.      *
  103.      * @return Bigregions
  104.      */
  105.     public function setIdbigregioninsee($idbigregioninsee)
  106.     {
  107.         $this->idbigregioninsee $idbigregioninsee;
  108.         return $this;
  109.     }
  110.     /**
  111.      * Get idbigregioninsee.
  112.      *
  113.      * @return bool
  114.      */
  115.     public function getIdbigregioninsee()
  116.     {
  117.         return $this->idbigregioninsee;
  118.     }
  119.     /**
  120.      * Set idcontact.
  121.      *
  122.      * @param \Contacts|null $idcontact
  123.      *
  124.      * @return Bigregions
  125.      */
  126.     public function setIdcontact(Contacts $idcontact null)
  127.     {
  128.         $this->idcontact $idcontact;
  129.         return $this;
  130.     }
  131.     /**
  132.      * Get idcontact.
  133.      *
  134.      * @return \Contacts|null
  135.      */
  136.     public function getIdcontact()
  137.     {
  138.         return $this->idcontact;
  139.     }
  140. }