Implemented the authenticated admin contact system.

This commit is contained in:
2026-05-16 22:02:32 +03:30
parent 04e7931ccc
commit e633805ed3
28 changed files with 2200 additions and 14 deletions

View File

@@ -57,6 +57,16 @@ class User extends Authenticatable
return $this->hasMany(Follow::class);
}
public function supportConversations(): HasMany
{
return $this->hasMany(SupportConversation::class);
}
public function supportMessages(): HasMany
{
return $this->hasMany(SupportMessage::class);
}
public function isSuspended(): bool
{
return $this->suspended_at !== null;