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

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Models\Produk;
class PenjualanBarang extends Model
{
protected $table = 'penjualan_barang';
protected $fillable = [
'penjualan_id',
'produk_id',
'jumlah',
'harga',
'total'
];
public function produk()
{
return $this->belongsTo(Produk::class, 'produk_id');
}
}