Files
compras/app/Models/InventoryLotAllocation.php
2026-11-02 08:08:05 +02:00

23 lines
536 B
PHP

<?php
namespace App\Models;
use App\Models\Concerns\BelongsToTenant;
use Illuminate\Database\Eloquent\Model;
/** @property int $lot_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.'));
}
}