Added:
- settings form - manga upload directory - ContentSource export/import
This commit is contained in:
50
src/Entity/AppSettings.php
Normal file
50
src/Entity/AppSettings.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use App\Repository\AppSettingsRepository;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
#[ORM\Entity(repositoryClass: AppSettingsRepository::class)]
|
||||
class AppSettings
|
||||
{
|
||||
#[ORM\Id]
|
||||
#[ORM\GeneratedValue]
|
||||
#[ORM\Column]
|
||||
private ?int $id = null;
|
||||
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $MangaDirectory = null;
|
||||
|
||||
#[ORM\Column(length: 255, nullable: true)]
|
||||
private ?string $ImageDirectory = null;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function getMangaDirectory(): ?string
|
||||
{
|
||||
return $this->MangaDirectory;
|
||||
}
|
||||
|
||||
public function setMangaDirectory(?string $MangaDirectory): static
|
||||
{
|
||||
$this->MangaDirectory = $MangaDirectory;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getImageDirectory(): ?string
|
||||
{
|
||||
return $this->ImageDirectory;
|
||||
}
|
||||
|
||||
public function setImageDirectory(?string $ImageDirectory): static
|
||||
{
|
||||
$this->ImageDirectory = $ImageDirectory;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user