document = $documentCheckDto->getUpload(); $this->comment = $documentCheckDto->getComment(); } public function getDocument(): Upload { return $this->document; } public function getComment(): ?string { return $this->comment; } }