provider, clients migration & resource

This commit is contained in:
salam committed 2025-08-24 08:10:57 +02:00
1 parent ab44b05fa3
commit cbe68f78be
56 files changed
+721 -289

No files matched your search

+9 -13
View File
@@ -6,19 +6,15 @@ use Illuminate\Database\Eloquent\Model;
class Client extends Model
{
protected $fillable = [
'name',
'email',
'homepage',
protected $casts = [
'bookmaker' => 'json',
'sport' => 'json',
];
public function client_sports()
{
return $this->hasMany(ClientSports::class);
}
public function client_bookmaker()
{
return $this->hasMany(ClientBookmaker::class);
}
protected $fillable = [
'name',
'homepage',
'bookmaker',
'sport',
];
}