File "PurchaseOrderOrderDetails.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/app/Models/PurchaseOrderOrderDetails.php
File size: 468 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PurchaseOrderOrderDetails extends Model
{
use HasFactory;
protected $table = "purchase_order_order_details";
protected $guarded = [
'_token',
];
public function order(): BelongsTo
{
return $this->belongsTo(Order::class, 'order_id');
}
}