This commit is contained in:
2022-11-25 20:52:52 -03:00
parent dd0410a0fb
commit efed50cd7f
39 changed files with 2777 additions and 5 deletions

View File

@ -0,0 +1,50 @@
<?php
namespace ProVM\Emails\Model\State;
use ProVM\Common\Define\Model;
class Attachment implements Model
{
protected int $id;
protected \ProVM\Emails\Model\Attachment $attachment;
protected string $name;
protected bool $value;
public function getId(): int
{
return $this->id;
}
public function getAttachment(): \ProVM\Emails\Model\Attachment
{
return $this->attachment;
}
public function getName(): string
{
return $this->name;
}
public function getValue(): bool
{
return $this->value;
}
public function setId(int $id): Attachment
{
$this->id = $id;
return $this;
}
public function setAttachment(\ProVM\Emails\Model\Attachment $attachment): Attachment
{
$this->attachment = $attachment;
return $this;
}
public function setName(string $name): Attachment
{
$this->name = $name;
return $this;
}
public function setValue(bool $value): Attachment
{
$this->value = $value;
return $this;
}
}