Перевод на доменную архитектуру
This commit is contained in:
13
app/Domain/Reports/Models/OperationInterval.php
Normal file
13
app/Domain/Reports/Models/OperationInterval.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Reports\Models;
|
||||
|
||||
use DateTimeImmutable;
|
||||
|
||||
final readonly class OperationInterval
|
||||
{
|
||||
public function __construct(
|
||||
public DateTimeImmutable $admittedAt,
|
||||
public DateTimeImmutable $operationAt,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user