| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace AppBundle\Entity\Place;
- use AppBundle\Entity\Core\AbstractControl;
- use Doctrine\ORM\Mapping as ORM;
- use Symfony\Component\Serializer\Annotation\Groups;
- /**
- * Contrôle du bon état des Place
- */
- #[ORM\Entity]
- class PlaceControl extends AbstractControl
- {
- /**
- * @var Place
- */
- #[ORM\ManyToOne(targetEntity: 'AppBundle\Entity\Place\Place', inversedBy: 'controls')]
- #[Groups(['placecontrol', 'placecontrol_list', 'control_edit'])]
- private $place;
- /**
- * Sets place.
- *
- * @param Place $place
- *
- * @return $this
- */
- public function setPlace(Place $place = null)
- {
- $this->place = $place;
- return $this;
- }
- /**
- * Gets place.
- *
- * @return Place
- */
- public function getPlace()
- {
- return $this->place;
- }
- }
|