'hashed', 'is_super' => 'integer', 'status' => 'integer', 'google_auth_open' => 'integer', ]; } public function isSuper(): bool { return (int) $this->is_super === 1; } public function isEnabled(): bool { return (int) $this->status === 1; } }