add carriers to freight order

This commit is contained in:
Yisroel Baum 2025-11-13 20:44:13 +02:00
parent 0afdaa76d6
commit b58d23f084
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,7 @@ class FreightOrder
private string $loadDetails,
private string $notes,
private array $fileAttachments,
private array $carrierIds,
) {}
public function getId(): ?int
@ -61,4 +62,9 @@ class FreightOrder
{
return $this->fileAttachments;
}
public function getCarrierIds(): array
{
return $this->carrierIds;
}
}

View file

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

View file

@ -14,5 +14,6 @@ class CreateFreightOrderRequestDTO
public string $loadDetails,
public string $notes,
public array $fileAttachments,
public array $carrierIds,
) {}
}