feat: driver license check for teamers
closes #869bup9vf
This commit is contained in:
1 parent
7b52236b4e
commit
4809936004
32 files changed
+1095
-6
No files matched your search
@@ -0,0 +1,48 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user