This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user