mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
27 lines
446 B
PHP
27 lines
446 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Spatie\Activitylog\Traits\LogsActivity;
|
|
|
|
class ReceiveNote extends Model
|
|
{
|
|
|
|
use LogsActivity;
|
|
|
|
protected $table = 'receive_notes';
|
|
|
|
protected $fillable = [
|
|
'order_id', 'tracking_no', 'receive_date'
|
|
];
|
|
|
|
protected static $logFillable = true;
|
|
|
|
public function order()
|
|
{
|
|
return $this->belongsTo(Order::class, 'order_id');
|
|
}
|
|
|
|
}
|