[DATABASE][AUTOCODE] Autogenerated fields, setters and getters for each entity
This commit is contained in:
@@ -37,6 +37,73 @@ class FileRedirection
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private string $urlhash;
|
||||
private ?string $url;
|
||||
private ?int $file_id;
|
||||
private ?int $redirections;
|
||||
private ?int $httpcode;
|
||||
private DateTime $modified;
|
||||
|
||||
public function setUrlhash(string $urlhash): self
|
||||
{
|
||||
$this->urlhash = $urlhash;
|
||||
return $this;
|
||||
}
|
||||
public function getUrlhash(): string
|
||||
{
|
||||
return $this->urlhash;
|
||||
}
|
||||
|
||||
public function setUrl(?string $url): self
|
||||
{
|
||||
$this->url = $url;
|
||||
return $this;
|
||||
}
|
||||
public function getUrl(): ?string
|
||||
{
|
||||
return $this->url;
|
||||
}
|
||||
|
||||
public function setFileId(?int $file_id): self
|
||||
{
|
||||
$this->file_id = $file_id;
|
||||
return $this;
|
||||
}
|
||||
public function getFileId(): ?int
|
||||
{
|
||||
return $this->file_id;
|
||||
}
|
||||
|
||||
public function setRedirections(?int $redirections): self
|
||||
{
|
||||
$this->redirections = $redirections;
|
||||
return $this;
|
||||
}
|
||||
public function getRedirections(): ?int
|
||||
{
|
||||
return $this->redirections;
|
||||
}
|
||||
|
||||
public function setHttpcode(?int $httpcode): self
|
||||
{
|
||||
$this->httpcode = $httpcode;
|
||||
return $this;
|
||||
}
|
||||
public function getHttpcode(): ?int
|
||||
{
|
||||
return $this->httpcode;
|
||||
}
|
||||
|
||||
public function setModified(DateTime $modified): self
|
||||
{
|
||||
$this->modified = $modified;
|
||||
return $this;
|
||||
}
|
||||
public function getModified(): DateTime
|
||||
{
|
||||
return $this->modified;
|
||||
}
|
||||
|
||||
// }}} Autocode
|
||||
|
||||
public static function schemaDef(): array
|
||||
|
Reference in New Issue
Block a user