This commit is contained in:
salam committed 2025-09-24 16:55:55 +02:00
1 parent 11cb9b03f5
commit 5f95289079
25 files changed
+430 -129

No files matched your search

+9
View File
@@ -3,15 +3,24 @@
namespace App\Models;
use App\Models\Scopes\KontoScope;
use Database\Factories\GutachterFactory;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Gutachter extends Model
{
use HasFactory;
use SoftDeletes;
protected static function booted(): void
{
static::addGlobalScope(new KontoScope);
}
protected static function newFactory(): Factory
{
return GutachterFactory::new();
}
}