<?php

namespace App\Models;

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

class permohonanPendanaan extends Model
{
    use HasFactory;

    protected $table = 'permohonan_pendanaan';

    protected $fillable = [
        'permohonan_project_id',
        'jumlah_dana',
        'lokasi_pendanaan',
        'rencana_penggunaan_dana',
        'status_pendanaan',
        'benefit_pendanaan',
    ];

    public function project()
    {
        return $this->belongsTo(permohonanProject::class);
    }
}
