<?php

namespace App\Models;

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

class permohonanRiset extends Model
{
    use HasFactory;

    protected $table = 'permohonan_riset';

    protected $fillable = [
        'permohonan_project_id',
        'anggaran',
        'lokasi_riset',
        'metodologi',
        'hasil',
        'status_riset',
        'benefit_riset',
    ];

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