<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\BFAdminLicencesRepository")
*/
class BFAdminLicences
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\BFFestival", inversedBy="BFAdminLicences")
*/
private $festival;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\BFEdition", inversedBy="BFAdminLicences")
*/
private $edition;
/**
* @ORM\Column(type="string", length=255)
*/
private $optionname;
/**
* @ORM\Column(type="date")
*/
private $validitydate;
/**
* @ORM\ManyToOne(targetEntity="App\Entity\BFChallenge", inversedBy="BFAdminLicences")
*/
private $challenge;
public function getId(): ?int
{
return $this->id;
}
public function getFestival(): ?BFFestival
{
return $this->festival;
}
public function setFestival(?BFFestival $festival): self
{
$this->festival = $festival;
return $this;
}
public function getEdition(): ?BFEdition
{
return $this->edition;
}
public function setEdition(?BFEdition $edition): self
{
$this->edition = $edition;
return $this;
}
public function getOptionname(): ?string
{
return $this->optionname;
}
public function setOptionname(string $optionname): self
{
$this->optionname = $optionname;
return $this;
}
public function getValiditydate(): ?\DateTimeInterface
{
return $this->validitydate;
}
public function setValiditydate(\DateTimeInterface $validitydate): self
{
$this->validitydate = $validitydate;
return $this;
}
public function getChallenge(): ?BFChallenge
{
return $this->challenge;
}
public function setChallenge(?BFChallenge $challenge): self
{
$this->challenge = $challenge;
return $this;
}
}