feat(bookstack) : add bookstackShelfId and bookstackShelfName to Project

This commit is contained in:
2026-03-15 18:05:13 +01:00
parent 585cc3368f
commit 8fbafc1f8a

View File

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