Files
myep-team/src/Model/DriverLicenseCheckDto.php
T
2026-03-02 14:50:51 +01:00

49 lines
865 B
PHP

<?php
namespace App\Model;
use App\Entity\Upload;
class DriverLicenseCheckDto
{
private Upload $upload;
private ?string $status;
private ?string $comment;
public function __construct(Upload $upload)
{
$this->upload = $upload;
$this->status = $upload->getStatus();
$this->comment = $upload->getComment();
}
public function getUpload(): Upload
{
return $this->upload;
}
public function getStatus(): ?string
{
return $this->status;
}
public function setStatus(?string $status): static
{
$this->status = $status;
return $this;
}
public function getComment(): ?string
{
return $this->comment;
}
public function setComment(?string $comment): static
{
$this->comment = $comment;
return $this;
}
}