Upload Data temp realisasi belanja dbh

This commit is contained in:
Pusdatin BPKD Jkt
2022-07-15 16:41:04 +07:00
parent 97154c1100
commit 62f94b5ab6
19 changed files with 582 additions and 54 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class DbhPendapatanRealisasi extends Eloquent
{
use HasFactory;
use Uuids;
protected $connection = 'mysql';
protected $connection = 'Samasa';
protected $table = 'dbh_pendapatan_realisasi';
protected $fillable = [
'tahun','simtrad4_uraian','simtrad4_kotor','simtrad4_potongan','simtrad4_bersih','simtrad4_sp2d_bun',
+34
View File
@@ -0,0 +1,34 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Yajra\Oci8\Eloquent\OracleEloquent as Eloquent;
class TempRealisasiBelanja extends Eloquent
{
use HasFactory;
protected $connection = 'Samasa';
protected $table = 'SAMASA.TEMP_REALISASI_BELANJA';
protected $fillable = [
"tahun_anggaran",
"jenis_belanja",
"sub_jenis_belanja",
"kode_program",
"nama_program",
"kode_skpd",
"nama_skpd",
"kode_kegiatan",
"nama_kegiatan",
"kode_sub_kegiatan",
"nama_sub_kegiatan",
"kode_rsk",
"nama_rsk",
"kode_rekening",
"nama_rekening",
"jumlah_anggaran",
"volume_satuan",
"unit_satuan"
];
}
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class UnitSatuan extends Model
{
use HasFactory;
protected $table = 'unit_satuan';
protected $fillable = [
'nama_satuan'
];
}