false])] #[Assert\NotNull] private bool $pinned = false; public function getId(): ?int { return $this->id; } public function getMessage(): ?string { return $this->message; } public function setMessage(string $message): void { $this->message = $message; } public function getCreatedBy(): ?User { return $this->createdBy; } public function setCreatedBy(User $createdBy): void { $this->createdBy = $createdBy; } public function getCreatedAt(): ?\DateTime { return $this->createdAt; } public function setCreatedAt(\DateTime $createdAt): void { $this->createdAt = $createdAt; } public function isPinned(): bool { return $this->pinned; } public function setPinned(bool $pinned): void { $this->pinned = $pinned; } }