forked from admin/services_core
Giant Update
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class NotificationBroadcastRecipient extends Model
|
||||
{
|
||||
protected $guarded = ['id'];
|
||||
|
||||
public function broadcast()
|
||||
{
|
||||
return $this->belongsTo(NotificationBroadcast::class, 'notification_broadcast_id');
|
||||
}
|
||||
|
||||
public function customer()
|
||||
{
|
||||
return $this->belongsTo(Customer::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user