<?php

namespace App\Models\Admin;

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

class MsBidangKepakaranKategori extends Model
{
    use HasFactory;
    public $incrementing = false;
    protected $table = 'ms_bidang_kepakaran_kategori';
    protected $keyType = 'string';

    public function children()
    {
        return $this->hasMany(MsBidangKepakaran::class, 'id_kategori_kepakaran', 'id');
    }
}
