wip del err
This commit is contained in:
1 parent
812736ca9a
commit
9bcd4432c6
1210 files changed
-220941
No files matched your search
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Supervisor extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'provider_id',
|
||||
'sport_id',
|
||||
'special_id',
|
||||
'txodds_market_id',
|
||||
'sleep',
|
||||
'limit',
|
||||
'runtime',
|
||||
'commandline_options',
|
||||
'maxsconds',
|
||||
'lastcall',
|
||||
'is_supervisor',
|
||||
'is_active',
|
||||
'days_from',
|
||||
'days_to',
|
||||
];
|
||||
|
||||
public function sport()
|
||||
{
|
||||
return $this->belongsTo(Sport::class)->where('is_active', 1);
|
||||
}
|
||||
|
||||
public function provider()
|
||||
{
|
||||
return $this->belongsTo(Provider::class);
|
||||
}
|
||||
|
||||
public function txodds_market()
|
||||
{
|
||||
return $this->belongsTo(TxoddsMarket::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user