Move points per match to season entity
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
This commit is contained in:
@@ -35,18 +35,9 @@ class League
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?\DateTimeImmutable $createdAt = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $pointsPerWin = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $pointsPerDraw = null;
|
||||
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $city = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $pointsPerLoss = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $matchesBetweenTeams = null;
|
||||
|
||||
@@ -158,30 +149,6 @@ class League
|
||||
$this->createdAt = new \DateTimeImmutable('now', $timezone);
|
||||
}
|
||||
|
||||
public function getPointsPerWin(): ?int
|
||||
{
|
||||
return $this->pointsPerWin;
|
||||
}
|
||||
|
||||
public function setPointsPerWin(?int $pointsPerWin): static
|
||||
{
|
||||
$this->pointsPerWin = $pointsPerWin;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPointsPerDraw(): ?int
|
||||
{
|
||||
return $this->pointsPerDraw;
|
||||
}
|
||||
|
||||
public function setPointsPerDraw(?int $pointsPerDraw): static
|
||||
{
|
||||
$this->pointsPerDraw = $pointsPerDraw;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCity(): ?string
|
||||
{
|
||||
return $this->city;
|
||||
@@ -194,18 +161,6 @@ class League
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPointsPerLoss(): ?int
|
||||
{
|
||||
return $this->pointsPerLoss;
|
||||
}
|
||||
|
||||
public function setPointsPerLoss(?int $pointsPerLoss): static
|
||||
{
|
||||
$this->pointsPerLoss = $pointsPerLoss;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getMatchesBetweenTeams(): ?int
|
||||
{
|
||||
return $this->matchesBetweenTeams;
|
||||
|
||||
Reference in New Issue
Block a user