<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Receipt extends Model
{
    protected $fillable = [
        'date', 
        'amount', 
        'type', 
        'recipient_type', 
        'operator_id', 
        'particulars', 
        'payment_mode', 
        'description'
    ];

    public function operator()
    {
        return $this->belongsTo(Operator::class);
    }
}
