Files
nuhodds_fi4/app/Models/PersonalNotification.php
T
2026-02-05 18:48:51 +01:00

28 lines
479 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PersonalNotification extends Model
{
protected $fillable = [
'user_id',
'sport_id',
'bookmaker_id',
'alarm_level_id',
'notify_by_system',
'notify_by_email',
];
public function sport()
{
return $this->belongsTo(Sport::class);
}
public function bookmaker()
{
return $this->belongsTo(Bookmaker::class);
}
}