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/TvaSecu.php line 95

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TvaSecuRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. use JsonSerializable;
  7. /**
  8.  * @ORM\Entity(repositoryClass=TvaSecuRepository::class)
  9.  */
  10. class TvaSecu implements JsonSerializable
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\Column(type="string", length=255, nullable=true)
  20.      */
  21.     private $description;
  22.     /**
  23.      * @ORM\Column(type="decimal", precision=5, scale=2)
  24.      */
  25.     private $valeur;
  26.     /**
  27.      * @ORM\Column(type="integer", nullable=true)
  28.      */
  29.     private $type;
  30.     /**
  31.      * @ORM\ManyToOne(targetEntity=Secteur::class)
  32.      */
  33.     private $secteur;
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getDescription(): ?string
  39.     {
  40.         return $this->description;
  41.     }
  42.     public function setDescription(?string $description): self
  43.     {
  44.         $this->description $description;
  45.         return $this;
  46.     }
  47.     public function getValeur(): ?string
  48.     {
  49.         return $this->valeur;
  50.     }
  51.     public function setValeur(string $valeur): self
  52.     {
  53.         $this->valeur $valeur;
  54.         return $this;
  55.     }
  56.     public function getType(): ?int
  57.     {
  58.         return $this->type;
  59.     }
  60.     public function setType(int $type): self
  61.     {
  62.         $this->type $type;
  63.         return $this;
  64.     }
  65.     public function getSecteur(): ?Secteur
  66.     {
  67.         return $this->secteur;
  68.     }
  69.     public function setSecteur(?Secteur $secteur): self
  70.     {
  71.         $this->secteur $secteur;
  72.         return $this;
  73.     }
  74.     public function jsonSerialize()
  75.     {
  76.         $vars get_object_vars($this);
  77.         return $vars;
  78.     }
  79. }