src/Entity/Statuts.php line 17

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