<?php
namespace TheatreCore\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Bigregions
*
* @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"})})
* @ORM\Entity(repositoryClass="TheatreCore\Repository\BigregionsRepository")
*/
class Bigregions
{
/**
* @var bool
*
* @ORM\Column(name="idbigregion", type="boolean", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idbigregion;
/**
* @var string
*
* @ORM\Column(name="bigregion", type="string", length=60, nullable=false)
*/
private $bigregion;
/**
* @var string
*
* @ORM\Column(name="bigregionmaj", type="string", length=60, nullable=false)
*/
private $bigregionmaj;
/**
* @var bool
*
* @ORM\Column(name="idbigregioninsee", type="boolean", nullable=false)
*/
private $idbigregioninsee;
/**
* @var \Contacts
*
* @ORM\ManyToOne(targetEntity="Contacts")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="idcontact", referencedColumnName="idcontact")
* })
*/
private $idcontact;
/**
* Get idbigregion.
*
* @return bool
*/
public function getIdbigregion()
{
return $this->idbigregion;
}
/**
* Set bigregion.
*
* @param string $bigregion
*
* @return Bigregions
*/
public function setBigregion($bigregion)
{
$this->bigregion = $bigregion;
return $this;
}
/**
* Get bigregion.
*
* @return string
*/
public function getBigregion()
{
return $this->bigregion;
}
/**
* Set bigregionmaj.
*
* @param string $bigregionmaj
*
* @return Bigregions
*/
public function setBigregionmaj($bigregionmaj)
{
$this->bigregionmaj = $bigregionmaj;
return $this;
}
/**
* Get bigregionmaj.
*
* @return string
*/
public function getBigregionmaj()
{
return $this->bigregionmaj;
}
/**
* Set idbigregioninsee.
*
* @param bool $idbigregioninsee
*
* @return Bigregions
*/
public function setIdbigregioninsee($idbigregioninsee)
{
$this->idbigregioninsee = $idbigregioninsee;
return $this;
}
/**
* Get idbigregioninsee.
*
* @return bool
*/
public function getIdbigregioninsee()
{
return $this->idbigregioninsee;
}
/**
* Set idcontact.
*
* @param \Contacts|null $idcontact
*
* @return Bigregions
*/
public function setIdcontact(Contacts $idcontact = null)
{
$this->idcontact = $idcontact;
return $this;
}
/**
* Get idcontact.
*
* @return \Contacts|null
*/
public function getIdcontact()
{
return $this->idcontact;
}
}