app/Model/Character/CombatInfo.php
/**
     * Return joinPlayer relation for this GS.
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasOne
     */
Return joinPlayer relation for this GS.
Return joinPlayer relation for this GS .
public function joinPlayer()
    {
        return $this->hasOne(CombatJoinPlayer::class, 'CombatID', 'CombatID')->orderByDesc('CombatID');
    }
public function joinPlayer ( ) { return $ this -> hasOne ( CombatJoinPlayer :: class , 'CombatID' , 'CombatID' ) -> orderByDesc ( 'CombatID' ) ; }
Return joinPlayer relation for this GS.
Return joinPlayer relation for this GS .
// TODO: passer en HasMany si c'est du One to Many