feat: add guest notification center
This commit is contained in:
@@ -121,6 +121,11 @@ class Event extends Model
|
||||
return $this->hasMany(EventMember::class);
|
||||
}
|
||||
|
||||
public function guestNotifications(): HasMany
|
||||
{
|
||||
return $this->hasMany(GuestNotification::class);
|
||||
}
|
||||
|
||||
public function hasActivePackage(): bool
|
||||
{
|
||||
return $this->eventPackage && $this->eventPackage->isActive();
|
||||
|
||||
Reference in New Issue
Block a user