diff --git a/src/Bot/Model/Entity/User.php b/src/Bot/Model/Entity/User.php index eac6bae..d9b1506 100644 --- a/src/Bot/Model/Entity/User.php +++ b/src/Bot/Model/Entity/User.php @@ -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; + } }