[AUTOGENERATED] Run bin/generate_entity_fields for the Embed plugin

This commit is contained in:
Hugo Sales 2021-04-27 21:18:44 +00:00
parent 4cd152f640
commit bb1ba11fcf
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -44,20 +44,151 @@ use App\Core\Entity;
class AttachmentEmbed extends Entity class AttachmentEmbed extends Entity
{ {
// {{{ Autocode // {{{ Autocode
public $attachment_id; // int(4) primary_key not_null private int $attachment_id;
public $version; // varchar(20) private ?string $mimetype;
public $type; // varchar(20) private ?string $provider;
public $mimetype; // varchar(50) private ?string $provider_url;
public $provider; // varchar(50) private ?int $width;
public $provider_url; // varchar(191) not 255 because utf8mb4 takes more space private ?int $height;
public $width; // int(4) private ?string $html;
public $height; // int(4) private ?string $title;
public $html; // text() private ?string $author_name;
public $title; // varchar(191) private ?string $author_url;
public $author_name; // varchar(50) private ?string $url;
public $author_url; // varchar(191) not 255 because utf8mb4 takes more space private DateTimeInterface $modified;
public $url; // varchar(191) not 255 because utf8mb4 takes more space
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP public function setAttachmentId(int $attachment_id): self
{
$this->attachment_id = $attachment_id;
return $this;
}
public function getAttachmentId(): int
{
return $this->attachment_id;
}
public function setMimetype(?string $mimetype): self
{
$this->mimetype = $mimetype;
return $this;
}
public function getMimetype(): ?string
{
return $this->mimetype;
}
public function setProvider(?string $provider): self
{
$this->provider = $provider;
return $this;
}
public function getProvider(): ?string
{
return $this->provider;
}
public function setProviderUrl(?string $provider_url): self
{
$this->provider_url = $provider_url;
return $this;
}
public function getProviderUrl(): ?string
{
return $this->provider_url;
}
public function setWidth(?int $width): self
{
$this->width = $width;
return $this;
}
public function getWidth(): ?int
{
return $this->width;
}
public function setHeight(?int $height): self
{
$this->height = $height;
return $this;
}
public function getHeight(): ?int
{
return $this->height;
}
public function setHtml(?string $html): self
{
$this->html = $html;
return $this;
}
public function getHtml(): ?string
{
return $this->html;
}
public function setTitle(?string $title): self
{
$this->title = $title;
return $this;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setAuthorName(?string $author_name): self
{
$this->author_name = $author_name;
return $this;
}
public function getAuthorName(): ?string
{
return $this->author_name;
}
public function setAuthorUrl(?string $author_url): self
{
$this->author_url = $author_url;
return $this;
}
public function getAuthorUrl(): ?string
{
return $this->author_url;
}
public function setUrl(?string $url): self
{
$this->url = $url;
return $this;
}
public function getUrl(): ?string
{
return $this->url;
}
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// }}} Autocode // }}} Autocode
public static function schemaDef() public static function schemaDef()