src/Entity/LiensEquipesServicesPrestataire.php line 17

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4.  * @author Mehrez Labidi
  5.  */
  6. namespace App\Entity;
  7. use App\Repository\LiensEquipesServicesPrestataireRepository;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * @ORM\Entity(repositoryClass=LiensEquipesServicesPrestataireRepository::class)
  11.  * @ORM\Table(name="fusacq_dbo.liens_equipes_services_prestataire")
  12.  */
  13. class LiensEquipesServicesPrestataire
  14. {
  15.     /**
  16.      * @var int @ORM\Id
  17.      * @ORM\Column(type="integer",name="id_lien")
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     protected $id_lien;
  21.     /**
  22.      * @var string @ORM\Column(type="integer", nullable=true, name="id_membre", options={"default"= null})
  23.      */
  24.     protected $id_membre;
  25.     /**
  26.      * @var string @ORM\Column(type="integer", nullable=true, name="id_service_prestataire", options={"default"= null})
  27.      */
  28.     protected $id_service_prestataire;
  29.     /**
  30.      * @var string @ORM\Column(type="integer", nullable=true, name="ordre", options={"default"= null})
  31.      */
  32.     protected $ordre;
  33.     /**
  34.      * Magic getter to expose protected properties.
  35.      *
  36.      * @param string $property
  37.      *
  38.      * @return mixed
  39.      */
  40.     public function _get($property)
  41.     {
  42.         return $this->$property;
  43.     }
  44.     /**
  45.      * Magic setter to save protected properties.
  46.      *
  47.      * @param string $property
  48.      * @param mixed  $value
  49.      */
  50.     public function _set($property$value)
  51.     {
  52.         $this->$property $value;
  53.     }
  54. }