Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- <?php
-
- namespace Lc\PietroBundle\Doctrine\Extension;
-
- use Lc\PietroBundle\Model\Thematic\ThematicInterface;
- use Lc\PietroBundle\Model\Subthematic\SubthematicInterface;
- use Doctrine\ORM\Mapping as ORM;
-
- trait DescriptionProjectTrait
- {
-
- /**
- * @ORM\Column(type="text")
- */
- protected $description;
-
- /**
- * @ORM\ManyToOne(targetEntity="Lc\PietroBundle\Model\Thematic\ThematicInterface")
- */
- protected $thematic;
-
- /**
- * @ORM\ManyToOne(targetEntity="Lc\PietroBundle\Model\Subthematic\SubthematicInterface")
- */
- protected $subthematic;
-
- public function getDescription(): ?string
- {
- return $this->description;
- }
-
- public function setDescription(string $description): self
- {
- $this->description = $description;
-
- return $this;
- }
-
- public function getThematic(): ?ThematicInterface
- {
- return $this->thematic;
- }
-
- public function setThematic(?ThematicInterface $thematic): self
- {
- $this->thematic = $thematic;
-
- return $this;
- }
-
- public function getSubthematic(): ?SubthematicInterface
- {
- return $this->subthematic;
- }
-
- public function setSubthematic(?SubthematicInterface $subthematic): self
- {
- $this->subthematic = $subthematic;
-
- return $this;
- }
-
- }
|