src/Entity/FieldGroups.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FieldGroupsRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=FieldGroupsRepository::class)
  8.  * @Auditable()
  9.  */
  10. class FieldGroups
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.     /**
  19.      * @ORM\ManyToOne(targetEntity=DocumentCategory::class)
  20.      * @ORM\JoinColumn(nullable=true)
  21.      */
  22.     private $documentCategory;
  23.     /**
  24.      * @ORM\Column(type="integer", nullable=true)
  25.      */
  26.     private $priority;
  27.     /**
  28.      * @ORM\Column(type="string", length=255)
  29.      */
  30.     private $label;
  31.     /**
  32.      * @ORM\Column(type="boolean")
  33.      */
  34.     private $isDeleted;
  35.     /**
  36.      * @ORM\Column(type="datetime", nullable=true)
  37.      */
  38.     private $dateCreate;
  39.     /**
  40.      * @ORM\Column(type="datetime", nullable=true)
  41.      */
  42.     private $dateUpdate;
  43.     /**
  44.      * @ORM\ManyToOne(targetEntity=Users::class)
  45.      */
  46.     private $userCreate;
  47.     /**
  48.      * @ORM\ManyToOne(targetEntity=Users::class)
  49.      */
  50.     private $userUpdate;
  51.     public function __construct()
  52.     {
  53.     }
  54.     public function getId(): ?int
  55.     {
  56.         return $this->id;
  57.     }
  58.     public function getDocumentCategory(): ?DocumentCategory
  59.     {
  60.         return $this->documentCategory;
  61.     }
  62.     public function setDocumentCategory(?DocumentCategory $documentCategory): self
  63.     {
  64.         $this->documentCategory $documentCategory;
  65.         return $this;
  66.     }
  67.     public function getPriority(): ?int
  68.     {
  69.         return $this->priority;
  70.     }
  71.     public function setPriority(?int $priority): self
  72.     {
  73.         $this->priority $priority;
  74.         return $this;
  75.     }
  76.     public function getLabel(): ?string
  77.     {
  78.         return $this->label;
  79.     }
  80.     public function setLabel(string $label): self
  81.     {
  82.         $this->label $label;
  83.         return $this;
  84.     }
  85.     public function getIsDeleted(): ?bool
  86.     {
  87.         return $this->isDeleted;
  88.     }
  89.     public function setIsDeleted(bool $isDeleted): self
  90.     {
  91.         $this->isDeleted $isDeleted;
  92.         return $this;
  93.     }
  94.     public function getDateCreate(): ?\DateTimeInterface
  95.     {
  96.         return $this->dateCreate;
  97.     }
  98.     public function setDateCreate(?\DateTimeInterface $dateCreate): self
  99.     {
  100.         $this->dateCreate $dateCreate;
  101.         return $this;
  102.     }
  103.     public function getDateUpdate(): ?\DateTimeInterface
  104.     {
  105.         return $this->dateUpdate;
  106.     }
  107.     public function setDateUpdate(?\DateTimeInterface $dateUpdate): self
  108.     {
  109.         $this->dateUpdate $dateUpdate;
  110.         return $this;
  111.     }
  112.     public function getUserCreate(): ?Users
  113.     {
  114.         return $this->userCreate;
  115.     }
  116.     public function setUserCreate(?Users $userCreate): self
  117.     {
  118.         $this->userCreate $userCreate;
  119.         return $this;
  120.     }
  121.     public function getUserUpdate(): ?Users
  122.     {
  123.         return $this->userUpdate;
  124.     }
  125.     public function setUserUpdate(?Users $userUpdate): self
  126.     {
  127.         $this->userUpdate $userUpdate;
  128.         return $this;
  129.     }
  130. }