[DATABASE][AUTOCODE] Autogenerated fields, setters and getters for each entity

This commit is contained in:
Hugo Sales
2020-03-30 15:13:51 +00:00
committed by Hugo Sales
parent 4bc3eabd29
commit 04202b59ef
57 changed files with 4006 additions and 0 deletions

View File

@@ -37,6 +37,40 @@ class Config
{
// {{{ Autocode
private string $section;
private string $setting;
private ?string $value;
public function setSection(string $section): self
{
$this->section = $section;
return $this;
}
public function getSection(): string
{
return $this->section;
}
public function setSetting(string $setting): self
{
$this->setting = $setting;
return $this;
}
public function getSetting(): string
{
return $this->setting;
}
public function setValue(?string $value): self
{
$this->value = $value;
return $this;
}
public function getValue(): ?string
{
return $this->value;
}
// }}} Autocode
public static function schemaDef(): array