This commit is contained in:
Mark Gregory
2026-07-24 11:53:07 +01:00
parent 979ae2421e
commit 8cef5db6b3
18 changed files with 147 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
namespace Modules\Products\Models;
use Illuminate\Database\Eloquent\Model;
final class Product extends Model
{
protected $guarded = [];
protected function casts(): array
{
return ['is_active' => 'boolean'];
}
}