<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class MGolongan extends Model
{
    use HasFactory;

    protected $table = "m_golongan";
    protected $primaryKey = 'golongan_id';
    public $timestamps = false;
    protected $fillable = [
    ];
    public static function checkExist($id)
    {
        return self::where('id',$id);
    }
}
