first commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Verifikator;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Pagu extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes;
|
||||
|
||||
protected $table = 'verifikator.pagus';
|
||||
protected $fillable = [
|
||||
'unit_pembayaran_id',
|
||||
'tahun',
|
||||
'pagu',
|
||||
'pagu_smt1',
|
||||
'pagu_smt2',
|
||||
];
|
||||
|
||||
public function unitKerja()
|
||||
{
|
||||
return $this->belongsTo(UnitKerja::class, 'unit_pembayaran_id', 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user