Skip to content

Commit

Permalink
Merge pull request #5 from jetimob/doc/implements-name-to-validatiodo…
Browse files Browse the repository at this point in the history
…cument

feat: implementação do nome na entidade ValidationDocument
  • Loading branch information
marcioal1991 authored Sep 19, 2024
2 parents db0ad60 + a128aa2 commit 268437e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Entity/Account/ValidationDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,30 @@ class ValidationDocument extends Entity

protected ?string $documentFile;

protected ?string $documentFileName;

public function getDocumentFile(): ?string
{
return $this->documentFile;
}

public function getDocumentFileName(): ?string
{
return $this->documentFileName;
}

public function setDocumentFile(?string $documentFile): self
{
$this->documentFile = $documentFile;
return $this;
}

public function setDocumentFileName(?string $documentFileName): self
{
$this->documentFileName = $documentFileName;
return $this;
}

public function getType(): ?string
{
return $this->type;
Expand All @@ -42,6 +55,7 @@ public function toArray(): array
[
'name' => 'documentFile',
'contents' => $this->getDocumentFile(),
'filename' => $this->getDocumentFileName(),
]
];
}
Expand Down

0 comments on commit 268437e

Please sign in to comment.