Get leagues, teams. Create teams.
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good

This commit is contained in:
Daniel Guzman
2024-07-21 00:12:19 +02:00
parent 7bfb300a59
commit efe08af5cc
405 changed files with 521 additions and 13916 deletions
+30
View File
@@ -43,6 +43,12 @@ class Team
#[ORM\Column(length: 255, nullable: true)]
private ?string $dayOfTheWeekForHomeGame = null;
#[ORM\Column(nullable: true)]
private ?int $leagueId = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $teamLogo = null;
public function __construct()
{
$this->seasons = new ArrayCollection();
@@ -214,4 +220,28 @@ class Team
return $this;
}
public function getLeagueId(): ?int
{
return $this->leagueId;
}
public function setLeagueId(?int $leagueId): static
{
$this->leagueId = $leagueId;
return $this;
}
public function getTeamLogo(): ?string
{
return $this->teamLogo;
}
public function setTeamLogo(?string $teamLogo): static
{
$this->teamLogo = $teamLogo;
return $this;
}
}