mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
19 lines
360 B
PHP
19 lines
360 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class PackageItem extends AbstractModel
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $table = 'package_items';
|
|
|
|
public function pacakge(): BelongsTo
|
|
{
|
|
return $this->BelongsTo(Package::class, 'package_id', 'id');
|
|
}
|
|
}
|