Files
nuhodds_fi4/app/Models/ComparingBookmaker.php
2026-10-04 15:25:03 +02:00

30 lines
523 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ComparingBookmaker extends Model
{
protected $fillable = [
'method_id',
'sport_id',
'bookmaker_id',
'client_bookmaker_id',
'time_lastcheck',
'margin_threshold',
'is_active',
'sorting',
];
public function bookmaker()
{
return $this->belongsTo(Bookmaker::class);
}
public function sport()
{
return $this->belongsTo(Sport::class);
}
}