WIP: Implement feedback functionality

This commit is contained in:
Björn Fromme committed 2023-11-02 18:01:12 +01:00
1 parent 2689f93683
commit 2599fd69dc
28 files changed
+640 -43

No files matched your search

+16
View File
@@ -38,6 +38,10 @@ class JobProfile implements BlameableEntityInterface, TimestampableEntityInterfa
#[ORM\ManyToMany(targetEntity: Training::class)]
private Collection $requiredTrainings;
#[ORM\ManyToOne]
#[ORM\JoinColumn(onDelete: 'SET NULL')]
private ?FeedbackSet $feedbackSet = null;
public function __construct()
{
$this->uuid = Uuid::v4();
@@ -101,4 +105,16 @@ class JobProfile implements BlameableEntityInterface, TimestampableEntityInterfa
return $this;
}
public function getFeedbackSet(): ?FeedbackSet
{
return $this->feedbackSet;
}
public function setFeedbackSet(?FeedbackSet $feedbackSet): static
{
$this->feedbackSet = $feedbackSet;
return $this;
}
}