Add entity name to table #1

Merged
dambo merged 1 commits from daniel into dev 2024-08-22 00:22:24 +02:00
2 changed files with 16 additions and 1 deletions
Showing only changes of commit 2f3b397384 - Show all commits

View File

@ -26,6 +26,9 @@ class CustomRole
#[ORM\Column(nullable: true)]
private ?int $entityId = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $entityName = null;
public function getId(): ?int
{
return $this->id;
@ -78,4 +81,16 @@ class CustomRole
return $this;
}
public function getEntityName(): ?string
{
return $this->entityName;
}
public function setEntityName(?string $entityName): static
{
$this->entityName = $entityName;
return $this;
}
}