180 lines
3.4 KiB
PHP
180 lines
3.4 KiB
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use App\Repository\UserRepository;
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Symfony\Component\Validator\Constraints\Uuid;
|
|
|
|
#[ORM\Entity(repositoryClass: UserRepository::class)]
|
|
#[ORM\Table(name: '`user`')]
|
|
class User
|
|
{
|
|
#[ORM\Id]
|
|
#[ORM\GeneratedValue]
|
|
#[ORM\Column]
|
|
private ?Uuid $id ;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $role = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $mail = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $mailQuota = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $mailDeSecours = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $identifiantKaz = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $quota = null;
|
|
|
|
#[ORM\Column]
|
|
private ?bool $hasNextcloudAccess = null;
|
|
|
|
#[ORM\Column(length: 255)]
|
|
private ?string $nextcloudQuota = null;
|
|
|
|
#[ORM\Column]
|
|
private ?bool $hasMobilizon = null;
|
|
|
|
#[ORM\Column]
|
|
private ?bool $hasAgoraAccess = null;
|
|
|
|
public function getId(): ?Uuid
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setId(Uuid $id): static
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getRole(): ?string
|
|
{
|
|
return $this->role;
|
|
}
|
|
|
|
public function setRole(string $role): static
|
|
{
|
|
$this->role = $role;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getMail(): ?string
|
|
{
|
|
return $this->mail;
|
|
}
|
|
|
|
public function setMail(string $mail): static
|
|
{
|
|
$this->mail = $mail;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getMailQuota(): ?string
|
|
{
|
|
return $this->mailQuota;
|
|
}
|
|
|
|
public function setMailQuota(string $mailQuota): static
|
|
{
|
|
$this->mailQuota = $mailQuota;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getMailDeSecours(): ?string
|
|
{
|
|
return $this->mailDeSecours;
|
|
}
|
|
|
|
public function setMailDeSecours(string $mailDeSecours): static
|
|
{
|
|
$this->mailDeSecours = $mailDeSecours;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getIdentifiantKaz(): ?string
|
|
{
|
|
return $this->identifiantKaz;
|
|
}
|
|
|
|
public function setIdentifiantKaz(string $identifiantKaz): static
|
|
{
|
|
$this->identifiantKaz = $identifiantKaz;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getQuota(): ?string
|
|
{
|
|
return $this->quota;
|
|
}
|
|
|
|
public function setQuota(string $quota): static
|
|
{
|
|
$this->quota = $quota;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function hasNextcloudAccess(): ?bool
|
|
{
|
|
return $this->hasNextcloudAccess;
|
|
}
|
|
|
|
public function setHasNextcloudAccess(bool $hasNextcloudAccess): static
|
|
{
|
|
$this->hasNextcloudAccess = $hasNextcloudAccess;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getNextcloudQuota(): ?string
|
|
{
|
|
return $this->nextcloudQuota;
|
|
}
|
|
|
|
public function setNextcloudQuota(string $nextcloudQuota): static
|
|
{
|
|
$this->nextcloudQuota = $nextcloudQuota;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function hasMobilizon(): ?bool
|
|
{
|
|
return $this->hasMobilizon;
|
|
}
|
|
|
|
public function setHasMobilizon(bool $hasMobilizon): static
|
|
{
|
|
$this->hasMobilizon = $hasMobilizon;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function hasAgoraAccess(): ?bool
|
|
{
|
|
return $this->hasAgoraAccess;
|
|
}
|
|
|
|
public function setHasAgoraAccess(bool $hasAgoraAccess): static
|
|
{
|
|
$this->hasAgoraAccess = $hasAgoraAccess;
|
|
|
|
return $this;
|
|
}
|
|
}
|