feature flags and a bit on the design

This commit is contained in:
Doar Mihai
2026-02-15 16:24:47 +02:00
parent 4bc77d455b
commit 5a0e6e4165
22 changed files with 663 additions and 102 deletions
+8
View File
@@ -40,6 +40,14 @@ class Product extends Model
];
}
/**
* Get the route key for the model.
*/
public function getRouteKeyName(): string
{
return 'slug';
}
/**
* Boot the model.
*/
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class WaitlistEntry extends Model
{
protected $fillable = [
'email',
'notified',
];
protected $casts = [
'notified' => 'boolean',
];
}