mirror of
https://github.com/rekywhyd/WebGIS_PengentasanKemiskinan.git
synced 2026-07-10 19:33:07 +00:00
Memperbarui UI/UX
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class LaporanWarga extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'nama_calon',
|
||||
'jumlah_tanggungan',
|
||||
'alamat',
|
||||
'deskripsi',
|
||||
'foto',
|
||||
'status_laporan',
|
||||
'id_tempat_ibadah',
|
||||
];
|
||||
|
||||
public function tempat_ibadah()
|
||||
{
|
||||
return $this->belongsTo(TempatIbadah::class, 'id_tempat_ibadah');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user