modification des noms de données pour first et lastName

This commit is contained in:
2026-03-16 13:10:18 +01:00
parent 38b1293a27
commit 8450372a97
7 changed files with 217 additions and 11 deletions

View File

@@ -50,7 +50,7 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
private ?bool $hasNextcloudAccess = null;
#[ORM\Column(length: 255)]
private ?string $nextcloudQuota = null;
private ?string $nextcloudQuota = '1G';
#[ORM\Column]
private ?bool $hasMobilizon = null;
@@ -59,10 +59,10 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
private ?bool $hasAgoraAccess = null;
#[ORM\Column(length: 255)]
private ?string $lastname = null;
private ?string $lastName = null;
#[ORM\Column(length: 255)]
private ?string $firstname = null;
private ?string $firstName = null;
public function getId(): ?Uuid
{
@@ -242,26 +242,26 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
return $this;
}
public function getLastname(): ?string
public function getLastName(): ?string
{
return $this->lastname;
return $this->lastName;
}
public function setLastname(string $lastname): static
public function setLastName(string $lastName): static
{
$this->lastname = $lastname;
$this->lastName = $lastName;
return $this;
}
public function getFirstname(): ?string
public function getFirstName(): ?string
{
return $this->firstname;
return $this->firstName;
}
public function setFirstname(string $firstname): static
public function setFirstName(string $firstName): static
{
$this->firstname = $firstname;
$this->firstName = $firstName;
return $this;
}