Files
services_core/app/Models/TechnicianConsumable.php
T
2026-08-07 09:16:13 +07:00

27 lines
514 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TechnicianConsumable extends Model
{
protected $table = 'technician_consumables';
protected $fillable = [
'user_id',
'barcode_id',
'inventory_item_id',
'material_name',
'unit',
'qty_received',
'qty_used',
'qty_remaining',
'status',
'assigned_at',
'assigned_by'
];
public function user() { return $this->belongsTo(User::class); }
}