Siopas Inventory PETI for ISTW Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
528 B

<?php
namespace App\Models;
1 year ago
use App\Traits\UUID;
use Illuminate\Database\Eloquent\Model;
1 year ago
use Illuminate\Database\Eloquent\Factories\HasFactory;
class BarangKeluar extends Model
{
1 year ago
use HasFactory, UUID;
1 year ago
protected $table = 'barang_keluars';
protected $fillable = [
'asset_id',
'jumlah',
'tanggal_keluar',
'penerima_barang',
'exit_warehouse',
'keterangan',
];
public function asset()
{
return $this->belongsTo(m_asset::class, 'asset_id');
}
}