<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ReceiptNumber extends Model
{
    use HasFactory;

    protected $table = 'acc_receipt_numbers';

    protected $guarded = ['id'];

    /**An entry in this table belongs to Receipts Table**/
    public function receipt()
    {
        return $this->belongsTo(Receipt::class, 'rct_id', 'rct_id');
    }
}
