Repo rebuild

This commit is contained in:
Mark Gregory
2026-09-15 12:33:28 +01:00
commit be28c4feec
5629 changed files with 317074 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
namespace Modules\Warehouse\app\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class WarehouseValidationRule extends Model
{
protected $fillable = [
'warehouse_id', 'name', 'rule_key', 'severity', 'is_active', 'configuration',
];
protected $casts = [
'is_active' => 'boolean',
'configuration' => 'array',
];
public function warehouse(): BelongsTo
{
return $this->belongsTo(Warehouse::class);
}
}