diff --git a/src/Entity/Attachment.php b/src/Entity/Attachment.php index 089311ea..ff53e707 100644 --- a/src/Entity/Attachment.php +++ b/src/Entity/Attachment.php @@ -39,6 +39,8 @@ class Attachment extends NamedDBElement */ protected $show_in_table; + + /** * @var string The filename using the %BASE% variable * @ORM\Column(type="string") @@ -145,4 +147,18 @@ class Attachment extends NamedDBElement { return 'A' . sprintf('%09d', $this->getID()); } + + /***************************************************************************************************** + * Setters + ****************************************************************************************************/ + + /** + * @param bool $show_in_table + * @return self + */ + public function setShowInTable(bool $show_in_table): self + { + $this->show_in_table = $show_in_table; + return $this; + } } \ No newline at end of file