<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class InventoryCountItem extends Model
{
    protected $fillable = [
        'company_id', 'inventory_count_id', 'product_id', 
        'system_qty', 'physical_qty', 'created_by'
    ];

    public function product()
    {
        return $this->belongsTo(Product::class);
    }

    // Note: 'variance' is a virtual/generated column in the DB, 
    // so we don't need it in fillable.
}