<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class CreditNote extends Model {
    protected $fillable = ['invoice_id', 'credit_number', 'amount', 'issued_date', 'reason'];

    public function invoice() { return $this->belongsTo(Invoice::class); }
}
