initial commit
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
2026-04-09 19:53:31 +02:00
commit c178fab470
307 changed files with 30669 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Bonus extends Model
{
use HasFactory;
protected $fillable = [
'name',
'description',
'image_path',
'brand_color',
'hover_color',
'badges',
'min_deposit',
'max_bet',
'wagering',
'free_spins',
'button_link',
'key_features',
'is_sticky',
'is_no_deposit',
'is_featured',
'order',
'is_active',
];
protected $casts = [
'badges' => 'array',
'key_features' => 'array',
'is_sticky' => 'boolean',
'is_no_deposit' => 'boolean',
'is_featured' => 'boolean',
'is_active' => 'boolean',
];
public function stats()
{
return $this->hasMany(BonusStat::class);
}
}