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