feat(bookstack) : add bookstackShelfId and bookstackShelfName to Project
This commit is contained in:
@@ -75,6 +75,14 @@ class Project
|
|||||||
#[Groups(['project:read', 'project:write', 'task:read'])]
|
#[Groups(['project:read', 'project:write', 'task:read'])]
|
||||||
private ?string $giteaRepo = null;
|
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]
|
#[ORM\Column]
|
||||||
#[Groups(['project:read', 'project:write'])]
|
#[Groups(['project:read', 'project:write'])]
|
||||||
private bool $archived = false;
|
private bool $archived = false;
|
||||||
@@ -184,4 +192,28 @@ class Project
|
|||||||
|
|
||||||
return $this;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user