WIP: Implement role house manager and feedback providing

This commit is contained in:
Björn Fromme committed 2023-11-04 18:24:54 +01:00
1 parent 538d39f63e
commit d5da0d10d5
23 files changed
+576 -37

No files matched your search

+30
View File
@@ -35,6 +35,12 @@ class Feedback implements BlameableEntityInterface, TimestampableEntityInterface
#[ORM\Column]
private array $ratings = [];
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $comment = null;
#[ORM\Column]
private ?bool $commentPublic = false;
public function __construct()
{
$this->uuid = Uuid::v4();
@@ -97,4 +103,28 @@ class Feedback implements BlameableEntityInterface, TimestampableEntityInterface
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): static
{
$this->comment = $comment;
return $this;
}
public function isCommentPublic(): ?bool
{
return $this->commentPublic;
}
public function setCommentPublic(bool $commentPublic): static
{
$this->commentPublic = $commentPublic;
return $this;
}
}