modification des noms de données pour first et lastName
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user