WIP: Implement feedback functionality
This commit is contained in:
1 parent
2689f93683
commit
2599fd69dc
28 files changed
+640
-43
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user