Update Master Data

This commit is contained in:
2026-02-20 00:06:06 +07:00
parent 21ad516dce
commit 66c8bb6810
99 changed files with 67783 additions and 306 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Models\Wilayah;
use Illuminate\Database\Eloquent\Model;
class Kecamatan extends Model
{
protected $table = 'master_kecamatan';
protected $fillable = [
'kode_kecamatan',
'nama_kecamatan',
'path',
'kabupaten_kota_id',
];
public function kabupatenKota()
{
return $this->belongsTo(KabupatenKota::class, 'kabupaten_kota_id');
}
}