This commit is contained in:
Laucha1312
2026-06-04 15:14:46 -03:00
parent ed94601e34
commit 0841794c50
76 changed files with 0 additions and 7737 deletions
-33
View File
@@ -1,33 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Pase extends Model
{
protected $table = 'pases';
protected $primaryKey = 'id_pase';
protected $fillable = [
'id_jugador',
'id_club_origen',
'id_club_destino',
'estado'
];
public function jugador()
{
return $this->belongsTo(Jugador::class, 'id_jugador', 'id_jugador');
}
public function clubOrigen()
{
return $this->belongsTo(Club::class, 'id_club_origen', 'id_club');
}
public function clubDestino()
{
return $this->belongsTo(Club::class, 'id_club_destino', 'id_club');
}
}