Migrasi ke Laravel dan penambahan dokumentasi

This commit is contained in:
GuavaPopper
2026-05-02 14:03:04 +07:00
parent 7759b83638
commit 6f108afdba
83 changed files with 12004 additions and 3 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class RumahMiskin extends Model
{
/** @use HasFactory<\Database\Factories\RumahMiskinFactory> */
use HasFactory;
protected $table = 'rumah_miskin';
protected $primaryKey = 'id_rumah';
public $incrementing = false;
protected $keyType = 'string';
protected $fillable = ['id_rumah', 'alamat', 'jumlah_kk', 'jumlah_orang', 'latitude', 'longitude'];
}