Improve custom role table, add isPublic property to League table

This commit is contained in:
Daniel Guzman
2024-05-26 11:59:18 +02:00
parent cc7c707445
commit 15990da3d0
382 changed files with 93 additions and 13470 deletions
+15
View File
@@ -23,6 +23,9 @@ class CustomRole
#[ORM\Column(nullable: true)]
private ?\DateTimeImmutable $createdAt = null;
#[ORM\Column(nullable: true)]
private ?int $entityId = null;
public function getId(): ?int
{
return $this->id;
@@ -63,4 +66,16 @@ class CustomRole
$this->createdAt = new \DateTimeImmutable('now', new \DateTimeZone('Europe/Madrid'));
return $this;
}
public function getEntityId(): ?int
{
return $this->entityId;
}
public function setEntityId(?int $entityId): static
{
$this->entityId = $entityId;
return $this;
}
}