src/Entity/Regime.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RegimeRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=RegimeRepository::class)
  8.  * @Auditable()
  9.  */
  10. class Regime
  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)
  20.      */
  21.     private $label;
  22.     /**
  23.      * @ORM\Column(type="boolean")
  24.      */
  25.     private $isDeleted;
  26.     public function getId(): ?int
  27.     {
  28.         return $this->id;
  29.     }
  30.     public function getLabel(): ?string
  31.     {
  32.         return $this->label;
  33.     }
  34.     public function setLabel(string $label): self
  35.     {
  36.         $this->label $label;
  37.         return $this;
  38.     }
  39.     public function getIsDeleted(): ?bool
  40.     {
  41.         return $this->isDeleted;
  42.     }
  43.     public function setIsDeleted(bool $isDeleted): self
  44.     {
  45.         $this->isDeleted $isDeleted;
  46.         return $this;
  47.     }
  48. }