This commit is contained in:
salam committed 2025-08-21 17:59:39 +02:00
1 parent 0543823a4f
commit e493c4ed42
106 files changed
+3981 -71

No files matched your search

+41
View File
@@ -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');
}
}