false])] #[Groups(['cycle', 'cycle_read'])] private $isSystem; /** * @var ArrayCollection */ #[ORM\OneToMany(targetEntity: 'AppBundle\Entity\Education\CycleByEducation', mappedBy: 'cycle', orphanRemoval: true, persist: true, cascade: ['persist', 'remove'])] #[Groups(['cycle_cyclebyeducation'])] private $cycleByEducations; /** * Constructor */ public function __construct() { $this->cycleByEducations = new ArrayCollection(); } /** * Sets id. * * @param int $id * * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Sets organization. * * @param Organization $organization * * @return $this */ public function setOrganization(Organization $organization) { $this->organization = $organization; return $this; } /** * Gets organization. * * @return Organization */ public function getOrganization() { return $this->organization; } /** * Sets cycle order. * * @param integer $cycleOrder * * @return $this */ public function setCycleOrder($cycleOrder) { $this->cycleOrder = $cycleOrder; return $this; } /** * Gets cycle order. * * @return integer */ public function getCycleOrder() { return $this->cycleOrder; } /** * Sets label. * * @param string $label * * @return $this */ public function setLabel($label) { $this->label = $label; return $this; } /** * Gets label. * * @return string */ public function getLabel() { return $this->label; } /** * Sets cycleEnum. * * @param string $cycleEnum * * @return $this */ public function setCycleEnum($cycleEnum) { $this->cycleEnum = $cycleEnum; return $this; } /** * Gets cycleEnum. * * @return string */ public function getCycleEnum() { return $this->cycleEnum; } /** * Sets isSystem. * * @param bool $isSystem * * @return $this */ public function setIsSystem($isSystem) { $this->isSystem = $isSystem; return $this; } /** * Gets isSystem. * * @return bool */ public function getIsSystem() { return $this->isSystem; } /** * Add cycleByEducation * * @param \AppBundle\Entity\Education\CycleByEducation $cycleByEducation * * @return Cycle */ public function addCycleByEducation(\AppBundle\Entity\Education\CycleByEducation $cycleByEducation) { $this->cycleByEducations[] = $cycleByEducation; return $this; } /** * Remove cycleByEducation * * @param \AppBundle\Entity\Education\CycleByEducation $cycleByEducation */ public function removeCycleByEducation(\AppBundle\Entity\Education\CycleByEducation $cycleByEducation) { $this->cycleByEducations->removeElement($cycleByEducation); } /** * Get cycleByEducations * * @return \Doctrine\Common\Collections\Collection */ public function getCycleByEducations() { return $this->cycleByEducations; } }