wip fix
This commit is contained in:
1 parent
9bcd4432c6
commit
6f92f9e1d5
1209 files changed
+220940
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use MongoDB\Laravel\Eloquent\HybridRelations;
|
||||
|
||||
class SofaScoreRosaTournament extends Model
|
||||
{
|
||||
use HybridRelations;
|
||||
|
||||
protected $fillable = [
|
||||
'ss_team_id',
|
||||
'ss_tournament_id',
|
||||
'grapped',
|
||||
'disabled',
|
||||
];
|
||||
|
||||
public function tournament()
|
||||
{
|
||||
return $this->belongsTo(SofaScoreTournament::class, 'ss_tournament_id', 'tournament_id');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user