Task: Improve layout

This commit is contained in:
Björn Fromme
2023-10-21 16:41:57 +02:00
parent bf2e5600d0
commit 847af5341c
14 changed files with 278 additions and 174 deletions
+15
View File
@@ -40,6 +40,9 @@ class Application implements TimestampableEntityInterface
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $remarks = null;
#[ORM\ManyToOne]
private ?User $remarksBy = null;
public function __construct(Assignment $assignment, Teamer $teamer)
{
$this->uuid = Uuid::v4();
@@ -143,4 +146,16 @@ class Application implements TimestampableEntityInterface
return $count === $requiredTrainings->count();
}
public function getRemarksBy(): ?User
{
return $this->remarksBy;
}
public function setRemarksBy(?User $remarksBy): static
{
$this->remarksBy = $remarksBy;
return $this;
}
}