[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 55bc66d7ed
commit 6193062590
57 changed files with 4006 additions and 0 deletions

View File

@@ -37,6 +37,40 @@ class FileToPost
{
// {{{ Autocode
private int $file_id;
private int $post_id;
private DateTime $modified;
public function setFileId(int $file_id): self
{
$this->file_id = $file_id;
return $this;
}
public function getFileId(): int
{
return $this->file_id;
}
public function setPostId(int $post_id): self
{
$this->post_id = $post_id;
return $this;
}
public function getPostId(): int
{
return $this->post_id;
}
public function setModified(DateTime $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTime
{
return $this->modified;
}
// }}} Autocode
public static function schemaDef(): array