statistiko events
This commit is contained in:
1 parent
c1b5adb3a4
commit
3d9239737f
29 files changed
+466
-767
No files matched your search
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use MongoDB\Laravel\Eloquent\Model;
|
||||
|
||||
class StatistikoPlayer extends Model
|
||||
{
|
||||
protected $connection = 'mongodb';
|
||||
|
||||
protected $table = 'player';
|
||||
|
||||
protected $fillable = [
|
||||
'id_giocatore',
|
||||
'giocatore',
|
||||
'data_di_nascita',
|
||||
'altezza',
|
||||
'nazionalita',
|
||||
'posizione',
|
||||
'sport_radar_id',
|
||||
'id_squadra_tm',
|
||||
'nome_completo',
|
||||
'rigorista',
|
||||
'national_team_id',
|
||||
'data_aggiornamento',
|
||||
'league_code',
|
||||
'team_code',
|
||||
'team_name',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'data_di_nascita' => 'date',
|
||||
'data_aggiornamento' => 'date',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user