<?php

namespace App\Models;

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

class Installment extends Model
{
    use HasFactory;

    protected $fillable = [
        'entry_id',
        'proc_date',
        'amount',
        'description',
        'region',
        'status'
    ];

    public function entry()
    {
        return $this->belongsTo(Entry::class);
    }
}
