Enhance and fix some bugs

This commit is contained in:
Xbird
2022-04-07 19:37:10 +00:00
parent 32adcdaad4
commit b3cf967a4d
16 changed files with 158 additions and 42 deletions

View File

@@ -457,6 +457,16 @@ class Directory
*/
private $folders;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $gangInfo;
/**
* @ORM\Column(type="boolean", options={"default":"0"})
*/
private $hasNoPapers = false;
public function __construct()
{
@@ -1438,4 +1448,28 @@ class Directory
return $this;
}
public function getGangInfo(): ?string
{
return $this->gangInfo;
}
public function setGangInfo(?string $gangInfo): self
{
$this->gangInfo = $gangInfo;
return $this;
}
public function getHasNoPapers(): ?bool
{
return $this->hasNoPapers;
}
public function setHasNoPapers(bool $hasNoPapers): self
{
$this->hasNoPapers = $hasNoPapers;
return $this;
}
}