Update Fix

This commit is contained in:
2026-03-06 03:26:11 +07:00
commit 8090007f39
15987 changed files with 2350525 additions and 0 deletions

25
app/Models/Voucher.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Voucher extends Model
{
protected $table = 'vouchers';
protected $fillable = [
'pegawai_id',
'kode',
'saldo',
'aktif',
'catatan',
'created_by',
];
public function pegawai(): BelongsTo
{
return $this->belongsTo(Pegawai::class, 'pegawai_id');
}
}