1
0
mirror of synced 2024-11-21 19:36:02 +03:00

Added is_system to User

This commit is contained in:
Alex Komarichev 2024-11-05 12:28:27 +03:00
parent 95520bb1e7
commit 2b798fa877

View File

@ -142,6 +142,15 @@ class User implements ModelInterface
*/
private $revokedAt;
/**
* @var bool $isSystem
*
* @Type("bool")
* @Accessor(getter="isSystem",setter="setIsSystem")
* @SkipWhenEmpty()
*/
private $isSystem;
/**
* @return string|null
*/
@ -349,4 +358,20 @@ class User implements ModelInterface
{
$this->revokedAt = $revokedAt;
}
/**
* @return bool|null
*/
public function isSystem(): ?bool
{
return $this->isSystem;
}
/**
* @param bool $isSystem
*/
public function setIsSystem(bool $isSystem): void
{
$this->isSystem = $isSystem;
}
}