<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class Pjsk2020 extends Model
{
    protected $table = 'pjsk_2020';

    protected $fillable = [
        'badan_usaha_id',
        'nama',
        'subklasifikasi'
    ];

    public function badanUsaha(): BelongsTo
    {
        return $this->belongsTo(BadanUsaha::class);
    }
}
