add date created to freight quote entity
This commit is contained in:
parent
04c498afb6
commit
1910581053
6 changed files with 16 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ class FreightOrder
|
|||
private string $loadDetails,
|
||||
private string $notes,
|
||||
private array $fileAttachments,
|
||||
private DateTime $dateCreated,
|
||||
) {}
|
||||
|
||||
public function getId(): ?int
|
||||
|
|
@ -64,4 +65,9 @@ class FreightOrder
|
|||
{
|
||||
return $this->fileAttachments;
|
||||
}
|
||||
|
||||
public function getDateCreated(): DateTime
|
||||
{
|
||||
return $this->dateCreated;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ class CreateFreightOrder
|
|||
$dto->loadDetails,
|
||||
$dto->notes,
|
||||
$dto->fileAttachments,
|
||||
$dto->dateCreated,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,5 +15,6 @@ class CreateFreightOrderRequestDTO
|
|||
public string $notes,
|
||||
public array $fileAttachments,
|
||||
public array $carrierIds,
|
||||
public DateTime $dateCreated,
|
||||
) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue