<?php

namespace App\Models\Sales;

use Illuminate\Database\Eloquent\Model;
use OwenIt\Auditing\Contracts\Auditable;
use OwenIt\Auditing\Auditable as AuditableTrait;

class FeeWaiverApproval extends Model  implements Auditable
{
	use AuditableTrait;
    protected $table='fee_waiver_approval';
    protected $primaryKey = 'id';
    protected $fillable = ['invoice_id','approval_date','approval_user','status','fee_waiver_percentage'];
    
    function invoice()
    {
        return $this->belongsTo('\App\Models\Sales\Invoice','invoice_id','id');
    }

}
