add date created to freight quote entity

This commit is contained in:
Yisroel Baum 2025-11-22 21:30:28 +02:00
parent 04c498afb6
commit 1910581053
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
6 changed files with 16 additions and 1 deletions

View file

@ -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;
}
}

View file

@ -107,6 +107,7 @@ class CreateFreightOrder
$dto->loadDetails,
$dto->notes,
$dto->fileAttachments,
$dto->dateCreated,
));
}
}

View file

@ -15,5 +15,6 @@ class CreateFreightOrderRequestDTO
public string $notes,
public array $fileAttachments,
public array $carrierIds,
public DateTime $dateCreated,
) {}
}