<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SupplierPayment extends Model { protected $fillable=['payment_no','supplier_id','currency_id','exchange_rate','payment_date','amount','payment_method','notes','user_id']; public function supplier(){return $this->belongsTo(Supplier::class);} public function currency(){return $this->belongsTo(Currency::class);} }
