bookmaker logo svg wip
This commit is contained in:
1 parent
399b9d43a7
commit
ceb59c940a
79 files changed
+641
-155
No files matched your search
@@ -6,5 +6,15 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Bookmaker extends Model
|
||||
{
|
||||
//
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'icon',
|
||||
'baid',
|
||||
'txid',
|
||||
'txso',
|
||||
'txot',
|
||||
'betsapi',
|
||||
'direct',
|
||||
'is_active',
|
||||
];
|
||||
}
|
||||
@@ -12,7 +12,7 @@ class ClientBookmaker extends Model
|
||||
'is_active',
|
||||
];
|
||||
|
||||
public function customer()
|
||||
public function client()
|
||||
{
|
||||
return $this->belongsTo(Client::class);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ClientSport extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'client_id',
|
||||
'sport_id',
|
||||
'is_active',
|
||||
];
|
||||
|
||||
public function client()
|
||||
{
|
||||
return $this->belongsTo(Client::class);
|
||||
}
|
||||
|
||||
public function sport()
|
||||
{
|
||||
return $this->belongsTo(Sport::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user