From 8fbafc1f8ac8943cff6e3bada4e2861b4f04efae Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 15 Mar 2026 18:05:13 +0100 Subject: [PATCH] feat(bookstack) : add bookstackShelfId and bookstackShelfName to Project --- src/Entity/Project.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/Entity/Project.php b/src/Entity/Project.php index fd2751d..559c4f4 100644 --- a/src/Entity/Project.php +++ b/src/Entity/Project.php @@ -75,6 +75,14 @@ class Project #[Groups(['project:read', 'project:write', 'task:read'])] private ?string $giteaRepo = null; + #[ORM\Column(nullable: true)] + #[Groups(['project:read', 'project:write', 'task:read'])] + private ?int $bookstackShelfId = null; + + #[ORM\Column(length: 255, nullable: true)] + #[Groups(['project:read', 'project:write'])] + private ?string $bookstackShelfName = null; + #[ORM\Column] #[Groups(['project:read', 'project:write'])] private bool $archived = false; @@ -184,4 +192,28 @@ class Project return $this; } + + public function getBookstackShelfId(): ?int + { + return $this->bookstackShelfId; + } + + public function setBookstackShelfId(?int $bookstackShelfId): static + { + $this->bookstackShelfId = $bookstackShelfId; + + return $this; + } + + public function getBookstackShelfName(): ?string + { + return $this->bookstackShelfName; + } + + public function setBookstackShelfName(?string $bookstackShelfName): static + { + $this->bookstackShelfName = $bookstackShelfName; + + return $this; + } }