1
0
mirror of synced 2024-11-24 20:56:03 +03:00

Added is_system to User

This commit is contained in:
Pavel 2024-11-05 12:42:01 +03:00 committed by GitHub
commit 2d5a8ceaed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,6 +142,15 @@ class User implements ModelInterface
*/ */
private $revokedAt; private $revokedAt;
/**
* @var bool $isSystem
*
* @Type("bool")
* @Accessor(getter="isSystem",setter="setIsSystem")
* @SkipWhenEmpty()
*/
private $isSystem;
/** /**
* @return string|null * @return string|null
*/ */
@ -349,4 +358,20 @@ class User implements ModelInterface
{ {
$this->revokedAt = $revokedAt; $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;
}
} }