<?php

namespace App\Models;

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

class SampahTerkelola extends Model
{
    use HasFactory;

    protected $table = 'sampah_terkelola';
    protected $guarded = [];
    protected $primaryKey = 'SampahTerkelolaId';

    public function sekolah()
    {
        return $this->belongsTo(\App\Models\Master\Sekolah::class,'ms_sekolah_id','MsSekolahId');
    }
}
