<?phpnamespace App\Entity;use App\Repository\ConfigFilliationRepository;use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ConfigFilliationRepository::class) * @Auditable() */class ConfigFilliation{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Anchor::class) */ private $anchorPrincipal; /** * @ORM\ManyToOne(targetEntity=Anchor::class) */ private $anchorRelative; /** * @ORM\ManyToOne(targetEntity=FilliationCategory::class) */ private $filliationCategory; /** * @ORM\ManyToOne(targetEntity=DocumentCategory::class) * @ORM\JoinColumn(nullable=false) */ private $documentCategory; /** * @ORM\Column(type="integer", nullable=true) */ private $status; public function getId(): ?int { return $this->id; } public function getFilliationCategory(): ?FilliationCategory { return $this->filliationCategory; } public function setFilliationCategory(?FilliationCategory $filliationCategory): self { $this->filliationCategory = $filliationCategory; return $this; } public function getAnchorPrincipal(): ?Anchor { return $this->anchorPrincipal; } public function setAnchor(?Anchor $anchorPrincipal): self { $this->anchorPrincipal = $anchorPrincipal; return $this; } public function getAnchorRelative(): ?Anchor { return $this->anchorRelative; } public function setAnchorRelative(?Anchor $anchorRelative): self { $this->anchorRelative = $anchorRelative; return $this; } public function getDocumentCategory(): ?DocumentCategory { return $this->documentCategory; } public function setDocumentCategory(?DocumentCategory $documentCategory): self { $this->documentCategory = $documentCategory; return $this; } public function getStatus(): ?int { return $this->status; } public function setStatus(?int $status): self { $this->status = $status; return $this; }}