Deprecated: Constant E_STRICT is deprecated in /var/www/PixelForce/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/PixelForce/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

src/Entity/TypeAbonnementSecu.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TypeAbonnementSecuRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use JsonSerializable;
  6. /**
  7.  * @ORM\Entity(repositoryClass=TypeAbonnementSecuRepository::class)
  8.  */
  9. class TypeAbonnementSecu implements JsonSerializable
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $nom;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $description;
  25.     /**
  26.      * @ORM\Column(type="float")
  27.      */
  28.     private $prix;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getNom(): ?string
  34.     {
  35.         return $this->nom;
  36.     }
  37.     public function setNom(string $nom): self
  38.     {
  39.         $this->nom $nom;
  40.         return $this;
  41.     }
  42.     public function getDescription(): ?string
  43.     {
  44.         return $this->description;
  45.     }
  46.     public function setDescription(?string $description): self
  47.     {
  48.         $this->description $description;
  49.         return $this;
  50.     }
  51.     public function getPrix(): ?float
  52.     {
  53.         return $this->prix;
  54.     }
  55.     public function setPrix(float $prix): self
  56.     {
  57.         $this->prix $prix;
  58.         return $this;
  59.     }
  60.     public function jsonSerialize()
  61.     {
  62.         $vars get_object_vars($this);
  63.         return $vars;
  64.     }
  65. }