user wip
This commit is contained in:
1 parent
0543823a4f
commit
e493c4ed42
106 files changed
+3981
-71
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Supervisor extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'code',
|
||||
'command',
|
||||
'process',
|
||||
'description',
|
||||
'sport_id',
|
||||
'client_id',
|
||||
'bookmaker_id',
|
||||
'is_active',
|
||||
'has_log',
|
||||
'sleep',
|
||||
'limit',
|
||||
'multi',
|
||||
'command',
|
||||
'runtime',
|
||||
'events',
|
||||
];
|
||||
|
||||
public function sport()
|
||||
{
|
||||
return $this->belongsTo(Sport::class);
|
||||
}
|
||||
|
||||
public function bookmaker()
|
||||
{
|
||||
return $this->belongsTo(Bookmaker::class, 'bookmaker_id');
|
||||
}
|
||||
|
||||
public function customer()
|
||||
{
|
||||
return $this->belongsTo(Customer::class, 'client_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user