Files
nuhodds_fi4/app/Models/PersonalNotification.php
T
2026-10-04 15:25:03 +02:00

27 lines
470 B
PHP

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