Compare commits

...

2 Commits

Author SHA1 Message Date
dambo 8e830192c5 Merge pull request 'Add entity name to table' (#1) from daniel into dev
dyb-tech.com/LaLiga-BackEnd/pipeline/head Something is wrong with the build of this commit Details
Reviewed-on: http://casa.dyb-tech.com:81/dyb-tech.com/LaLiga-BackEnd/pulls/1
2024-08-22 00:22:23 +02:00
Daniel Guzman 2f3b397384 Add entity name to table
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good Details
dyb-tech.com/LaLiga-BackEnd/pipeline/pr-dev Build started... Details
2024-08-21 23:31:33 +02:00
2 changed files with 16 additions and 1 deletions

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;
}
}