src/Entity/CinemaContact.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CinemaContactRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CinemaContactRepository::class)
  7.  */
  8. class CinemaContact
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=15, nullable=true)
  18.      */
  19.     private $civilite;
  20.     /**
  21.      * @ORM\Column(type="string", length=50, nullable=true)
  22.      */
  23.     private $nom;
  24.     /**
  25.      * @ORM\Column(type="string", length=50, nullable=true)
  26.      */
  27.     private $prenom;
  28.     /**
  29.      * @ORM\Column(type="string", length=50, nullable=true)
  30.      */
  31.     private $telephone;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $email;
  36.     /**
  37.      * @ORM\Column(type="string", length=75, nullable=true)
  38.      */
  39.     private $fonction;
  40.     /**
  41.      * @ORM\Column(type="boolean", nullable=true)
  42.      */
  43.     private $receptionMail;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=Cinema::class, inversedBy="cinemaContacts")
  46.      */
  47.     private $cinema;
  48.     public function getId(): ?int
  49.     {
  50.         return $this->id;
  51.     }
  52.     public function getCivilite(): ?string
  53.     {
  54.         return $this->civilite;
  55.     }
  56.     public function setCivilite(?string $civilite): self
  57.     {
  58.         $this->civilite $civilite;
  59.         return $this;
  60.     }
  61.     public function getNom(): ?string
  62.     {
  63.         return $this->nom;
  64.     }
  65.     public function setNom(?string $nom): self
  66.     {
  67.         $this->nom $nom;
  68.         return $this;
  69.     }
  70.     public function getPrenom(): ?string
  71.     {
  72.         return $this->prenom;
  73.     }
  74.     public function setPrenom(?string $prenom): self
  75.     {
  76.         $this->prenom $prenom;
  77.         return $this;
  78.     }
  79.     public function getTelephone(): ?string
  80.     {
  81.         return $this->telephone;
  82.     }
  83.     public function setTelephone(?string $telephone): self
  84.     {
  85.         $this->telephone $telephone;
  86.         return $this;
  87.     }
  88.     public function getEmail(): ?string
  89.     {
  90.         return $this->email;
  91.     }
  92.     public function setEmail(?string $email): self
  93.     {
  94.         $this->email $email;
  95.         return $this;
  96.     }
  97.     public function getFonction(): ?string
  98.     {
  99.         return $this->fonction;
  100.     }
  101.     public function setFonction(?string $fonction): self
  102.     {
  103.         $this->fonction $fonction;
  104.         return $this;
  105.     }
  106.     public function isReceptionMail(): ?bool
  107.     {
  108.         return $this->receptionMail;
  109.     }
  110.     public function setReceptionMail(?bool $receptionMail): self
  111.     {
  112.         $this->receptionMail $receptionMail;
  113.         return $this;
  114.     }
  115.     public function getCinema(): ?Cinema
  116.     {
  117.         return $this->cinema;
  118.     }
  119.     public function setCinema(?Cinema $cinema): self
  120.     {
  121.         $this->cinema $cinema;
  122.         return $this;
  123.     }
  124. }