'hashed', 'status' => 'integer', ]; } public function isEnabled(): bool { return (int) $this->status === 1; } public function channels(): HasMany { return $this->hasMany(Channel::class, 'user_id'); } }