src/Entity/ValorisationsLiensAnnoncesVendeur.php line 16

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