Files
compras/app/Models/InventoryLotAllocation.php
T
nala 930064269e
tests / ci (push) Waiting to run
commit compras2 2711
2026-11-27 18:11:02 +02:00

27 lines
603 B
PHP

<?php
namespace App\Models;
use App\Models\Concerns\BelongsToTenant;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $lot_id
* @property int $stock_item_id
* @property int $warehouse_id
*/
class InventoryLotAllocation extends Model
{
use BelongsToTenant;
public $timestamps = false;
protected $guarded = ['id'];
protected static function booted(): void
{
static::updating(fn () => throw new \LogicException('Preservar repartições de lotes.'));
static::deleting(fn () => throw new \LogicException('Preservar repartições de lotes.'));
}
}