src/Entity/BFAdminLicences.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\BFAdminLicencesRepository")
  6.  */
  7. class BFAdminLicences
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\ManyToOne(targetEntity="App\Entity\BFFestival", inversedBy="BFAdminLicences")
  17.      */
  18.     private $festival;
  19.     /**
  20.      * @ORM\ManyToOne(targetEntity="App\Entity\BFEdition", inversedBy="BFAdminLicences")
  21.      */
  22.     private $edition;
  23.     /**
  24.      * @ORM\Column(type="string", length=255)
  25.      */
  26.     private $optionname;
  27.     /**
  28.      * @ORM\Column(type="date")
  29.      */
  30.     private $validitydate;
  31.     /**
  32.      * @ORM\ManyToOne(targetEntity="App\Entity\BFChallenge", inversedBy="BFAdminLicences")
  33.      */
  34.     private $challenge;
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getFestival(): ?BFFestival
  40.     {
  41.         return $this->festival;
  42.     }
  43.     public function setFestival(?BFFestival $festival): self
  44.     {
  45.         $this->festival $festival;
  46.         return $this;
  47.     }
  48.     public function getEdition(): ?BFEdition
  49.     {
  50.         return $this->edition;
  51.     }
  52.     public function setEdition(?BFEdition $edition): self
  53.     {
  54.         $this->edition $edition;
  55.         return $this;
  56.     }
  57.     public function getOptionname(): ?string
  58.     {
  59.         return $this->optionname;
  60.     }
  61.     public function setOptionname(string $optionname): self
  62.     {
  63.         $this->optionname $optionname;
  64.         return $this;
  65.     }
  66.     public function getValiditydate(): ?\DateTimeInterface
  67.     {
  68.         return $this->validitydate;
  69.     }
  70.     public function setValiditydate(\DateTimeInterface $validitydate): self
  71.     {
  72.         $this->validitydate $validitydate;
  73.         return $this;
  74.     }
  75.     public function getChallenge(): ?BFChallenge
  76.     {
  77.         return $this->challenge;
  78.     }
  79.     public function setChallenge(?BFChallenge $challenge): self
  80.     {
  81.         $this->challenge $challenge;
  82.         return $this;
  83.     }
  84. }