<?php

namespace App\Models;

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

class PenawaranRiset extends Model
{
    use HasFactory;
    protected $table = 'penawaran_riset';

    protected $fillable = [
        'penawaran_project_id',
        'institusi_penelitian',
        'bidang_penelitian',
        'lokasi_riset',
        'metodologi',
        'hasil',
    ];

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