id; } /** * Set name * * @param string $name * * @return Festival */ public function setName( $name ) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Set dateCreation * * @param \DateTime $dateCreation * * @return Festival */ public function setDateCreation( $dateCreation ) { $this->dateCreation = $dateCreation; return $this; } /** * Get dateCreation * * @return \DateTime */ public function getDateCreation() { return $this->dateCreation; } /** * Set sellRecords * * @param \stdClass $sellRecords * * @return Festival */ public function setSellRecords( $sellRecords ) { $this->sellRecords = $sellRecords; return $this; } /** * Get sellRecords * * @return \stdClass */ public function getSellRecords() { return $this->sellRecords; } /** * Constructor */ public function __construct() { $this->sellRecords = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Add sellRecord * * @param \AppBundle\Entity\SellRecord $sellRecord * * @return Festival */ public function addSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) { $this->sellRecords[] = $sellRecord; return $this; } /** * Remove sellRecord * * @param \AppBundle\Entity\SellRecord $sellRecord */ public function removeSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) { $this->sellRecords->removeElement( $sellRecord ); } /** * Set user. * * @param \AppBundle\Entity\User|null $user * * @return Festival */ public function setUser( \AppBundle\Entity\User $user = null ) { $this->user = $user; return $this; } /** * Get user. * * @return \AppBundle\Entity\User|null */ public function getUser() { return $this->user; } }