36 lines
740 B
PHP
36 lines
740 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use MongoDB\Laravel\Eloquent\HybridRelations;
|
|
|
|
class SofaScorePlayerPosition extends Model
|
|
{
|
|
use HybridRelations;
|
|
|
|
protected $connection = 'mariadb';
|
|
|
|
protected $fillable = [
|
|
'ss_code',
|
|
'name',
|
|
'generalposition',
|
|
'exp_goals',
|
|
'exp_assists',
|
|
'exp_cards',
|
|
'exp_fouls',
|
|
'exp_was_fouled',
|
|
'exp_offsides',
|
|
'exp_total_shots',
|
|
'exp_shots_on_target',
|
|
'minexp_goals',
|
|
'minexp_assists',
|
|
'minexp_cards',
|
|
'minexp_fouls',
|
|
'minexp_was_fouled',
|
|
'minexp_offsides',
|
|
'minexp_total_shots',
|
|
'minexp_shots_on_target',
|
|
];
|
|
}
|