mirror of
https://github.com/rekywhyd/WebGIS_PengentasanKemiskinan.git
synced 2026-07-10 03:13:08 +00:00
Memperbarui UI/UX
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class LogDistribusi extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'log_distribusi';
|
||||
|
||||
protected $fillable = [
|
||||
'id_penerima',
|
||||
'tanggal_diterima',
|
||||
'status',
|
||||
'foto_penyerahan',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'tanggal_diterima' => 'datetime',
|
||||
];
|
||||
|
||||
public function penerimaBantuan()
|
||||
{
|
||||
return $this->belongsTo(PenerimaBantuan::class, 'id_penerima');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user