<?php

namespace App\Models;

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

class VPengusul extends Model
{
    protected $connection = 'epk';
    protected $table = 'v_pengusul';
    protected $primaryKey = 'id_pengajuan';

    public function penelaah()
    {
        return $this->hasMany(VPenelaah::class, 'id_pengajuan', 'id_pengajuan');
    }
}
