get acrive bookmaker for multiline direct from table

This commit is contained in:
salam committed 2026-01-14 18:58:53 +01:00
1 parent 3e06aad008
commit 767164c336
5 files changed
+10 -132

No files matched your search

-25
View File
@@ -1,25 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class BookmakerSport extends Model
{
protected $fillable = [
'sport_id',
'bookmaker_id',
'provider_id',
'is_active',
];
public function sport()
{
return $this->belongsTo(Sport::class);
}
public function bookmaker()
{
return $this->belongsTo(Bookmaker::class);
}
}