WIP: Improve assignment overview for teamers in mobile view

This commit is contained in:
Björn Fromme
2023-10-20 12:47:03 +02:00
parent 7f3115a0ba
commit fd23ea7503
8 changed files with 127 additions and 75 deletions
+15
View File
@@ -41,6 +41,9 @@ class Destination
#[ORM\Column]
private array $pickups = [];
#[ORM\Column(length: 2, nullable: true)]
private ?string $country = null;
public function __toString(): string
{
return sprintf('%s - %s: %s, %s',
@@ -168,4 +171,16 @@ class Destination
{
return 0 < count($this->getPickups());
}
public function getCountry(): ?string
{
return $this->country;
}
public function setCountry(?string $country): static
{
$this->country = $country;
return $this;
}
}