This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\DTO;
|
||||
|
||||
use DateTimeImmutable;
|
||||
|
||||
class SearchFilterByDate
|
||||
{
|
||||
protected DateTimeImmutable $dtFrom;
|
||||
protected DateTimeImmutable $dtTo;
|
||||
|
||||
public function getDtFrom(): DateTimeImmutable
|
||||
{
|
||||
return $this->dtFrom;
|
||||
}
|
||||
|
||||
public function setDtFrom(DateTimeImmutable $dt)
|
||||
{
|
||||
$this->dtFrom = $dt;
|
||||
}
|
||||
|
||||
public function getDtTo(): DateTimeImmutable
|
||||
{
|
||||
return $this->dtTo;
|
||||
}
|
||||
|
||||
public function setDtTo(DateTimeImmutable $dt)
|
||||
{
|
||||
$this->dtTo = $dt;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user