|
- <?php
-
- namespace Lc\PietroBundle\Model\ProjectBoost;
-
- use Doctrine\ORM\Mapping as ORM;
- use Lc\PietroBundle\Doctrine\Extension\DescriptionProjectInterface;
- use Lc\PietroBundle\Doctrine\Extension\DescriptionProjectTrait;
- use Lc\PietroBundle\Model\IndividualData\IndividualData;
-
- /**
- * @ORM\MappedSuperclass()
- */
- abstract class ProjectBoost implements DescriptionProjectInterface, ProjectBoostInterface
- {
- use DescriptionProjectTrait;
-
- /**
- * @ORM\ManyToOne(targetEntity="Lc\PietroBundle\Model\IndividualData\IndividualDataInterface", inversedBy="projectBoost")
- */
- protected $individualData;
-
- public function __toString()
- {
- return "Les actions à booster";
- }
-
- public function getIndividualData(): ?IndividualData
- {
- return $this->individualData;
- }
-
- public function setIndividualData(?IndividualData $individualData): self
- {
- $this->individualData = $individualData;
-
- return $this;
- }
- }
|