first commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Verifikator;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Rekapitulasi extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'verifikator.rekapitulasi';
|
||||
|
||||
protected $fillable = [
|
||||
'tahun',
|
||||
'id_unit_kerja',
|
||||
'unit_kerja_nama',
|
||||
'total_p1',
|
||||
'total_p2',
|
||||
'total_thr',
|
||||
'total_r13',
|
||||
'total_publikasi',
|
||||
'total_remunerasi',
|
||||
'total_kekurangan_p1',
|
||||
'total_kekurangan_p2',
|
||||
'total_kekurangan_thr',
|
||||
'total_kekurangan_r13',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'tahun' => 'integer',
|
||||
'id_unit_kerja' => 'integer',
|
||||
'total_p1' => 'decimal:2',
|
||||
'total_p2' => 'decimal:2',
|
||||
'total_thr' => 'decimal:2',
|
||||
'total_r13' => 'decimal:2',
|
||||
'total_publikasi' => 'decimal:2',
|
||||
'total_remunerasi' => 'decimal:2',
|
||||
'total_kekurangan_p1' => 'decimal:2',
|
||||
'total_kekurangan_p2' => 'decimal:2',
|
||||
'total_kekurangan_thr' => 'decimal:2',
|
||||
'total_kekurangan_r13' => 'decimal:2',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user