<?php

namespace App\Models;

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

class permohonanPelatihan extends Model
{
    use HasFactory;

    protected $table = 'permohonan_pelatihan';

    protected $fillable = [
        'permohonan_project_id',
        'audiens',
        'biaya',
        'jumlah_peserta',
        'benefit_pelatihan',
        'lokasi_pelatihan',
        'status_pelatihan',
    ];

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