first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Verifikator;
|
||||
|
||||
use App\Models\DokSiremun\UnitKerja;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class PenambahanPagu extends Model
|
||||
{
|
||||
use HasFactory, SoftDeletes;
|
||||
|
||||
protected $table = 'verifikator.penambahan_pagus';
|
||||
protected $fillable = [
|
||||
'tahun',
|
||||
'id_unit_pembayaran',
|
||||
'penambahan'
|
||||
];
|
||||
|
||||
function unit()
|
||||
{
|
||||
return $this->belongsTo(UnitKerja::class, 'unit_kerja_id', 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user