add dashboard, fix get data scraping, fix table
This commit is contained in:
38
app/Models/PbgTaskRetributions.php
Normal file
38
app/Models/PbgTaskRetributions.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PbgTaskRetributions extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = "pbg_task_retributions";
|
||||
|
||||
protected $fillable = [
|
||||
'detail_id',
|
||||
'detail_created_at',
|
||||
'detail_updated_at',
|
||||
'detail_uid',
|
||||
'luas_bangunan',
|
||||
'indeks_lokalitas',
|
||||
'wilayah_shst',
|
||||
'kegiatan_id',
|
||||
'kegiatan_name',
|
||||
'nilai_shst',
|
||||
'indeks_terintegrasi',
|
||||
'indeks_bg_terbangun',
|
||||
'nilai_retribusi_bangunan',
|
||||
'nilai_prasarana',
|
||||
'created_by',
|
||||
'pbg_document',
|
||||
'underpayment',
|
||||
'skrd_amount',
|
||||
'pbg_task_uid'
|
||||
];
|
||||
|
||||
public function task(){
|
||||
return $this->belongsTo(PbgTask::class, 'pbg_task_uid', 'uuid');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user