Add games per week to season object and preferred day of week for team object

This commit is contained in:
Daniel Guzman
2024-07-14 11:47:21 +02:00
parent c72fd1dfc9
commit 3e6e4ea6e5
390 changed files with 402 additions and 13853 deletions
+15
View File
@@ -40,6 +40,9 @@ class Team
#[ORM\ManyToOne(inversedBy: 'teams')]
private ?Facility $homeFacility = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $dayOfTheWeekForHomeGame = null;
public function __construct()
{
$this->seasons = new ArrayCollection();
@@ -199,4 +202,16 @@ class Team
return $this;
}
public function getDayOfTheWeekForHomeGame(): ?string
{
return $this->dayOfTheWeekForHomeGame;
}
public function setDayOfTheWeekForHomeGame(?string $dayOfTheWeekForHomeGame): static
{
$this->dayOfTheWeekForHomeGame = $dayOfTheWeekForHomeGame;
return $this;
}
}