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="string", length=15, nullable=true)
  42.      */
  43.     private $type;
  44.     /**
  45.      * @ORM\ManyToOne(targetEntity=Cinema::class, inversedBy="cinemaContacts")
  46.      */
  47.     private $cinema;
  48.     /**
  49.      * @ORM\Column(type="string", length=255, nullable=true)
  50.      */
  51.     private $token;
  52.     /**
  53.      * @ORM\Column(type="date", nullable=true)
  54.      */
  55.     private $ExpireAt;
  56.     public function getId(): ?int
  57.     {
  58.         return $this->id;
  59.     }
  60.     public function getCivilite(): ?string
  61.     {
  62.         return $this->civilite;
  63.     }
  64.     public function setCivilite(?string $civilite): self
  65.     {
  66.         $this->civilite $civilite;
  67.         return $this;
  68.     }
  69.     public function getNom(): ?string
  70.     {
  71.         return $this->nom;
  72.     }
  73.     public function setNom(?string $nom): self
  74.     {
  75.         $this->nom $nom;
  76.         return $this;
  77.     }
  78.     public function getPrenom(): ?string
  79.     {
  80.         return $this->prenom;
  81.     }
  82.     public function setPrenom(?string $prenom): self
  83.     {
  84.         $this->prenom $prenom;
  85.         return $this;
  86.     }
  87.     public function getTelephone(): ?string
  88.     {
  89.         return $this->telephone;
  90.     }
  91.     public function setTelephone(?string $telephone): self
  92.     {
  93.         $this->telephone $telephone;
  94.         return $this;
  95.     }
  96.     public function getEmail(): ?string
  97.     {
  98.         return $this->email;
  99.     }
  100.     public function setEmail(?string $email): self
  101.     {
  102.         $this->email $email;
  103.         return $this;
  104.     }
  105.     public function getFonction(): ?string
  106.     {
  107.         return $this->fonction;
  108.     }
  109.     public function setFonction(?string $fonction): self
  110.     {
  111.         $this->fonction $fonction;
  112.         return $this;
  113.     }
  114.     public function getType(): ?string
  115.     {
  116.         return $this->type;
  117.     }
  118.     public function setType(?string $type): self
  119.     {
  120.         $this->type $type;
  121.         return $this;
  122.     }
  123.     public function getCinema(): ?Cinema
  124.     {
  125.         return $this->cinema;
  126.     }
  127.     public function setCinema(?Cinema $cinema): self
  128.     {
  129.         $this->cinema $cinema;
  130.         return $this;
  131.     }
  132.     public function getToken(): ?string
  133.     {
  134.         return $this->token;
  135.     }
  136.     public function setToken(?string $token): self
  137.     {
  138.         $this->token $token;
  139.         return $this;
  140.     }
  141.     public function getExpireAt(): ?\DateTimeInterface
  142.     {
  143.         return $this->ExpireAt;
  144.     }
  145.     public function setExpireAt(?\DateTimeInterface $ExpireAt): self
  146.     {
  147.         $this->ExpireAt $ExpireAt;
  148.         return $this;
  149.     }
  150. }