Files
nuhodds_fi4/app/Console/Commands/Services/Tasks/Notification/StoreSend.php
T
2026-02-06 16:32:00 +01:00

21 lines
555 B
PHP

<?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,
(string) $sendtype => 1,
]);
}
}