<?php

namespace App\Models;

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

class Pengurus extends Model
{
    protected $table = 'pengurus';

    protected $fillable = [
        'badan_usaha_id',
        'nama_pengurus',
        'jabatan'
    ];

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