<?php

namespace App\Models;

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

class Pjsk2017 extends Model
{
    protected $table = 'pjsk_2017';

    protected $fillable = [
        'badan_usaha_id',
        'nama',
        'klasifikasi_1',
        'klasifikasi_2'
    ];

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