Merge branch 'main' of ssh://git.homelab.nestor-server.fr:2222/colgora/Mangarr
All checks were successful
Build and Deploy / deploy (push) Successful in 1m46s

# Conflicts:
#	src/Domain/Manga/Application/CommandHandler/DeleteChapterHandler.php
#	src/Domain/Manga/Application/CommandHandler/EditMultipleChaptersHandler.php
#	src/Domain/Manga/Application/EventListener/ChapterImportedEventListener.php
#	src/Domain/Manga/Application/EventListener/VolumeImportedEventListener.php
#	src/Domain/Manga/Application/Response/ChapterResponse.php
#	src/Domain/Manga/Infrastructure/ApiPlatform/State/Provider/DeleteCbzProvider.php
#	src/Domain/Manga/Infrastructure/ApiPlatform/State/Provider/DeleteChapterProvider.php
#	src/Domain/Manga/Infrastructure/Persistence/Repository/LegacyChapterRepository.php
This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2026-03-09 20:47:43 +01:00
33 changed files with 549 additions and 550 deletions

View File

@@ -39,6 +39,12 @@ class Chapter
#[ORM\Column(length: 255, nullable: true)]
private ?string $cbzPath = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $pagesDirectory = null;
#[ORM\Column(options: ['default' => 0])]
private int $pageCount = 0;
#[ORM\Column(type: 'boolean', options: ['default' => true])]
private ?bool $visible = true;
@@ -146,4 +152,28 @@ class Chapter
return $this;
}
public function getPagesDirectory(): ?string
{
return $this->pagesDirectory;
}
public function setPagesDirectory(?string $pagesDirectory): static
{
$this->pagesDirectory = $pagesDirectory;
return $this;
}
public function getPageCount(): int
{
return $this->pageCount;
}
public function setPageCount(int $pageCount): static
{
$this->pageCount = $pageCount;
return $this;
}
}