src/Entity/FilliationCategory.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FilliationCategoryRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=FilliationCategoryRepository::class)
  8.  * @Auditable()
  9.  */
  10. class FilliationCategory
  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.     /**
  27.      * @ORM\Column(type="integer", nullable=true)
  28.      */
  29.     private $status;
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getLabel(): ?string
  35.     {
  36.         return $this->label;
  37.     }
  38.     public function setLabel(string $label): self
  39.     {
  40.         $this->label $label;
  41.         return $this;
  42.     }
  43.     public function getIsDeleted(): ?bool
  44.     {
  45.         return $this->isDeleted;
  46.     }
  47.     public function setIsDeleted(bool $isDeleted): self
  48.     {
  49.         $this->isDeleted $isDeleted;
  50.         return $this;
  51.     }
  52.     public function getStatus(): ?int
  53.     {
  54.         return $this->status;
  55.     }
  56.     public function setStatus(?int $status): self
  57.     {
  58.         $this->status $status;
  59.         return $this;
  60.     }
  61. }