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; + } }