alarm messages
This commit is contained in:
1 parent
5a35b90b0d
commit
004e87e6b5
16 files changed
+452
-28
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands\Services\Tasks\Notification;
|
||||
|
||||
use App\Models\PersonalNotificationSend;
|
||||
|
||||
class StoreSend
|
||||
{
|
||||
public static function store($event_id, $user_id, $bookmaker_id, $alarm_level_id, $fieldname, $sendtype)
|
||||
{
|
||||
return PersonalNotificationSend::create([
|
||||
'event_id' => $event_id,
|
||||
'user_id' => $user_id,
|
||||
'bookmaker_id' => $bookmaker_id,
|
||||
'alarm_level_id' => $alarm_level_id,
|
||||
'fieldname' => $fieldname,
|
||||
$sendtype => 1,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user