src/Entity/ConfigFilliation.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ConfigFilliationRepository;
  4. use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=ConfigFilliationRepository::class)
  8.  * @Auditable()
  9.  */
  10. class ConfigFilliation
  11. {
  12.     /**
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue
  15.      * @ORM\Column(type="integer")
  16.      */
  17.     private $id;
  18.         /**
  19.      * @ORM\ManyToOne(targetEntity=Anchor::class)
  20.      */
  21.     private $anchorPrincipal;
  22.         /**
  23.      * @ORM\ManyToOne(targetEntity=Anchor::class)
  24.      */
  25.     private $anchorRelative;
  26.     /**
  27.      * @ORM\ManyToOne(targetEntity=FilliationCategory::class)
  28.      */
  29.     private $filliationCategory;
  30.     /**
  31.      * @ORM\ManyToOne(targetEntity=DocumentCategory::class)
  32.      * @ORM\JoinColumn(nullable=false)
  33.      */
  34.     private $documentCategory;
  35.     /**
  36.      * @ORM\Column(type="integer", nullable=true)
  37.      */
  38.     private $status;
  39.     public function getId(): ?int
  40.     {
  41.         return $this->id;
  42.     }
  43.     public function getFilliationCategory(): ?FilliationCategory
  44.     {
  45.         return $this->filliationCategory;
  46.     }
  47.     public function setFilliationCategory(?FilliationCategory $filliationCategory): self
  48.     {
  49.         $this->filliationCategory $filliationCategory;
  50.         return $this;
  51.     }
  52.     public function getAnchorPrincipal(): ?Anchor
  53.     {
  54.         return $this->anchorPrincipal;
  55.     }
  56.     public function setAnchor(?Anchor $anchorPrincipal): self
  57.     {
  58.         $this->anchorPrincipal $anchorPrincipal;
  59.         return $this;
  60.     }
  61.     public function getAnchorRelative(): ?Anchor
  62.     {
  63.         return $this->anchorRelative;
  64.     }
  65.     public function setAnchorRelative(?Anchor $anchorRelative): self
  66.     {
  67.         $this->anchorRelative $anchorRelative;
  68.         return $this;
  69.     }
  70.     public function getDocumentCategory(): ?DocumentCategory
  71.     {
  72.         return $this->documentCategory;
  73.     }
  74.     public function setDocumentCategory(?DocumentCategory $documentCategory): self
  75.     {
  76.         $this->documentCategory $documentCategory;
  77.         return $this;
  78.     }
  79.     public function getStatus(): ?int
  80.     {
  81.         return $this->status;
  82.     }
  83.     public function setStatus(?int $status): self
  84.     {
  85.         $this->status $status;
  86.         return $this;
  87.     }
  88. }