26 lines
559 B
PHP
26 lines
559 B
PHP
<?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');
|
|
}
|
|
}
|