src/Entity/StatistiquesNbConsultationsAnnoncesAcheteurEntity.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity
  6.  * @ORM\Table(name="fusacq_dbo.statistiques_nb_consultations_annonces_acheteur")
  7.  */
  8. class StatistiquesNbConsultationsAnnoncesAcheteurEntity
  9. {
  10.     /**
  11.      *
  12.      * @var int @ORM\Id
  13.      *      @ORM\Column(type="integer",name="id_annonce")
  14.      *      
  15.      */
  16.     protected $id_annonce;
  17.     /**
  18.      *
  19.      * @var string @ORM\Column(type="integer", nullable=true, name="nb_consultations", options={"default"= null})
  20.      */
  21.     protected $nb_consultations;
  22.     /**
  23.      *
  24.      * @var string @ORM\Column(type="integer", nullable=true, name="mail_notification", options={"default"= null})
  25.      */
  26.     protected $mail_notification;
  27.     
  28.     /**
  29.      * Magic getter to expose protected properties.
  30.      *
  31.      * @param string $property
  32.      * @return mixed
  33.      */
  34.     public function _get($property)
  35.     {
  36.         return $this->$property;
  37.     }
  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. }