mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 20:44:01 +00:00
19 lines
361 B
PHP
19 lines
361 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class Notification extends AbstractModel
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $table = 'notifications';
|
|
|
|
public function package(): BelongsTo
|
|
{
|
|
return $this->BelongsTo(Package::class, 'package_id', 'id');
|
|
}
|
|
}
|